diff options
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/WorkbookApplicationAction.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/WorkbookApplicationAction.go | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/WorkbookApplicationAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/WorkbookApplicationAction.go new file mode 100644 index 00000000..a36c3e9a --- /dev/null +++ b/vendor/github.com/matterbridge/msgraph.go/beta/WorkbookApplicationAction.go @@ -0,0 +1,37 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// WorkbookApplicationCalculateRequestParameter undocumented +type WorkbookApplicationCalculateRequestParameter struct { + // CalculationType undocumented + CalculationType *string `json:"calculationType,omitempty"` +} + +// +type WorkbookApplicationCalculateRequestBuilder struct{ BaseRequestBuilder } + +// Calculate action undocumented +func (b *WorkbookApplicationRequestBuilder) Calculate(reqObj *WorkbookApplicationCalculateRequestParameter) *WorkbookApplicationCalculateRequestBuilder { + bb := &WorkbookApplicationCalculateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/calculate" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookApplicationCalculateRequest struct{ BaseRequest } + +// +func (b *WorkbookApplicationCalculateRequestBuilder) Request() *WorkbookApplicationCalculateRequest { + return &WorkbookApplicationCalculateRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookApplicationCalculateRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} |