matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/RemoteAssistancePartnerAction.go

66 lines
2.3 KiB
Go

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