diff options
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/ConversationThreadAction.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/ConversationThreadAction.go | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/ConversationThreadAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/ConversationThreadAction.go new file mode 100644 index 00000000..756eb873 --- /dev/null +++ b/vendor/github.com/matterbridge/msgraph.go/beta/ConversationThreadAction.go @@ -0,0 +1,37 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// ConversationThreadReplyRequestParameter undocumented +type ConversationThreadReplyRequestParameter struct { + // Post undocumented + Post *Post `json:"Post,omitempty"` +} + +// +type ConversationThreadReplyRequestBuilder struct{ BaseRequestBuilder } + +// Reply action undocumented +func (b *ConversationThreadRequestBuilder) Reply(reqObj *ConversationThreadReplyRequestParameter) *ConversationThreadReplyRequestBuilder { + bb := &ConversationThreadReplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/reply" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type ConversationThreadReplyRequest struct{ BaseRequest } + +// +func (b *ConversationThreadReplyRequestBuilder) Request() *ConversationThreadReplyRequest { + return &ConversationThreadReplyRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *ConversationThreadReplyRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} |