goda

package module
v0.0.0-...-0998466 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2020 License: MIT Imports: 12 Imported by: 0

README

goda

Autogenerated API client for Coda

Documentation

Overview

Package goda provides primitives to interact the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateDocRequest

func NewCreateDocRequest(server string, body CreateDocJSONRequestBody) (*http.Request, error)

NewCreateDocRequest calls the generic CreateDoc builder with application/json body

func NewCreateDocRequestWithBody

func NewCreateDocRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDocRequestWithBody generates requests for CreateDoc with any type of body

func NewDeleteDocRequest

func NewDeleteDocRequest(server string, docId DocId) (*http.Request, error)

NewDeleteDocRequest generates requests for DeleteDoc

func NewDeletePermissionRequest

func NewDeletePermissionRequest(server string, docId DocId, permissionId PermissionId) (*http.Request, error)

NewDeletePermissionRequest generates requests for DeletePermission

func NewDeleteRowRequest

func NewDeleteRowRequest(server string, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName) (*http.Request, error)

NewDeleteRowRequest generates requests for DeleteRow

func NewDeleteRowsRequest

func NewDeleteRowsRequest(server string, docId DocId, tableIdOrName TableIdOrName, body DeleteRowsJSONRequestBody) (*http.Request, error)

NewDeleteRowsRequest calls the generic DeleteRows builder with application/json body

func NewDeleteRowsRequestWithBody

func NewDeleteRowsRequestWithBody(server string, docId DocId, tableIdOrName TableIdOrName, contentType string, body io.Reader) (*http.Request, error)

NewDeleteRowsRequestWithBody generates requests for DeleteRows with any type of body

func NewGetAclMetadataRequest

func NewGetAclMetadataRequest(server string, docId DocId) (*http.Request, error)

NewGetAclMetadataRequest generates requests for GetAclMetadata

func NewGetAclPermissionsRequest

func NewGetAclPermissionsRequest(server string, docId DocId, params *GetAclPermissionsParams) (*http.Request, error)

NewGetAclPermissionsRequest generates requests for GetAclPermissions

func NewGetColumnRequest

func NewGetColumnRequest(server string, docId DocId, tableIdOrName TableIdOrName, columnIdOrName ColumnIdOrName) (*http.Request, error)

NewGetColumnRequest generates requests for GetColumn

func NewGetControlRequest

func NewGetControlRequest(server string, docId DocId, controlIdOrName ControlIdOrName) (*http.Request, error)

NewGetControlRequest generates requests for GetControl

func NewGetDocRequest

func NewGetDocRequest(server string, docId DocId) (*http.Request, error)

NewGetDocRequest generates requests for GetDoc

func NewGetFormulaRequest

func NewGetFormulaRequest(server string, docId DocId, formulaIdOrName FormulaIdOrName) (*http.Request, error)

NewGetFormulaRequest generates requests for GetFormula

func NewGetMutationStatusRequest

func NewGetMutationStatusRequest(server string, requestId RequestId) (*http.Request, error)

NewGetMutationStatusRequest generates requests for GetMutationStatus

func NewGetPageRequest

func NewGetPageRequest(server string, docId DocId, pageIdOrName PageIdOrName) (*http.Request, error)

NewGetPageRequest generates requests for GetPage

func NewGetRowRequest

func NewGetRowRequest(server string, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *GetRowParams) (*http.Request, error)

NewGetRowRequest generates requests for GetRow

func NewGetTableRequest

func NewGetTableRequest(server string, docId DocId, tableIdOrName TableIdOrName) (*http.Request, error)

NewGetTableRequest generates requests for GetTable

func NewListCategoriesRequest

func NewListCategoriesRequest(server string) (*http.Request, error)

NewListCategoriesRequest generates requests for ListCategories

func NewListColumnsRequest

func NewListColumnsRequest(server string, docId DocId, tableIdOrName TableIdOrName, params *ListColumnsParams) (*http.Request, error)

NewListColumnsRequest generates requests for ListColumns

func NewListControlsRequest

func NewListControlsRequest(server string, docId DocId, params *ListControlsParams) (*http.Request, error)

NewListControlsRequest generates requests for ListControls

func NewListDocAnalyticsRequest

func NewListDocAnalyticsRequest(server string, params *ListDocAnalyticsParams) (*http.Request, error)

NewListDocAnalyticsRequest generates requests for ListDocAnalytics

func NewListDocsRequest

func NewListDocsRequest(server string, params *ListDocsParams) (*http.Request, error)

NewListDocsRequest generates requests for ListDocs

func NewListFormulasRequest

func NewListFormulasRequest(server string, docId DocId, params *ListFormulasParams) (*http.Request, error)

NewListFormulasRequest generates requests for ListFormulas

func NewListPagesRequest

func NewListPagesRequest(server string, docId DocId, params *ListPagesParams) (*http.Request, error)

NewListPagesRequest generates requests for ListPages

func NewListRowsRequest

func NewListRowsRequest(server string, docId DocId, tableIdOrName TableIdOrName, params *ListRowsParams) (*http.Request, error)

NewListRowsRequest generates requests for ListRows

func NewListTablesRequest

func NewListTablesRequest(server string, docId DocId, params *ListTablesParams) (*http.Request, error)

NewListTablesRequest generates requests for ListTables

func NewPublishDocRequest

func NewPublishDocRequest(server string, docId DocId, body PublishDocJSONRequestBody) (*http.Request, error)

NewPublishDocRequest calls the generic PublishDoc builder with application/json body

func NewPublishDocRequestWithBody

func NewPublishDocRequestWithBody(server string, docId DocId, contentType string, body io.Reader) (*http.Request, error)

NewPublishDocRequestWithBody generates requests for PublishDoc with any type of body

func NewPushButtonRequest

func NewPushButtonRequest(server string, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, columnIdOrName ColumnIdOrName) (*http.Request, error)

NewPushButtonRequest generates requests for PushButton

func NewResolveBrowserLinkRequest

func NewResolveBrowserLinkRequest(server string, params *ResolveBrowserLinkParams) (*http.Request, error)

NewResolveBrowserLinkRequest generates requests for ResolveBrowserLink

func NewShareDocRequest

func NewShareDocRequest(server string, docId DocId, body ShareDocJSONRequestBody) (*http.Request, error)

NewShareDocRequest calls the generic ShareDoc builder with application/json body

func NewShareDocRequestWithBody

func NewShareDocRequestWithBody(server string, docId DocId, contentType string, body io.Reader) (*http.Request, error)

NewShareDocRequestWithBody generates requests for ShareDoc with any type of body

func NewUnpublishDocRequest

func NewUnpublishDocRequest(server string, docId DocId) (*http.Request, error)

NewUnpublishDocRequest generates requests for UnpublishDoc

func NewUpdatePageRequest

func NewUpdatePageRequest(server string, docId DocId, pageIdOrName PageIdOrName, body UpdatePageJSONRequestBody) (*http.Request, error)

NewUpdatePageRequest calls the generic UpdatePage builder with application/json body

func NewUpdatePageRequestWithBody

