matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsSma...

33 lines
1007 B
Go

// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "context"
//
type WorkbookFunctionsSmallRequestBuilder struct{ BaseRequestBuilder }
// Small action undocumented
func (b *WorkbookFunctionsRequestBuilder) Small(reqObj *WorkbookFunctionsSmallRequestParameter) *WorkbookFunctionsSmallRequestBuilder {
bb := &WorkbookFunctionsSmallRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/small"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsSmallRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsSmallRequestBuilder) Request() *WorkbookFunctionsSmallRequest {
return &WorkbookFunctionsSmallRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsSmallRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}