5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-10 16:50:27 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookApplicationAction.go

38 lines
1.2 KiB
Go
Raw Normal View History

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