From 76e5fe5a87d7e60919075f96eee599f3c6255a9f Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Sun, 15 Mar 2020 22:43:46 +0000 Subject: Update vendor yaegashi/msgraph.go to v0.1.2 (2) --- .../beta/RequestWorkbookFunctionsHex2.go | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go') 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 +} -- cgit v1.2.3