summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRound.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRound.go')
-rw-r--r--vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRound.go86
1 files changed, 86 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRound.go b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRound.go
new file mode 100644
index 00000000..98b7d91e
--- /dev/null
+++ b/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRound.go
@@ -0,0 +1,86 @@
+// Code generated by msgraph-generate.go DO NOT EDIT.
+
+package msgraph
+
+import "context"
+
+//
+type WorkbookFunctionsRoundRequestBuilder struct{ BaseRequestBuilder }
+
+// Round action undocumented
+func (b *WorkbookFunctionsRequestBuilder) Round(reqObj *WorkbookFunctionsRoundRequestParameter) *WorkbookFunctionsRoundRequestBuilder {
+ bb := &WorkbookFunctionsRoundRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/round"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type WorkbookFunctionsRoundRequest struct{ BaseRequest }
+
+//
+func (b *WorkbookFunctionsRoundRequestBuilder) Request() *WorkbookFunctionsRoundRequest {
+ return &WorkbookFunctionsRoundRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *WorkbookFunctionsRoundRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
+ err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
+ return
+}
+
+//
+type WorkbookFunctionsRoundDownRequestBuilder struct{ BaseRequestBuilder }
+
+// RoundDown action undocumented
+func (b *WorkbookFunctionsRequestBuilder) RoundDown(reqObj *WorkbookFunctionsRoundDownRequestParameter) *WorkbookFunctionsRoundDownRequestBuilder {
+ bb := &WorkbookFunctionsRoundDownRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/roundDown"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type WorkbookFunctionsRoundDownRequest struct{ BaseRequest }
+
+//
+func (b *WorkbookFunctionsRoundDownRequestBuilder) Request() *WorkbookFunctionsRoundDownRequest {
+ return &WorkbookFunctionsRoundDownRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *WorkbookFunctionsRoundDownRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
+ err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
+ return
+}
+
+//
+type WorkbookFunctionsRoundUpRequestBuilder struct{ BaseRequestBuilder }
+
+// RoundUp action undocumented
+func (b *WorkbookFunctionsRequestBuilder) RoundUp(reqObj *WorkbookFunctionsRoundUpRequestParameter) *WorkbookFunctionsRoundUpRequestBuilder {
+ bb := &WorkbookFunctionsRoundUpRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/roundUp"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type WorkbookFunctionsRoundUpRequest struct{ BaseRequest }
+
+//
+func (b *WorkbookFunctionsRoundUpRequestBuilder) Request() *WorkbookFunctionsRoundUpRequest {
+ return &WorkbookFunctionsRoundUpRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *WorkbookFunctionsRoundUpRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
+ err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
+ return
+}