matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsNa.go
2020-03-22 00:02:48 +01:00

33 lines
971 B
Go

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