diff options
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go b/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go deleted file mode 100644 index 73779598..00000000 --- a/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookChartAxesRequest.go +++ /dev/null @@ -1,59 +0,0 @@ -// 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 -} |