From 795a8705c3fdc5bf55e83d382e7d3ff233896a0b Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 26 Dec 2019 23:12:28 +0100 Subject: Add initial Microsoft Teams support Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup --- .../msgraph.go/beta/WorkbookTableAction.go | 139 +++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 vendor/github.com/yaegashi/msgraph.go/beta/WorkbookTableAction.go (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/WorkbookTableAction.go') diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookTableAction.go b/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookTableAction.go new file mode 100644 index 00000000..8eee0f5b --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/WorkbookTableAction.go @@ -0,0 +1,139 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// WorkbookTableCollectionAddRequestParameter undocumented +type WorkbookTableCollectionAddRequestParameter struct { + // Address undocumented + Address *string `json:"address,omitempty"` + // HasHeaders undocumented + HasHeaders *bool `json:"hasHeaders,omitempty"` +} + +// WorkbookTableClearFiltersRequestParameter undocumented +type WorkbookTableClearFiltersRequestParameter struct { +} + +// WorkbookTableConvertToRangeRequestParameter undocumented +type WorkbookTableConvertToRangeRequestParameter struct { +} + +// WorkbookTableReapplyFiltersRequestParameter undocumented +type WorkbookTableReapplyFiltersRequestParameter struct { +} + +// +type WorkbookTableCollectionAddRequestBuilder struct{ BaseRequestBuilder } + +// Add action undocumented +func (b *WorkbookTablesCollectionRequestBuilder) Add(reqObj *WorkbookTableCollectionAddRequestParameter) *WorkbookTableCollectionAddRequestBuilder { + bb := &WorkbookTableCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/add" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// Add action undocumented +func (b *WorkbookWorksheetTablesCollectionRequestBuilder) Add(reqObj *WorkbookTableCollectionAddRequestParameter) *WorkbookTableCollectionAddRequestBuilder { + bb := &WorkbookTableCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/add" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookTableCollectionAddRequest struct{ BaseRequest } + +// +func (b *WorkbookTableCollectionAddRequestBuilder) Request() *WorkbookTableCollectionAddRequest { + return &WorkbookTableCollectionAddRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookTableCollectionAddRequest) Post(ctx context.Context) (resObj *WorkbookTable, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookTableClearFiltersRequestBuilder struct{ BaseRequestBuilder } + +// ClearFilters action undocumented +func (b *WorkbookTableRequestBuilder) ClearFilters(reqObj *WorkbookTableClearFiltersRequestParameter) *WorkbookTableClearFiltersRequestBuilder { + bb := &WorkbookTableClearFiltersRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/clearFilters" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookTableClearFiltersRequest struct{ BaseRequest } + +// +func (b *WorkbookTableClearFiltersRequestBuilder) Request() *WorkbookTableClearFiltersRequest { + return &WorkbookTableClearFiltersRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookTableClearFiltersRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} + +// +type WorkbookTableConvertToRangeRequestBuilder struct{ BaseRequestBuilder } + +// ConvertToRange action undocumented +func (b *WorkbookTableRequestBuilder) ConvertToRange(reqObj *WorkbookTableConvertToRangeRequestParameter) *WorkbookTableConvertToRangeRequestBuilder { + bb := &WorkbookTableConvertToRangeRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/convertToRange" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookTableConvertToRangeRequest struct{ BaseRequest } + +// +func (b *WorkbookTableConvertToRangeRequestBuilder) Request() *WorkbookTableConvertToRangeRequest { + return &WorkbookTableConvertToRangeRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookTableConvertToRangeRequest) Post(ctx context.Context) (resObj *WorkbookRange, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type WorkbookTableReapplyFiltersRequestBuilder struct{ BaseRequestBuilder } + +// ReapplyFilters action undocumented +func (b *WorkbookTableRequestBuilder) ReapplyFilters(reqObj *WorkbookTableReapplyFiltersRequestParameter) *WorkbookTableReapplyFiltersRequestBuilder { + bb := &WorkbookTableReapplyFiltersRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/reapplyFilters" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type WorkbookTableReapplyFiltersRequest struct{ BaseRequest } + +// +func (b *WorkbookTableReapplyFiltersRequestBuilder) Request() *WorkbookTableReapplyFiltersRequest { + return &WorkbookTableReapplyFiltersRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *WorkbookTableReapplyFiltersRequest) Post(ctx context.Context) error { + return r.JSONRequest(ctx, "POST", "", r.requestObject, nil) +} -- cgit v1.2.3