forked from jshiffer/matterbridge
66 lines
2.2 KiB
Go
66 lines
2.2 KiB
Go
|
// Code generated by msgraph-generate.go DO NOT EDIT.
|
||
|
|
||
|
package msgraph
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
// WorkbookPivotTableCollectionRefreshAllRequestParameter undocumented
|
||
|
type WorkbookPivotTableCollectionRefreshAllRequestParameter struct {
|
||
|
}
|
||
|
|
||
|
// WorkbookPivotTableRefreshRequestParameter undocumented
|
||
|
type WorkbookPivotTableRefreshRequestParameter struct {
|
||
|
}
|
||
|
|
||
|
//
|
||
|
type WorkbookPivotTableCollectionRefreshAllRequestBuilder struct{ BaseRequestBuilder }
|
||
|
|
||
|
// RefreshAll action undocumented
|
||
|
func (b *WorkbookWorksheetPivotTablesCollectionRequestBuilder) RefreshAll(reqObj *WorkbookPivotTableCollectionRefreshAllRequestParameter) *WorkbookPivotTableCollectionRefreshAllRequestBuilder {
|
||
|
bb := &WorkbookPivotTableCollectionRefreshAllRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
||
|
bb.BaseRequestBuilder.baseURL += "/refreshAll"
|
||
|
bb.BaseRequestBuilder.requestObject = reqObj
|
||
|
return bb
|
||
|
}
|
||
|
|
||
|
//
|
||
|
type WorkbookPivotTableCollectionRefreshAllRequest struct{ BaseRequest }
|
||
|
|
||
|
//
|
||
|
func (b *WorkbookPivotTableCollectionRefreshAllRequestBuilder) Request() *WorkbookPivotTableCollectionRefreshAllRequest {
|
||
|
return &WorkbookPivotTableCollectionRefreshAllRequest{
|
||
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//
|
||
|
func (r *WorkbookPivotTableCollectionRefreshAllRequest) Post(ctx context.Context) error {
|
||
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
||
|
}
|
||
|
|
||
|
//
|
||
|
type WorkbookPivotTableRefreshRequestBuilder struct{ BaseRequestBuilder }
|
||
|
|
||
|
// Refresh action undocumented
|
||
|
func (b *WorkbookPivotTableRequestBuilder) Refresh(reqObj *WorkbookPivotTableRefreshRequestParameter) *WorkbookPivotTableRefreshRequestBuilder {
|
||
|
bb := &WorkbookPivotTableRefreshRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
||
|
bb.BaseRequestBuilder.baseURL += "/refresh"
|
||
|
bb.BaseRequestBuilder.requestObject = reqObj
|
||
|
return bb
|
||
|
}
|
||
|
|
||
|
//
|
||
|
type WorkbookPivotTableRefreshRequest struct{ BaseRequest }
|
||
|
|
||
|
//
|
||
|
func (b *WorkbookPivotTableRefreshRequestBuilder) Request() *WorkbookPivotTableRefreshRequest {
|
||
|
return &WorkbookPivotTableRefreshRequest{
|
||
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//
|
||
|
func (r *WorkbookPivotTableRefreshRequest) Post(ctx context.Context) error {
|
||
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
||
|
}
|