mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-21 00:12:01 -08:00
2681 lines
95 KiB
Go
2681 lines
95 KiB
Go
// Code generated by msgraph.go/gen DO NOT EDIT.
|
|
|
|
package msgraph
|
|
|
|
import "context"
|
|
|
|
// WorkbookRequestBuilder is request builder for Workbook
|
|
type WorkbookRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRequest
|
|
func (b *WorkbookRequestBuilder) Request() *WorkbookRequest {
|
|
return &WorkbookRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRequest is request for Workbook
|
|
type WorkbookRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for Workbook
|
|
func (r *WorkbookRequest) Get(ctx context.Context) (resObj *Workbook, 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 Workbook
|
|
func (r *WorkbookRequest) Update(ctx context.Context, reqObj *Workbook) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for Workbook
|
|
func (r *WorkbookRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookApplicationRequestBuilder is request builder for WorkbookApplication
|
|
type WorkbookApplicationRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookApplicationRequest
|
|
func (b *WorkbookApplicationRequestBuilder) Request() *WorkbookApplicationRequest {
|
|
return &WorkbookApplicationRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookApplicationRequest is request for WorkbookApplication
|
|
type WorkbookApplicationRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookApplication
|
|
func (r *WorkbookApplicationRequest) Get(ctx context.Context) (resObj *WorkbookApplication, 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 WorkbookApplication
|
|
func (r *WorkbookApplicationRequest) Update(ctx context.Context, reqObj *WorkbookApplication) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookApplication
|
|
func (r *WorkbookApplicationRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartRequestBuilder is request builder for WorkbookChart
|
|
type WorkbookChartRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartRequest
|
|
func (b *WorkbookChartRequestBuilder) Request() *WorkbookChartRequest {
|
|
return &WorkbookChartRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartRequest is request for WorkbookChart
|
|
type WorkbookChartRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChart
|
|
func (r *WorkbookChartRequest) Get(ctx context.Context) (resObj *WorkbookChart, 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 WorkbookChart
|
|
func (r *WorkbookChartRequest) Update(ctx context.Context, reqObj *WorkbookChart) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChart
|
|
func (r *WorkbookChartRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartAreaFormatRequestBuilder is request builder for WorkbookChartAreaFormat
|
|
type WorkbookChartAreaFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartAreaFormatRequest
|
|
func (b *WorkbookChartAreaFormatRequestBuilder) Request() *WorkbookChartAreaFormatRequest {
|
|
return &WorkbookChartAreaFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartAreaFormatRequest is request for WorkbookChartAreaFormat
|
|
type WorkbookChartAreaFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartAreaFormat
|
|
func (r *WorkbookChartAreaFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartAreaFormat, 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 WorkbookChartAreaFormat
|
|
func (r *WorkbookChartAreaFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartAreaFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartAreaFormat
|
|
func (r *WorkbookChartAreaFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// 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)
|
|
}
|
|
|
|
// WorkbookChartAxisRequestBuilder is request builder for WorkbookChartAxis
|
|
type WorkbookChartAxisRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartAxisRequest
|
|
func (b *WorkbookChartAxisRequestBuilder) Request() *WorkbookChartAxisRequest {
|
|
return &WorkbookChartAxisRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartAxisRequest is request for WorkbookChartAxis
|
|
type WorkbookChartAxisRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartAxis
|
|
func (r *WorkbookChartAxisRequest) Get(ctx context.Context) (resObj *WorkbookChartAxis, 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 WorkbookChartAxis
|
|
func (r *WorkbookChartAxisRequest) Update(ctx context.Context, reqObj *WorkbookChartAxis) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartAxis
|
|
func (r *WorkbookChartAxisRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartAxisFormatRequestBuilder is request builder for WorkbookChartAxisFormat
|
|
type WorkbookChartAxisFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartAxisFormatRequest
|
|
func (b *WorkbookChartAxisFormatRequestBuilder) Request() *WorkbookChartAxisFormatRequest {
|
|
return &WorkbookChartAxisFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartAxisFormatRequest is request for WorkbookChartAxisFormat
|
|
type WorkbookChartAxisFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartAxisFormat
|
|
func (r *WorkbookChartAxisFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartAxisFormat, 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 WorkbookChartAxisFormat
|
|
func (r *WorkbookChartAxisFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartAxisFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartAxisFormat
|
|
func (r *WorkbookChartAxisFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartAxisTitleRequestBuilder is request builder for WorkbookChartAxisTitle
|
|
type WorkbookChartAxisTitleRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartAxisTitleRequest
|
|
func (b *WorkbookChartAxisTitleRequestBuilder) Request() *WorkbookChartAxisTitleRequest {
|
|
return &WorkbookChartAxisTitleRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartAxisTitleRequest is request for WorkbookChartAxisTitle
|
|
type WorkbookChartAxisTitleRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartAxisTitle
|
|
func (r *WorkbookChartAxisTitleRequest) Get(ctx context.Context) (resObj *WorkbookChartAxisTitle, 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 WorkbookChartAxisTitle
|
|
func (r *WorkbookChartAxisTitleRequest) Update(ctx context.Context, reqObj *WorkbookChartAxisTitle) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartAxisTitle
|
|
func (r *WorkbookChartAxisTitleRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartAxisTitleFormatRequestBuilder is request builder for WorkbookChartAxisTitleFormat
|
|
type WorkbookChartAxisTitleFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartAxisTitleFormatRequest
|
|
func (b *WorkbookChartAxisTitleFormatRequestBuilder) Request() *WorkbookChartAxisTitleFormatRequest {
|
|
return &WorkbookChartAxisTitleFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartAxisTitleFormatRequest is request for WorkbookChartAxisTitleFormat
|
|
type WorkbookChartAxisTitleFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartAxisTitleFormat
|
|
func (r *WorkbookChartAxisTitleFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartAxisTitleFormat, 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 WorkbookChartAxisTitleFormat
|
|
func (r *WorkbookChartAxisTitleFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartAxisTitleFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartAxisTitleFormat
|
|
func (r *WorkbookChartAxisTitleFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartDataLabelFormatRequestBuilder is request builder for WorkbookChartDataLabelFormat
|
|
type WorkbookChartDataLabelFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartDataLabelFormatRequest
|
|
func (b *WorkbookChartDataLabelFormatRequestBuilder) Request() *WorkbookChartDataLabelFormatRequest {
|
|
return &WorkbookChartDataLabelFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartDataLabelFormatRequest is request for WorkbookChartDataLabelFormat
|
|
type WorkbookChartDataLabelFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartDataLabelFormat
|
|
func (r *WorkbookChartDataLabelFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartDataLabelFormat, 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 WorkbookChartDataLabelFormat
|
|
func (r *WorkbookChartDataLabelFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartDataLabelFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartDataLabelFormat
|
|
func (r *WorkbookChartDataLabelFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartDataLabelsRequestBuilder is request builder for WorkbookChartDataLabels
|
|
type WorkbookChartDataLabelsRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartDataLabelsRequest
|
|
func (b *WorkbookChartDataLabelsRequestBuilder) Request() *WorkbookChartDataLabelsRequest {
|
|
return &WorkbookChartDataLabelsRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartDataLabelsRequest is request for WorkbookChartDataLabels
|
|
type WorkbookChartDataLabelsRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartDataLabels
|
|
func (r *WorkbookChartDataLabelsRequest) Get(ctx context.Context) (resObj *WorkbookChartDataLabels, 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 WorkbookChartDataLabels
|
|
func (r *WorkbookChartDataLabelsRequest) Update(ctx context.Context, reqObj *WorkbookChartDataLabels) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartDataLabels
|
|
func (r *WorkbookChartDataLabelsRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartFillRequestBuilder is request builder for WorkbookChartFill
|
|
type WorkbookChartFillRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartFillRequest
|
|
func (b *WorkbookChartFillRequestBuilder) Request() *WorkbookChartFillRequest {
|
|
return &WorkbookChartFillRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartFillRequest is request for WorkbookChartFill
|
|
type WorkbookChartFillRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartFill
|
|
func (r *WorkbookChartFillRequest) Get(ctx context.Context) (resObj *WorkbookChartFill, 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 WorkbookChartFill
|
|
func (r *WorkbookChartFillRequest) Update(ctx context.Context, reqObj *WorkbookChartFill) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartFill
|
|
func (r *WorkbookChartFillRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartFontRequestBuilder is request builder for WorkbookChartFont
|
|
type WorkbookChartFontRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartFontRequest
|
|
func (b *WorkbookChartFontRequestBuilder) Request() *WorkbookChartFontRequest {
|
|
return &WorkbookChartFontRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartFontRequest is request for WorkbookChartFont
|
|
type WorkbookChartFontRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartFont
|
|
func (r *WorkbookChartFontRequest) Get(ctx context.Context) (resObj *WorkbookChartFont, 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 WorkbookChartFont
|
|
func (r *WorkbookChartFontRequest) Update(ctx context.Context, reqObj *WorkbookChartFont) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartFont
|
|
func (r *WorkbookChartFontRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartGridlinesRequestBuilder is request builder for WorkbookChartGridlines
|
|
type WorkbookChartGridlinesRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartGridlinesRequest
|
|
func (b *WorkbookChartGridlinesRequestBuilder) Request() *WorkbookChartGridlinesRequest {
|
|
return &WorkbookChartGridlinesRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartGridlinesRequest is request for WorkbookChartGridlines
|
|
type WorkbookChartGridlinesRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartGridlines
|
|
func (r *WorkbookChartGridlinesRequest) Get(ctx context.Context) (resObj *WorkbookChartGridlines, 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 WorkbookChartGridlines
|
|
func (r *WorkbookChartGridlinesRequest) Update(ctx context.Context, reqObj *WorkbookChartGridlines) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartGridlines
|
|
func (r *WorkbookChartGridlinesRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartGridlinesFormatRequestBuilder is request builder for WorkbookChartGridlinesFormat
|
|
type WorkbookChartGridlinesFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartGridlinesFormatRequest
|
|
func (b *WorkbookChartGridlinesFormatRequestBuilder) Request() *WorkbookChartGridlinesFormatRequest {
|
|
return &WorkbookChartGridlinesFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartGridlinesFormatRequest is request for WorkbookChartGridlinesFormat
|
|
type WorkbookChartGridlinesFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartGridlinesFormat
|
|
func (r *WorkbookChartGridlinesFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartGridlinesFormat, 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 WorkbookChartGridlinesFormat
|
|
func (r *WorkbookChartGridlinesFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartGridlinesFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartGridlinesFormat
|
|
func (r *WorkbookChartGridlinesFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartLegendRequestBuilder is request builder for WorkbookChartLegend
|
|
type WorkbookChartLegendRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartLegendRequest
|
|
func (b *WorkbookChartLegendRequestBuilder) Request() *WorkbookChartLegendRequest {
|
|
return &WorkbookChartLegendRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartLegendRequest is request for WorkbookChartLegend
|
|
type WorkbookChartLegendRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartLegend
|
|
func (r *WorkbookChartLegendRequest) Get(ctx context.Context) (resObj *WorkbookChartLegend, 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 WorkbookChartLegend
|
|
func (r *WorkbookChartLegendRequest) Update(ctx context.Context, reqObj *WorkbookChartLegend) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartLegend
|
|
func (r *WorkbookChartLegendRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartLegendFormatRequestBuilder is request builder for WorkbookChartLegendFormat
|
|
type WorkbookChartLegendFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartLegendFormatRequest
|
|
func (b *WorkbookChartLegendFormatRequestBuilder) Request() *WorkbookChartLegendFormatRequest {
|
|
return &WorkbookChartLegendFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartLegendFormatRequest is request for WorkbookChartLegendFormat
|
|
type WorkbookChartLegendFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartLegendFormat
|
|
func (r *WorkbookChartLegendFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartLegendFormat, 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 WorkbookChartLegendFormat
|
|
func (r *WorkbookChartLegendFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartLegendFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartLegendFormat
|
|
func (r *WorkbookChartLegendFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartLineFormatRequestBuilder is request builder for WorkbookChartLineFormat
|
|
type WorkbookChartLineFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartLineFormatRequest
|
|
func (b *WorkbookChartLineFormatRequestBuilder) Request() *WorkbookChartLineFormatRequest {
|
|
return &WorkbookChartLineFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartLineFormatRequest is request for WorkbookChartLineFormat
|
|
type WorkbookChartLineFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartLineFormat
|
|
func (r *WorkbookChartLineFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartLineFormat, 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 WorkbookChartLineFormat
|
|
func (r *WorkbookChartLineFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartLineFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartLineFormat
|
|
func (r *WorkbookChartLineFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartPointRequestBuilder is request builder for WorkbookChartPoint
|
|
type WorkbookChartPointRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartPointRequest
|
|
func (b *WorkbookChartPointRequestBuilder) Request() *WorkbookChartPointRequest {
|
|
return &WorkbookChartPointRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartPointRequest is request for WorkbookChartPoint
|
|
type WorkbookChartPointRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartPoint
|
|
func (r *WorkbookChartPointRequest) Get(ctx context.Context) (resObj *WorkbookChartPoint, 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 WorkbookChartPoint
|
|
func (r *WorkbookChartPointRequest) Update(ctx context.Context, reqObj *WorkbookChartPoint) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartPoint
|
|
func (r *WorkbookChartPointRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartPointFormatRequestBuilder is request builder for WorkbookChartPointFormat
|
|
type WorkbookChartPointFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartPointFormatRequest
|
|
func (b *WorkbookChartPointFormatRequestBuilder) Request() *WorkbookChartPointFormatRequest {
|
|
return &WorkbookChartPointFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartPointFormatRequest is request for WorkbookChartPointFormat
|
|
type WorkbookChartPointFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartPointFormat
|
|
func (r *WorkbookChartPointFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartPointFormat, 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 WorkbookChartPointFormat
|
|
func (r *WorkbookChartPointFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartPointFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartPointFormat
|
|
func (r *WorkbookChartPointFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartSeriesRequestBuilder is request builder for WorkbookChartSeries
|
|
type WorkbookChartSeriesRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartSeriesRequest
|
|
func (b *WorkbookChartSeriesRequestBuilder) Request() *WorkbookChartSeriesRequest {
|
|
return &WorkbookChartSeriesRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartSeriesRequest is request for WorkbookChartSeries
|
|
type WorkbookChartSeriesRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartSeries
|
|
func (r *WorkbookChartSeriesRequest) Get(ctx context.Context) (resObj *WorkbookChartSeries, 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 WorkbookChartSeries
|
|
func (r *WorkbookChartSeriesRequest) Update(ctx context.Context, reqObj *WorkbookChartSeries) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartSeries
|
|
func (r *WorkbookChartSeriesRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartSeriesFormatRequestBuilder is request builder for WorkbookChartSeriesFormat
|
|
type WorkbookChartSeriesFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartSeriesFormatRequest
|
|
func (b *WorkbookChartSeriesFormatRequestBuilder) Request() *WorkbookChartSeriesFormatRequest {
|
|
return &WorkbookChartSeriesFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartSeriesFormatRequest is request for WorkbookChartSeriesFormat
|
|
type WorkbookChartSeriesFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartSeriesFormat
|
|
func (r *WorkbookChartSeriesFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartSeriesFormat, 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 WorkbookChartSeriesFormat
|
|
func (r *WorkbookChartSeriesFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartSeriesFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartSeriesFormat
|
|
func (r *WorkbookChartSeriesFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartTitleRequestBuilder is request builder for WorkbookChartTitle
|
|
type WorkbookChartTitleRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartTitleRequest
|
|
func (b *WorkbookChartTitleRequestBuilder) Request() *WorkbookChartTitleRequest {
|
|
return &WorkbookChartTitleRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartTitleRequest is request for WorkbookChartTitle
|
|
type WorkbookChartTitleRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartTitle
|
|
func (r *WorkbookChartTitleRequest) Get(ctx context.Context) (resObj *WorkbookChartTitle, 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 WorkbookChartTitle
|
|
func (r *WorkbookChartTitleRequest) Update(ctx context.Context, reqObj *WorkbookChartTitle) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartTitle
|
|
func (r *WorkbookChartTitleRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookChartTitleFormatRequestBuilder is request builder for WorkbookChartTitleFormat
|
|
type WorkbookChartTitleFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookChartTitleFormatRequest
|
|
func (b *WorkbookChartTitleFormatRequestBuilder) Request() *WorkbookChartTitleFormatRequest {
|
|
return &WorkbookChartTitleFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookChartTitleFormatRequest is request for WorkbookChartTitleFormat
|
|
type WorkbookChartTitleFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookChartTitleFormat
|
|
func (r *WorkbookChartTitleFormatRequest) Get(ctx context.Context) (resObj *WorkbookChartTitleFormat, 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 WorkbookChartTitleFormat
|
|
func (r *WorkbookChartTitleFormatRequest) Update(ctx context.Context, reqObj *WorkbookChartTitleFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookChartTitleFormat
|
|
func (r *WorkbookChartTitleFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookCommentRequestBuilder is request builder for WorkbookComment
|
|
type WorkbookCommentRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookCommentRequest
|
|
func (b *WorkbookCommentRequestBuilder) Request() *WorkbookCommentRequest {
|
|
return &WorkbookCommentRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookCommentRequest is request for WorkbookComment
|
|
type WorkbookCommentRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookComment
|
|
func (r *WorkbookCommentRequest) Get(ctx context.Context) (resObj *WorkbookComment, 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 WorkbookComment
|
|
func (r *WorkbookCommentRequest) Update(ctx context.Context, reqObj *WorkbookComment) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookComment
|
|
func (r *WorkbookCommentRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookCommentReplyRequestBuilder is request builder for WorkbookCommentReply
|
|
type WorkbookCommentReplyRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookCommentReplyRequest
|
|
func (b *WorkbookCommentReplyRequestBuilder) Request() *WorkbookCommentReplyRequest {
|
|
return &WorkbookCommentReplyRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookCommentReplyRequest is request for WorkbookCommentReply
|
|
type WorkbookCommentReplyRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookCommentReply
|
|
func (r *WorkbookCommentReplyRequest) Get(ctx context.Context) (resObj *WorkbookCommentReply, 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 WorkbookCommentReply
|
|
func (r *WorkbookCommentReplyRequest) Update(ctx context.Context, reqObj *WorkbookCommentReply) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookCommentReply
|
|
func (r *WorkbookCommentReplyRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookFilterRequestBuilder is request builder for WorkbookFilter
|
|
type WorkbookFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookFilterRequest
|
|
func (b *WorkbookFilterRequestBuilder) Request() *WorkbookFilterRequest {
|
|
return &WorkbookFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookFilterRequest is request for WorkbookFilter
|
|
type WorkbookFilterRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookFilter
|
|
func (r *WorkbookFilterRequest) Get(ctx context.Context) (resObj *WorkbookFilter, 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 WorkbookFilter
|
|
func (r *WorkbookFilterRequest) Update(ctx context.Context, reqObj *WorkbookFilter) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookFilter
|
|
func (r *WorkbookFilterRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookFormatProtectionRequestBuilder is request builder for WorkbookFormatProtection
|
|
type WorkbookFormatProtectionRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookFormatProtectionRequest
|
|
func (b *WorkbookFormatProtectionRequestBuilder) Request() *WorkbookFormatProtectionRequest {
|
|
return &WorkbookFormatProtectionRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookFormatProtectionRequest is request for WorkbookFormatProtection
|
|
type WorkbookFormatProtectionRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookFormatProtection
|
|
func (r *WorkbookFormatProtectionRequest) Get(ctx context.Context) (resObj *WorkbookFormatProtection, 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 WorkbookFormatProtection
|
|
func (r *WorkbookFormatProtectionRequest) Update(ctx context.Context, reqObj *WorkbookFormatProtection) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookFormatProtection
|
|
func (r *WorkbookFormatProtectionRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookNamedItemRequestBuilder is request builder for WorkbookNamedItem
|
|
type WorkbookNamedItemRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookNamedItemRequest
|
|
func (b *WorkbookNamedItemRequestBuilder) Request() *WorkbookNamedItemRequest {
|
|
return &WorkbookNamedItemRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookNamedItemRequest is request for WorkbookNamedItem
|
|
type WorkbookNamedItemRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookNamedItem
|
|
func (r *WorkbookNamedItemRequest) Get(ctx context.Context) (resObj *WorkbookNamedItem, 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 WorkbookNamedItem
|
|
func (r *WorkbookNamedItemRequest) Update(ctx context.Context, reqObj *WorkbookNamedItem) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookNamedItem
|
|
func (r *WorkbookNamedItemRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookPivotTableRequestBuilder is request builder for WorkbookPivotTable
|
|
type WorkbookPivotTableRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookPivotTableRequest
|
|
func (b *WorkbookPivotTableRequestBuilder) Request() *WorkbookPivotTableRequest {
|
|
return &WorkbookPivotTableRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookPivotTableRequest is request for WorkbookPivotTable
|
|
type WorkbookPivotTableRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookPivotTable
|
|
func (r *WorkbookPivotTableRequest) Get(ctx context.Context) (resObj *WorkbookPivotTable, 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 WorkbookPivotTable
|
|
func (r *WorkbookPivotTableRequest) Update(ctx context.Context, reqObj *WorkbookPivotTable) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookPivotTable
|
|
func (r *WorkbookPivotTableRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookRangeRequestBuilder is request builder for WorkbookRange
|
|
type WorkbookRangeRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRangeRequest
|
|
func (b *WorkbookRangeRequestBuilder) Request() *WorkbookRangeRequest {
|
|
return &WorkbookRangeRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRangeRequest is request for WorkbookRange
|
|
type WorkbookRangeRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookRange
|
|
func (r *WorkbookRangeRequest) Get(ctx context.Context) (resObj *WorkbookRange, 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 WorkbookRange
|
|
func (r *WorkbookRangeRequest) Update(ctx context.Context, reqObj *WorkbookRange) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookRange
|
|
func (r *WorkbookRangeRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookRangeBorderRequestBuilder is request builder for WorkbookRangeBorder
|
|
type WorkbookRangeBorderRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRangeBorderRequest
|
|
func (b *WorkbookRangeBorderRequestBuilder) Request() *WorkbookRangeBorderRequest {
|
|
return &WorkbookRangeBorderRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRangeBorderRequest is request for WorkbookRangeBorder
|
|
type WorkbookRangeBorderRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookRangeBorder
|
|
func (r *WorkbookRangeBorderRequest) Get(ctx context.Context) (resObj *WorkbookRangeBorder, 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 WorkbookRangeBorder
|
|
func (r *WorkbookRangeBorderRequest) Update(ctx context.Context, reqObj *WorkbookRangeBorder) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookRangeBorder
|
|
func (r *WorkbookRangeBorderRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookRangeFillRequestBuilder is request builder for WorkbookRangeFill
|
|
type WorkbookRangeFillRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRangeFillRequest
|
|
func (b *WorkbookRangeFillRequestBuilder) Request() *WorkbookRangeFillRequest {
|
|
return &WorkbookRangeFillRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRangeFillRequest is request for WorkbookRangeFill
|
|
type WorkbookRangeFillRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookRangeFill
|
|
func (r *WorkbookRangeFillRequest) Get(ctx context.Context) (resObj *WorkbookRangeFill, 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 WorkbookRangeFill
|
|
func (r *WorkbookRangeFillRequest) Update(ctx context.Context, reqObj *WorkbookRangeFill) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookRangeFill
|
|
func (r *WorkbookRangeFillRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookRangeFontRequestBuilder is request builder for WorkbookRangeFont
|
|
type WorkbookRangeFontRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRangeFontRequest
|
|
func (b *WorkbookRangeFontRequestBuilder) Request() *WorkbookRangeFontRequest {
|
|
return &WorkbookRangeFontRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRangeFontRequest is request for WorkbookRangeFont
|
|
type WorkbookRangeFontRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookRangeFont
|
|
func (r *WorkbookRangeFontRequest) Get(ctx context.Context) (resObj *WorkbookRangeFont, 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 WorkbookRangeFont
|
|
func (r *WorkbookRangeFontRequest) Update(ctx context.Context, reqObj *WorkbookRangeFont) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookRangeFont
|
|
func (r *WorkbookRangeFontRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookRangeFormatRequestBuilder is request builder for WorkbookRangeFormat
|
|
type WorkbookRangeFormatRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRangeFormatRequest
|
|
func (b *WorkbookRangeFormatRequestBuilder) Request() *WorkbookRangeFormatRequest {
|
|
return &WorkbookRangeFormatRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRangeFormatRequest is request for WorkbookRangeFormat
|
|
type WorkbookRangeFormatRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookRangeFormat
|
|
func (r *WorkbookRangeFormatRequest) Get(ctx context.Context) (resObj *WorkbookRangeFormat, 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 WorkbookRangeFormat
|
|
func (r *WorkbookRangeFormatRequest) Update(ctx context.Context, reqObj *WorkbookRangeFormat) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookRangeFormat
|
|
func (r *WorkbookRangeFormatRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookRangeSortRequestBuilder is request builder for WorkbookRangeSort
|
|
type WorkbookRangeSortRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRangeSortRequest
|
|
func (b *WorkbookRangeSortRequestBuilder) Request() *WorkbookRangeSortRequest {
|
|
return &WorkbookRangeSortRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRangeSortRequest is request for WorkbookRangeSort
|
|
type WorkbookRangeSortRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookRangeSort
|
|
func (r *WorkbookRangeSortRequest) Get(ctx context.Context) (resObj *WorkbookRangeSort, 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 WorkbookRangeSort
|
|
func (r *WorkbookRangeSortRequest) Update(ctx context.Context, reqObj *WorkbookRangeSort) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookRangeSort
|
|
func (r *WorkbookRangeSortRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookRangeViewRequestBuilder is request builder for WorkbookRangeView
|
|
type WorkbookRangeViewRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookRangeViewRequest
|
|
func (b *WorkbookRangeViewRequestBuilder) Request() *WorkbookRangeViewRequest {
|
|
return &WorkbookRangeViewRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookRangeViewRequest is request for WorkbookRangeView
|
|
type WorkbookRangeViewRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookRangeView
|
|
func (r *WorkbookRangeViewRequest) Get(ctx context.Context) (resObj *WorkbookRangeView, 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 WorkbookRangeView
|
|
func (r *WorkbookRangeViewRequest) Update(ctx context.Context, reqObj *WorkbookRangeView) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookRangeView
|
|
func (r *WorkbookRangeViewRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookTableRequestBuilder is request builder for WorkbookTable
|
|
type WorkbookTableRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookTableRequest
|
|
func (b *WorkbookTableRequestBuilder) Request() *WorkbookTableRequest {
|
|
return &WorkbookTableRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookTableRequest is request for WorkbookTable
|
|
type WorkbookTableRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookTable
|
|
func (r *WorkbookTableRequest) Get(ctx context.Context) (resObj *WorkbookTable, 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 WorkbookTable
|
|
func (r *WorkbookTableRequest) Update(ctx context.Context, reqObj *WorkbookTable) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookTable
|
|
func (r *WorkbookTableRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookTableColumnRequestBuilder is request builder for WorkbookTableColumn
|
|
type WorkbookTableColumnRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookTableColumnRequest
|
|
func (b *WorkbookTableColumnRequestBuilder) Request() *WorkbookTableColumnRequest {
|
|
return &WorkbookTableColumnRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookTableColumnRequest is request for WorkbookTableColumn
|
|
type WorkbookTableColumnRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookTableColumn
|
|
func (r *WorkbookTableColumnRequest) Get(ctx context.Context) (resObj *WorkbookTableColumn, 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 WorkbookTableColumn
|
|
func (r *WorkbookTableColumnRequest) Update(ctx context.Context, reqObj *WorkbookTableColumn) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookTableColumn
|
|
func (r *WorkbookTableColumnRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookTableRowRequestBuilder is request builder for WorkbookTableRow
|
|
type WorkbookTableRowRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookTableRowRequest
|
|
func (b *WorkbookTableRowRequestBuilder) Request() *WorkbookTableRowRequest {
|
|
return &WorkbookTableRowRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookTableRowRequest is request for WorkbookTableRow
|
|
type WorkbookTableRowRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookTableRow
|
|
func (r *WorkbookTableRowRequest) Get(ctx context.Context) (resObj *WorkbookTableRow, 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 WorkbookTableRow
|
|
func (r *WorkbookTableRowRequest) Update(ctx context.Context, reqObj *WorkbookTableRow) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookTableRow
|
|
func (r *WorkbookTableRowRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookTableSortRequestBuilder is request builder for WorkbookTableSort
|
|
type WorkbookTableSortRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookTableSortRequest
|
|
func (b *WorkbookTableSortRequestBuilder) Request() *WorkbookTableSortRequest {
|
|
return &WorkbookTableSortRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookTableSortRequest is request for WorkbookTableSort
|
|
type WorkbookTableSortRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookTableSort
|
|
func (r *WorkbookTableSortRequest) Get(ctx context.Context) (resObj *WorkbookTableSort, 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 WorkbookTableSort
|
|
func (r *WorkbookTableSortRequest) Update(ctx context.Context, reqObj *WorkbookTableSort) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookTableSort
|
|
func (r *WorkbookTableSortRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookWorksheetRequestBuilder is request builder for WorkbookWorksheet
|
|
type WorkbookWorksheetRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookWorksheetRequest
|
|
func (b *WorkbookWorksheetRequestBuilder) Request() *WorkbookWorksheetRequest {
|
|
return &WorkbookWorksheetRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookWorksheetRequest is request for WorkbookWorksheet
|
|
type WorkbookWorksheetRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookWorksheet
|
|
func (r *WorkbookWorksheetRequest) Get(ctx context.Context) (resObj *WorkbookWorksheet, 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 WorkbookWorksheet
|
|
func (r *WorkbookWorksheetRequest) Update(ctx context.Context, reqObj *WorkbookWorksheet) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookWorksheet
|
|
func (r *WorkbookWorksheetRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
// WorkbookWorksheetProtectionRequestBuilder is request builder for WorkbookWorksheetProtection
|
|
type WorkbookWorksheetProtectionRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns WorkbookWorksheetProtectionRequest
|
|
func (b *WorkbookWorksheetProtectionRequestBuilder) Request() *WorkbookWorksheetProtectionRequest {
|
|
return &WorkbookWorksheetProtectionRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// WorkbookWorksheetProtectionRequest is request for WorkbookWorksheetProtection
|
|
type WorkbookWorksheetProtectionRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for WorkbookWorksheetProtection
|
|
func (r *WorkbookWorksheetProtectionRequest) Get(ctx context.Context) (resObj *WorkbookWorksheetProtection, 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 WorkbookWorksheetProtection
|
|
func (r *WorkbookWorksheetProtectionRequest) Update(ctx context.Context, reqObj *WorkbookWorksheetProtection) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for WorkbookWorksheetProtection
|
|
func (r *WorkbookWorksheetProtectionRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookChartCollectionAddRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Add action undocumented
|
|
func (b *WorkbookWorksheetChartsCollectionRequestBuilder) Add(reqObj *WorkbookChartCollectionAddRequestParameter) *WorkbookChartCollectionAddRequestBuilder {
|
|
bb := &WorkbookChartCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/add"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookChartCollectionAddRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookChartCollectionAddRequestBuilder) Request() *WorkbookChartCollectionAddRequest {
|
|
return &WorkbookChartCollectionAddRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookChartCollectionAddRequest) Post(ctx context.Context) (resObj *WorkbookChart, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookNamedItemCollectionAddRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Add action undocumented
|
|
func (b *WorkbookNamesCollectionRequestBuilder) Add(reqObj *WorkbookNamedItemCollectionAddRequestParameter) *WorkbookNamedItemCollectionAddRequestBuilder {
|
|
bb := &WorkbookNamedItemCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/add"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
// Add action undocumented
|
|
func (b *WorkbookWorksheetNamesCollectionRequestBuilder) Add(reqObj *WorkbookNamedItemCollectionAddRequestParameter) *WorkbookNamedItemCollectionAddRequestBuilder {
|
|
bb := &WorkbookNamedItemCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/add"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookNamedItemCollectionAddRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookNamedItemCollectionAddRequestBuilder) Request() *WorkbookNamedItemCollectionAddRequest {
|
|
return &WorkbookNamedItemCollectionAddRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookNamedItemCollectionAddRequest) Post(ctx context.Context) (resObj *WorkbookNamedItem, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookNamedItemCollectionAddFormulaLocalRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// AddFormulaLocal action undocumented
|
|
func (b *WorkbookNamesCollectionRequestBuilder) AddFormulaLocal(reqObj *WorkbookNamedItemCollectionAddFormulaLocalRequestParameter) *WorkbookNamedItemCollectionAddFormulaLocalRequestBuilder {
|
|
bb := &WorkbookNamedItemCollectionAddFormulaLocalRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/addFormulaLocal"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
// AddFormulaLocal action undocumented
|
|
func (b *WorkbookWorksheetNamesCollectionRequestBuilder) AddFormulaLocal(reqObj *WorkbookNamedItemCollectionAddFormulaLocalRequestParameter) *WorkbookNamedItemCollectionAddFormulaLocalRequestBuilder {
|
|
bb := &WorkbookNamedItemCollectionAddFormulaLocalRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/addFormulaLocal"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookNamedItemCollectionAddFormulaLocalRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookNamedItemCollectionAddFormulaLocalRequestBuilder) Request() *WorkbookNamedItemCollectionAddFormulaLocalRequest {
|
|
return &WorkbookNamedItemCollectionAddFormulaLocalRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookNamedItemCollectionAddFormulaLocalRequest) Post(ctx context.Context) (resObj *WorkbookNamedItem, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
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 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 WorkbookTableColumnCollectionAddRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Add action undocumented
|
|
func (b *WorkbookTableColumnsCollectionRequestBuilder) Add(reqObj *WorkbookTableColumnCollectionAddRequestParameter) *WorkbookTableColumnCollectionAddRequestBuilder {
|
|
bb := &WorkbookTableColumnCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/add"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookTableColumnCollectionAddRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookTableColumnCollectionAddRequestBuilder) Request() *WorkbookTableColumnCollectionAddRequest {
|
|
return &WorkbookTableColumnCollectionAddRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookTableColumnCollectionAddRequest) Post(ctx context.Context) (resObj *WorkbookTableColumn, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookTableRowCollectionAddRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Add action undocumented
|
|
func (b *WorkbookTableRowsCollectionRequestBuilder) Add(reqObj *WorkbookTableRowCollectionAddRequestParameter) *WorkbookTableRowCollectionAddRequestBuilder {
|
|
bb := &WorkbookTableRowCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/add"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookTableRowCollectionAddRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookTableRowCollectionAddRequestBuilder) Request() *WorkbookTableRowCollectionAddRequest {
|
|
return &WorkbookTableRowCollectionAddRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookTableRowCollectionAddRequest) Post(ctx context.Context) (resObj *WorkbookTableRow, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookWorksheetCollectionAddRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Add action undocumented
|
|
func (b *WorkbookWorksheetsCollectionRequestBuilder) Add(reqObj *WorkbookWorksheetCollectionAddRequestParameter) *WorkbookWorksheetCollectionAddRequestBuilder {
|
|
bb := &WorkbookWorksheetCollectionAddRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/add"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookWorksheetCollectionAddRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookWorksheetCollectionAddRequestBuilder) Request() *WorkbookWorksheetCollectionAddRequest {
|
|
return &WorkbookWorksheetCollectionAddRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookWorksheetCollectionAddRequest) Post(ctx context.Context) (resObj *WorkbookWorksheet, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookCreateSessionRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// CreateSession action undocumented
|
|
func (b *WorkbookRequestBuilder) CreateSession(reqObj *WorkbookCreateSessionRequestParameter) *WorkbookCreateSessionRequestBuilder {
|
|
bb := &WorkbookCreateSessionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/createSession"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookCreateSessionRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookCreateSessionRequestBuilder) Request() *WorkbookCreateSessionRequest {
|
|
return &WorkbookCreateSessionRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookCreateSessionRequest) Post(ctx context.Context) (resObj *WorkbookSessionInfo, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookCloseSessionRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// CloseSession action undocumented
|
|
func (b *WorkbookRequestBuilder) CloseSession(reqObj *WorkbookCloseSessionRequestParameter) *WorkbookCloseSessionRequestBuilder {
|
|
bb := &WorkbookCloseSessionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/closeSession"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookCloseSessionRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookCloseSessionRequestBuilder) Request() *WorkbookCloseSessionRequest {
|
|
return &WorkbookCloseSessionRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookCloseSessionRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRefreshSessionRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// RefreshSession action undocumented
|
|
func (b *WorkbookRequestBuilder) RefreshSession(reqObj *WorkbookRefreshSessionRequestParameter) *WorkbookRefreshSessionRequestBuilder {
|
|
bb := &WorkbookRefreshSessionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/refreshSession"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRefreshSessionRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRefreshSessionRequestBuilder) Request() *WorkbookRefreshSessionRequest {
|
|
return &WorkbookRefreshSessionRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRefreshSessionRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookApplicationCalculateRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Calculate action undocumented
|
|
func (b *WorkbookApplicationRequestBuilder) Calculate(reqObj *WorkbookApplicationCalculateRequestParameter) *WorkbookApplicationCalculateRequestBuilder {
|
|
bb := &WorkbookApplicationCalculateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/calculate"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookApplicationCalculateRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookApplicationCalculateRequestBuilder) Request() *WorkbookApplicationCalculateRequest {
|
|
return &WorkbookApplicationCalculateRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookApplicationCalculateRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookChartSetDataRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// SetData action undocumented
|
|
func (b *WorkbookChartRequestBuilder) SetData(reqObj *WorkbookChartSetDataRequestParameter) *WorkbookChartSetDataRequestBuilder {
|
|
bb := &WorkbookChartSetDataRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/setData"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookChartSetDataRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookChartSetDataRequestBuilder) Request() *WorkbookChartSetDataRequest {
|
|
return &WorkbookChartSetDataRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookChartSetDataRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookChartSetPositionRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// SetPosition action undocumented
|
|
func (b *WorkbookChartRequestBuilder) SetPosition(reqObj *WorkbookChartSetPositionRequestParameter) *WorkbookChartSetPositionRequestBuilder {
|
|
bb := &WorkbookChartSetPositionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/setPosition"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookChartSetPositionRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookChartSetPositionRequestBuilder) Request() *WorkbookChartSetPositionRequest {
|
|
return &WorkbookChartSetPositionRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookChartSetPositionRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookChartFillClearRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Clear action undocumented
|
|
func (b *WorkbookChartFillRequestBuilder) Clear(reqObj *WorkbookChartFillClearRequestParameter) *WorkbookChartFillClearRequestBuilder {
|
|
bb := &WorkbookChartFillClearRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/clear"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookChartFillClearRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookChartFillClearRequestBuilder) Request() *WorkbookChartFillClearRequest {
|
|
return &WorkbookChartFillClearRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookChartFillClearRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookChartFillSetSolidColorRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// SetSolidColor action undocumented
|
|
func (b *WorkbookChartFillRequestBuilder) SetSolidColor(reqObj *WorkbookChartFillSetSolidColorRequestParameter) *WorkbookChartFillSetSolidColorRequestBuilder {
|
|
bb := &WorkbookChartFillSetSolidColorRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/setSolidColor"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookChartFillSetSolidColorRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookChartFillSetSolidColorRequestBuilder) Request() *WorkbookChartFillSetSolidColorRequest {
|
|
return &WorkbookChartFillSetSolidColorRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookChartFillSetSolidColorRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookChartLineFormatClearRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Clear action undocumented
|
|
func (b *WorkbookChartLineFormatRequestBuilder) Clear(reqObj *WorkbookChartLineFormatClearRequestParameter) *WorkbookChartLineFormatClearRequestBuilder {
|
|
bb := &WorkbookChartLineFormatClearRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/clear"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookChartLineFormatClearRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookChartLineFormatClearRequestBuilder) Request() *WorkbookChartLineFormatClearRequest {
|
|
return &WorkbookChartLineFormatClearRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookChartLineFormatClearRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Apply action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) Apply(reqObj *WorkbookFilterApplyRequestParameter) *WorkbookFilterApplyRequestBuilder {
|
|
bb := &WorkbookFilterApplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/apply"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyRequestBuilder) Request() *WorkbookFilterApplyRequest {
|
|
return &WorkbookFilterApplyRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyBottomItemsFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyBottomItemsFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyBottomItemsFilter(reqObj *WorkbookFilterApplyBottomItemsFilterRequestParameter) *WorkbookFilterApplyBottomItemsFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyBottomItemsFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyBottomItemsFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyBottomItemsFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyBottomItemsFilterRequestBuilder) Request() *WorkbookFilterApplyBottomItemsFilterRequest {
|
|
return &WorkbookFilterApplyBottomItemsFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyBottomItemsFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyBottomPercentFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyBottomPercentFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyBottomPercentFilter(reqObj *WorkbookFilterApplyBottomPercentFilterRequestParameter) *WorkbookFilterApplyBottomPercentFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyBottomPercentFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyBottomPercentFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyBottomPercentFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyBottomPercentFilterRequestBuilder) Request() *WorkbookFilterApplyBottomPercentFilterRequest {
|
|
return &WorkbookFilterApplyBottomPercentFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyBottomPercentFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyCellColorFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyCellColorFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyCellColorFilter(reqObj *WorkbookFilterApplyCellColorFilterRequestParameter) *WorkbookFilterApplyCellColorFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyCellColorFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyCellColorFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyCellColorFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyCellColorFilterRequestBuilder) Request() *WorkbookFilterApplyCellColorFilterRequest {
|
|
return &WorkbookFilterApplyCellColorFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyCellColorFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyCustomFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyCustomFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyCustomFilter(reqObj *WorkbookFilterApplyCustomFilterRequestParameter) *WorkbookFilterApplyCustomFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyCustomFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyCustomFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyCustomFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyCustomFilterRequestBuilder) Request() *WorkbookFilterApplyCustomFilterRequest {
|
|
return &WorkbookFilterApplyCustomFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyCustomFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyDynamicFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyDynamicFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyDynamicFilter(reqObj *WorkbookFilterApplyDynamicFilterRequestParameter) *WorkbookFilterApplyDynamicFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyDynamicFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyDynamicFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyDynamicFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyDynamicFilterRequestBuilder) Request() *WorkbookFilterApplyDynamicFilterRequest {
|
|
return &WorkbookFilterApplyDynamicFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyDynamicFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyFontColorFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyFontColorFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyFontColorFilter(reqObj *WorkbookFilterApplyFontColorFilterRequestParameter) *WorkbookFilterApplyFontColorFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyFontColorFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyFontColorFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyFontColorFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyFontColorFilterRequestBuilder) Request() *WorkbookFilterApplyFontColorFilterRequest {
|
|
return &WorkbookFilterApplyFontColorFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyFontColorFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyIconFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyIconFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyIconFilter(reqObj *WorkbookFilterApplyIconFilterRequestParameter) *WorkbookFilterApplyIconFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyIconFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyIconFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyIconFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyIconFilterRequestBuilder) Request() *WorkbookFilterApplyIconFilterRequest {
|
|
return &WorkbookFilterApplyIconFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyIconFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyTopItemsFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyTopItemsFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyTopItemsFilter(reqObj *WorkbookFilterApplyTopItemsFilterRequestParameter) *WorkbookFilterApplyTopItemsFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyTopItemsFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyTopItemsFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyTopItemsFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyTopItemsFilterRequestBuilder) Request() *WorkbookFilterApplyTopItemsFilterRequest {
|
|
return &WorkbookFilterApplyTopItemsFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyTopItemsFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyTopPercentFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyTopPercentFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyTopPercentFilter(reqObj *WorkbookFilterApplyTopPercentFilterRequestParameter) *WorkbookFilterApplyTopPercentFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyTopPercentFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyTopPercentFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyTopPercentFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyTopPercentFilterRequestBuilder) Request() *WorkbookFilterApplyTopPercentFilterRequest {
|
|
return &WorkbookFilterApplyTopPercentFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyTopPercentFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyValuesFilterRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// ApplyValuesFilter action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) ApplyValuesFilter(reqObj *WorkbookFilterApplyValuesFilterRequestParameter) *WorkbookFilterApplyValuesFilterRequestBuilder {
|
|
bb := &WorkbookFilterApplyValuesFilterRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/applyValuesFilter"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterApplyValuesFilterRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterApplyValuesFilterRequestBuilder) Request() *WorkbookFilterApplyValuesFilterRequest {
|
|
return &WorkbookFilterApplyValuesFilterRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterApplyValuesFilterRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterClearRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Clear action undocumented
|
|
func (b *WorkbookFilterRequestBuilder) Clear(reqObj *WorkbookFilterClearRequestParameter) *WorkbookFilterClearRequestBuilder {
|
|
bb := &WorkbookFilterClearRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/clear"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFilterClearRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFilterClearRequestBuilder) Request() *WorkbookFilterClearRequest {
|
|
return &WorkbookFilterClearRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFilterClearRequest) 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)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeClearRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Clear action undocumented
|
|
func (b *WorkbookRangeRequestBuilder) Clear(reqObj *WorkbookRangeClearRequestParameter) *WorkbookRangeClearRequestBuilder {
|
|
bb := &WorkbookRangeClearRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/clear"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeClearRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeClearRequestBuilder) Request() *WorkbookRangeClearRequest {
|
|
return &WorkbookRangeClearRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeClearRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeDeleteRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Delete action undocumented
|
|
func (b *WorkbookRangeRequestBuilder) Delete(reqObj *WorkbookRangeDeleteRequestParameter) *WorkbookRangeDeleteRequestBuilder {
|
|
bb := &WorkbookRangeDeleteRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/delete"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeDeleteRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeDeleteRequestBuilder) Request() *WorkbookRangeDeleteRequest {
|
|
return &WorkbookRangeDeleteRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeDeleteRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeInsertRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Insert action undocumented
|
|
func (b *WorkbookRangeRequestBuilder) Insert(reqObj *WorkbookRangeInsertRequestParameter) *WorkbookRangeInsertRequestBuilder {
|
|
bb := &WorkbookRangeInsertRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/insert"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeInsertRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeInsertRequestBuilder) Request() *WorkbookRangeInsertRequest {
|
|
return &WorkbookRangeInsertRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeInsertRequest) Post(ctx context.Context) (resObj *WorkbookRange, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeMergeRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Merge action undocumented
|
|
func (b *WorkbookRangeRequestBuilder) Merge(reqObj *WorkbookRangeMergeRequestParameter) *WorkbookRangeMergeRequestBuilder {
|
|
bb := &WorkbookRangeMergeRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/merge"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeMergeRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeMergeRequestBuilder) Request() *WorkbookRangeMergeRequest {
|
|
return &WorkbookRangeMergeRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeMergeRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeUnmergeRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Unmerge action undocumented
|
|
func (b *WorkbookRangeRequestBuilder) Unmerge(reqObj *WorkbookRangeUnmergeRequestParameter) *WorkbookRangeUnmergeRequestBuilder {
|
|
bb := &WorkbookRangeUnmergeRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/unmerge"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeUnmergeRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeUnmergeRequestBuilder) Request() *WorkbookRangeUnmergeRequest {
|
|
return &WorkbookRangeUnmergeRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeUnmergeRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeFillClearRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Clear action undocumented
|
|
func (b *WorkbookRangeFillRequestBuilder) Clear(reqObj *WorkbookRangeFillClearRequestParameter) *WorkbookRangeFillClearRequestBuilder {
|
|
bb := &WorkbookRangeFillClearRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/clear"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeFillClearRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeFillClearRequestBuilder) Request() *WorkbookRangeFillClearRequest {
|
|
return &WorkbookRangeFillClearRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeFillClearRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeFormatAutofitColumnsRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// AutofitColumns action undocumented
|
|
func (b *WorkbookRangeFormatRequestBuilder) AutofitColumns(reqObj *WorkbookRangeFormatAutofitColumnsRequestParameter) *WorkbookRangeFormatAutofitColumnsRequestBuilder {
|
|
bb := &WorkbookRangeFormatAutofitColumnsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/autofitColumns"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeFormatAutofitColumnsRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeFormatAutofitColumnsRequestBuilder) Request() *WorkbookRangeFormatAutofitColumnsRequest {
|
|
return &WorkbookRangeFormatAutofitColumnsRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeFormatAutofitColumnsRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeFormatAutofitRowsRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// AutofitRows action undocumented
|
|
func (b *WorkbookRangeFormatRequestBuilder) AutofitRows(reqObj *WorkbookRangeFormatAutofitRowsRequestParameter) *WorkbookRangeFormatAutofitRowsRequestBuilder {
|
|
bb := &WorkbookRangeFormatAutofitRowsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/autofitRows"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeFormatAutofitRowsRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeFormatAutofitRowsRequestBuilder) Request() *WorkbookRangeFormatAutofitRowsRequest {
|
|
return &WorkbookRangeFormatAutofitRowsRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeFormatAutofitRowsRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeSortApplyRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Apply action undocumented
|
|
func (b *WorkbookRangeSortRequestBuilder) Apply(reqObj *WorkbookRangeSortApplyRequestParameter) *WorkbookRangeSortApplyRequestBuilder {
|
|
bb := &WorkbookRangeSortApplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/apply"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookRangeSortApplyRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookRangeSortApplyRequestBuilder) Request() *WorkbookRangeSortApplyRequest {
|
|
return &WorkbookRangeSortApplyRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookRangeSortApplyRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
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)
|
|
}
|
|
|
|
//
|
|
type WorkbookTableSortApplyRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Apply action undocumented
|
|
func (b *WorkbookTableSortRequestBuilder) Apply(reqObj *WorkbookTableSortApplyRequestParameter) *WorkbookTableSortApplyRequestBuilder {
|
|
bb := &WorkbookTableSortApplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/apply"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookTableSortApplyRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookTableSortApplyRequestBuilder) Request() *WorkbookTableSortApplyRequest {
|
|
return &WorkbookTableSortApplyRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookTableSortApplyRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookTableSortClearRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Clear action undocumented
|
|
func (b *WorkbookTableSortRequestBuilder) Clear(reqObj *WorkbookTableSortClearRequestParameter) *WorkbookTableSortClearRequestBuilder {
|
|
bb := &WorkbookTableSortClearRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/clear"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookTableSortClearRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookTableSortClearRequestBuilder) Request() *WorkbookTableSortClearRequest {
|
|
return &WorkbookTableSortClearRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookTableSortClearRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookTableSortReapplyRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Reapply action undocumented
|
|
func (b *WorkbookTableSortRequestBuilder) Reapply(reqObj *WorkbookTableSortReapplyRequestParameter) *WorkbookTableSortReapplyRequestBuilder {
|
|
bb := &WorkbookTableSortReapplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/reapply"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookTableSortReapplyRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookTableSortReapplyRequestBuilder) Request() *WorkbookTableSortReapplyRequest {
|
|
return &WorkbookTableSortReapplyRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookTableSortReapplyRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookWorksheetProtectionProtectRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Protect action undocumented
|
|
func (b *WorkbookWorksheetProtectionRequestBuilder) Protect(reqObj *WorkbookWorksheetProtectionProtectRequestParameter) *WorkbookWorksheetProtectionProtectRequestBuilder {
|
|
bb := &WorkbookWorksheetProtectionProtectRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/protect"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookWorksheetProtectionProtectRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookWorksheetProtectionProtectRequestBuilder) Request() *WorkbookWorksheetProtectionProtectRequest {
|
|
return &WorkbookWorksheetProtectionProtectRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookWorksheetProtectionProtectRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|
|
|
|
//
|
|
type WorkbookWorksheetProtectionUnprotectRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Unprotect action undocumented
|
|
func (b *WorkbookWorksheetProtectionRequestBuilder) Unprotect(reqObj *WorkbookWorksheetProtectionUnprotectRequestParameter) *WorkbookWorksheetProtectionUnprotectRequestBuilder {
|
|
bb := &WorkbookWorksheetProtectionUnprotectRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/unprotect"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookWorksheetProtectionUnprotectRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookWorksheetProtectionUnprotectRequestBuilder) Request() *WorkbookWorksheetProtectionUnprotectRequest {
|
|
return &WorkbookWorksheetProtectionUnprotectRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookWorksheetProtectionUnprotectRequest) Post(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
|
|
}
|