mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-26 23:41:36 +00:00
795a8705c3
Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup
60 lines
2.0 KiB
Go
60 lines
2.0 KiB
Go
// 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
|
|
}
|