5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-26 23:41:36 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/ConversationThreadAction.go

38 lines
1.1 KiB
Go

// 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)
}