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

33 lines
1.0 KiB
Go
Raw Permalink Normal View History

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