diff options
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsOct2.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsOct2.go | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsOct2.go b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsOct2.go new file mode 100644 index 00000000..625b478c --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsOct2.go @@ -0,0 +1,86 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// +type WorkbookFunctionsOct2BinRequestBuilder struct{ BaseRequestBuilder } + +// Oct2Bin action undocumented +func (b *WorkbookFunctionsRequestBuilder) Oct2Bin(reqObj *WorkbookFunctionsOct2BinRequestParameter) *WorkbookFunctionsOct2BinRequestBuilder { + bb := &WorkbookFunctionsOct2BinRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/oct2Bin" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsOct2BinRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsOct2BinRequestBuilder) Request() *WorkbookFunctionsOct2BinRequest { + return &WorkbookFunctionsOct2BinRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsOct2BinRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookFunctionsOct2DecRequestBuilder struct{ BaseRequestBuilder } + +// Oct2Dec action undocumented +func (b *WorkbookFunctionsRequestBuilder) Oct2Dec(reqObj *WorkbookFunctionsOct2DecRequestParameter) *WorkbookFunctionsOct2DecRequestBuilder { + bb := &WorkbookFunctionsOct2DecRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/oct2Dec" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsOct2DecRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsOct2DecRequestBuilder) Request() *WorkbookFunctionsOct2DecRequest { + return &WorkbookFunctionsOct2DecRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsOct2DecRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookFunctionsOct2HexRequestBuilder struct{ BaseRequestBuilder } + +// Oct2Hex action undocumented +func (b *WorkbookFunctionsRequestBuilder) Oct2Hex(reqObj *WorkbookFunctionsOct2HexRequestParameter) *WorkbookFunctionsOct2HexRequestBuilder { + bb := &WorkbookFunctionsOct2HexRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/oct2Hex" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsOct2HexRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsOct2HexRequestBuilder) Request() *WorkbookFunctionsOct2HexRequest { + return &WorkbookFunctionsOct2HexRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsOct2HexRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} |