diff options
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBin2.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBin2.go | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBin2.go b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBin2.go new file mode 100644 index 00000000..246221ac --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBin2.go @@ -0,0 +1,86 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// +type WorkbookFunctionsBin2DecRequestBuilder struct{ BaseRequestBuilder } + +// Bin2Dec action undocumented +func (b *WorkbookFunctionsRequestBuilder) Bin2Dec(reqObj *WorkbookFunctionsBin2DecRequestParameter) *WorkbookFunctionsBin2DecRequestBuilder { + bb := &WorkbookFunctionsBin2DecRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/bin2Dec" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsBin2DecRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsBin2DecRequestBuilder) Request() *WorkbookFunctionsBin2DecRequest { + return &WorkbookFunctionsBin2DecRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsBin2DecRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookFunctionsBin2HexRequestBuilder struct{ BaseRequestBuilder } + +// Bin2Hex action undocumented +func (b *WorkbookFunctionsRequestBuilder) Bin2Hex(reqObj *WorkbookFunctionsBin2HexRequestParameter) *WorkbookFunctionsBin2HexRequestBuilder { + bb := &WorkbookFunctionsBin2HexRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/bin2Hex" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsBin2HexRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsBin2HexRequestBuilder) Request() *WorkbookFunctionsBin2HexRequest { + return &WorkbookFunctionsBin2HexRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsBin2HexRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookFunctionsBin2OctRequestBuilder struct{ BaseRequestBuilder } + +// Bin2Oct action undocumented +func (b *WorkbookFunctionsRequestBuilder) Bin2Oct(reqObj *WorkbookFunctionsBin2OctRequestParameter) *WorkbookFunctionsBin2OctRequestBuilder { + bb := &WorkbookFunctionsBin2OctRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/bin2Oct" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsBin2OctRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsBin2OctRequestBuilder) Request() *WorkbookFunctionsBin2OctRequest { + return &WorkbookFunctionsBin2OctRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsBin2OctRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} |