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

33 lines
1007 B
Go

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