diff options
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/RemoteAssistancePartnerAction.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/RemoteAssistancePartnerAction.go | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/RemoteAssistancePartnerAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/RemoteAssistancePartnerAction.go new file mode 100644 index 00000000..c22011f2 --- /dev/null +++ b/vendor/github.com/matterbridge/msgraph.go/beta/RemoteAssistancePartnerAction.go @@ -0,0 +1,65 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// RemoteAssistancePartnerBeginOnboardingRequestParameter undocumented +type RemoteAssistancePartnerBeginOnboardingRequestParameter struct { +} + +// RemoteAssistancePartnerDisconnectRequestParameter undocumented +type RemoteAssistancePartnerDisconnectRequestParameter struct { +} + +// +type RemoteAssistancePartnerBeginOnboardingRequestBuilder struct{ BaseRequestBuilder } + +// BeginOnboarding action undocumented +func (b *RemoteAssistancePartnerRequestBuilder) BeginOnboarding(reqObj *RemoteAssistancePartnerBeginOnboardingRequestParameter) *RemoteAssistancePartnerBeginOnboardingRequestBuilder { + bb := &RemoteAssistancePartnerBeginOnboardingRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/beginOnboarding" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type RemoteAssistancePartnerBeginOnboardingRequest struct{ BaseRequest } + +// +func (b *RemoteAssistancePartnerBeginOnboardingRequestBuilder) Request() *RemoteAssistancePartnerBeginOnboardingRequest { + return &RemoteAssistancePartnerBeginOnboardingRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *RemoteAssistancePartnerBeginOnboardingRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type RemoteAssistancePartnerDisconnectRequestBuilder struct{ BaseRequestBuilder } + +// Disconnect action undocumented +func (b *RemoteAssistancePartnerRequestBuilder) Disconnect(reqObj *RemoteAssistancePartnerDisconnectRequestParameter) *RemoteAssistancePartnerDisconnectRequestBuilder { + bb := &RemoteAssistancePartnerDisconnectRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/disconnect" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type RemoteAssistancePartnerDisconnectRequest struct{ BaseRequest } + +// +func (b *RemoteAssistancePartnerDisconnectRequestBuilder) Request() *RemoteAssistancePartnerDisconnectRequest { + return &RemoteAssistancePartnerDisconnectRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *RemoteAssistancePartnerDisconnectRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} |