diff options
author | Wim <wim@42.be> | 2020-03-08 17:08:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 17:08:18 +0100 |
commit | 9785edd26366be8eb11c2435f50f90a5c8eea7fc (patch) | |
tree | e8e236b5b273e7535c607507cc059f3b957068a1 /vendor/github.com/matterbridge/msgraph.go/beta/MessageAction.go | |
parent | 2a0bc11b684f63305258e338c5f1d0e91eb24414 (diff) | |
download | matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.gz matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.bz2 matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.zip |
Remove replace directives and use own fork to make go get work again (#1028)
See https://github.com/golang/go/issues/30354
go get doesn't honor the go.mod replace options.
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/MessageAction.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/MessageAction.go | 342 |
1 files changed, 342 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/MessageAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/MessageAction.go new file mode 100644 index 00000000..d3d12a39 --- /dev/null +++ b/vendor/github.com/matterbridge/msgraph.go/beta/MessageAction.go @@ -0,0 +1,342 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// MessageCreateReplyRequestParameter undocumented +type MessageCreateReplyRequestParameter struct { + // Message undocumented + Message *Message `json:"Message,omitempty"` + // Comment undocumented + Comment *string `json:"Comment,omitempty"` +} + +// MessageCreateReplyAllRequestParameter undocumented +type MessageCreateReplyAllRequestParameter struct { + // Message undocumented + Message *Message `json:"Message,omitempty"` + // Comment undocumented + Comment *string `json:"Comment,omitempty"` +} + +// MessageCreateForwardRequestParameter undocumented +type MessageCreateForwardRequestParameter struct { + // ToRecipients undocumented + ToRecipients []Recipient `json:"ToRecipients,omitempty"` + // Message undocumented + Message *Message `json:"Message,omitempty"` + // Comment undocumented + Comment *string `json:"Comment,omitempty"` +} + +// MessageSendRequestParameter undocumented +type MessageSendRequestParameter struct { +} + +// MessageCopyRequestParameter undocumented +type MessageCopyRequestParameter struct { + // DestinationID undocumented + DestinationID *string `json:"DestinationId,omitempty"` +} + +// MessageMoveRequestParameter undocumented +type MessageMoveRequestParameter struct { + // DestinationID undocumented + DestinationID *string `json:"DestinationId,omitempty"` +} + +// MessageReplyRequestParameter undocumented +type MessageReplyRequestParameter struct { + // Message undocumented + Message *Message `json:"Message,omitempty"` + // Comment undocumented + Comment *string `json:"Comment,omitempty"` +} + +// MessageReplyAllRequestParameter undocumented +type MessageReplyAllRequestParameter struct { + // Message undocumented + Message *Message `json:"Message,omitempty"` + // Comment undocumented + Comment *string `json:"Comment,omitempty"` +} + +// MessageForwardRequestParameter undocumented +type MessageForwardRequestParameter struct { + // ToRecipients undocumented + ToRecipients []Recipient `json:"ToRecipients,omitempty"` + // Message undocumented + Message *Message `json:"Message,omitempty"` + // Comment undocumented + Comment *string `json:"Comment,omitempty"` +} + +// MessageUnsubscribeRequestParameter undocumented +type MessageUnsubscribeRequestParameter struct { +} + +// +type MessageCreateReplyRequestBuilder struct{ BaseRequestBuilder } + +// CreateReply action undocumented +func (b *MessageRequestBuilder) CreateReply(reqObj *MessageCreateReplyRequestParameter) *MessageCreateReplyRequestBuilder { + bb := &MessageCreateReplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/createReply" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageCreateReplyRequest struct{ BaseRequest } + +// +func (b *MessageCreateReplyRequestBuilder) Request() *MessageCreateReplyRequest { + return &MessageCreateReplyRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageCreateReplyRequest) Post(ctx context.Context) (resObj *Message, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type MessageCreateReplyAllRequestBuilder struct{ BaseRequestBuilder } + +// CreateReplyAll action undocumented +func (b *MessageRequestBuilder) CreateReplyAll(reqObj *MessageCreateReplyAllRequestParameter) *MessageCreateReplyAllRequestBuilder { + bb := &MessageCreateReplyAllRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/createReplyAll" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageCreateReplyAllRequest struct{ BaseRequest } + +// +func (b *MessageCreateReplyAllRequestBuilder) Request() *MessageCreateReplyAllRequest { + return &MessageCreateReplyAllRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageCreateReplyAllRequest) Post(ctx context.Context) (resObj *Message, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type MessageCreateForwardRequestBuilder struct{ BaseRequestBuilder } + +// CreateForward action undocumented +func (b *MessageRequestBuilder) CreateForward(reqObj *MessageCreateForwardRequestParameter) *MessageCreateForwardRequestBuilder { + bb := &MessageCreateForwardRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/createForward" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageCreateForwardRequest struct{ BaseRequest } + +// +func (b *MessageCreateForwardRequestBuilder) Request() *MessageCreateForwardRequest { + return &MessageCreateForwardRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageCreateForwardRequest) Post(ctx context.Context) (resObj *Message, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type MessageSendRequestBuilder struct{ BaseRequestBuilder } + +// Send action undocumented +func (b *MessageRequestBuilder) Send(reqObj *MessageSendRequestParameter) *MessageSendRequestBuilder { + bb := &MessageSendRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/send" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageSendRequest struct{ BaseRequest } + +// +func (b *MessageSendRequestBuilder) Request() *MessageSendRequest { + return &MessageSendRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageSendRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type MessageCopyRequestBuilder struct{ BaseRequestBuilder } + +// Copy action undocumented +func (b *MessageRequestBuilder) Copy(reqObj *MessageCopyRequestParameter) *MessageCopyRequestBuilder { + bb := &MessageCopyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/copy" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageCopyRequest struct{ BaseRequest } + +// +func (b *MessageCopyRequestBuilder) Request() *MessageCopyRequest { + return &MessageCopyRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageCopyRequest) Post(ctx context.Context) (resObj *Message, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type MessageMoveRequestBuilder struct{ BaseRequestBuilder } + +// Move action undocumented +func (b *MessageRequestBuilder) Move(reqObj *MessageMoveRequestParameter) *MessageMoveRequestBuilder { + bb := &MessageMoveRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/move" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageMoveRequest struct{ BaseRequest } + +// +func (b *MessageMoveRequestBuilder) Request() *MessageMoveRequest { + return &MessageMoveRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageMoveRequest) Post(ctx context.Context) (resObj *Message, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type MessageReplyRequestBuilder struct{ BaseRequestBuilder } + +// Reply action undocumented +func (b *MessageRequestBuilder) Reply(reqObj *MessageReplyRequestParameter) *MessageReplyRequestBuilder { + bb := &MessageReplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/reply" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageReplyRequest struct{ BaseRequest } + +// +func (b *MessageReplyRequestBuilder) Request() *MessageReplyRequest { + return &MessageReplyRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageReplyRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type MessageReplyAllRequestBuilder struct{ BaseRequestBuilder } + +// ReplyAll action undocumented +func (b *MessageRequestBuilder) ReplyAll(reqObj *MessageReplyAllRequestParameter) *MessageReplyAllRequestBuilder { + bb := &MessageReplyAllRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/replyAll" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageReplyAllRequest struct{ BaseRequest } + +// +func (b *MessageReplyAllRequestBuilder) Request() *MessageReplyAllRequest { + return &MessageReplyAllRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageReplyAllRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type MessageForwardRequestBuilder struct{ BaseRequestBuilder } + +// Forward action undocumented +func (b *MessageRequestBuilder) Forward(reqObj *MessageForwardRequestParameter) *MessageForwardRequestBuilder { + bb := &MessageForwardRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/forward" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageForwardRequest struct{ BaseRequest } + +// +func (b *MessageForwardRequestBuilder) Request() *MessageForwardRequest { + return &MessageForwardRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageForwardRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type MessageUnsubscribeRequestBuilder struct{ BaseRequestBuilder } + +// Unsubscribe action undocumented +func (b *MessageRequestBuilder) Unsubscribe(reqObj *MessageUnsubscribeRequestParameter) *MessageUnsubscribeRequestBuilder { + bb := &MessageUnsubscribeRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/unsubscribe" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type MessageUnsubscribeRequest struct{ BaseRequest } + +// +func (b *MessageUnsubscribeRequestBuilder) Request() *MessageUnsubscribeRequest { + return &MessageUnsubscribeRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *MessageUnsubscribeRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} |