From 9785edd26366be8eb11c2435f50f90a5c8eea7fc Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 8 Mar 2020 17:08:18 +0100 Subject: 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. --- .../msgraph.go/beta/AccessReviewAction.go | 125 +++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 vendor/github.com/matterbridge/msgraph.go/beta/AccessReviewAction.go (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/AccessReviewAction.go') diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/AccessReviewAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/AccessReviewAction.go new file mode 100644 index 00000000..fac16218 --- /dev/null +++ b/vendor/github.com/matterbridge/msgraph.go/beta/AccessReviewAction.go @@ -0,0 +1,125 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// AccessReviewStopRequestParameter undocumented +type AccessReviewStopRequestParameter struct { +} + +// AccessReviewSendReminderRequestParameter undocumented +type AccessReviewSendReminderRequestParameter struct { +} + +// AccessReviewResetDecisionsRequestParameter undocumented +type AccessReviewResetDecisionsRequestParameter struct { +} + +// AccessReviewApplyDecisionsRequestParameter undocumented +type AccessReviewApplyDecisionsRequestParameter struct { +} + +// +type AccessReviewStopRequestBuilder struct{ BaseRequestBuilder } + +// Stop action undocumented +func (b *AccessReviewRequestBuilder) Stop(reqObj *AccessReviewStopRequestParameter) *AccessReviewStopRequestBuilder { + bb := &AccessReviewStopRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/stop" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type AccessReviewStopRequest struct{ BaseRequest } + +// +func (b *AccessReviewStopRequestBuilder) Request() *AccessReviewStopRequest { + return &AccessReviewStopRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *AccessReviewStopRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type AccessReviewSendReminderRequestBuilder struct{ BaseRequestBuilder } + +// SendReminder action undocumented +func (b *AccessReviewRequestBuilder) SendReminder(reqObj *AccessReviewSendReminderRequestParameter) *AccessReviewSendReminderRequestBuilder { + bb := &AccessReviewSendReminderRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/sendReminder" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type AccessReviewSendReminderRequest struct{ BaseRequest } + +// +func (b *AccessReviewSendReminderRequestBuilder) Request() *AccessReviewSendReminderRequest { + return &AccessReviewSendReminderRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *AccessReviewSendReminderRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type AccessReviewResetDecisionsRequestBuilder struct{ BaseRequestBuilder } + +// ResetDecisions action undocumented +func (b *AccessReviewRequestBuilder) ResetDecisions(reqObj *AccessReviewResetDecisionsRequestParameter) *AccessReviewResetDecisionsRequestBuilder { + bb := &AccessReviewResetDecisionsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/resetDecisions" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type AccessReviewResetDecisionsRequest struct{ BaseRequest } + +// +func (b *AccessReviewResetDecisionsRequestBuilder) Request() *AccessReviewResetDecisionsRequest { + return &AccessReviewResetDecisionsRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *AccessReviewResetDecisionsRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type AccessReviewApplyDecisionsRequestBuilder struct{ BaseRequestBuilder } + +// ApplyDecisions action undocumented +func (b *AccessReviewRequestBuilder) ApplyDecisions(reqObj *AccessReviewApplyDecisionsRequestParameter) *AccessReviewApplyDecisionsRequestBuilder { + bb := &AccessReviewApplyDecisionsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/applyDecisions" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type AccessReviewApplyDecisionsRequest struct{ BaseRequest } + +// +func (b *AccessReviewApplyDecisionsRequestBuilder) Request() *AccessReviewApplyDecisionsRequest { + return &AccessReviewApplyDecisionsRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *AccessReviewApplyDecisionsRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} -- cgit v1.2.3