diff options
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go new file mode 100644 index 00000000..a3e784c2 --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go @@ -0,0 +1,86 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// +type WorkbookFunctionsHex2BinRequestBuilder struct{ BaseRequestBuilder } + +// Hex2Bin action undocumented +func (b *WorkbookFunctionsRequestBuilder) Hex2Bin(reqObj *WorkbookFunctionsHex2BinRequestParameter) *WorkbookFunctionsHex2BinRequestBuilder { + bb := &WorkbookFunctionsHex2BinRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/hex2Bin" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsHex2BinRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsHex2BinRequestBuilder) Request() *WorkbookFunctionsHex2BinRequest { + return &WorkbookFunctionsHex2BinRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsHex2BinRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookFunctionsHex2DecRequestBuilder struct{ BaseRequestBuilder } + +// Hex2Dec action undocumented +func (b *WorkbookFunctionsRequestBuilder) Hex2Dec(reqObj *WorkbookFunctionsHex2DecRequestParameter) *WorkbookFunctionsHex2DecRequestBuilder { + bb := &WorkbookFunctionsHex2DecRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/hex2Dec" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsHex2DecRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsHex2DecRequestBuilder) Request() *WorkbookFunctionsHex2DecRequest { + return &WorkbookFunctionsHex2DecRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsHex2DecRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookFunctionsHex2OctRequestBuilder struct{ BaseRequestBuilder } + +// Hex2Oct action undocumented +func (b *WorkbookFunctionsRequestBuilder) Hex2Oct(reqObj *WorkbookFunctionsHex2OctRequestParameter) *WorkbookFunctionsHex2OctRequestBuilder { + bb := &WorkbookFunctionsHex2OctRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/hex2Oct" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsHex2OctRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsHex2OctRequestBuilder) Request() *WorkbookFunctionsHex2OctRequest { + return &WorkbookFunctionsHex2OctRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsHex2OctRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} |