summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go')
-rw-r--r--vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go59
1 files changed, 59 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go b/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go
new file mode 100644
index 00000000..73779598
--- /dev/null
+++ b/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go
@@ -0,0 +1,59 @@
+// Code generated by msgraph-generate.go DO NOT EDIT.
+
+package msgraph
+
+import "context"
+
+// WorkbookChartAxesRequestBuilder is request builder for WorkbookChartAxes
+type WorkbookChartAxesRequestBuilder struct{ BaseRequestBuilder }
+
+// Request returns WorkbookChartAxesRequest
+func (b *WorkbookChartAxesRequestBuilder) Request() *WorkbookChartAxesRequest {
+ return &WorkbookChartAxesRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
+ }
+}
+
+// WorkbookChartAxesRequest is request for WorkbookChartAxes
+type WorkbookChartAxesRequest struct{ BaseRequest }
+
+// Get performs GET request for WorkbookChartAxes
+func (r *WorkbookChartAxesRequest) Get(ctx context.Context) (resObj *WorkbookChartAxes, err error) {
+ var query string
+ if r.query != nil {
+ query = "?" + r.query.Encode()
+ }
+ err = r.JSONRequest(ctx, "GET", query, nil, &resObj)
+ return
+}
+
+// Update performs PATCH request for WorkbookChartAxes
+func (r *WorkbookChartAxesRequest) Update(ctx context.Context, reqObj *WorkbookChartAxes) error {
+ return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
+}
+
+// Delete performs DELETE request for WorkbookChartAxes
+func (r *WorkbookChartAxesRequest) Delete(ctx context.Context) error {
+ return r.JSONRequest(ctx, "DELETE", "", nil, nil)
+}
+
+// CategoryAxis is navigation property
+func (b *WorkbookChartAxesRequestBuilder) CategoryAxis() *WorkbookChartAxisRequestBuilder {
+ bb := &WorkbookChartAxisRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.baseURL += "/categoryAxis"
+ return bb
+}
+
+// SeriesAxis is navigation property
+func (b *WorkbookChartAxesRequestBuilder) SeriesAxis() *WorkbookChartAxisRequestBuilder {
+ bb := &WorkbookChartAxisRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.baseURL += "/seriesAxis"
+ return bb
+}
+
+// ValueAxis is navigation property
+func (b *WorkbookChartAxesRequestBuilder) ValueAxis() *WorkbookChartAxisRequestBuilder {
+ bb := &WorkbookChartAxisRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.baseURL += "/valueAxis"
+ return bb
+}