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