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) --- .../msgraph.go/beta/RequestWorkbookFunctionsInt.go | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsInt.go (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsInt.go') diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsInt.go b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsInt.go new file mode 100644 index 00000000..7b9c82c4 --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsInt.go @@ -0,0 +1,59 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// +type WorkbookFunctionsIntRequestBuilder struct{ BaseRequestBuilder } + +// Int action undocumented +func (b *WorkbookFunctionsRequestBuilder) Int(reqObj *WorkbookFunctionsIntRequestParameter) *WorkbookFunctionsIntRequestBuilder { + bb := &WorkbookFunctionsIntRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/int" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsIntRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsIntRequestBuilder) Request() *WorkbookFunctionsIntRequest { + return &WorkbookFunctionsIntRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsIntRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookFunctionsIntRateRequestBuilder struct{ BaseRequestBuilder } + +// IntRate action undocumented +func (b *WorkbookFunctionsRequestBuilder) IntRate(reqObj *WorkbookFunctionsIntRateRequestParameter) *WorkbookFunctionsIntRateRequestBuilder { + bb := &WorkbookFunctionsIntRateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/intRate" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookFunctionsIntRateRequest struct{ BaseRequest } + +// +func (b *WorkbookFunctionsIntRateRequestBuilder) Request() *WorkbookFunctionsIntRateRequest { + return &WorkbookFunctionsIntRateRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookFunctionsIntRateRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} -- cgit v1.2.3