diff options
author | Qais Patankar <qaisjp@gmail.com> | 2020-03-15 22:43:46 +0000 |
---|---|---|
committer | Wim <wim@42.be> | 2020-03-22 00:02:48 +0100 |
commit | 76e5fe5a87d7e60919075f96eee599f3c6255a9f (patch) | |
tree | af3181ad6aadaea02069473a3718a827be888426 /vendor/github.com/matterbridge/msgraph.go/beta/SynchronizationJobAction.go | |
parent | 802c80f40c709ba4967de317e40a8d6abe57f6be (diff) | |
download | matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.gz matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.bz2 matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.zip |
Update vendor yaegashi/msgraph.go to v0.1.2 (2)
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/SynchronizationJobAction.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/SynchronizationJobAction.go | 239 |
1 files changed, 0 insertions, 239 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/SynchronizationJobAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/SynchronizationJobAction.go deleted file mode 100644 index f9d36e41..00000000 --- a/vendor/github.com/matterbridge/msgraph.go/beta/SynchronizationJobAction.go +++ /dev/null @@ -1,239 +0,0 @@ -// Code generated by msgraph-generate.go DO NOT EDIT. - -package msgraph - -import "context" - -// SynchronizationJobCollectionValidateCredentialsRequestParameter undocumented -type SynchronizationJobCollectionValidateCredentialsRequestParameter struct { - // ApplicationIdentifier undocumented - ApplicationIdentifier *string `json:"applicationIdentifier,omitempty"` - // TemplateID undocumented - TemplateID *string `json:"templateId,omitempty"` - // UseSavedCredentials undocumented - UseSavedCredentials *bool `json:"useSavedCredentials,omitempty"` - // Credentials undocumented - Credentials []SynchronizationSecretKeyStringValuePair `json:"credentials,omitempty"` -} - -// SynchronizationJobPauseRequestParameter undocumented -type SynchronizationJobPauseRequestParameter struct { -} - -// SynchronizationJobStartRequestParameter undocumented -type SynchronizationJobStartRequestParameter struct { -} - -// SynchronizationJobStopRequestParameter undocumented -type SynchronizationJobStopRequestParameter struct { -} - -// SynchronizationJobApplyRequestParameter undocumented -type SynchronizationJobApplyRequestParameter struct { - // ObjectID undocumented - ObjectID *string `json:"objectId,omitempty"` - // TypeName undocumented - TypeName *string `json:"typeName,omitempty"` - // RuleID undocumented - RuleID *string `json:"ruleId,omitempty"` -} - -// SynchronizationJobRestartRequestParameter undocumented -type SynchronizationJobRestartRequestParameter struct { - // Criteria undocumented - Criteria *SynchronizationJobRestartCriteria `json:"criteria,omitempty"` -} - -// SynchronizationJobValidateCredentialsRequestParameter undocumented -type SynchronizationJobValidateCredentialsRequestParameter struct { - // ApplicationIdentifier undocumented - ApplicationIdentifier *string `json:"applicationIdentifier,omitempty"` - // TemplateID undocumented - TemplateID *string `json:"templateId,omitempty"` - // UseSavedCredentials undocumented - UseSavedCredentials *bool `json:"useSavedCredentials,omitempty"` - // Credentials undocumented - Credentials []SynchronizationSecretKeyStringValuePair `json:"credentials,omitempty"` -} - -// -type SynchronizationJobCollectionValidateCredentialsRequestBuilder struct{ BaseRequestBuilder } - -// ValidateCredentials action undocumented -func (b *SynchronizationJobsCollectionRequestBuilder) ValidateCredentials(reqObj *SynchronizationJobCollectionValidateCredentialsRequestParameter) *SynchronizationJobCollectionValidateCredentialsRequestBuilder { - bb := &SynchronizationJobCollectionValidateCredentialsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/validateCredentials" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type SynchronizationJobCollectionValidateCredentialsRequest struct{ BaseRequest } - -// -func (b *SynchronizationJobCollectionValidateCredentialsRequestBuilder) Request() *SynchronizationJobCollectionValidateCredentialsRequest { - return &SynchronizationJobCollectionValidateCredentialsRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *SynchronizationJobCollectionValidateCredentialsRequest) Post(ctx context.Context) error { - return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) -} - -// -type SynchronizationJobPauseRequestBuilder struct{ BaseRequestBuilder } - -// Pause action undocumented -func (b *SynchronizationJobRequestBuilder) Pause(reqObj *SynchronizationJobPauseRequestParameter) *SynchronizationJobPauseRequestBuilder { - bb := &SynchronizationJobPauseRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/pause" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type SynchronizationJobPauseRequest struct{ BaseRequest } - -// -func (b *SynchronizationJobPauseRequestBuilder) Request() *SynchronizationJobPauseRequest { - return &SynchronizationJobPauseRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *SynchronizationJobPauseRequest) Post(ctx context.Context) error { - return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) -} - -// -type SynchronizationJobStartRequestBuilder struct{ BaseRequestBuilder } - -// Start action undocumented -func (b *SynchronizationJobRequestBuilder) Start(reqObj *SynchronizationJobStartRequestParameter) *SynchronizationJobStartRequestBuilder { - bb := &SynchronizationJobStartRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/start" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type SynchronizationJobStartRequest struct{ BaseRequest } - -// -func (b *SynchronizationJobStartRequestBuilder) Request() *SynchronizationJobStartRequest { - return &SynchronizationJobStartRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *SynchronizationJobStartRequest) Post(ctx context.Context) error { - return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) -} - -// -type SynchronizationJobStopRequestBuilder struct{ BaseRequestBuilder } - -// Stop action undocumented -func (b *SynchronizationJobRequestBuilder) Stop(reqObj *SynchronizationJobStopRequestParameter) *SynchronizationJobStopRequestBuilder { - bb := &SynchronizationJobStopRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/stop" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type SynchronizationJobStopRequest struct{ BaseRequest } - -// -func (b *SynchronizationJobStopRequestBuilder) Request() *SynchronizationJobStopRequest { - return &SynchronizationJobStopRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *SynchronizationJobStopRequest) Post(ctx context.Context) error { - return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) -} - -// -type SynchronizationJobApplyRequestBuilder struct{ BaseRequestBuilder } - -// Apply action undocumented -func (b *SynchronizationJobRequestBuilder) Apply(reqObj *SynchronizationJobApplyRequestParameter) *SynchronizationJobApplyRequestBuilder { - bb := &SynchronizationJobApplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/apply" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type SynchronizationJobApplyRequest struct{ BaseRequest } - -// -func (b *SynchronizationJobApplyRequestBuilder) Request() *SynchronizationJobApplyRequest { - return &SynchronizationJobApplyRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *SynchronizationJobApplyRequest) Post(ctx context.Context) error { - return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) -} - -// -type SynchronizationJobRestartRequestBuilder struct{ BaseRequestBuilder } - -// Restart action undocumented -func (b *SynchronizationJobRequestBuilder) Restart(reqObj *SynchronizationJobRestartRequestParameter) *SynchronizationJobRestartRequestBuilder { - bb := &SynchronizationJobRestartRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/restart" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type SynchronizationJobRestartRequest struct{ BaseRequest } - -// -func (b *SynchronizationJobRestartRequestBuilder) Request() *SynchronizationJobRestartRequest { - return &SynchronizationJobRestartRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *SynchronizationJobRestartRequest) Post(ctx context.Context) error { - return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) -} - -// -type SynchronizationJobValidateCredentialsRequestBuilder struct{ BaseRequestBuilder } - -// ValidateCredentials action undocumented -func (b *SynchronizationJobRequestBuilder) ValidateCredentials(reqObj *SynchronizationJobValidateCredentialsRequestParameter) *SynchronizationJobValidateCredentialsRequestBuilder { - bb := &SynchronizationJobValidateCredentialsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/validateCredentials" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type SynchronizationJobValidateCredentialsRequest struct{ BaseRequest } - -// -func (b *SynchronizationJobValidateCredentialsRequestBuilder) Request() *SynchronizationJobValidateCredentialsRequest { - return &SynchronizationJobValidateCredentialsRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *SynchronizationJobValidateCredentialsRequest) Post(ctx context.Context) error { - return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) -} |