func NewUpdatePageRequestWithBody(server string, docId DocId, pageIdOrName PageIdOrName, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePageRequestWithBody generates requests for UpdatePage with any type of body

func NewUpdateRowRequest

func NewUpdateRowRequest(server string, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, body UpdateRowJSONRequestBody) (*http.Request, error)

NewUpdateRowRequest calls the generic UpdateRow builder with application/json body

func NewUpdateRowRequestWithBody

func NewUpdateRowRequestWithBody(server string, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateRowRequestWithBody generates requests for UpdateRow with any type of body

func NewUpsertRowsRequest

func NewUpsertRowsRequest(server string, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, body UpsertRowsJSONRequestBody) (*http.Request, error)

NewUpsertRowsRequest calls the generic UpsertRows builder with application/json body

func NewUpsertRowsRequestWithBody

func NewUpsertRowsRequestWithBody(server string, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpsertRowsRequestWithBody generates requests for UpsertRows with any type of body

func NewWhoamiRequest

func NewWhoamiRequest(server string) (*http.Request, error)

NewWhoamiRequest generates requests for Whoami

Types

type AccessType

type AccessType string

AccessType defines model for AccessType.

const (
	AccessType_comment  AccessType = "comment"
	AccessType_none     AccessType = "none"
	AccessType_readonly AccessType = "readonly"
	AccessType_write    AccessType = "write"
)

List of AccessType

type Acl

type Acl struct {

	// API link to these results
	Href         string       `json:"href"`
	Items        []Permission `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

Acl defines model for Acl.

type AclMetadata

type AclMetadata struct {

	// When true, the user of the api can share
	CanShare bool `json:"canShare"`

	// When true, the user of the api can share with the org
	CanShareWithOrg bool `json:"canShareWithOrg"`
}

AclMetadata defines model for AclMetadata.

type AddPermission

type AddPermission struct {

	// Type of access.
	Access AccessType `json:"access"`

	// Metadata about a principal.
	Principal Principal `json:"principal"`

	// When true suppresses email notification
	SuppressEmail *bool `json:"suppressEmail,omitempty"`
}

AddPermission defines model for AddPermission.

type AddPermissionResult

type AddPermissionResult map[string]interface{}

AddPermissionResult defines model for AddPermissionResult.

type AnyonePrincipal

type AnyonePrincipal struct {

	// Type of principal.
	Type PrincipalType `json:"type"`
}

AnyonePrincipal defines model for AnyonePrincipal.

type ApiLink struct {

	// Canonical browser-friendly link to the resolved resource.
	BrowserLink *string `json:"browserLink,omitempty"`

	// Self link to this query.
	Href string `json:"href"`

	// Reference to the resolved resource.
	Resource ApiLinkResolvedResource `json:"resource"`

	// The type of this resource.
	Type string `json:"type"`
}

ApiLink defines model for ApiLink.

type ApiLinkResolvedResource

type ApiLinkResolvedResource struct {

	// API link to the resolved resource that can be queried to get further information.
	Href string `json:"href"`

	// ID of the resolved resource.
	Id string `json:"id"`

	// Name of the resource.
	Name *string `json:"name,omitempty"`

	// A constant identifying the type of the resource.
	Type Type `json:"type"`
}

ApiLinkResolvedResource defines model for ApiLinkResolvedResource.

type BadRequestError

type BadRequestError struct {

	// Any additional context on the error, or the same as `statusMessage` otherwise.
	Message string `json:"message"`

	// HTTP status code of the error.
	StatusCode float32 `json:"statusCode"`

	// HTTP status message of the error.
	StatusMessage string `json:"statusMessage"`
}

BadRequestError defines model for BadRequestError.

type CellEdit

type CellEdit struct {

	// Column ID, URL, or name (fragile and discouraged) associated with this edit.
	Column string `json:"column"`

	// A Coda result or entity expressed as a primitive type, or array of primitive types.
	Value Value `json:"value"`
}

CellEdit defines model for CellEdit.

type CellValue

type CellValue interface{}

CellValue defines model for CellValue.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A callback for modifying requests which are generated before sending over
	// the network.
	RequestEditor RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateDoc

func (c *Client) CreateDoc(ctx context.Context, body CreateDocJSONRequestBody) (*http.Response, error)

func (*Client) CreateDocWithBody

func (c *Client) CreateDocWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteDoc

func (c *Client) DeleteDoc(ctx context.Context, docId DocId) (*http.Response, error)

func (*Client) DeletePermission

func (c *Client) DeletePermission(ctx context.Context, docId DocId, permissionId PermissionId) (*http.Response, error)

func (*Client) DeleteRow

func (c *Client) DeleteRow(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName) (*http.Response, error)

func (*Client) DeleteRows

func (c *Client) DeleteRows(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, body DeleteRowsJSONRequestBody) (*http.Response, error)

func (*Client) DeleteRowsWithBody

func (c *Client) DeleteRowsWithBody(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetAclMetadata

func (c *Client) GetAclMetadata(ctx context.Context, docId DocId) (*http.Response, error)

func (*Client) GetAclPermissions

func (c *Client) GetAclPermissions(ctx context.Context, docId DocId, params *GetAclPermissionsParams) (*http.Response, error)

func (*Client) GetColumn

func (c *Client) GetColumn(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, columnIdOrName ColumnIdOrName) (*http.Response, error)

func (*Client) GetControl

func (c *Client) GetControl(ctx context.Context, docId DocId, controlIdOrName ControlIdOrName) (*http.Response, error)

func (*Client) GetDoc

func (c *Client) GetDoc(ctx context.Context, docId DocId) (*http.Response, error)

func (*Client) GetFormula

func (c *Client) GetFormula(ctx context.Context, docId DocId, formulaIdOrName FormulaIdOrName) (*http.Response, error)

func (*Client) GetMutationStatus

func (c *Client) GetMutationStatus(ctx context.Context, requestId RequestId) (*http.Response, error)

func (*Client) GetPage

func (c *Client) GetPage(ctx context.Context, docId DocId, pageIdOrName PageIdOrName) (*http.Response, error)

func (*Client) GetRow

func (c *Client) GetRow(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *GetRowParams) (*http.Response, error)

func (*Client) GetTable

func (c *Client) GetTable(ctx context.Context, docId DocId, tableIdOrName TableIdOrName) (*http.Response, error)

func (*Client) ListCategories

func (c *Client) ListCategories(ctx context.Context) (*http.Response, error)

func (*Client) ListColumns

func (c *Client) ListColumns(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListColumnsParams) (*http.Response, error)

func (*Client) ListControls

func (c *Client) ListControls(ctx context.Context, docId DocId, params *ListControlsParams) (*http.Response, error)

func (*Client) ListDocAnalytics

func (c *Client) ListDocAnalytics(ctx context.Context, params *ListDocAnalyticsParams) (*http.Response, error)

func (*Client) ListDocs

func (c *Client) ListDocs(ctx context.Context, params *ListDocsParams) (*http.Response, error)

func (*Client) ListFormulas

func (c *Client) ListFormulas(ctx context.Context, docId DocId, params *ListFormulasParams) (*http.Response, error)

func (*Client) ListPages

func (c *Client) ListPages(ctx context.Context, docId DocId, params *ListPagesParams) (*http.Response, error)

func (*Client) ListRows

func (c *Client) ListRows(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListRowsParams) (*http.Response, error)

func (*Client) ListTables

func (c *Client) ListTables(ctx context.Context, docId DocId, params *ListTablesParams) (*http.Response, error)

func (*Client) PublishDoc

func (c *Client) PublishDoc(ctx context.Context, docId DocId, body PublishDocJSONRequestBody) (*http.Response, error)

func (*Client) PublishDocWithBody

func (c *Client) PublishDocWithBody(ctx context.Context, docId DocId, contentType string, body io.Reader) (*http.Response, error)

func (*Client) PushButton

func (c *Client) PushButton(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, columnIdOrName ColumnIdOrName) (*http.Response, error)
func (c *Client) ResolveBrowserLink(ctx context.Context, params *ResolveBrowserLinkParams) (*http.Response, error)

func (*Client) ShareDoc

func (c *Client) ShareDoc(ctx context.Context, docId DocId, body ShareDocJSONRequestBody) (*http.Response, error)

func (*Client) ShareDocWithBody

func (c *Client) ShareDocWithBody(ctx context.Context, docId DocId, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UnpublishDoc

func (c *Client) UnpublishDoc(ctx context.Context, docId DocId) (*http.Response, error)

func (*Client) UpdatePage

func (c *Client) UpdatePage(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, body UpdatePageJSONRequestBody) (*http.Response, error)

func (*Client) UpdatePageWithBody

func (c *Client) UpdatePageWithBody(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateRow

func (c *Client) UpdateRow(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, body UpdateRowJSONRequestBody) (*http.Response, error)

func (*Client) UpdateRowWithBody

func (c *Client) UpdateRowWithBody(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpsertRows

func (c *Client) UpsertRows(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, body UpsertRowsJSONRequestBody) (*http.Response, error)

func (*Client) UpsertRowsWithBody

func (c *Client) UpsertRowsWithBody(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) Whoami

func (c *Client) Whoami(ctx context.Context) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListDocAnalytics request
	ListDocAnalytics(ctx context.Context, params *ListDocAnalyticsParams) (*http.Response, error)

	// ListCategories request
	ListCategories(ctx context.Context) (*http.Response, error)

	// ListDocs request
	ListDocs(ctx context.Context, params *ListDocsParams) (*http.Response, error)

	// CreateDoc request  with any body
	CreateDocWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

	CreateDoc(ctx context.Context, body CreateDocJSONRequestBody) (*http.Response, error)

	// DeleteDoc request
	DeleteDoc(ctx context.Context, docId DocId) (*http.Response, error)

	// GetDoc request
	GetDoc(ctx context.Context, docId DocId) (*http.Response, error)

	// GetAclMetadata request
	GetAclMetadata(ctx context.Context, docId DocId) (*http.Response, error)

	// GetAclPermissions request
	GetAclPermissions(ctx context.Context, docId DocId, params *GetAclPermissionsParams) (*http.Response, error)

	// ShareDoc request  with any body
	ShareDocWithBody(ctx context.Context, docId DocId, contentType string, body io.Reader) (*http.Response, error)

	ShareDoc(ctx context.Context, docId DocId, body ShareDocJSONRequestBody) (*http.Response, error)

	// DeletePermission request
	DeletePermission(ctx context.Context, docId DocId, permissionId PermissionId) (*http.Response, error)

	// ListControls request
	ListControls(ctx context.Context, docId DocId, params *ListControlsParams) (*http.Response, error)

	// GetControl request
	GetControl(ctx context.Context, docId DocId, controlIdOrName ControlIdOrName) (*http.Response, error)

	// ListFormulas request
	ListFormulas(ctx context.Context, docId DocId, params *ListFormulasParams) (*http.Response, error)

	// GetFormula request
	GetFormula(ctx context.Context, docId DocId, formulaIdOrName FormulaIdOrName) (*http.Response, error)

	// ListPages request
	ListPages(ctx context.Context, docId DocId, params *ListPagesParams) (*http.Response, error)

	// GetPage request
	GetPage(ctx context.Context, docId DocId, pageIdOrName PageIdOrName) (*http.Response, error)

	// UpdatePage request  with any body
	UpdatePageWithBody(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, contentType string, body io.Reader) (*http.Response, error)

	UpdatePage(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, body UpdatePageJSONRequestBody) (*http.Response, error)

	// UnpublishDoc request
	UnpublishDoc(ctx context.Context, docId DocId) (*http.Response, error)

	// PublishDoc request  with any body
	PublishDocWithBody(ctx context.Context, docId DocId, contentType string, body io.Reader) (*http.Response, error)

	PublishDoc(ctx context.Context, docId DocId, body PublishDocJSONRequestBody) (*http.Response, error)

	// ListTables request
	ListTables(ctx context.Context, docId DocId, params *ListTablesParams) (*http.Response, error)

	// GetTable request
	GetTable(ctx context.Context, docId DocId, tableIdOrName TableIdOrName) (*http.Response, error)

	// ListColumns request
	ListColumns(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListColumnsParams) (*http.Response, error)

	// GetColumn request
	GetColumn(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, columnIdOrName ColumnIdOrName) (*http.Response, error)

	// DeleteRows request  with any body
	DeleteRowsWithBody(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, contentType string, body io.Reader) (*http.Response, error)

	DeleteRows(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, body DeleteRowsJSONRequestBody) (*http.Response, error)

	// ListRows request
	ListRows(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListRowsParams) (*http.Response, error)

	// UpsertRows request  with any body
	UpsertRowsWithBody(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, contentType string, body io.Reader) (*http.Response, error)

	UpsertRows(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, body UpsertRowsJSONRequestBody) (*http.Response, error)

	// DeleteRow request
	DeleteRow(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName) (*http.Response, error)

	// GetRow request
	GetRow(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *GetRowParams) (*http.Response, error)

	// UpdateRow request  with any body
	UpdateRowWithBody(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateRow(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, body UpdateRowJSONRequestBody) (*http.Response, error)

	// PushButton request
	PushButton(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, columnIdOrName ColumnIdOrName) (*http.Response, error)

	// GetMutationStatus request
	GetMutationStatus(ctx context.Context, requestId RequestId) (*http.Response, error)

	// ResolveBrowserLink request
	ResolveBrowserLink(ctx context.Context, params *ResolveBrowserLinkParams) (*http.Response, error)

	// Whoami request
	Whoami(ctx context.Context) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateDocWithBodyWithResponse

func (c *ClientWithResponses) CreateDocWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateDocResponse, error)

CreateDocWithBodyWithResponse request with arbitrary body returning *CreateDocResponse

func (*ClientWithResponses) CreateDocWithResponse

func (c *ClientWithResponses) CreateDocWithResponse(ctx context.Context, body CreateDocJSONRequestBody) (*CreateDocResponse, error)

func (*ClientWithResponses) DeleteDocWithResponse

func (c *ClientWithResponses) DeleteDocWithResponse(ctx context.Context, docId DocId) (*DeleteDocResponse, error)

DeleteDocWithResponse request returning *DeleteDocResponse

func (*ClientWithResponses) DeletePermissionWithResponse

func (c *ClientWithResponses) DeletePermissionWithResponse(ctx context.Context, docId DocId, permissionId PermissionId) (*DeletePermissionResponse, error)

DeletePermissionWithResponse request returning *DeletePermissionResponse

func (*ClientWithResponses) DeleteRowWithResponse

func (c *ClientWithResponses) DeleteRowWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName) (*DeleteRowResponse, error)

DeleteRowWithResponse request returning *DeleteRowResponse

func (*ClientWithResponses) DeleteRowsWithBodyWithResponse

func (c *ClientWithResponses) DeleteRowsWithBodyWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, contentType string, body io.Reader) (*DeleteRowsResponse, error)

DeleteRowsWithBodyWithResponse request with arbitrary body returning *DeleteRowsResponse

func (*ClientWithResponses) DeleteRowsWithResponse

func (c *ClientWithResponses) DeleteRowsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, body DeleteRowsJSONRequestBody) (*DeleteRowsResponse, error)

func (*ClientWithResponses) GetAclMetadataWithResponse

func (c *ClientWithResponses) GetAclMetadataWithResponse(ctx context.Context, docId DocId) (*GetAclMetadataResponse, error)

GetAclMetadataWithResponse request returning *GetAclMetadataResponse

func (*ClientWithResponses) GetAclPermissionsWithResponse

func (c *ClientWithResponses) GetAclPermissionsWithResponse(ctx context.Context, docId DocId, params *GetAclPermissionsParams) (*GetAclPermissionsResponse, error)

GetAclPermissionsWithResponse request returning *GetAclPermissionsResponse

func (*ClientWithResponses) GetColumnWithResponse

func (c *ClientWithResponses) GetColumnWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, columnIdOrName ColumnIdOrName) (*GetColumnResponse, error)

GetColumnWithResponse request returning *GetColumnResponse

func (*ClientWithResponses) GetControlWithResponse

func (c *ClientWithResponses) GetControlWithResponse(ctx context.Context, docId DocId, controlIdOrName ControlIdOrName) (*GetControlResponse, error)

GetControlWithResponse request returning *GetControlResponse

func (*ClientWithResponses) GetDocWithResponse

func (c *ClientWithResponses) GetDocWithResponse(ctx context.Context, docId DocId) (*GetDocResponse, error)

GetDocWithResponse request returning *GetDocResponse

func (*ClientWithResponses) GetFormulaWithResponse

func (c *ClientWithResponses) GetFormulaWithResponse(ctx context.Context, docId DocId, formulaIdOrName FormulaIdOrName) (*GetFormulaResponse, error)

GetFormulaWithResponse request returning *GetFormulaResponse

func (*ClientWithResponses) GetMutationStatusWithResponse

func (c *ClientWithResponses) GetMutationStatusWithResponse(ctx context.Context, requestId RequestId) (*GetMutationStatusResponse, error)

GetMutationStatusWithResponse request returning *GetMutationStatusResponse

func (*ClientWithResponses) GetPageWithResponse

func (c *ClientWithResponses) GetPageWithResponse(ctx context.Context, docId DocId, pageIdOrName PageIdOrName) (*GetPageResponse, error)

GetPageWithResponse request returning *GetPageResponse

func (*ClientWithResponses) GetRowWithResponse

func (c *ClientWithResponses) GetRowWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *GetRowParams) (*GetRowResponse, error)

GetRowWithResponse request returning *GetRowResponse

func (*ClientWithResponses) GetTableWithResponse

func (c *ClientWithResponses) GetTableWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName) (*GetTableResponse, error)

GetTableWithResponse request returning *GetTableResponse

func (*ClientWithResponses) ListCategoriesWithResponse

func (c *ClientWithResponses) ListCategoriesWithResponse(ctx context.Context) (*ListCategoriesResponse, error)

ListCategoriesWithResponse request returning *ListCategoriesResponse

func (*ClientWithResponses) ListColumnsWithResponse

func (c *ClientWithResponses) ListColumnsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListColumnsParams) (*ListColumnsResponse, error)

ListColumnsWithResponse request returning *ListColumnsResponse

func (*ClientWithResponses) ListControlsWithResponse

func (c *ClientWithResponses) ListControlsWithResponse(ctx context.Context, docId DocId, params *ListControlsParams) (*ListControlsResponse, error)

ListControlsWithResponse request returning *ListControlsResponse

func (*ClientWithResponses) ListDocAnalyticsWithResponse

func (c *ClientWithResponses) ListDocAnalyticsWithResponse(ctx context.Context, params *ListDocAnalyticsParams) (*ListDocAnalyticsResponse, error)

ListDocAnalyticsWithResponse request returning *ListDocAnalyticsResponse

func (*ClientWithResponses) ListDocsWithResponse

func (c *ClientWithResponses) ListDocsWithResponse(ctx context.Context, params *ListDocsParams) (*ListDocsResponse, error)

ListDocsWithResponse request returning *ListDocsResponse

func (*ClientWithResponses) ListFormulasWithResponse

func (c *ClientWithResponses) ListFormulasWithResponse(ctx context.Context, docId DocId, params *ListFormulasParams) (*ListFormulasResponse, error)

ListFormulasWithResponse request returning *ListFormulasResponse

func (*ClientWithResponses) ListPagesWithResponse

func (c *ClientWithResponses) ListPagesWithResponse(ctx context.Context, docId DocId, params *ListPagesParams) (*ListPagesResponse, error)

ListPagesWithResponse request returning *ListPagesResponse

func (*ClientWithResponses) ListRowsWithResponse

func (c *ClientWithResponses) ListRowsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListRowsParams) (*ListRowsResponse, error)

ListRowsWithResponse request returning *ListRowsResponse

func (*ClientWithResponses) ListTablesWithResponse

func (c *ClientWithResponses) ListTablesWithResponse(ctx context.Context, docId DocId, params *ListTablesParams) (*ListTablesResponse, error)

ListTablesWithResponse request returning *ListTablesResponse

func (*ClientWithResponses) PublishDocWithBodyWithResponse

func (c *ClientWithResponses) PublishDocWithBodyWithResponse(ctx context.Context, docId DocId, contentType string, body io.Reader) (*PublishDocResponse, error)

PublishDocWithBodyWithResponse request with arbitrary body returning *PublishDocResponse

func (*ClientWithResponses) PublishDocWithResponse

func (c *ClientWithResponses) PublishDocWithResponse(ctx context.Context, docId DocId, body PublishDocJSONRequestBody) (*PublishDocResponse, error)

func (*ClientWithResponses) PushButtonWithResponse

func (c *ClientWithResponses) PushButtonWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, columnIdOrName ColumnIdOrName) (*PushButtonResponse, error)

PushButtonWithResponse request returning *PushButtonResponse

func (*ClientWithResponses) ResolveBrowserLinkWithResponse

func (c *ClientWithResponses) ResolveBrowserLinkWithResponse(ctx context.Context, params *ResolveBrowserLinkParams) (*ResolveBrowserLinkResponse, error)

ResolveBrowserLinkWithResponse request returning *ResolveBrowserLinkResponse

func (*ClientWithResponses) ShareDocWithBodyWithResponse

func (c *ClientWithResponses) ShareDocWithBodyWithResponse(ctx context.Context, docId DocId, contentType string, body io.Reader) (*ShareDocResponse, error)

ShareDocWithBodyWithResponse request with arbitrary body returning *ShareDocResponse

func (*ClientWithResponses) ShareDocWithResponse

func (c *ClientWithResponses) ShareDocWithResponse(ctx context.Context, docId DocId, body ShareDocJSONRequestBody) (*ShareDocResponse, error)

func (*ClientWithResponses) UnpublishDocWithResponse

func (c *ClientWithResponses) UnpublishDocWithResponse(ctx context.Context, docId DocId) (*UnpublishDocResponse, error)

UnpublishDocWithResponse request returning *UnpublishDocResponse

func (*ClientWithResponses) UpdatePageWithBodyWithResponse

func (c *ClientWithResponses) UpdatePageWithBodyWithResponse(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, contentType string, body io.Reader) (*UpdatePageResponse, error)

UpdatePageWithBodyWithResponse request with arbitrary body returning *UpdatePageResponse

func (*ClientWithResponses) UpdatePageWithResponse

func (c *ClientWithResponses) UpdatePageWithResponse(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, body UpdatePageJSONRequestBody) (*UpdatePageResponse, error)

func (*ClientWithResponses) UpdateRowWithBodyWithResponse

func (c *ClientWithResponses) UpdateRowWithBodyWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, contentType string, body io.Reader) (*UpdateRowResponse, error)

UpdateRowWithBodyWithResponse request with arbitrary body returning *UpdateRowResponse

func (*ClientWithResponses) UpdateRowWithResponse

func (c *ClientWithResponses) UpdateRowWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, body UpdateRowJSONRequestBody) (*UpdateRowResponse, error)

func (*ClientWithResponses) UpsertRowsWithBodyWithResponse

func (c *ClientWithResponses) UpsertRowsWithBodyWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, contentType string, body io.Reader) (*UpsertRowsResponse, error)

UpsertRowsWithBodyWithResponse request with arbitrary body returning *UpsertRowsResponse

func (*ClientWithResponses) UpsertRowsWithResponse

func (c *ClientWithResponses) UpsertRowsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, body UpsertRowsJSONRequestBody) (*UpsertRowsResponse, error)

func (*ClientWithResponses) WhoamiWithResponse

func (c *ClientWithResponses) WhoamiWithResponse(ctx context.Context) (*WhoamiResponse, error)

WhoamiWithResponse request returning *WhoamiResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListDocAnalytics request
	ListDocAnalyticsWithResponse(ctx context.Context, params *ListDocAnalyticsParams) (*ListDocAnalyticsResponse, error)

	// ListCategories request
	ListCategoriesWithResponse(ctx context.Context) (*ListCategoriesResponse, error)

	// ListDocs request
	ListDocsWithResponse(ctx context.Context, params *ListDocsParams) (*ListDocsResponse, error)

	// CreateDoc request  with any body
	CreateDocWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateDocResponse, error)

	CreateDocWithResponse(ctx context.Context, body CreateDocJSONRequestBody) (*CreateDocResponse, error)

	// DeleteDoc request
	DeleteDocWithResponse(ctx context.Context, docId DocId) (*DeleteDocResponse, error)

	// GetDoc request
	GetDocWithResponse(ctx context.Context, docId DocId) (*GetDocResponse, error)

	// GetAclMetadata request
	GetAclMetadataWithResponse(ctx context.Context, docId DocId) (*GetAclMetadataResponse, error)

	// GetAclPermissions request
	GetAclPermissionsWithResponse(ctx context.Context, docId DocId, params *GetAclPermissionsParams) (*GetAclPermissionsResponse, error)

	// ShareDoc request  with any body
	ShareDocWithBodyWithResponse(ctx context.Context, docId DocId, contentType string, body io.Reader) (*ShareDocResponse, error)

	ShareDocWithResponse(ctx context.Context, docId DocId, body ShareDocJSONRequestBody) (*ShareDocResponse, error)

	// DeletePermission request
	DeletePermissionWithResponse(ctx context.Context, docId DocId, permissionId PermissionId) (*DeletePermissionResponse, error)

	// ListControls request
	ListControlsWithResponse(ctx context.Context, docId DocId, params *ListControlsParams) (*ListControlsResponse, error)

	// GetControl request
	GetControlWithResponse(ctx context.Context, docId DocId, controlIdOrName ControlIdOrName) (*GetControlResponse, error)

	// ListFormulas request
	ListFormulasWithResponse(ctx context.Context, docId DocId, params *ListFormulasParams) (*ListFormulasResponse, error)

	// GetFormula request
	GetFormulaWithResponse(ctx context.Context, docId DocId, formulaIdOrName FormulaIdOrName) (*GetFormulaResponse, error)

	// ListPages request
	ListPagesWithResponse(ctx context.Context, docId DocId, params *ListPagesParams) (*ListPagesResponse, error)

	// GetPage request
	GetPageWithResponse(ctx context.Context, docId DocId, pageIdOrName PageIdOrName) (*GetPageResponse, error)

	// UpdatePage request  with any body
	UpdatePageWithBodyWithResponse(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, contentType string, body io.Reader) (*UpdatePageResponse, error)

	UpdatePageWithResponse(ctx context.Context, docId DocId, pageIdOrName PageIdOrName, body UpdatePageJSONRequestBody) (*UpdatePageResponse, error)

	// UnpublishDoc request
	UnpublishDocWithResponse(ctx context.Context, docId DocId) (*UnpublishDocResponse, error)

	// PublishDoc request  with any body
	PublishDocWithBodyWithResponse(ctx context.Context, docId DocId, contentType string, body io.Reader) (*PublishDocResponse, error)

	PublishDocWithResponse(ctx context.Context, docId DocId, body PublishDocJSONRequestBody) (*PublishDocResponse, error)

	// ListTables request
	ListTablesWithResponse(ctx context.Context, docId DocId, params *ListTablesParams) (*ListTablesResponse, error)

	// GetTable request
	GetTableWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName) (*GetTableResponse, error)

	// ListColumns request
	ListColumnsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListColumnsParams) (*ListColumnsResponse, error)

	// GetColumn request
	GetColumnWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, columnIdOrName ColumnIdOrName) (*GetColumnResponse, error)

	// DeleteRows request  with any body
	DeleteRowsWithBodyWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, contentType string, body io.Reader) (*DeleteRowsResponse, error)

	DeleteRowsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, body DeleteRowsJSONRequestBody) (*DeleteRowsResponse, error)

	// ListRows request
	ListRowsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *ListRowsParams) (*ListRowsResponse, error)

	// UpsertRows request  with any body
	UpsertRowsWithBodyWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, contentType string, body io.Reader) (*UpsertRowsResponse, error)

	UpsertRowsWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, params *UpsertRowsParams, body UpsertRowsJSONRequestBody) (*UpsertRowsResponse, error)

	// DeleteRow request
	DeleteRowWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName) (*DeleteRowResponse, error)

	// GetRow request
	GetRowWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *GetRowParams) (*GetRowResponse, error)

	// UpdateRow request  with any body
	UpdateRowWithBodyWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, contentType string, body io.Reader) (*UpdateRowResponse, error)

	UpdateRowWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, params *UpdateRowParams, body UpdateRowJSONRequestBody) (*UpdateRowResponse, error)

	// PushButton request
	PushButtonWithResponse(ctx context.Context, docId DocId, tableIdOrName TableIdOrName, rowIdOrName RowIdOrName, columnIdOrName ColumnIdOrName) (*PushButtonResponse, error)

	// GetMutationStatus request
	GetMutationStatusWithResponse(ctx context.Context, requestId RequestId) (*GetMutationStatusResponse, error)

	// ResolveBrowserLink request
	ResolveBrowserLinkWithResponse(ctx context.Context, params *ResolveBrowserLinkParams) (*ResolveBrowserLinkResponse, error)

	// Whoami request
	WhoamiWithResponse(ctx context.Context) (*WhoamiResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Column

type Column struct {

	// Whether the column has a formula set on it.
	Calculated *bool `json:"calculated,omitempty"`

	// Whether the column is the display column.
	Display *bool `json:"display,omitempty"`

	// Format of a column.
	Format ColumnFormat `json:"format"`

	// API link to the column.
	Href string `json:"href"`

	// ID of the column.
	Id string `json:"id"`

	// Name of the column.
	Name string `json:"name"`

	// The type of this resource.
	Type string `json:"type"`
}

Column defines model for Column.

type ColumnDetail

type ColumnDetail struct {

	// Whether the column has a formula set on it.
	Calculated *bool `json:"calculated,omitempty"`

	// Whether the column is the display column.
	Display *bool `json:"display,omitempty"`

	// Format of a column.
	Format ColumnFormat `json:"format"`

	// API link to the column.
	Href string `json:"href"`

	// ID of the column.
	Id string `json:"id"`

	// Name of the column.
	Name string `json:"name"`

	// Reference to a table or view.
	Parent TableReference `json:"parent"`

	// The type of this resource.
	Type string `json:"type"`
}

ColumnDetail defines model for ColumnDetail.

type ColumnFormat

type ColumnFormat interface{}

ColumnFormat defines model for ColumnFormat.

type ColumnFormatType

type ColumnFormatType string

ColumnFormatType defines model for ColumnFormatType.

const (
	ColumnFormatType__select    ColumnFormatType = "select"
	ColumnFormatType_button     ColumnFormatType = "button"
	ColumnFormatType_checkbox   ColumnFormatType = "checkbox"
	ColumnFormatType_currency   ColumnFormatType = "currency"
	ColumnFormatType_date       ColumnFormatType = "date"
	ColumnFormatType_dateTime   ColumnFormatType = "dateTime"
	ColumnFormatType_duration   ColumnFormatType = "duration"
	ColumnFormatType_image      ColumnFormatType = "image"
	ColumnFormatType_lookup     ColumnFormatType = "lookup"
	ColumnFormatType_number     ColumnFormatType = "number"
	ColumnFormatType_other      ColumnFormatType = "other"
	ColumnFormatType_packObject ColumnFormatType = "packObject"
	ColumnFormatType_percent    ColumnFormatType = "percent"
	ColumnFormatType_person     ColumnFormatType = "person"
	ColumnFormatType_scale      ColumnFormatType = "scale"
	ColumnFormatType_slider     ColumnFormatType = "slider"
	ColumnFormatType_text       ColumnFormatType = "text"
	ColumnFormatType_time       ColumnFormatType = "time"
)

List of ColumnFormatType

type ColumnIdOrName

type ColumnIdOrName string

ColumnIdOrName defines model for columnIdOrName.

type ColumnList

type ColumnList struct {

	// API link to these results
	Href         *string  `json:"href,omitempty"`
	Items        []Column `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

ColumnList defines model for ColumnList.

type ColumnReference

type ColumnReference struct {

	// API link to the column.
	Href string `json:"href"`

	// ID of the column.
	Id string `json:"id"`

	// The type of this resource.
	Type string `json:"type"`
}

ColumnReference defines model for ColumnReference.

type Control

type Control struct {

	// Type of the control.
	ControlType ControlType `json:"controlType"`

	// API link to the control.
	Href string `json:"href"`

	// ID of the control.
	Id string `json:"id"`

	// Name of the control.
	Name string `json:"name"`

	// Reference to a page.
	Parent *PageReference `json:"parent,omitempty"`

	// The type of this resource.
	Type string `json:"type"`

	// A Coda result or entity expressed as a primitive type, or array of primitive types.
	Value Value `json:"value"`
}

Control defines model for Control.

type ControlIdOrName

type ControlIdOrName string

ControlIdOrName defines model for controlIdOrName.

type ControlList

type ControlList struct {

	// API link to these results
	Href         *string            `json:"href,omitempty"`
	Items        []ControlReference `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

ControlList defines model for ControlList.

type ControlReference

type ControlReference struct {

	// API link to the control.
	Href string `json:"href"`

	// ID of the control.
	Id string `json:"id"`

	// Name of the control.
	Name string `json:"name"`

	// Reference to a page.
	Parent *PageReference `json:"parent,omitempty"`

	// The type of this resource.
	Type string `json:"type"`
}

ControlReference defines model for ControlReference.

type ControlType

type ControlType string

ControlType defines model for ControlType.

const (
	ControlType__select         ControlType = "select"
	ControlType_button          ControlType = "button"
	ControlType_checkbox        ControlType = "checkbox"
	ControlType_datePicker      ControlType = "datePicker"
	ControlType_dateRangePicker ControlType = "dateRangePicker"
	ControlType_multiselect     ControlType = "multiselect"
	ControlType_scale           ControlType = "scale"
	ControlType_slider          ControlType = "slider"
)

List of ControlType

type CreateDocJSONBody

type CreateDocJSONBody DocCreate

CreateDocJSONBody defines parameters for CreateDoc.

type CreateDocJSONRequestBody

type CreateDocJSONRequestBody CreateDocJSONBody

CreateDocRequestBody defines body for CreateDoc for application/json ContentType.

type CreateDocResponse

type CreateDocResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Doc
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseCreateDocResponse

func ParseCreateDocResponse(rsp *http.Response) (*CreateDocResponse, error)

ParseCreateDocResponse parses an HTTP response from a CreateDocWithResponse call

func (CreateDocResponse) Status

func (r CreateDocResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDocResponse) StatusCode

func (r CreateDocResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CurrencyAmount

type CurrencyAmount interface{}

CurrencyAmount defines model for CurrencyAmount.

type CurrencyColumnFormat

type CurrencyColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat

	// The currency symbol
	CurrencyCode *string `json:"currencyCode,omitempty"`

	// How the numeric value should be formatted (with or without symbol, negative numbers in parens).
	Format *CurrencyFormatType `json:"format,omitempty"`

	// The decimal precision.
	Precision *int `json:"precision,omitempty"`
}

CurrencyColumnFormat defines model for CurrencyColumnFormat.

type CurrencyFormatType

type CurrencyFormatType string

CurrencyFormatType defines model for CurrencyFormatType.

const (
	CurrencyFormatType_accounting CurrencyFormatType = "accounting"
	CurrencyFormatType_currency   CurrencyFormatType = "currency"
	CurrencyFormatType_financial  CurrencyFormatType = "financial"
)

List of CurrencyFormatType

type CurrencyValue

type CurrencyValue struct {
	// Embedded struct due to allOf(#/components/schemas/LinkedDataObject)
	LinkedDataObject

	// A numeric monetary amount as a string or number.
	Amount CurrencyAmount `json:"amount"`

	// The 3-letter currency code.
	Currency string `json:"currency"`
}

CurrencyValue defines model for CurrencyValue.

type DateColumnFormat

type DateColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat

	// A format string using Moment syntax: https://momentjs.com/docs/#/displaying/
	Format *string `json:"format,omitempty"`
}

DateColumnFormat defines model for DateColumnFormat.

type DateTimeColumnFormat

type DateTimeColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat

	// A format string using Moment syntax: https://momentjs.com/docs/#/displaying/
	DateFormat *string `json:"dateFormat,omitempty"`

	// A format string using Moment syntax: https://momentjs.com/docs/#/displaying/
	TimeFormat *string `json:"timeFormat,omitempty"`
}

DateTimeColumnFormat defines model for DateTimeColumnFormat.

type DeleteDocResponse

type DeleteDocResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DocDelete
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseDeleteDocResponse

func ParseDeleteDocResponse(rsp *http.Response) (*DeleteDocResponse, error)

ParseDeleteDocResponse parses an HTTP response from a DeleteDocWithResponse call

func (DeleteDocResponse) Status

func (r DeleteDocResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteDocResponse) StatusCode

func (r DeleteDocResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePermissionResponse

type DeletePermissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeletePermissionResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseDeletePermissionResponse

func ParseDeletePermissionResponse(rsp *http.Response) (*DeletePermissionResponse, error)

ParseDeletePermissionResponse parses an HTTP response from a DeletePermissionWithResponse call

func (DeletePermissionResponse) Status

func (r DeletePermissionResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePermissionResponse) StatusCode

func (r DeletePermissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePermissionResult

type DeletePermissionResult map[string]interface{}

DeletePermissionResult defines model for DeletePermissionResult.

type DeleteRowResponse

type DeleteRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *RowDeleteResult
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseDeleteRowResponse

func ParseDeleteRowResponse(rsp *http.Response) (*DeleteRowResponse, error)

ParseDeleteRowResponse parses an HTTP response from a DeleteRowWithResponse call

func (DeleteRowResponse) Status

func (r DeleteRowResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRowResponse) StatusCode

func (r DeleteRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRowsJSONBody

type DeleteRowsJSONBody RowsDelete

DeleteRowsJSONBody defines parameters for DeleteRows.

type DeleteRowsJSONRequestBody

type DeleteRowsJSONRequestBody DeleteRowsJSONBody

DeleteRowsRequestBody defines body for DeleteRows for application/json ContentType.

type DeleteRowsResponse

type DeleteRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *RowsDeleteResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseDeleteRowsResponse

func ParseDeleteRowsResponse(rsp *http.Response) (*DeleteRowsResponse, error)

ParseDeleteRowsResponse parses an HTTP response from a DeleteRowsWithResponse call

func (DeleteRowsResponse) Status

func (r DeleteRowsResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRowsResponse) StatusCode

func (r DeleteRowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Doc

type Doc struct {

	// Browser-friendly link to the Coda doc.
	BrowserLink string `json:"browserLink"`

	// Timestamp for when the doc was created.
	CreatedAt time.Time `json:"createdAt"`

	// The number of components within a Coda doc.
	DocSize *DocSize `json:"docSize,omitempty"`

	// API link to the Coda doc.
	Href string `json:"href"`

	// Info about the icon.
	Icon *Icon `json:"icon,omitempty"`

	// ID of the Coda doc.
	Id string `json:"id"`

	// Name of the doc.
	Name string `json:"name"`

	// Email address of the doc owner.
	Owner openapi_types.Email `json:"owner"`

	// Name of the doc owner.
	OwnerName string `json:"ownerName"`

	// Information about the publishing state of the document.
	Published *DocPublished `json:"published,omitempty"`
	SourceDoc *struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/DocReference)
		DocReference
	} `json:"sourceDoc,omitempty"`

	// The type of this resource.
	Type string `json:"type"`

	// Timestamp for when the doc was last modified.
	UpdatedAt time.Time `json:"updatedAt"`
}

Doc defines model for Doc.

type DocAnalyticsDaily

type DocAnalyticsDaily struct {
	Items        []DocAnalyticsDay `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

DocAnalyticsDaily defines model for DocAnalyticsDaily.

type DocAnalyticsDay

type DocAnalyticsDay struct {

	// Number of times the doc was copied on the given date.
	Copies int `json:"copies"`

	// Date of the analytics data.
	Date openapi_types.Date `json:"date"`
	Doc  struct {
		// Embedded struct due to allOf(#/components/schemas/DocReference)
		DocReference

		// Title of the doc.
		Title string `json:"title"`
	} `json:"doc"`

	// Number of times the doc was liked on the given date.
	Likes int `json:"likes"`

	// Number of times the doc was viewed on the given date.
	Views int `json:"views"`
}

DocAnalyticsDay defines model for DocAnalyticsDay.

type DocCategory

type DocCategory struct {

	// Name of the category.
	Name string `json:"name"`
}

DocCategory defines model for DocCategory.

type DocCategoryList

type DocCategoryList struct {

	// Categories for the doc.
	Items []DocCategory `json:"items"`
}

DocCategoryList defines model for DocCategoryList.

type DocCreate

type DocCreate struct {

	// The ID of the folder within which to create this doc. Defaults to your "My Docs" folder in the oldest workspace you joined; this is subject to change. You can get this ID by opening the folder in the docs list on your computer and grabbing the `folderId` query parameter.
	FolderId *string `json:"folderId,omitempty"`

	// An optional doc ID from which to create a copy.
	SourceDoc *string `json:"sourceDoc,omitempty"`

	// The timezone to use for the newly created doc.
	Timezone *string `json:"timezone,omitempty"`

	// Title of the new doc. Defaults to 'Untitled'.
	Title *string `json:"title,omitempty"`
}

DocCreate defines model for DocCreate.

type DocDelete

type DocDelete map[string]interface{}

DocDelete defines model for DocDelete.

type DocId

type DocId string

DocId defines model for docId.

type DocList

type DocList struct {

	// API link to these results
	Href         *string `json:"href,omitempty"`
	Items        []Doc   `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

DocList defines model for DocList.

type DocPublish

type DocPublish struct {

	// The names of categories to apply to the document.
	CategoryNames *[]string `json:"categoryNames,omitempty"`

	// If true, the doc will display a copy button in the header.
	Copyable *bool `json:"copyable,omitempty"`

	// If true, indicates that the doc is discoverable.
	Discoverable *bool `json:"discoverable,omitempty"`

	// If true, new users may be required to sign in to view content within this document. You will receive Coda credit for each user who signs up via your doc.
	EarnCredit *bool `json:"earnCredit,omitempty"`

	// A time unit used as part of a duration value.
	Mode *DocPublishMode `json:"mode,omitempty"`

	// Slug for the published doc.
	Slug *string `json:"slug,omitempty"`
}

DocPublish defines model for DocPublish.

type DocPublishMode

type DocPublishMode string

DocPublishMode defines model for DocPublishMode.

const (
	DocPublishMode_edit DocPublishMode = "edit"
	DocPublishMode_play DocPublishMode = "play"
	DocPublishMode_view DocPublishMode = "view"
)

List of DocPublishMode

type DocPublished

type DocPublished struct {

	// URL to the published doc.
	BrowserLink string `json:"browserLink"`

	// Categories applied to the doc.
	Categories []DocCategory `json:"categories"`

	// If true, the doc will display a copy button in the header.
	Copyable bool `json:"copyable"`

	// Description of the published doc.
	Description *string `json:"description,omitempty"`

	// If true, indicates that the doc is discoverable.
	Discoverable bool `json:"discoverable"`

	// If true, new users may be required to sign in to view content within this document. You will receive Coda credit for each user who signs up via your doc.
	EarnCredit bool `json:"earnCredit"`

	// URL to the cover image for the published doc.
	ImageLink *string `json:"imageLink,omitempty"`

	// A time unit used as part of a duration value.
	Mode DocPublishMode `json:"mode"`
}

DocPublished defines model for DocPublished.

type DocReference

type DocReference struct {

	// Browser-friendly link to the Coda doc.
	BrowserLink string `json:"browserLink"`

	// API link to the Coda doc.
	Href string `json:"href"`

	// ID of the Coda doc.
	Id string `json:"id"`

	// The type of this resource.
	Type string `json:"type"`
}

DocReference defines model for DocReference.

type DocSize

type DocSize struct {

	// If true, indicates that the doc is over the API size limit.
	OverApiSizeLimit bool `json:"overApiSizeLimit"`

	// The total number of page contained within the doc.
	PageCount float32 `json:"pageCount"`

	// The total number of tables and views contained within the doc.
	TableAndViewCount float32 `json:"tableAndViewCount"`

	// The number of rows contained within all tables of the doc.
	TotalRowCount float32 `json:"totalRowCount"`
}

DocSize defines model for DocSize.

type DocumentMutateResponse

type DocumentMutateResponse struct {

	// An arbitrary unique identifier for this request.
	RequestId string `json:"requestId"`
}

DocumentMutateResponse defines model for DocumentMutateResponse.

type DomainPrincipal

type DomainPrincipal struct {

	// Domain for the principal.
	Domain string `json:"domain"`

	// Type of principal.
	Type PrincipalType `json:"type"`
}

DomainPrincipal defines model for DomainPrincipal.

type DurationColumnFormat

type DurationColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat
	// Embedded fields due to inline allOf schema
	MaxUnit *struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/DurationUnit)
		DurationUnit
	} `json:"maxUnit,omitempty"`
	Precision *int `json:"precision,omitempty"`
}

DurationColumnFormat defines model for DurationColumnFormat.

type DurationUnit

type DurationUnit string

DurationUnit defines model for DurationUnit.

const (
	DurationUnit_days    DurationUnit = "days"
	DurationUnit_hours   DurationUnit = "hours"
	DurationUnit_minutes DurationUnit = "minutes"
	DurationUnit_seconds DurationUnit = "seconds"
)

List of DurationUnit

type EmailPrincipal

type EmailPrincipal struct {

	// Email for the principal.
	Email string `json:"email"`

	// Type of principal.
	Type PrincipalType `json:"type"`
}

EmailPrincipal defines model for EmailPrincipal.

type ForbiddenError

type ForbiddenError struct {

	// Any additional context on the error, or the same as `statusMessage` otherwise.
	Message string `json:"message"`

	// HTTP status code of the error.
	StatusCode float32 `json:"statusCode"`

	// HTTP status message of the error.
	StatusMessage string `json:"statusMessage"`
}

ForbiddenError defines model for ForbiddenError.

type Formula

type Formula struct {

	// API link to the formula.
	Href string `json:"href"`

	// ID of the formula.
	Id string `json:"id"`

	// Name of the formula.
	Name string `json:"name"`

	// Reference to a page.
	Parent *PageReference `json:"parent,omitempty"`

	// The type of this resource.
	Type string `json:"type"`

	// A Coda result or entity expressed as a primitive type, or array of primitive types.
	Value Value `json:"value"`
}

Formula defines model for Formula.

type FormulaDetail

type FormulaDetail struct {

	// Returns whether or not the given formula has a Now() formula within it.
	HasNowFormula *bool `json:"hasNowFormula,omitempty"`

	// Returns whether or not the given formula has a Today() formula within it.
	HasTodayFormula *bool `json:"hasTodayFormula,omitempty"`

	// Returns whether or not the given formula has a User() formula within it.
	HasUserFormula *bool `json:"hasUserFormula,omitempty"`

	// Returns whether or not the given formula can return different results in different contexts (for example, for different users).
	IsVolatile *bool `json:"isVolatile,omitempty"`

	// Returns whether or not the given formula is valid.
	Valid bool `json:"valid"`
}

FormulaDetail defines model for FormulaDetail.

type FormulaIdOrName

type FormulaIdOrName string

FormulaIdOrName defines model for formulaIdOrName.

type FormulaList

type FormulaList struct {

	// API link to these results
	Href         *string            `json:"href,omitempty"`
	Items        []FormulaReference `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

FormulaList defines model for FormulaList.

type FormulaReference

type FormulaReference struct {

	// API link to the formula.
	Href string `json:"href"`

	// ID of the formula.
	Id string `json:"id"`

	// Name of the formula.
	Name string `json:"name"`

	// Reference to a page.
	Parent *PageReference `json:"parent,omitempty"`

	// The type of this resource.
	Type string `json:"type"`
}

FormulaReference defines model for FormulaReference.

type GetAclMetadataResponse

type GetAclMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AclMetadata
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetAclMetadataResponse

func ParseGetAclMetadataResponse(rsp *http.Response) (*GetAclMetadataResponse, error)

ParseGetAclMetadataResponse parses an HTTP response from a GetAclMetadataWithResponse call

func (GetAclMetadataResponse) Status

func (r GetAclMetadataResponse) Status() string

Status returns HTTPResponse.Status

func (GetAclMetadataResponse) StatusCode

func (r GetAclMetadataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAclPermissionsParams

type GetAclPermissionsParams struct {

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`
}

GetAclPermissionsParams defines parameters for GetAclPermissions.

type GetAclPermissionsResponse

type GetAclPermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Acl
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetAclPermissionsResponse

func ParseGetAclPermissionsResponse(rsp *http.Response) (*GetAclPermissionsResponse, error)

ParseGetAclPermissionsResponse parses an HTTP response from a GetAclPermissionsWithResponse call

func (GetAclPermissionsResponse) Status

func (r GetAclPermissionsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAclPermissionsResponse) StatusCode

func (r GetAclPermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetColumnResponse

type GetColumnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ColumnDetail
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetColumnResponse

func ParseGetColumnResponse(rsp *http.Response) (*GetColumnResponse, error)

ParseGetColumnResponse parses an HTTP response from a GetColumnWithResponse call

func (GetColumnResponse) Status

func (r GetColumnResponse) Status() string

Status returns HTTPResponse.Status

func (GetColumnResponse) StatusCode

func (r GetColumnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetControlResponse

type GetControlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Control
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetControlResponse

func ParseGetControlResponse(rsp *http.Response) (*GetControlResponse, error)

ParseGetControlResponse parses an HTTP response from a GetControlWithResponse call

func (GetControlResponse) Status

func (r GetControlResponse) Status() string

Status returns HTTPResponse.Status

func (GetControlResponse) StatusCode

func (r GetControlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocResponse

type GetDocResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Doc
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetDocResponse

func ParseGetDocResponse(rsp *http.Response) (*GetDocResponse, error)

ParseGetDocResponse parses an HTTP response from a GetDocWithResponse call

func (GetDocResponse) Status

func (r GetDocResponse) Status() string

Status returns HTTPResponse.Status

func (GetDocResponse) StatusCode

func (r GetDocResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFormulaResponse

type GetFormulaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Formula
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetFormulaResponse

func ParseGetFormulaResponse(rsp *http.Response) (*GetFormulaResponse, error)

ParseGetFormulaResponse parses an HTTP response from a GetFormulaWithResponse call

func (GetFormulaResponse) Status

func (r GetFormulaResponse) Status() string

Status returns HTTPResponse.Status

func (GetFormulaResponse) StatusCode

func (r GetFormulaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMutationStatusResponse

type GetMutationStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MutationStatus
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetMutationStatusResponse

func ParseGetMutationStatusResponse(rsp *http.Response) (*GetMutationStatusResponse, error)

ParseGetMutationStatusResponse parses an HTTP response from a GetMutationStatusWithResponse call

func (GetMutationStatusResponse) Status

func (r GetMutationStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetMutationStatusResponse) StatusCode

func (r GetMutationStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPageResponse

type GetPageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Page
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON410 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetPageResponse

func ParseGetPageResponse(rsp *http.Response) (*GetPageResponse, error)

ParseGetPageResponse parses an HTTP response from a GetPageWithResponse call

func (GetPageResponse) Status

func (r GetPageResponse) Status() string

Status returns HTTPResponse.Status

func (GetPageResponse) StatusCode

func (r GetPageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRowParams

type GetRowParams struct {

	// Use column names instead of column IDs in the returned output. This is generally discouraged as it is fragile. If columns are renamed, code using original names may throw errors.
	UseColumnNames *UseColumnNames `json:"useColumnNames,omitempty"`

	// The format that cell values are returned as.
	ValueFormat *ValueFormat `json:"valueFormat,omitempty"`
}

GetRowParams defines parameters for GetRow.

type GetRowResponse

type GetRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RowDetail
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetRowResponse

func ParseGetRowResponse(rsp *http.Response) (*GetRowResponse, error)

ParseGetRowResponse parses an HTTP response from a GetRowWithResponse call

func (GetRowResponse) Status

func (r GetRowResponse) Status() string

Status returns HTTPResponse.Status

func (GetRowResponse) StatusCode

func (r GetRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTableResponse

type GetTableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Table
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseGetTableResponse

func ParseGetTableResponse(rsp *http.Response) (*GetTableResponse, error)

ParseGetTableResponse parses an HTTP response from a GetTableWithResponse call

func (GetTableResponse) Status

func (r GetTableResponse) Status() string

Status returns HTTPResponse.Status

func (GetTableResponse) StatusCode

func (r GetTableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GoneError

type GoneError struct {

	// Any additional context on the error, or the same as `statusMessage` otherwise.
	Message string `json:"message"`

	// HTTP status code of the error.
	StatusCode float32 `json:"statusCode"`

	// HTTP status message of the error.
	StatusMessage string `json:"statusMessage"`
}

GoneError defines model for GoneError.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Icon

type Icon struct {

	// Browser-friendly link to an icon.
	BrowserLink string `json:"browserLink"`

	// Name of the icon.
	Name string `json:"name"`

	// MIME type of the icon
	Type string `json:"type"`
}

Icon defines model for Icon.

type IconSet

type IconSet string

IconSet defines model for IconSet.

const (
	IconSet_battery   IconSet = "battery"
	IconSet_bell      IconSet = "bell"
	IconSet_bug       IconSet = "bug"
	IconSet_checkmark IconSet = "checkmark"
	IconSet_chili     IconSet = "chili"
	IconSet_circle    IconSet = "circle"
	IconSet_cloud     IconSet = "cloud"
	IconSet_cocktail  IconSet = "cocktail"
	IconSet_coffee    IconSet = "coffee"
	IconSet_currency  IconSet = "currency"
	IconSet_diamond   IconSet = "diamond"
	IconSet_fire      IconSet = "fire"
	IconSet_heart     IconSet = "heart"
	IconSet_lightbulb IconSet = "lightbulb"
	IconSet_lightning IconSet = "lightning"
	IconSet_person    IconSet = "person"
	IconSet_smiley    IconSet = "smiley"
	IconSet_star      IconSet = "star"
	IconSet_sun       IconSet = "sun"
	IconSet_thumbsup  IconSet = "thumbsup"
)

List of IconSet

type Image

type Image struct {

	// Browser-friendly link to an image.
	BrowserLink string `json:"browserLink"`

	// The height in pixels of the image.
	Height *float32 `json:"height,omitempty"`

	// MIME type of the image.
	Type *string `json:"type,omitempty"`

	// The width in pixels of the image.
	Width *float32 `json:"width,omitempty"`
}

Image defines model for Image.

type ImageStatus

type ImageStatus string

ImageStatus defines model for ImageStatus.

const (
	ImageStatus_deleted ImageStatus = "deleted"
	ImageStatus_failed  ImageStatus = "failed"
	ImageStatus_live    ImageStatus = "live"
)

List of ImageStatus

type ImageUrlValue

type ImageUrlValue struct {
	// Embedded struct due to allOf(#/components/schemas/LinkedDataObject)
	LinkedDataObject

	// The height of the image in pixels.
	Height *float32 `json:"height,omitempty"`

	// The name of the image.
	Name *string `json:"name,omitempty"`

	// The status values that an image object can have.
	Status *ImageStatus `json:"status,omitempty"`

	// The url of the image.
	Url *string `json:"url,omitempty"`

	// The width of the image in pixels.
	Width *float32 `json:"width,omitempty"`
}

ImageUrlValue defines model for ImageUrlValue.

type Layout

type Layout string

Layout defines model for Layout.

const (
	Layout__default     Layout = "default"
	Layout_areaChart    Layout = "areaChart"
	Layout_barChart     Layout = "barChart"
	Layout_bubbleChart  Layout = "bubbleChart"
	Layout_calendar     Layout = "calendar"
	Layout_card         Layout = "card"
	Layout_ganttChart   Layout = "ganttChart"
	Layout_lineChart    Layout = "lineChart"
	Layout_masterDetail Layout = "masterDetail"
	Layout_pieChart     Layout = "pieChart"
	Layout_scatterChart Layout = "scatterChart"
	Layout_slide        Layout = "slide"
	Layout_wordCloud    Layout = "wordCloud"
)

List of Layout

type Limit

type Limit int

Limit defines model for limit.

type LinkedDataObject

type LinkedDataObject struct {

	// A url describing the schema context for this object, typically "http://schema.org/".
	Context string `json:"@context"`

	// A schema.org identifier for the object.
	Type LinkedDataType `json:"@type"`

	// An identifier of additional type info specific to Coda that may not be present in a schema.org taxonomy,
	AdditionalType *string `json:"additionalType,omitempty"`
}

LinkedDataObject defines model for LinkedDataObject.

type LinkedDataType

type LinkedDataType string

LinkedDataType defines model for LinkedDataType.

const (
	LinkedDataType_ImageObject     LinkedDataType = "ImageObject"
	LinkedDataType_MonetaryAmount  LinkedDataType = "MonetaryAmount"
	LinkedDataType_Person          LinkedDataType = "Person"
	LinkedDataType_StructuredValue LinkedDataType = "StructuredValue"
	LinkedDataType_WebPage         LinkedDataType = "WebPage"
)

List of LinkedDataType

type ListCategoriesResponse

type ListCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocCategoryList
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListCategoriesResponse

func ParseListCategoriesResponse(rsp *http.Response) (*ListCategoriesResponse, error)

ParseListCategoriesResponse parses an HTTP response from a ListCategoriesWithResponse call

func (ListCategoriesResponse) Status

func (r ListCategoriesResponse) Status() string

Status returns HTTPResponse.Status

func (ListCategoriesResponse) StatusCode

func (r ListCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListColumnsParams

type ListColumnsParams struct {

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`

	// If true, returns only visible columns for the table.
	VisibleOnly *bool `json:"visibleOnly,omitempty"`
}

ListColumnsParams defines parameters for ListColumns.

type ListColumnsResponse

type ListColumnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ColumnList
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListColumnsResponse

func ParseListColumnsResponse(rsp *http.Response) (*ListColumnsResponse, error)

ParseListColumnsResponse parses an HTTP response from a ListColumnsWithResponse call

func (ListColumnsResponse) Status

func (r ListColumnsResponse) Status() string

Status returns HTTPResponse.Status

func (ListColumnsResponse) StatusCode

func (r ListColumnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListControlsParams

type ListControlsParams struct {

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`

	// Determines how to sort the given objects.
	SortBy *SortBy `json:"sortBy,omitempty"`
}

ListControlsParams defines parameters for ListControls.

type ListControlsResponse

type ListControlsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ControlList
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListControlsResponse

func ParseListControlsResponse(rsp *http.Response) (*ListControlsResponse, error)

ParseListControlsResponse parses an HTTP response from a ListControlsWithResponse call

func (ListControlsResponse) Status

func (r ListControlsResponse) Status() string

Status returns HTTPResponse.Status

func (ListControlsResponse) StatusCode

func (r ListControlsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDocAnalyticsParams

type ListDocAnalyticsParams struct {

	// Show analytics only for published docs.
	IsPublished *bool `json:"isPublished,omitempty"`

	// Limit results to activity on or after this date.
	SinceDate *openapi_types.Date `json:"sinceDate,omitempty"`

	// Limit results to activity on or before this date.
	UntilDate *openapi_types.Date `json:"untilDate,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`
}

ListDocAnalyticsParams defines parameters for ListDocAnalytics.

type ListDocAnalyticsResponse

type ListDocAnalyticsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocAnalyticsDaily
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListDocAnalyticsResponse

func ParseListDocAnalyticsResponse(rsp *http.Response) (*ListDocAnalyticsResponse, error)

ParseListDocAnalyticsResponse parses an HTTP response from a ListDocAnalyticsWithResponse call

func (ListDocAnalyticsResponse) Status

func (r ListDocAnalyticsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDocAnalyticsResponse) StatusCode

func (r ListDocAnalyticsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDocsParams

type ListDocsParams struct {

	// Show only docs owned by the user.
	IsOwner *bool `json:"isOwner,omitempty"`

	// Search term used to filter down results.
	Query *string `json:"query,omitempty"`

	// Show only docs copied from the specified doc ID.
	SourceDoc *string `json:"sourceDoc,omitempty"`

	// If true, returns docs that are starred. If false, returns docs that are not starred.
	IsStarred *bool `json:"isStarred,omitempty"`

	// Show only docs visible within the gallery.
	InGallery *bool `json:"inGallery,omitempty"`

	// Show only docs belonging to the given workspace.
	WorkspaceId *string `json:"workspaceId,omitempty"`

	// Show only docs belonging to the given folder.
	FolderId *string `json:"folderId,omitempty"`

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`
}

ListDocsParams defines parameters for ListDocs.

type ListDocsResponse

type ListDocsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocList
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListDocsResponse

func ParseListDocsResponse(rsp *http.Response) (*ListDocsResponse, error)

ParseListDocsResponse parses an HTTP response from a ListDocsWithResponse call

func (ListDocsResponse) Status

func (r ListDocsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDocsResponse) StatusCode

func (r ListDocsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFormulasParams

type ListFormulasParams struct {

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`

	// Determines how to sort the given objects.
	SortBy *SortBy `json:"sortBy,omitempty"`
}

ListFormulasParams defines parameters for ListFormulas.

type ListFormulasResponse

type ListFormulasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FormulaList
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListFormulasResponse

func ParseListFormulasResponse(rsp *http.Response) (*ListFormulasResponse, error)

ParseListFormulasResponse parses an HTTP response from a ListFormulasWithResponse call

func (ListFormulasResponse) Status

func (r ListFormulasResponse) Status() string

Status returns HTTPResponse.Status

func (ListFormulasResponse) StatusCode

func (r ListFormulasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPagesParams

type ListPagesParams struct {

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`
}

ListPagesParams defines parameters for ListPages.

type ListPagesResponse

type ListPagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PageList
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListPagesResponse

func ParseListPagesResponse(rsp *http.Response) (*ListPagesResponse, error)

ParseListPagesResponse parses an HTTP response from a ListPagesWithResponse call

func (ListPagesResponse) Status

func (r ListPagesResponse) Status() string

Status returns HTTPResponse.Status

func (ListPagesResponse) StatusCode

func (r ListPagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRowsParams

type ListRowsParams struct {

	// Query used to filter returned rows, specified as `<column_id_or_name>:<value>`. If you'd like to use a column name instead of an ID, you must quote it (e.g., `"My Column":123`). Also note that `value` is a JSON value; if you'd like to use a string, you must surround it in quotes (e.g., `"groceries"`).
	Query *string `json:"query,omitempty"`

	// Specifies the sort order of the rows returned. If left unspecified, rows are returned by creation time ascending. "Natural" sort ordering is the order that the rows appear in the table view in the application. This ordering is only meaningfully defined for rows that are visible (unfiltered). Because of this, using this sort order will imply visibleOnly=true, that is, to only return visible rows. If you pass sortBy=natural and visibleOnly=false explicitly, this will result in a Bad Request error as this condition cannot be satisfied.
	SortBy *RowsSortBy `json:"sortBy,omitempty"`

	// Use column names instead of column IDs in the returned output. This is generally discouraged as it is fragile. If columns are renamed, code using original names may throw errors.
	UseColumnNames *UseColumnNames `json:"useColumnNames,omitempty"`

	// The format that cell values are returned as.
	ValueFormat *ValueFormat `json:"valueFormat,omitempty"`

	// If true, returns only visible rows and columns for the table.
	VisibleOnly *bool `json:"visibleOnly,omitempty"`

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`
}

ListRowsParams defines parameters for ListRows.

func (ListRowsParams) WithQuery

func (lrp ListRowsParams) WithQuery(column, value string) ListRowsParams

func (ListRowsParams) WithSortBy

func (lrp ListRowsParams) WithSortBy(sortBy RowsSortBy) ListRowsParams

type ListRowsResponse

type ListRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RowList
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListRowsResponse

func ParseListRowsResponse(rsp *http.Response) (*ListRowsResponse, error)

ParseListRowsResponse parses an HTTP response from a ListRowsWithResponse call

func (ListRowsResponse) Status

func (r ListRowsResponse) Status() string

Status returns HTTPResponse.Status

func (ListRowsResponse) StatusCode

func (r ListRowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTablesParams

type ListTablesParams struct {

	// Maximum number of results to return in this query.
	Limit *Limit `json:"limit,omitempty"`

	// An opaque token used to fetch the next page of results.
	PageToken *PageToken `json:"pageToken,omitempty"`

	// Determines how to sort the given objects.
	SortBy *SortBy `json:"sortBy,omitempty"`

	// Comma-separated list of table types to include in results. If omitted, includes both tables and views.
	TableTypes *TableTypes `json:"tableTypes,omitempty"`
}

ListTablesParams defines parameters for ListTables.

type ListTablesResponse

type ListTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TableList
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseListTablesResponse

func ParseListTablesResponse(rsp *http.Response) (*ListTablesResponse, error)

ParseListTablesResponse parses an HTTP response from a ListTablesWithResponse call

func (ListTablesResponse) Status

func (r ListTablesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTablesResponse) StatusCode

func (r ListTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MutationStatus

type MutationStatus struct {

	// Returns whether the mutation has completed.
	Completed bool `json:"completed"`
}

MutationStatus defines model for MutationStatus.

type NextPageLink string

NextPageLink defines model for nextPageLink.

type NextPageToken

type NextPageToken string

NextPageToken defines model for nextPageToken.

type NotFoundError

type NotFoundError struct {

	// Any additional context on the error, or the same as `statusMessage` otherwise.
	Message string `json:"message"`

	// HTTP status code of the error.
	StatusCode float32 `json:"statusCode"`

	// HTTP status message of the error.
	StatusMessage string `json:"statusMessage"`
}

NotFoundError defines model for NotFoundError.

type NumberOrNumberFormula

type NumberOrNumberFormula interface{}

NumberOrNumberFormula defines model for NumberOrNumberFormula.

type NumericColumnFormat

type NumericColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat

	// The decimal precision.
	Precision *int `json:"precision,omitempty"`

	// Whether to use a thousands separator (like ",") to format the numeric value.
	UseThousandsSeparator *bool `json:"useThousandsSeparator,omitempty"`
}

NumericColumnFormat defines model for NumericColumnFormat.

type Page

type Page struct {

	// Browser-friendly link to the page.
	BrowserLink string          `json:"browserLink"`
	Children    []PageReference `json:"children"`

	// API link to the page.
	Href string `json:"href"`

	// Info about the icon.
	Icon *Icon `json:"icon,omitempty"`

	// ID of the page.
	Id string `json:"id"`

	// Info about the image.
	Image *Image `json:"image,omitempty"`

	// Name of the page.
	Name string `json:"name"`

	// Reference to a page.
	Parent *PageReference `json:"parent,omitempty"`

	// Subtitle of the page.
	Subtitle *string `json:"subtitle,omitempty"`

	// The type of this resource.
	Type string `json:"type"`
}

Page defines model for Page.

type PageIdOrName

type PageIdOrName string

PageIdOrName defines model for pageIdOrName.

type PageList

type PageList struct {

	// API link to these results
	Href         *string `json:"href,omitempty"`
	Items        []Page  `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

PageList defines model for PageList.

type PageReference

type PageReference struct {

	// Browser-friendly link to the page.
	BrowserLink string `json:"browserLink"`

	// API link to the page.
	Href string `json:"href"`

	// ID of the page.
	Id string `json:"id"`

	// Name of the page.
	Name string `json:"name"`

	// The type of this resource.
	Type string `json:"type"`
}

PageReference defines model for PageReference.

type PageToken

type PageToken string

PageToken defines model for pageToken.

type PageUpdate

type PageUpdate struct {

	// Name of the icon.
	IconName *string `json:"iconName,omitempty"`

	// Url of the image to use.
	ImageUrl *string `json:"imageUrl,omitempty"`

	// Name of the page.
	Name *string `json:"name,omitempty"`

	// Subtitle of the page.
	Subtitle *string `json:"subtitle,omitempty"`
}

PageUpdate defines model for PageUpdate.

type PageUpdateResult

type PageUpdateResult struct {
	// Embedded struct due to allOf(#/components/schemas/DocumentMutateResponse)
	DocumentMutateResponse

	// ID of the updated page.
	Id string `json:"id"`
}

PageUpdateResult defines model for PageUpdateResult.

type Permission

type Permission struct {

	// Type of access.
	Access AccessType `json:"access"`

	// Id for the Permission
	Id string `json:"id"`

	// Metadata about a principal.
	Principal Principal `json:"principal"`
}

Permission defines model for Permission.

type PermissionId

type PermissionId string

PermissionId defines model for permissionId.

type PersonValue

type PersonValue struct {
	// Embedded struct due to allOf(#/components/schemas/LinkedDataObject)
	LinkedDataObject

	// The email address of the person.
	Email string `json:"email"`

	// The full name of the person.
	Name string `json:"name"`
}

PersonValue defines model for PersonValue.

type Principal

type Principal interface{}

Principal defines model for Principal.

type PrincipalType

type PrincipalType string

PrincipalType defines model for PrincipalType.

const (
	PrincipalType_anyone PrincipalType = "anyone"
	PrincipalType_domain PrincipalType = "domain"
	PrincipalType_email  PrincipalType = "email"
)

List of PrincipalType

type PublishDocJSONBody

type PublishDocJSONBody DocPublish

PublishDocJSONBody defines parameters for PublishDoc.

type PublishDocJSONRequestBody

type PublishDocJSONRequestBody PublishDocJSONBody

PublishDocRequestBody defines body for PublishDoc for application/json ContentType.

type PublishDocResponse

type PublishDocResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *PublishResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParsePublishDocResponse

func ParsePublishDocResponse(rsp *http.Response) (*PublishDocResponse, error)

ParsePublishDocResponse parses an HTTP response from a PublishDocWithResponse call

func (PublishDocResponse) Status

func (r PublishDocResponse) Status() string

Status returns HTTPResponse.Status

func (PublishDocResponse) StatusCode

func (r PublishDocResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PublishResult

type PublishResult struct {
	// Embedded struct due to allOf(#/components/schemas/DocumentMutateResponse)
	DocumentMutateResponse
}

PublishResult defines model for PublishResult.

type PushButtonResponse

type PushButtonResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *PushButtonResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParsePushButtonResponse

func ParsePushButtonResponse(rsp *http.Response) (*PushButtonResponse, error)

ParsePushButtonResponse parses an HTTP response from a PushButtonWithResponse call

func (PushButtonResponse) Status

func (r PushButtonResponse) Status() string

Status returns HTTPResponse.Status

func (PushButtonResponse) StatusCode

func (r PushButtonResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PushButtonResult

type PushButtonResult struct {
	// Embedded struct due to allOf(#/components/schemas/DocumentMutateResponse)
	DocumentMutateResponse

	// ID of the column where the button exists.
	ColumnId string `json:"columnId"`

	// ID of the row where the button exists.
	RowId string `json:"rowId"`
}

PushButtonResult defines model for PushButtonResult.

type ReferenceColumnFormat

type ReferenceColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat
	// Embedded fields due to inline allOf schema
	Table struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/TableReference)
		TableReference
	} `json:"table"`
}

ReferenceColumnFormat defines model for ReferenceColumnFormat.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestId

type RequestId string

RequestId defines model for requestId.

type ResolveBrowserLinkParams

type ResolveBrowserLinkParams struct {

	// The browser link to try to resolve.
	Url string `json:"url"`

	// By default, attempting to resolve the Coda URL of a deleted object will result in an error. If this flag is set, the next-available object, all the way up to the doc itself, will be resolved.
	DegradeGracefully *bool `json:"degradeGracefully,omitempty"`
}

ResolveBrowserLinkParams defines parameters for ResolveBrowserLink.

type ResolveBrowserLinkResponse

type ResolveBrowserLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiLink
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseResolveBrowserLinkResponse

func ParseResolveBrowserLinkResponse(rsp *http.Response) (*ResolveBrowserLinkResponse, error)

ParseResolveBrowserLinkResponse parses an HTTP response from a ResolveBrowserLinkWithResponse call

func (ResolveBrowserLinkResponse) Status

Status returns HTTPResponse.Status

func (ResolveBrowserLinkResponse) StatusCode

func (r ResolveBrowserLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RichSingleValue

type RichSingleValue interface{}

RichSingleValue defines model for RichSingleValue.

type RichValue

type RichValue interface{}

RichValue defines model for RichValue.

type Row

type Row struct {

	// Browser-friendly link to the row.
	BrowserLink string `json:"browserLink"`

	// Timestamp for when the row was created.
	CreatedAt time.Time `json:"createdAt"`

	// API link to the row.
	Href string `json:"href"`

	// ID of the row.
	Id string `json:"id"`

	// Index of the row within the table.
	Index int `json:"index"`

	// The display name of the row, based on its identifying column.
	Name string `json:"name"`

	// The type of this resource.
	Type string `json:"type"`

	// Timestamp for when the row was last modified.
	UpdatedAt time.Time `json:"updatedAt"`

	// Values for a specific row, represented as a hash of column IDs (or names with `useColumnNames`) to values.
	Values map[string]interface{} `json:"values"`
}

Row defines model for Row.

type RowDeleteResult

type RowDeleteResult struct {
	// Embedded struct due to allOf(#/components/schemas/DocumentMutateResponse)
	DocumentMutateResponse

	// ID of the row to be deleted.
	Id string `json:"id"`
}

RowDeleteResult defines model for RowDeleteResult.

type RowDetail

type RowDetail struct {

	// Browser-friendly link to the row.
	BrowserLink string `json:"browserLink"`

	// Timestamp for when the row was created.
	CreatedAt time.Time `json:"createdAt"`

	// API link to the row.
	Href string `json:"href"`

	// ID of the row.
	Id string `json:"id"`

	// Index of the row within the table.
	Index int `json:"index"`

	// The display name of the row, based on its identifying column.
	Name string `json:"name"`

	// Reference to a table or view.
	Parent TableReference `json:"parent"`

	// The type of this resource.
	Type string `json:"type"`

	// Timestamp for when the row was last modified.
	UpdatedAt time.Time `json:"updatedAt"`

	// Values for a specific row, represented as a hash of column IDs (or names with `useColumnNames`) to values.
	Values map[string]interface{} `json:"values"`
}

RowDetail defines model for RowDetail.

type RowEdit

type RowEdit struct {
	Cells []CellEdit `json:"cells"`
}

RowEdit defines model for RowEdit.

type RowIdOrName

type RowIdOrName string

RowIdOrName defines model for rowIdOrName.

type RowList

type RowList struct {

	// API link to these results
	Href         *string `json:"href,omitempty"`
	Items        []Row   `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

RowList defines model for RowList.

type RowUpdate

type RowUpdate struct {

	// An edit made to a particular row.
	Row RowEdit `json:"row"`
}

RowUpdate defines model for RowUpdate.

type RowUpdateResult

type RowUpdateResult struct {
	// Embedded struct due to allOf(#/components/schemas/DocumentMutateResponse)
	DocumentMutateResponse

	// ID of the updated row.
	Id string `json:"id"`
}

RowUpdateResult defines model for RowUpdateResult.

type RowValue

type RowValue struct {
	// Embedded struct due to allOf(#/components/schemas/LinkedDataObject)
	LinkedDataObject

	// The type of this resource.
	AdditionalType string `json:"additionalType"`

	// The display name of the row, based on its identifying column.
	Name string `json:"name"`

	// The ID of the table
	RowId string `json:"rowId"`

	// The ID of the table
	TableId string `json:"tableId"`

	// The url of the table.
	TableUrl string `json:"tableUrl"`

	// The url of the row.
	Url string `json:"url"`
}

RowValue defines model for RowValue.

type RowsDelete

type RowsDelete struct {

	// Row IDs to delete.
	RowIds []string `json:"rowIds"`
}

RowsDelete defines model for RowsDelete.

type RowsDeleteResult

type RowsDeleteResult struct {
	// Embedded struct due to allOf(#/components/schemas/DocumentMutateResponse)
	DocumentMutateResponse

	// Row IDs to delete.
	RowIds []string `json:"rowIds"`
}

RowsDeleteResult defines model for RowsDeleteResult.

type RowsSortBy

type RowsSortBy string

RowsSortBy defines model for RowsSortBy.

const (
	RowsSortBy_createdAt RowsSortBy = "createdAt"
	RowsSortBy_natural   RowsSortBy = "natural"
)

List of RowsSortBy

type RowsUpsert

type RowsUpsert struct {

	// Optional column IDs, URLs, or names (fragile and discouraged), specifying columns to be used as upsert keys.
	KeyColumns *[]string `json:"keyColumns,omitempty"`
	Rows       []RowEdit `json:"rows"`
}

RowsUpsert defines model for RowsUpsert.

type RowsUpsertResult

type RowsUpsertResult struct {
	// Embedded struct due to allOf(#/components/schemas/DocumentMutateResponse)
	DocumentMutateResponse
}

RowsUpsertResult defines model for RowsUpsertResult.

type ScalarValue

type ScalarValue interface{}

ScalarValue defines model for ScalarValue.

type ScaleColumnFormat

type ScaleColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat
	// Embedded fields due to inline allOf schema
	Icon struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/IconSet)
		IconSet
	} `json:"icon"`

	// The maximum number allowed for this scale.
	Maximum float32 `json:"maximum"`
}

ScaleColumnFormat defines model for ScaleColumnFormat.

type ShareDocJSONBody

type ShareDocJSONBody AddPermission

ShareDocJSONBody defines parameters for ShareDoc.

type ShareDocJSONRequestBody

type ShareDocJSONRequestBody ShareDocJSONBody

ShareDocRequestBody defines body for ShareDoc for application/json ContentType.

type ShareDocResponse

type ShareDocResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AddPermissionResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseShareDocResponse

func ParseShareDocResponse(rsp *http.Response) (*ShareDocResponse, error)

ParseShareDocResponse parses an HTTP response from a ShareDocWithResponse call

func (ShareDocResponse) Status

func (r ShareDocResponse) Status() string

Status returns HTTPResponse.Status

func (ShareDocResponse) StatusCode

func (r ShareDocResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SimpleColumnFormat

type SimpleColumnFormat struct {

	// Whether or not this column is an array.
	IsArray bool `json:"isArray"`

	// Format type of the column
	Type ColumnFormatType `json:"type"`
}

SimpleColumnFormat defines model for SimpleColumnFormat.

type SliderColumnFormat

type SliderColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat
	// Embedded fields due to inline allOf schema
	Maximum *struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/NumberOrNumberFormula)
		NumberOrNumberFormula
	} `json:"maximum,omitempty"`
	Minimum *struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/NumberOrNumberFormula)
		NumberOrNumberFormula
	} `json:"minimum,omitempty"`
	Step *struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/NumberOrNumberFormula)
		NumberOrNumberFormula
	} `json:"step,omitempty"`
}

SliderColumnFormat defines model for SliderColumnFormat.

type Sort

type Sort struct {

	// Reference to a column.
	Column ColumnReference `json:"column"`

	// Direction of a sort for a table or view.
	Direction SortDirection `json:"direction"`
}

Sort defines model for Sort.

type SortBy

type SortBy SortBySchema

SortBy defines model for sortBy.

type SortBySchema

type SortBySchema string

SortBySchema defines model for SortBySchema.

const (
	SortBySchema_name SortBySchema = "name"
)

List of SortBySchema

type SortDirection

type SortDirection string

SortDirection defines model for SortDirection.

const (
	SortDirection_ascending  SortDirection = "ascending"
	SortDirection_descending SortDirection = "descending"
)

List of SortDirection

type Table

type Table struct {

	// Browser-friendly link to the table.
	BrowserLink string `json:"browserLink"`

	// Timestamp for when the table was created.
	CreatedAt time.Time `json:"createdAt"`

	// Reference to a column.
	DisplayColumn ColumnReference `json:"displayColumn"`
	Filter        *struct {
		// Embedded fields due to inline allOf schema
		// Embedded struct due to allOf(#/components/schemas/FormulaDetail)
		FormulaDetail
	} `json:"filter,omitempty"`

	// API link to the table.
	Href string `json:"href"`

	// ID of the table.
	Id string `json:"id"`

	// Layout type of the table or view.
	Layout Layout `json:"layout"`

	// Name of the table.
	Name string `json:"name"`

	// Reference to a page.
	Parent PageReference `json:"parent"`

	// Reference to a table or view.
	ParentTable *TableReference `json:"parentTable,omitempty"`

	// Total number of rows in the table.
	RowCount int `json:"rowCount"`

	// Any sorts applied to the table.
	Sorts     []Sort    `json:"sorts"`
	TableType TableType `json:"tableType"`

	// The type of this resource.
	Type string `json:"type"`

	// Timestamp for when the table was last modified.
	UpdatedAt time.Time `json:"updatedAt"`
}

Table defines model for Table.

type TableIdOrName

type TableIdOrName string

TableIdOrName defines model for tableIdOrName.

type TableList

type TableList struct {

	// API link to these results
	Href         *string          `json:"href,omitempty"`
	Items        []TableReference `json:"items"`
	NextPageLink *struct {
		// Embedded struct due to allOf(#/components/schemas/nextPageLink)
		NextPageLink
	} `json:"nextPageLink,omitempty"`

	// If specified, an opaque token used to fetch the next page of results.
	NextPageToken *NextPageToken `json:"nextPageToken,omitempty"`
}

TableList defines model for TableList.

type TableReference

type TableReference struct {

	// Browser-friendly link to the table.
	BrowserLink string `json:"browserLink"`

	// API link to the table.
	Href string `json:"href"`

	// ID of the table.
	Id string `json:"id"`

	// Name of the table.
	Name string `json:"name"`

	// Reference to a page.
	Parent    *PageReference `json:"parent,omitempty"`
	TableType TableType      `json:"tableType"`

	// The type of this resource.
	Type string `json:"type"`
}

TableReference defines model for TableReference.

type TableType

type TableType string

TableType defines model for TableType.

const (
	TableType_table TableType = "table"
	TableType_view  TableType = "view"
)

List of TableType

type TableTypes

type TableTypes []TableType

TableTypes defines model for tableTypes.

type TimeColumnFormat

type TimeColumnFormat struct {
	// Embedded struct due to allOf(#/components/schemas/SimpleColumnFormat)
	SimpleColumnFormat

	// A format string using Moment syntax: https://momentjs.com/docs/#/displaying/
	Format *string `json:"format,omitempty"`
}

TimeColumnFormat defines model for TimeColumnFormat.

type TooManyRequestsError

type TooManyRequestsError struct {

	// Any additional context on the error, or the same as `statusMessage` otherwise.
	Message string `json:"message"`

	// HTTP status code of the error.
	StatusCode float32 `json:"statusCode"`

	// HTTP status message of the error.
	StatusMessage string `json:"statusMessage"`
}

TooManyRequestsError defines model for TooManyRequestsError.

type Type

type Type string

Type defines model for Type.

const (
	Type_aclMetadata    Type = "aclMetadata"
	Type_aclPermissions Type = "aclPermissions"
	Type_apiLink        Type = "apiLink"
	Type_column         Type = "column"
	Type_control        Type = "control"
	Type_doc            Type = "doc"
	Type_docAnalytics   Type = "docAnalytics"
	Type_formula        Type = "formula"
	Type_mutationStatus Type = "mutationStatus"
	Type_page           Type = "page"
	Type_row            Type = "row"
	Type_table          Type = "table"
	Type_user           Type = "user"
	Type_workspace      Type = "workspace"
)

List of Type

type UnauthorizedError

type UnauthorizedError struct {

	// Any additional context on the error, or the same as `statusMessage` otherwise.
	Message string `json:"message"`

	// HTTP status code of the error.
	StatusCode float32 `json:"statusCode"`

	// HTTP status message of the error.
	StatusMessage string `json:"statusMessage"`
}

UnauthorizedError defines model for UnauthorizedError.

type UnpublishDocResponse

type UnpublishDocResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UnpublishResult
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseUnpublishDocResponse

func ParseUnpublishDocResponse(rsp *http.Response) (*UnpublishDocResponse, error)

ParseUnpublishDocResponse parses an HTTP response from a UnpublishDocWithResponse call

func (UnpublishDocResponse) Status

func (r UnpublishDocResponse) Status() string

Status returns HTTPResponse.Status

func (UnpublishDocResponse) StatusCode

func (r UnpublishDocResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnpublishResult

type UnpublishResult map[string]interface{}

UnpublishResult defines model for UnpublishResult.

type UpdatePageJSONBody

type UpdatePageJSONBody PageUpdate

UpdatePageJSONBody defines parameters for UpdatePage.

type UpdatePageJSONRequestBody

type UpdatePageJSONRequestBody UpdatePageJSONBody

UpdatePageRequestBody defines body for UpdatePage for application/json ContentType.

type UpdatePageResponse

type UpdatePageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *PageUpdateResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseUpdatePageResponse

func ParseUpdatePageResponse(rsp *http.Response) (*UpdatePageResponse, error)

ParseUpdatePageResponse parses an HTTP response from a UpdatePageWithResponse call

func (UpdatePageResponse) Status

func (r UpdatePageResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePageResponse) StatusCode

func (r UpdatePageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateRowJSONBody

type UpdateRowJSONBody RowUpdate

UpdateRowJSONBody defines parameters for UpdateRow.

type UpdateRowJSONRequestBody

type UpdateRowJSONRequestBody UpdateRowJSONBody

UpdateRowRequestBody defines body for UpdateRow for application/json ContentType.

type UpdateRowParams

type UpdateRowParams struct {

	// If true, the API will not attempt to parse the data in any way.
	DisableParsing *bool `json:"disableParsing,omitempty"`
}

UpdateRowParams defines parameters for UpdateRow.

type UpdateRowResponse

type UpdateRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *RowUpdateResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseUpdateRowResponse

func ParseUpdateRowResponse(rsp *http.Response) (*UpdateRowResponse, error)

ParseUpdateRowResponse parses an HTTP response from a UpdateRowWithResponse call

func (UpdateRowResponse) Status

func (r UpdateRowResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateRowResponse) StatusCode

func (r UpdateRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpsertRowsJSONBody

type UpsertRowsJSONBody RowsUpsert

UpsertRowsJSONBody defines parameters for UpsertRows.

type UpsertRowsJSONRequestBody

type UpsertRowsJSONRequestBody UpsertRowsJSONBody

UpsertRowsRequestBody defines body for UpsertRows for application/json ContentType.

type UpsertRowsParams

type UpsertRowsParams struct {

	// If true, the API will not attempt to parse the data in any way.
	DisableParsing *bool `json:"disableParsing,omitempty"`
}

UpsertRowsParams defines parameters for UpsertRows.

type UpsertRowsResponse

type UpsertRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *RowsUpsertResult
	JSON400      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON401 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON403 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON404 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseUpsertRowsResponse

func ParseUpsertRowsResponse(rsp *http.Response) (*UpsertRowsResponse, error)

ParseUpsertRowsResponse parses an HTTP response from a UpsertRowsWithResponse call

func (UpsertRowsResponse) Status

func (r UpsertRowsResponse) Status() string

Status returns HTTPResponse.Status

func (UpsertRowsResponse) StatusCode

func (r UpsertRowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UrlValue

type UrlValue struct {
	// Embedded struct due to allOf(#/components/schemas/LinkedDataObject)
	LinkedDataObject

	// The user-visible text of the hyperlink.
	Name *string `json:"name,omitempty"`

	// The url of the hyperlink.
	Url string `json:"url"`
}

UrlValue defines model for UrlValue.

type UseColumnNames

type UseColumnNames bool

UseColumnNames defines model for useColumnNames.

type User

type User struct {

	// API link to the user.
	Href string `json:"href"`

	// Email address of the user.
	LoginId string `json:"loginId"`

	// Name of the user.
	Name string `json:"name"`

	// Browser-friendly link to the user's avatar image.
	PictureLink *string `json:"pictureLink,omitempty"`

	// True if the token used to make this request has restricted/scoped access to the API.
	Scoped bool `json:"scoped"`

	// Returns the name of the token used for this request.
	TokenName string `json:"tokenName"`

	// The type of this resource.
	Type string `json:"type"`

	// Reference to a Coda workspace.
	Workspace WorkspaceReference `json:"workspace"`
}

User defines model for User.

type Value

type Value interface{}

Value defines model for Value.

type ValueFormat

type ValueFormat string

ValueFormat defines model for ValueFormat.

const (
	ValueFormat_rich             ValueFormat = "rich"
	ValueFormat_simple           ValueFormat = "simple"
	ValueFormat_simpleWithArrays ValueFormat = "simpleWithArrays"
)

List of ValueFormat

type ViewIdOrName

type ViewIdOrName string

ViewIdOrName defines model for viewIdOrName.

type WhoamiResponse

type WhoamiResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON401      *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
	JSON429 *struct {

		// Any additional context on the error, or the same as `statusMessage` otherwise.
		Message string `json:"message"`

		// HTTP status code of the error.
		StatusCode float32 `json:"statusCode"`

		// HTTP status message of the error.
		StatusMessage string `json:"statusMessage"`
	}
}

func ParseWhoamiResponse

func ParseWhoamiResponse(rsp *http.Response) (*WhoamiResponse, error)

ParseWhoamiResponse parses an HTTP response from a WhoamiWithResponse call

func (WhoamiResponse) Status

func (r WhoamiResponse) Status() string

Status returns HTTPResponse.Status

func (WhoamiResponse) StatusCode

func (r WhoamiResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Workspace

type Workspace struct {

	// Browser-friendly link to the Coda workspace.
	BrowserLink string `json:"browserLink"`

	// Description of the workspace.
	Description *string `json:"description,omitempty"`

	// ID of the Coda workspace.
	Id string `json:"id"`

	// Name of the workspace.
	Name string `json:"name"`

	// The type of this resource.
	Type string `json:"type"`
}

Workspace defines model for Workspace.

type WorkspaceReference

type WorkspaceReference struct {

	// Browser-friendly link to the Coda workspace.
	BrowserLink string `json:"browserLink"`

	// ID of the Coda workspace.
	Id string `json:"id"`

	// The type of this resource.
	Type string `json:"type"`
}

WorkspaceReference defines model for WorkspaceReference.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL