hubdb

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 23 Imported by: 0

README

Go API client for hubdb

HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified in the HubSpot CMS, but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the CMS developers site. You can also see the documentation for dynamic pages for more details about the useForPages field.

HubDB tables support draft and published versions. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the published version of the data without disrupting it. If a table is set to be allowed for public access, you can access the published version of the table and rows without any authentication by specifying the portal id via the query parameter portalId.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v3
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import hubdb "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), hubdb.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), hubdb.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), hubdb.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), hubdb.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.hubapi.com

Class Method HTTP request Description
RowsApi CloneDraftTableRow Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft/clone Clone a row
RowsApi CreateTableRow Post /cms/v3/hubdb/tables/{tableIdOrName}/rows Add a new row to a table
RowsApi GetDraftTableRowByID Get /cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft Get a row from the draft table
RowsApi GetTableRow Get /cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId} Get a table row
RowsApi GetTableRows Get /cms/v3/hubdb/tables/{tableIdOrName}/rows Get rows for a table
RowsApi PurgeDraftTableRow Delete /cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft Permanently deletes a row
RowsApi ReadDraftTableRows Get /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft Get rows from draft table
RowsApi ReplaceDraftTableRow Put /cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft Replaces an existing row
RowsApi UpdateDraftTableRow Patch /cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft Updates an existing row
RowsBatchApi BatchCloneDraftTableRows Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/clone Clone rows in batch
RowsBatchApi BatchCreateDraftTableRows Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/create Create rows in batch
RowsBatchApi BatchPurgeDraftTableRows Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/purge Permanently deletes rows
RowsBatchApi BatchReadDraftTableRows Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/read Get a set of rows from draft table
RowsBatchApi BatchReadTableRows Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/batch/read Get a set of rows
RowsBatchApi BatchReplaceDraftTableRows Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/replace Replace rows in batch in draft table
RowsBatchApi BatchUpdateDraftTableRows Post /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/update Update rows in batch in draft table
TablesApi ArchiveTable Delete /cms/v3/hubdb/tables/{tableIdOrName} Archive a table
TablesApi CloneDraftTable Post /cms/v3/hubdb/tables/{tableIdOrName}/draft/clone Clone a table
TablesApi CreateTable Post /cms/v3/hubdb/tables Create a new table
TablesApi ExportDraftTable Get /cms/v3/hubdb/tables/{tableIdOrName}/draft/export Export a draft table
TablesApi ExportTable Get /cms/v3/hubdb/tables/{tableIdOrName}/export Export a published version of a table
TablesApi GetAllDraftTables Get /cms/v3/hubdb/tables/draft Return all draft tables
TablesApi GetAllTables Get /cms/v3/hubdb/tables Get all published tables
TablesApi GetDraftTableDetailsByID Get /cms/v3/hubdb/tables/{tableIdOrName}/draft Get details for a draft table
TablesApi GetTableDetails Get /cms/v3/hubdb/tables/{tableIdOrName} Get details for a published table
TablesApi ImportDraftTable Post /cms/v3/hubdb/tables/{tableIdOrName}/draft/import Import data into draft table
TablesApi PublishDraftTable Post /cms/v3/hubdb/tables/{tableIdOrName}/draft/publish Publish a table from draft
TablesApi ResetDraftTable Post /cms/v3/hubdb/tables/{tableIdOrName}/draft/reset Reset a draft table
TablesApi UnpublishTable Post /cms/v3/hubdb/tables/{tableIdOrName}/unpublish Unpublish a table
TablesApi UpdateDraftTable Patch /cms/v3/hubdb/tables/{tableIdOrName}/draft Update an existing table

Documentation For Models

Documentation For Authorization

hapikey
  • Type: API key
  • API key parameter name: hapikey
  • Location: URL query string

Note, each API key must be added to a map of map[string]APIKey where the key is: hapikey and passed in as the auth context for each request.

oauth2_legacy

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
private_apps_legacy
  • Type: API key
  • API key parameter name: private-app-legacy
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: private-app-legacy and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	RowsApi *RowsApiService

	RowsBatchApi *RowsBatchApiService

	TablesApi *TablesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the HubDB endpoints API vv3 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiArchiveTableRequest

type ApiArchiveTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiArchiveTableRequest) Execute

func (r ApiArchiveTableRequest) Execute() (*http.Response, error)

type ApiBatchCloneDraftTableRowsRequest

type ApiBatchCloneDraftTableRowsRequest struct {
	ApiService *RowsBatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchCloneDraftTableRowsRequest) BatchInputString

The JSON array of row ids

func (ApiBatchCloneDraftTableRowsRequest) Execute

type ApiBatchCreateDraftTableRowsRequest

type ApiBatchCreateDraftTableRowsRequest struct {
	ApiService *RowsBatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchCreateDraftTableRowsRequest) BatchInputHubDbTableRowV3Request

func (r ApiBatchCreateDraftTableRowsRequest) BatchInputHubDbTableRowV3Request(batchInputHubDbTableRowV3Request BatchInputHubDbTableRowV3Request) ApiBatchCreateDraftTableRowsRequest

JSON array of row objects

func (ApiBatchCreateDraftTableRowsRequest) Execute

type ApiBatchPurgeDraftTableRowsRequest

type ApiBatchPurgeDraftTableRowsRequest struct {
	ApiService *RowsBatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchPurgeDraftTableRowsRequest) BatchInputString

JSON array of row ids.

func (ApiBatchPurgeDraftTableRowsRequest) Execute

type ApiBatchReadDraftTableRowsRequest

type ApiBatchReadDraftTableRowsRequest struct {
	ApiService *RowsBatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchReadDraftTableRowsRequest) BatchInputString

JSON array of row ids.

func (ApiBatchReadDraftTableRowsRequest) Execute

type ApiBatchReadTableRowsRequest

type ApiBatchReadTableRowsRequest struct {
	ApiService *RowsBatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchReadTableRowsRequest) BatchInputString

func (r ApiBatchReadTableRowsRequest) BatchInputString(batchInputString BatchInputString) ApiBatchReadTableRowsRequest

The JSON array of row ids

func (ApiBatchReadTableRowsRequest) Execute

type ApiBatchReplaceDraftTableRowsRequest

type ApiBatchReplaceDraftTableRowsRequest struct {
	ApiService *RowsBatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchReplaceDraftTableRowsRequest) BatchInputHubDbTableRowV3Request

func (r ApiBatchReplaceDraftTableRowsRequest) BatchInputHubDbTableRowV3Request(batchInputHubDbTableRowV3Request BatchInputHubDbTableRowV3Request) ApiBatchReplaceDraftTableRowsRequest

JSON array of row objects.

func (ApiBatchReplaceDraftTableRowsRequest) Execute

type ApiBatchUpdateDraftTableRowsRequest

type ApiBatchUpdateDraftTableRowsRequest struct {
	ApiService *RowsBatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchUpdateDraftTableRowsRequest) BatchInputJsonNode

JSON array of row objects.

func (ApiBatchUpdateDraftTableRowsRequest) Execute

type ApiCloneDraftTableRequest

type ApiCloneDraftTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiCloneDraftTableRequest) Execute

func (ApiCloneDraftTableRequest) HubDbTableCloneRequest

func (r ApiCloneDraftTableRequest) HubDbTableCloneRequest(hubDbTableCloneRequest HubDbTableCloneRequest) ApiCloneDraftTableRequest

JSON object with the properties newName and newLabel. You can set copyRows to false to clone the table with copying rows and default is true.

type ApiCloneDraftTableRowRequest

type ApiCloneDraftTableRowRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiCloneDraftTableRowRequest) Execute

type ApiCreateTableRequest

type ApiCreateTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiCreateTableRequest) Execute

func (ApiCreateTableRequest) HubDbTableV3Request

func (r ApiCreateTableRequest) HubDbTableV3Request(hubDbTableV3Request HubDbTableV3Request) ApiCreateTableRequest

The JSON schema for the table being created.

type ApiCreateTableRowRequest

type ApiCreateTableRowRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiCreateTableRowRequest) Execute

func (ApiCreateTableRowRequest) HubDbTableRowV3Request

func (r ApiCreateTableRowRequest) HubDbTableRowV3Request(hubDbTableRowV3Request HubDbTableRowV3Request) ApiCreateTableRowRequest

The row definition JSON, formatted as described above.

type ApiExportDraftTableRequest

type ApiExportDraftTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiExportDraftTableRequest) Execute

func (r ApiExportDraftTableRequest) Execute() (**os.File, *http.Response, error)

func (ApiExportDraftTableRequest) Format

The file format to export. Possible values include `CSV`, `XLSX`, and `XLS`.

type ApiExportTableRequest

type ApiExportTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiExportTableRequest) Execute

func (r ApiExportTableRequest) Execute() (**os.File, *http.Response, error)

func (ApiExportTableRequest) Format

The file format to export. Possible values include `CSV`, `XLSX`, and `XLS`.

type ApiGetAllDraftTablesRequest

type ApiGetAllDraftTablesRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiGetAllDraftTablesRequest) After

The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

func (ApiGetAllDraftTablesRequest) Archived

Specifies whether to return archived tables. Defaults to `false`.

func (ApiGetAllDraftTablesRequest) CreatedAfter

Only return tables created after the specified time.

func (ApiGetAllDraftTablesRequest) CreatedAt

Only return tables created at exactly the specified time.

func (ApiGetAllDraftTablesRequest) CreatedBefore

func (r ApiGetAllDraftTablesRequest) CreatedBefore(createdBefore time.Time) ApiGetAllDraftTablesRequest

Only return tables created before the specified time.

func (ApiGetAllDraftTablesRequest) Limit

The maximum number of results to return. Default is 1000.

func (ApiGetAllDraftTablesRequest) Sort

Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.

func (ApiGetAllDraftTablesRequest) UpdatedAfter

Only return tables last updated after the specified time.

func (ApiGetAllDraftTablesRequest) UpdatedAt

Only return tables last updated at exactly the specified time.

func (ApiGetAllDraftTablesRequest) UpdatedBefore

func (r ApiGetAllDraftTablesRequest) UpdatedBefore(updatedBefore time.Time) ApiGetAllDraftTablesRequest

Only return tables last updated before the specified time.

type ApiGetAllTablesRequest

type ApiGetAllTablesRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiGetAllTablesRequest) After

The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

func (ApiGetAllTablesRequest) Archived

func (r ApiGetAllTablesRequest) Archived(archived bool) ApiGetAllTablesRequest

Specifies whether to return archived tables. Defaults to `false`.

func (ApiGetAllTablesRequest) CreatedAfter

func (r ApiGetAllTablesRequest) CreatedAfter(createdAfter time.Time) ApiGetAllTablesRequest

Only return tables created after the specified time.

func (ApiGetAllTablesRequest) CreatedAt

func (r ApiGetAllTablesRequest) CreatedAt(createdAt time.Time) ApiGetAllTablesRequest

Only return tables created at exactly the specified time.

func (ApiGetAllTablesRequest) CreatedBefore

func (r ApiGetAllTablesRequest) CreatedBefore(createdBefore time.Time) ApiGetAllTablesRequest

Only return tables created before the specified time.

func (ApiGetAllTablesRequest) Limit

The maximum number of results to return. Default is 1000.

func (ApiGetAllTablesRequest) Sort

Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.

func (ApiGetAllTablesRequest) UpdatedAfter

func (r ApiGetAllTablesRequest) UpdatedAfter(updatedAfter time.Time) ApiGetAllTablesRequest

Only return tables last updated after the specified time.

func (ApiGetAllTablesRequest) UpdatedAt

func (r ApiGetAllTablesRequest) UpdatedAt(updatedAt time.Time) ApiGetAllTablesRequest

Only return tables last updated at exactly the specified time.

func (ApiGetAllTablesRequest) UpdatedBefore

func (r ApiGetAllTablesRequest) UpdatedBefore(updatedBefore time.Time) ApiGetAllTablesRequest

Only return tables last updated before the specified time.

type ApiGetDraftTableDetailsByIDRequest

type ApiGetDraftTableDetailsByIDRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiGetDraftTableDetailsByIDRequest) Archived

Set this to `true` to return an archived table. Defaults to `false`.

func (ApiGetDraftTableDetailsByIDRequest) Execute

func (ApiGetDraftTableDetailsByIDRequest) IncludeForeignIds

func (r ApiGetDraftTableDetailsByIDRequest) IncludeForeignIds(includeForeignIds bool) ApiGetDraftTableDetailsByIDRequest

Set this to `true` to populate foreign ID values in the result.

type ApiGetDraftTableRowByIDRequest

type ApiGetDraftTableRowByIDRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiGetDraftTableRowByIDRequest) Execute

type ApiGetTableDetailsRequest

type ApiGetTableDetailsRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiGetTableDetailsRequest) Archived

Set this to `true` to return details for an archived table. Defaults to `false`.

func (ApiGetTableDetailsRequest) Execute

func (ApiGetTableDetailsRequest) IncludeForeignIds

func (r ApiGetTableDetailsRequest) IncludeForeignIds(includeForeignIds bool) ApiGetTableDetailsRequest

Set this to `true` to populate foreign ID values in the result.

type ApiGetTableRowRequest

type ApiGetTableRowRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiGetTableRowRequest) Execute

type ApiGetTableRowsRequest

type ApiGetTableRowsRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiGetTableRowsRequest) After

The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

func (ApiGetTableRowsRequest) Limit

The maximum number of results to return. Default is `1000`.

func (ApiGetTableRowsRequest) Properties

func (r ApiGetTableRowsRequest) Properties(properties []string) ApiGetTableRowsRequest

Specify the column names to get results containing only the required columns instead of all column details.

func (ApiGetTableRowsRequest) Sort

Specifies the column names to sort the results by. See the above description for more details.

type ApiImportDraftTableRequest

type ApiImportDraftTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiImportDraftTableRequest) Config

Configuration for the import in JSON format as described above.

func (ApiImportDraftTableRequest) Execute

func (ApiImportDraftTableRequest) File

The source CSV file to be imported.

type ApiPublishDraftTableRequest

type ApiPublishDraftTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiPublishDraftTableRequest) Execute

func (ApiPublishDraftTableRequest) IncludeForeignIds

func (r ApiPublishDraftTableRequest) IncludeForeignIds(includeForeignIds bool) ApiPublishDraftTableRequest

Set this to `true` to populate foreign ID values in the response.

type ApiPurgeDraftTableRowRequest

type ApiPurgeDraftTableRowRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiPurgeDraftTableRowRequest) Execute

type ApiReadDraftTableRowsRequest

type ApiReadDraftTableRowsRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiReadDraftTableRowsRequest) After

The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

func (ApiReadDraftTableRowsRequest) Limit

The maximum number of results to return. Default is `1000`.

func (ApiReadDraftTableRowsRequest) Properties

Specify the column names to get results containing only the required columns instead of all column details. If you want to include multiple columns in the result, use this query param as many times.

func (ApiReadDraftTableRowsRequest) Sort

Specifies the column names to sort the results by.

type ApiReplaceDraftTableRowRequest

type ApiReplaceDraftTableRowRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiReplaceDraftTableRowRequest) Execute

func (ApiReplaceDraftTableRowRequest) HubDbTableRowV3Request

func (r ApiReplaceDraftTableRowRequest) HubDbTableRowV3Request(hubDbTableRowV3Request HubDbTableRowV3Request) ApiReplaceDraftTableRowRequest

The JSON object of the row

type ApiResetDraftTableRequest

type ApiResetDraftTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiResetDraftTableRequest) Execute

func (ApiResetDraftTableRequest) IncludeForeignIds

func (r ApiResetDraftTableRequest) IncludeForeignIds(includeForeignIds bool) ApiResetDraftTableRequest

Set this to `true` to populate foreign ID values in the response.

type ApiUnpublishTableRequest

type ApiUnpublishTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiUnpublishTableRequest) Execute

func (ApiUnpublishTableRequest) IncludeForeignIds

func (r ApiUnpublishTableRequest) IncludeForeignIds(includeForeignIds bool) ApiUnpublishTableRequest

Set this to `true` to populate foreign ID values in the response.

type ApiUpdateDraftTableRequest

type ApiUpdateDraftTableRequest struct {
	ApiService *TablesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDraftTableRequest) Archived

Specifies whether to return archived tables. Defaults to `false`.

func (ApiUpdateDraftTableRequest) Execute

func (ApiUpdateDraftTableRequest) HubDbTableV3Request

func (r ApiUpdateDraftTableRequest) HubDbTableV3Request(hubDbTableV3Request HubDbTableV3Request) ApiUpdateDraftTableRequest

The JSON schema for the table being updated.

func (ApiUpdateDraftTableRequest) IncludeForeignIds

func (r ApiUpdateDraftTableRequest) IncludeForeignIds(includeForeignIds bool) ApiUpdateDraftTableRequest

Set this to `true` to populate foreign ID values in the result.

type ApiUpdateDraftTableRowRequest

type ApiUpdateDraftTableRowRequest struct {
	ApiService *RowsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDraftTableRowRequest) Execute

func (ApiUpdateDraftTableRowRequest) HubDbTableRowV3Request

func (r ApiUpdateDraftTableRowRequest) HubDbTableRowV3Request(hubDbTableRowV3Request HubDbTableRowV3Request) ApiUpdateDraftTableRowRequest

The JSON object of the row with necessary fields that needs to be updated.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BatchInputHubDbTableRowV3Request

type BatchInputHubDbTableRowV3Request struct {
	Inputs []HubDbTableRowV3Request `json:"inputs"`
}

BatchInputHubDbTableRowV3Request struct for BatchInputHubDbTableRowV3Request

func NewBatchInputHubDbTableRowV3Request

func NewBatchInputHubDbTableRowV3Request(inputs []HubDbTableRowV3Request) *BatchInputHubDbTableRowV3Request

NewBatchInputHubDbTableRowV3Request instantiates a new BatchInputHubDbTableRowV3Request object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBatchInputHubDbTableRowV3RequestWithDefaults

func NewBatchInputHubDbTableRowV3RequestWithDefaults() *BatchInputHubDbTableRowV3Request

NewBatchInputHubDbTableRowV3RequestWithDefaults instantiates a new BatchInputHubDbTableRowV3Request object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BatchInputHubDbTableRowV3Request) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputHubDbTableRowV3Request) GetInputsOk

GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.

func (BatchInputHubDbTableRowV3Request) MarshalJSON

func (o BatchInputHubDbTableRowV3Request) MarshalJSON() ([]byte, error)

func (*BatchInputHubDbTableRowV3Request) SetInputs

SetInputs sets field value

type BatchInputJsonNode

type BatchInputJsonNode struct {
	Inputs []map[string]interface{} `json:"inputs"`
}

BatchInputJsonNode struct for BatchInputJsonNode

func NewBatchInputJsonNode

func NewBatchInputJsonNode(inputs []map[string]interface{}) *BatchInputJsonNode

NewBatchInputJsonNode instantiates a new BatchInputJsonNode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBatchInputJsonNodeWithDefaults

func NewBatchInputJsonNodeWithDefaults() *BatchInputJsonNode

NewBatchInputJsonNodeWithDefaults instantiates a new BatchInputJsonNode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BatchInputJsonNode) GetInputs

func (o *BatchInputJsonNode) GetInputs() []map[string]interface{}

GetInputs returns the Inputs field value

func (*BatchInputJsonNode) GetInputsOk

func (o *BatchInputJsonNode) GetInputsOk() ([]map[string]interface{}, bool)

GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.

func (BatchInputJsonNode) MarshalJSON

func (o BatchInputJsonNode) MarshalJSON() ([]byte, error)

func (*BatchInputJsonNode) SetInputs

func (o *BatchInputJsonNode) SetInputs(v []map[string]interface{})

SetInputs sets field value

type BatchInputString

type BatchInputString struct {
	Inputs []string `json:"inputs"`
}

BatchInputString struct for BatchInputString

func NewBatchInputString

func NewBatchInputString(inputs []string) *BatchInputString

NewBatchInputString instantiates a new BatchInputString object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBatchInputStringWithDefaults

func NewBatchInputStringWithDefaults() *BatchInputString

NewBatchInputStringWithDefaults instantiates a new BatchInputString object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BatchInputString) GetInputs

func (o *BatchInputString) GetInputs() []string

GetInputs returns the Inputs field value

func (*BatchInputString) GetInputsOk

func (o *BatchInputString) GetInputsOk() ([]string, bool)

GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.

func (BatchInputString) MarshalJSON

func (o BatchInputString) MarshalJSON() ([]byte, error)

func (*BatchInputString) SetInputs

func (o *BatchInputString) SetInputs(v []string)

SetInputs sets field value

type BatchResponseHubDbTableRowV3

type BatchResponseHubDbTableRowV3 struct {
	Status      *string            `json:"status,omitempty"`
	Results     []HubDbTableRowV3  `json:"results,omitempty"`
	RequestedAt *time.Time         `json:"requestedAt,omitempty"`
	StartedAt   *time.Time         `json:"startedAt,omitempty"`
	CompletedAt *time.Time         `json:"completedAt,omitempty"`
	Links       *map[string]string `json:"links,omitempty"`
}

BatchResponseHubDbTableRowV3 struct for BatchResponseHubDbTableRowV3

func NewBatchResponseHubDbTableRowV3

func NewBatchResponseHubDbTableRowV3() *BatchResponseHubDbTableRowV3

NewBatchResponseHubDbTableRowV3 instantiates a new BatchResponseHubDbTableRowV3 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBatchResponseHubDbTableRowV3WithDefaults

func NewBatchResponseHubDbTableRowV3WithDefaults() *BatchResponseHubDbTableRowV3

NewBatchResponseHubDbTableRowV3WithDefaults instantiates a new BatchResponseHubDbTableRowV3 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BatchResponseHubDbTableRowV3) GetCompletedAt

func (o *BatchResponseHubDbTableRowV3) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3) GetCompletedAtOk

func (o *BatchResponseHubDbTableRowV3) GetCompletedAtOk() (*time.Time, bool)

GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BatchResponseHubDbTableRowV3) GetLinks() map[string]string

GetLinks returns the Links field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3) GetLinksOk

func (o *BatchResponseHubDbTableRowV3) GetLinksOk() (*map[string]string, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3) GetRequestedAt

func (o *BatchResponseHubDbTableRowV3) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3) GetRequestedAtOk

func (o *BatchResponseHubDbTableRowV3) GetRequestedAtOk() (*time.Time, bool)

GetRequestedAtOk returns a tuple with the RequestedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3) GetResultsOk

func (o *BatchResponseHubDbTableRowV3) GetResultsOk() ([]HubDbTableRowV3, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3) GetStartedAt

func (o *BatchResponseHubDbTableRowV3) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3) GetStartedAtOk

func (o *BatchResponseHubDbTableRowV3) GetStartedAtOk() (*time.Time, bool)

GetStartedAtOk returns a tuple with the StartedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3) GetStatus

func (o *BatchResponseHubDbTableRowV3) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3) GetStatusOk

func (o *BatchResponseHubDbTableRowV3) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3) HasCompletedAt

func (o *BatchResponseHubDbTableRowV3) HasCompletedAt() bool

HasCompletedAt returns a boolean if a field has been set.

func (o *BatchResponseHubDbTableRowV3) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BatchResponseHubDbTableRowV3) HasRequestedAt

func (o *BatchResponseHubDbTableRowV3) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (*BatchResponseHubDbTableRowV3) HasResults

func (o *BatchResponseHubDbTableRowV3) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*BatchResponseHubDbTableRowV3) HasStartedAt

func (o *BatchResponseHubDbTableRowV3) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (*BatchResponseHubDbTableRowV3) HasStatus

func (o *BatchResponseHubDbTableRowV3) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (BatchResponseHubDbTableRowV3) MarshalJSON

func (o BatchResponseHubDbTableRowV3) MarshalJSON() ([]byte, error)

func (*BatchResponseHubDbTableRowV3) SetCompletedAt

func (o *BatchResponseHubDbTableRowV3) SetCompletedAt(v time.Time)

SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.

func (o *BatchResponseHubDbTableRowV3) SetLinks(v map[string]string)

SetLinks gets a reference to the given map[string]string and assigns it to the Links field.

func (*BatchResponseHubDbTableRowV3) SetRequestedAt

func (o *BatchResponseHubDbTableRowV3) SetRequestedAt(v time.Time)

SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.

func (*BatchResponseHubDbTableRowV3) SetResults

func (o *BatchResponseHubDbTableRowV3) SetResults(v []HubDbTableRowV3)

SetResults gets a reference to the given []HubDbTableRowV3 and assigns it to the Results field.

func (*BatchResponseHubDbTableRowV3) SetStartedAt

func (o *BatchResponseHubDbTableRowV3) SetStartedAt(v time.Time)

SetStartedAt gets a reference to the given time.Time and assigns it to the StartedAt field.

func (*BatchResponseHubDbTableRowV3) SetStatus

func (o *BatchResponseHubDbTableRowV3) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type BatchResponseHubDbTableRowV3WithErrors

type BatchResponseHubDbTableRowV3WithErrors struct {
	Status      string             `json:"status"`
	Results     []HubDbTableRowV3  `json:"results"`
	NumErrors   *int32             `json:"numErrors,omitempty"`
	Errors      []StandardError    `json:"errors,omitempty"`
	RequestedAt *time.Time         `json:"requestedAt,omitempty"`
	StartedAt   time.Time          `json:"startedAt"`
	CompletedAt time.Time          `json:"completedAt"`
	Links       *map[string]string `json:"links,omitempty"`
}

BatchResponseHubDbTableRowV3WithErrors struct for BatchResponseHubDbTableRowV3WithErrors

func NewBatchResponseHubDbTableRowV3WithErrors

func NewBatchResponseHubDbTableRowV3WithErrors(status string, results []HubDbTableRowV3, startedAt time.Time, completedAt time.Time) *BatchResponseHubDbTableRowV3WithErrors

NewBatchResponseHubDbTableRowV3WithErrors instantiates a new BatchResponseHubDbTableRowV3WithErrors object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBatchResponseHubDbTableRowV3WithErrorsWithDefaults

func NewBatchResponseHubDbTableRowV3WithErrorsWithDefaults() *BatchResponseHubDbTableRowV3WithErrors

NewBatchResponseHubDbTableRowV3WithErrorsWithDefaults instantiates a new BatchResponseHubDbTableRowV3WithErrors object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BatchResponseHubDbTableRowV3WithErrors) GetCompletedAt

func (o *BatchResponseHubDbTableRowV3WithErrors) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseHubDbTableRowV3WithErrors) GetCompletedAtOk

func (o *BatchResponseHubDbTableRowV3WithErrors) GetCompletedAtOk() (*time.Time, bool)

GetCompletedAtOk returns a tuple with the CompletedAt field value and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) GetErrors

GetErrors returns the Errors field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3WithErrors) GetErrorsOk

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3WithErrors) GetLinksOk

func (o *BatchResponseHubDbTableRowV3WithErrors) GetLinksOk() (*map[string]string, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) GetNumErrors

GetNumErrors returns the NumErrors field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3WithErrors) GetNumErrorsOk

func (o *BatchResponseHubDbTableRowV3WithErrors) GetNumErrorsOk() (*int32, bool)

GetNumErrorsOk returns a tuple with the NumErrors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) GetRequestedAt

func (o *BatchResponseHubDbTableRowV3WithErrors) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.

func (*BatchResponseHubDbTableRowV3WithErrors) GetRequestedAtOk

func (o *BatchResponseHubDbTableRowV3WithErrors) GetRequestedAtOk() (*time.Time, bool)

GetRequestedAtOk returns a tuple with the RequestedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) GetResults

GetResults returns the Results field value

func (*BatchResponseHubDbTableRowV3WithErrors) GetResultsOk

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) GetStartedAt

GetStartedAt returns the StartedAt field value

func (*BatchResponseHubDbTableRowV3WithErrors) GetStartedAtOk

func (o *BatchResponseHubDbTableRowV3WithErrors) GetStartedAtOk() (*time.Time, bool)

GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) GetStatus

GetStatus returns the Status field value

func (*BatchResponseHubDbTableRowV3WithErrors) GetStatusOk

func (o *BatchResponseHubDbTableRowV3WithErrors) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) HasErrors

HasErrors returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) HasNumErrors

func (o *BatchResponseHubDbTableRowV3WithErrors) HasNumErrors() bool

HasNumErrors returns a boolean if a field has been set.

func (*BatchResponseHubDbTableRowV3WithErrors) HasRequestedAt

func (o *BatchResponseHubDbTableRowV3WithErrors) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseHubDbTableRowV3WithErrors) MarshalJSON

func (o BatchResponseHubDbTableRowV3WithErrors) MarshalJSON() ([]byte, error)

func (*BatchResponseHubDbTableRowV3WithErrors) SetCompletedAt

func (o *BatchResponseHubDbTableRowV3WithErrors) SetCompletedAt(v time.Time)

SetCompletedAt sets field value

func (*BatchResponseHubDbTableRowV3WithErrors) SetErrors

SetErrors gets a reference to the given []StandardError and assigns it to the Errors field.

SetLinks gets a reference to the given map[string]string and assigns it to the Links field.

func (*BatchResponseHubDbTableRowV3WithErrors) SetNumErrors

func (o *BatchResponseHubDbTableRowV3WithErrors) SetNumErrors(v int32)

SetNumErrors gets a reference to the given int32 and assigns it to the NumErrors field.

func (*BatchResponseHubDbTableRowV3WithErrors) SetRequestedAt

func (o *BatchResponseHubDbTableRowV3WithErrors) SetRequestedAt(v time.Time)

SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.

func (*BatchResponseHubDbTableRowV3WithErrors) SetResults

SetResults sets field value

func (*BatchResponseHubDbTableRowV3WithErrors) SetStartedAt

SetStartedAt sets field value

func (*BatchResponseHubDbTableRowV3WithErrors) SetStatus

SetStatus sets field value

type CollectionResponseWithTotalHubDbTableRowV3ForwardPaging

type CollectionResponseWithTotalHubDbTableRowV3ForwardPaging struct {
	Total   int32             `json:"total"`
	Results []HubDbTableRowV3 `json:"results"`
	Paging  *ForwardPaging    `json:"paging,omitempty"`
}

CollectionResponseWithTotalHubDbTableRowV3ForwardPaging struct for CollectionResponseWithTotalHubDbTableRowV3ForwardPaging

func NewCollectionResponseWithTotalHubDbTableRowV3ForwardPaging

func NewCollectionResponseWithTotalHubDbTableRowV3ForwardPaging(total int32, results []HubDbTableRowV3) *CollectionResponseWithTotalHubDbTableRowV3ForwardPaging

NewCollectionResponseWithTotalHubDbTableRowV3ForwardPaging instantiates a new CollectionResponseWithTotalHubDbTableRowV3ForwardPaging object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionResponseWithTotalHubDbTableRowV3ForwardPagingWithDefaults

func NewCollectionResponseWithTotalHubDbTableRowV3ForwardPagingWithDefaults() *CollectionResponseWithTotalHubDbTableRowV3ForwardPaging

NewCollectionResponseWithTotalHubDbTableRowV3ForwardPagingWithDefaults instantiates a new CollectionResponseWithTotalHubDbTableRowV3ForwardPaging object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) GetPagingOk

GetPagingOk returns a tuple with the Paging field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) GetResultsOk

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) GetTotal

GetTotal returns the Total field value

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) GetTotalOk

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) MarshalJSON

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) SetResults

SetResults sets field value

func (*CollectionResponseWithTotalHubDbTableRowV3ForwardPaging) SetTotal

SetTotal sets field value

type CollectionResponseWithTotalHubDbTableV3ForwardPaging

type CollectionResponseWithTotalHubDbTableV3ForwardPaging struct {
	Total   int32          `json:"total"`
	Results []HubDbTableV3 `json:"results"`
	Paging  *ForwardPaging `json:"paging,omitempty"`
}

CollectionResponseWithTotalHubDbTableV3ForwardPaging struct for CollectionResponseWithTotalHubDbTableV3ForwardPaging

func NewCollectionResponseWithTotalHubDbTableV3ForwardPaging

func NewCollectionResponseWithTotalHubDbTableV3ForwardPaging(total int32, results []HubDbTableV3) *CollectionResponseWithTotalHubDbTableV3ForwardPaging

NewCollectionResponseWithTotalHubDbTableV3ForwardPaging instantiates a new CollectionResponseWithTotalHubDbTableV3ForwardPaging object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionResponseWithTotalHubDbTableV3ForwardPagingWithDefaults

func NewCollectionResponseWithTotalHubDbTableV3ForwardPagingWithDefaults() *CollectionResponseWithTotalHubDbTableV3ForwardPaging

NewCollectionResponseWithTotalHubDbTableV3ForwardPagingWithDefaults instantiates a new CollectionResponseWithTotalHubDbTableV3ForwardPaging object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) GetPagingOk

GetPagingOk returns a tuple with the Paging field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) GetResultsOk

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) GetTotal

GetTotal returns the Total field value

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) GetTotalOk

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseWithTotalHubDbTableV3ForwardPaging) MarshalJSON

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) SetResults

SetResults sets field value

func (*CollectionResponseWithTotalHubDbTableV3ForwardPaging) SetTotal

SetTotal sets field value

type Column

type Column struct {
	// Name of the column
	Name string `json:"name"`
	// Label of the column
	Label string `json:"label"`
	// Column Id
	Id *string `json:"id,omitempty"`
	// Column width for HubDB UI
	Width *int32 `json:"width,omitempty"`
	// Foreign table id referenced
	ForeignTableId *int64 `json:"foreignTableId,omitempty"`
	// Foreign Column id
	ForeignColumnId *int32 `json:"foreignColumnId,omitempty"`
	// Foreign Ids
	ForeignIds []ForeignId `json:"foreignIds,omitempty"`
	// Foreign ids
	ForeignIdsById *map[string]ForeignId `json:"foreignIdsById,omitempty"`
	// Foreign ids by name
	ForeignIdsByName *map[string]ForeignId `json:"foreignIdsByName,omitempty"`
	// Type of the column
	Type string `json:"type"`
	// Number of options available
	OptionCount *int32 `json:"optionCount,omitempty"`
	// Specifies whether the column is archived
	Archived *bool `json:"archived,omitempty"`
	// Options to choose for select and multi-select columns
	Options []Option `json:"options,omitempty"`
}

Column struct for Column

func NewColumn

func NewColumn(name string, label string, type_ string) *Column

NewColumn instantiates a new Column object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewColumnWithDefaults

func NewColumnWithDefaults() *Column

NewColumnWithDefaults instantiates a new Column object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Column) GetArchived

func (o *Column) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*Column) GetArchivedOk

func (o *Column) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetForeignColumnId

func (o *Column) GetForeignColumnId() int32

GetForeignColumnId returns the ForeignColumnId field value if set, zero value otherwise.

func (*Column) GetForeignColumnIdOk

func (o *Column) GetForeignColumnIdOk() (*int32, bool)

GetForeignColumnIdOk returns a tuple with the ForeignColumnId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetForeignIds

func (o *Column) GetForeignIds() []ForeignId

GetForeignIds returns the ForeignIds field value if set, zero value otherwise.

func (*Column) GetForeignIdsById

func (o *Column) GetForeignIdsById() map[string]ForeignId

GetForeignIdsById returns the ForeignIdsById field value if set, zero value otherwise.

func (*Column) GetForeignIdsByIdOk

func (o *Column) GetForeignIdsByIdOk() (*map[string]ForeignId, bool)

GetForeignIdsByIdOk returns a tuple with the ForeignIdsById field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetForeignIdsByName

func (o *Column) GetForeignIdsByName() map[string]ForeignId

GetForeignIdsByName returns the ForeignIdsByName field value if set, zero value otherwise.

func (*Column) GetForeignIdsByNameOk

func (o *Column) GetForeignIdsByNameOk() (*map[string]ForeignId, bool)

GetForeignIdsByNameOk returns a tuple with the ForeignIdsByName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetForeignIdsOk

func (o *Column) GetForeignIdsOk() ([]ForeignId, bool)

GetForeignIdsOk returns a tuple with the ForeignIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetForeignTableId

func (o *Column) GetForeignTableId() int64

GetForeignTableId returns the ForeignTableId field value if set, zero value otherwise.

func (*Column) GetForeignTableIdOk

func (o *Column) GetForeignTableIdOk() (*int64, bool)

GetForeignTableIdOk returns a tuple with the ForeignTableId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetId

func (o *Column) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Column) GetIdOk

func (o *Column) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetLabel

func (o *Column) GetLabel() string

GetLabel returns the Label field value

func (*Column) GetLabelOk

func (o *Column) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*Column) GetName

func (o *Column) GetName() string

GetName returns the Name field value

func (*Column) GetNameOk

func (o *Column) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Column) GetOptionCount

func (o *Column) GetOptionCount() int32

GetOptionCount returns the OptionCount field value if set, zero value otherwise.

func (*Column) GetOptionCountOk

func (o *Column) GetOptionCountOk() (*int32, bool)

GetOptionCountOk returns a tuple with the OptionCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetOptions

func (o *Column) GetOptions() []Option

GetOptions returns the Options field value if set, zero value otherwise.

func (*Column) GetOptionsOk

func (o *Column) GetOptionsOk() ([]Option, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) GetType

func (o *Column) GetType() string

GetType returns the Type field value

func (*Column) GetTypeOk

func (o *Column) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Column) GetWidth

func (o *Column) GetWidth() int32

GetWidth returns the Width field value if set, zero value otherwise.

func (*Column) GetWidthOk

func (o *Column) GetWidthOk() (*int32, bool)

GetWidthOk returns a tuple with the Width field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Column) HasArchived

func (o *Column) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*Column) HasForeignColumnId

func (o *Column) HasForeignColumnId() bool

HasForeignColumnId returns a boolean if a field has been set.

func (*Column) HasForeignIds

func (o *Column) HasForeignIds() bool

HasForeignIds returns a boolean if a field has been set.

func (*Column) HasForeignIdsById

func (o *Column) HasForeignIdsById() bool

HasForeignIdsById returns a boolean if a field has been set.

func (*Column) HasForeignIdsByName

func (o *Column) HasForeignIdsByName() bool

HasForeignIdsByName returns a boolean if a field has been set.

func (*Column) HasForeignTableId

func (o *Column) HasForeignTableId() bool

HasForeignTableId returns a boolean if a field has been set.

func (*Column) HasId

func (o *Column) HasId() bool

HasId returns a boolean if a field has been set.

func (*Column) HasOptionCount

func (o *Column) HasOptionCount() bool

HasOptionCount returns a boolean if a field has been set.

func (*Column) HasOptions

func (o *Column) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*Column) HasWidth

func (o *Column) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (Column) MarshalJSON

func (o Column) MarshalJSON() ([]byte, error)

func (*Column) SetArchived

func (o *Column) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*Column) SetForeignColumnId

func (o *Column) SetForeignColumnId(v int32)

SetForeignColumnId gets a reference to the given int32 and assigns it to the ForeignColumnId field.

func (*Column) SetForeignIds

func (o *Column) SetForeignIds(v []ForeignId)

SetForeignIds gets a reference to the given []ForeignId and assigns it to the ForeignIds field.

func (*Column) SetForeignIdsById

func (o *Column) SetForeignIdsById(v map[string]ForeignId)

SetForeignIdsById gets a reference to the given map[string]ForeignId and assigns it to the ForeignIdsById field.

func (*Column) SetForeignIdsByName

func (o *Column) SetForeignIdsByName(v map[string]ForeignId)

SetForeignIdsByName gets a reference to the given map[string]ForeignId and assigns it to the ForeignIdsByName field.

func (*Column) SetForeignTableId

func (o *Column) SetForeignTableId(v int64)

SetForeignTableId gets a reference to the given int64 and assigns it to the ForeignTableId field.

func (*Column) SetId

func (o *Column) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Column) SetLabel

func (o *Column) SetLabel(v string)

SetLabel sets field value

func (*Column) SetName

func (o *Column) SetName(v string)

SetName sets field value

func (*Column) SetOptionCount

func (o *Column) SetOptionCount(v int32)

SetOptionCount gets a reference to the given int32 and assigns it to the OptionCount field.

func (*Column) SetOptions

func (o *Column) SetOptions(v []Option)

SetOptions gets a reference to the given []Option and assigns it to the Options field.

func (*Column) SetType

func (o *Column) SetType(v string)

SetType sets field value

func (*Column) SetWidth

func (o *Column) SetWidth(v int32)

SetWidth gets a reference to the given int32 and assigns it to the Width field.

type ColumnRequest

type ColumnRequest struct {
	// Column Id
	Id int32 `json:"id"`
	// Name of the column
	Name string `json:"name"`
	// Label of the column
	Label string `json:"label"`
	// Type of the column
	Type string `json:"type"`
	// Options to choose for select and multi-select columns
	Options []Option `json:"options"`
	// The id of another table to which the column refers/points to.
	ForeignTableId *int64 `json:"foreignTableId,omitempty"`
	// The id of the column from another table to which the column refers/points to.
	ForeignColumnId *int32 `json:"foreignColumnId,omitempty"`
}

ColumnRequest struct for ColumnRequest

func NewColumnRequest

func NewColumnRequest(id int32, name string, label string, type_ string, options []Option) *ColumnRequest

NewColumnRequest instantiates a new ColumnRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewColumnRequestWithDefaults

func NewColumnRequestWithDefaults() *ColumnRequest

NewColumnRequestWithDefaults instantiates a new ColumnRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ColumnRequest) GetForeignColumnId

func (o *ColumnRequest) GetForeignColumnId() int32

GetForeignColumnId returns the ForeignColumnId field value if set, zero value otherwise.

func (*ColumnRequest) GetForeignColumnIdOk

func (o *ColumnRequest) GetForeignColumnIdOk() (*int32, bool)

GetForeignColumnIdOk returns a tuple with the ForeignColumnId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ColumnRequest) GetForeignTableId

func (o *ColumnRequest) GetForeignTableId() int64

GetForeignTableId returns the ForeignTableId field value if set, zero value otherwise.

func (*ColumnRequest) GetForeignTableIdOk

func (o *ColumnRequest) GetForeignTableIdOk() (*int64, bool)

GetForeignTableIdOk returns a tuple with the ForeignTableId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ColumnRequest) GetId

func (o *ColumnRequest) GetId() int32

GetId returns the Id field value

func (*ColumnRequest) GetIdOk

func (o *ColumnRequest) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ColumnRequest) GetLabel

func (o *ColumnRequest) GetLabel() string

GetLabel returns the Label field value

func (*ColumnRequest) GetLabelOk

func (o *ColumnRequest) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*ColumnRequest) GetName

func (o *ColumnRequest) GetName() string

GetName returns the Name field value

func (*ColumnRequest) GetNameOk

func (o *ColumnRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ColumnRequest) GetOptions

func (o *ColumnRequest) GetOptions() []Option

GetOptions returns the Options field value

func (*ColumnRequest) GetOptionsOk

func (o *ColumnRequest) GetOptionsOk() ([]Option, bool)

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*ColumnRequest) GetType

func (o *ColumnRequest) GetType() string

GetType returns the Type field value

func (*ColumnRequest) GetTypeOk

func (o *ColumnRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ColumnRequest) HasForeignColumnId

func (o *ColumnRequest) HasForeignColumnId() bool

HasForeignColumnId returns a boolean if a field has been set.

func (*ColumnRequest) HasForeignTableId

func (o *ColumnRequest) HasForeignTableId() bool

HasForeignTableId returns a boolean if a field has been set.

func (ColumnRequest) MarshalJSON

func (o ColumnRequest) MarshalJSON() ([]byte, error)

func (*ColumnRequest) SetForeignColumnId

func (o *ColumnRequest) SetForeignColumnId(v int32)

SetForeignColumnId gets a reference to the given int32 and assigns it to the ForeignColumnId field.

func (*ColumnRequest) SetForeignTableId

func (o *ColumnRequest) SetForeignTableId(v int64)

SetForeignTableId gets a reference to the given int64 and assigns it to the ForeignTableId field.

func (*ColumnRequest) SetId

func (o *ColumnRequest) SetId(v int32)

SetId sets field value

func (*ColumnRequest) SetLabel

func (o *ColumnRequest) SetLabel(v string)

SetLabel sets field value

func (*ColumnRequest) SetName

func (o *ColumnRequest) SetName(v string)

SetName sets field value

func (*ColumnRequest) SetOptions

func (o *ColumnRequest) SetOptions(v []Option)

SetOptions sets field value

func (*ColumnRequest) SetType

func (o *ColumnRequest) SetType(v string)

SetType sets field value

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Error

type Error struct {
	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`
	// A unique identifier for the request. Include this value with any error reports or support tickets
	CorrelationId string `json:"correlationId"`
	// The error category
	Category string `json:"category"`
	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
	// further information about the error
	Errors []ErrorDetail `json:"errors,omitempty"`
	// Context about the error condition
	Context *map[string][]string `json:"context,omitempty"`
	// A map of link names to associated URIs containing documentation about the error or recommended remediation steps
	Links *map[string]string `json:"links,omitempty"`
}

Error struct for Error

func NewError

func NewError(message string, correlationId string, category string) *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetCategory

func (o *Error) GetCategory() string

GetCategory returns the Category field value

func (*Error) GetCategoryOk

func (o *Error) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*Error) GetContext

func (o *Error) GetContext() map[string][]string

GetContext returns the Context field value if set, zero value otherwise.

func (*Error) GetContextOk

func (o *Error) GetContextOk() (*map[string][]string, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetCorrelationId

func (o *Error) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value

func (*Error) GetCorrelationIdOk

func (o *Error) GetCorrelationIdOk() (*string, bool)

GetCorrelationIdOk returns a tuple with the CorrelationId field value and a boolean to check if the value has been set.

func (*Error) GetErrors

func (o *Error) GetErrors() []ErrorDetail

GetErrors returns the Errors field value if set, zero value otherwise.

func (*Error) GetErrorsOk

func (o *Error) GetErrorsOk() ([]ErrorDetail, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Error) GetLinks() map[string]string

GetLinks returns the Links field value if set, zero value otherwise.

func (*Error) GetLinksOk

func (o *Error) GetLinksOk() (*map[string]string, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

func (o *Error) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*Error) GetSubCategory

func (o *Error) GetSubCategory() string

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*Error) GetSubCategoryOk

func (o *Error) GetSubCategoryOk() (*string, bool)

GetSubCategoryOk returns a tuple with the SubCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) HasContext

func (o *Error) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*Error) HasErrors

func (o *Error) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (o *Error) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Error) HasSubCategory

func (o *Error) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetCategory

func (o *Error) SetCategory(v string)

SetCategory sets field value

func (*Error) SetContext

func (o *Error) SetContext(v map[string][]string)

SetContext gets a reference to the given map[string][]string and assigns it to the Context field.

func (*Error) SetCorrelationId

func (o *Error) SetCorrelationId(v string)

SetCorrelationId sets field value

func (*Error) SetErrors

func (o *Error) SetErrors(v []ErrorDetail)

SetErrors gets a reference to the given []ErrorDetail and assigns it to the Errors field.

func (o *Error) SetLinks(v map[string]string)

SetLinks gets a reference to the given map[string]string and assigns it to the Links field.

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (*Error) SetSubCategory

func (o *Error) SetSubCategory(v string)

SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.

type ErrorDetail

type ErrorDetail struct {
	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`
	// The name of the field or parameter in which the error was found.
	In *string `json:"in,omitempty"`
	// The status code associated with the error detail
	Code *string `json:"code,omitempty"`
	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
	// Context about the error condition
	Context *map[string][]string `json:"context,omitempty"`
}

ErrorDetail struct for ErrorDetail

func NewErrorDetail

func NewErrorDetail(message string) *ErrorDetail

NewErrorDetail instantiates a new ErrorDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorDetailWithDefaults

func NewErrorDetailWithDefaults() *ErrorDetail

NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorDetail) GetCode

func (o *ErrorDetail) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ErrorDetail) GetCodeOk

func (o *ErrorDetail) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) GetContext

func (o *ErrorDetail) GetContext() map[string][]string

GetContext returns the Context field value if set, zero value otherwise.

func (*ErrorDetail) GetContextOk

func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) GetIn

func (o *ErrorDetail) GetIn() string

GetIn returns the In field value if set, zero value otherwise.

func (*ErrorDetail) GetInOk

func (o *ErrorDetail) GetInOk() (*string, bool)

GetInOk returns a tuple with the In field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) GetMessage

func (o *ErrorDetail) GetMessage() string

GetMessage returns the Message field value

func (*ErrorDetail) GetMessageOk

func (o *ErrorDetail) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*ErrorDetail) GetSubCategory

func (o *ErrorDetail) GetSubCategory() string

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*ErrorDetail) GetSubCategoryOk

func (o *ErrorDetail) GetSubCategoryOk() (*string, bool)

GetSubCategoryOk returns a tuple with the SubCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) HasCode

func (o *ErrorDetail) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ErrorDetail) HasContext

func (o *ErrorDetail) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ErrorDetail) HasIn

func (o *ErrorDetail) HasIn() bool

HasIn returns a boolean if a field has been set.

func (*ErrorDetail) HasSubCategory

func (o *ErrorDetail) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (ErrorDetail) MarshalJSON

func (o ErrorDetail) MarshalJSON() ([]byte, error)

func (*ErrorDetail) SetCode

func (o *ErrorDetail) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ErrorDetail) SetContext

func (o *ErrorDetail) SetContext(v map[string][]string)

SetContext gets a reference to the given map[string][]string and assigns it to the Context field.

func (*ErrorDetail) SetIn

func (o *ErrorDetail) SetIn(v string)

SetIn gets a reference to the given string and assigns it to the In field.

func (*ErrorDetail) SetMessage

func (o *ErrorDetail) SetMessage(v string)

SetMessage sets field value

func (*ErrorDetail) SetSubCategory

func (o *ErrorDetail) SetSubCategory(v string)

SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.

type ForeignId

type ForeignId struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	Type string `json:"type"`
}

ForeignId struct for ForeignId

func NewForeignId

func NewForeignId(id string, name string, type_ string) *ForeignId

NewForeignId instantiates a new ForeignId object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewForeignIdWithDefaults

func NewForeignIdWithDefaults() *ForeignId

NewForeignIdWithDefaults instantiates a new ForeignId object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ForeignId) GetId

func (o *ForeignId) GetId() string

GetId returns the Id field value

func (*ForeignId) GetIdOk

func (o *ForeignId) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ForeignId) GetName

func (o *ForeignId) GetName() string

GetName returns the Name field value

func (*ForeignId) GetNameOk

func (o *ForeignId) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ForeignId) GetType

func (o *ForeignId) GetType() string

GetType returns the Type field value

func (*ForeignId) GetTypeOk

func (o *ForeignId) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (ForeignId) MarshalJSON

func (o ForeignId) MarshalJSON() ([]byte, error)

func (*ForeignId) SetId

func (o *ForeignId) SetId(v string)

SetId sets field value

func (*ForeignId) SetName

func (o *ForeignId) SetName(v string)

SetName sets field value

func (*ForeignId) SetType

func (o *ForeignId) SetType(v string)

SetType sets field value

type ForwardPaging

type ForwardPaging struct {
	Next *NextPage `json:"next,omitempty"`
}

ForwardPaging struct for ForwardPaging

func NewForwardPaging

func NewForwardPaging() *ForwardPaging

NewForwardPaging instantiates a new ForwardPaging object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewForwardPagingWithDefaults

func NewForwardPagingWithDefaults() *ForwardPaging

NewForwardPagingWithDefaults instantiates a new ForwardPaging object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ForwardPaging) GetNext

func (o *ForwardPaging) GetNext() NextPage

GetNext returns the Next field value if set, zero value otherwise.

func (*ForwardPaging) GetNextOk

func (o *ForwardPaging) GetNextOk() (*NextPage, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ForwardPaging) HasNext

func (o *ForwardPaging) HasNext() bool

HasNext returns a boolean if a field has been set.

func (ForwardPaging) MarshalJSON

func (o ForwardPaging) MarshalJSON() ([]byte, error)

func (*ForwardPaging) SetNext

func (o *ForwardPaging) SetNext(v NextPage)

SetNext gets a reference to the given NextPage and assigns it to the Next field.

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HubDbTableCloneRequest

type HubDbTableCloneRequest struct {
	// The new name for the cloned table
	NewName *string `json:"newName,omitempty"`
	// The new label for the cloned table
	NewLabel *string `json:"newLabel,omitempty"`
	// Specifies whether to copy the rows during clone
	CopyRows bool `json:"copyRows"`
}

HubDbTableCloneRequest struct for HubDbTableCloneRequest

func NewHubDbTableCloneRequest

func NewHubDbTableCloneRequest(copyRows bool) *HubDbTableCloneRequest

NewHubDbTableCloneRequest instantiates a new HubDbTableCloneRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHubDbTableCloneRequestWithDefaults

func NewHubDbTableCloneRequestWithDefaults() *HubDbTableCloneRequest

NewHubDbTableCloneRequestWithDefaults instantiates a new HubDbTableCloneRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HubDbTableCloneRequest) GetCopyRows

func (o *HubDbTableCloneRequest) GetCopyRows() bool

GetCopyRows returns the CopyRows field value

func (*HubDbTableCloneRequest) GetCopyRowsOk

func (o *HubDbTableCloneRequest) GetCopyRowsOk() (*bool, bool)

GetCopyRowsOk returns a tuple with the CopyRows field value and a boolean to check if the value has been set.

func (*HubDbTableCloneRequest) GetNewLabel

func (o *HubDbTableCloneRequest) GetNewLabel() string

GetNewLabel returns the NewLabel field value if set, zero value otherwise.

func (*HubDbTableCloneRequest) GetNewLabelOk

func (o *HubDbTableCloneRequest) GetNewLabelOk() (*string, bool)

GetNewLabelOk returns a tuple with the NewLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableCloneRequest) GetNewName

func (o *HubDbTableCloneRequest) GetNewName() string

GetNewName returns the NewName field value if set, zero value otherwise.

func (*HubDbTableCloneRequest) GetNewNameOk

func (o *HubDbTableCloneRequest) GetNewNameOk() (*string, bool)

GetNewNameOk returns a tuple with the NewName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableCloneRequest) HasNewLabel

func (o *HubDbTableCloneRequest) HasNewLabel() bool

HasNewLabel returns a boolean if a field has been set.

func (*HubDbTableCloneRequest) HasNewName

func (o *HubDbTableCloneRequest) HasNewName() bool

HasNewName returns a boolean if a field has been set.

func (HubDbTableCloneRequest) MarshalJSON

func (o HubDbTableCloneRequest) MarshalJSON() ([]byte, error)

func (*HubDbTableCloneRequest) SetCopyRows

func (o *HubDbTableCloneRequest) SetCopyRows(v bool)

SetCopyRows sets field value

func (*HubDbTableCloneRequest) SetNewLabel

func (o *HubDbTableCloneRequest) SetNewLabel(v string)

SetNewLabel gets a reference to the given string and assigns it to the NewLabel field.

func (*HubDbTableCloneRequest) SetNewName

func (o *HubDbTableCloneRequest) SetNewName(v string)

SetNewName gets a reference to the given string and assigns it to the NewName field.

type HubDbTableRowV3

type HubDbTableRowV3 struct {
	// The id of the table row
	Id *string `json:"id,omitempty"`
	// Specifies the value for `hs_path` column, which will be used as slug in the dynamic pages
	Path *string `json:"path,omitempty"`
	// Specifies the value for `hs_name` column, which will be used as title in the dynamic pages
	Name *string `json:"name,omitempty"`
	// Timestamp at which the row is created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Timestamp at which the row is updated last time
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// Specifies the value for the column child table id
	ChildTableId *string `json:"childTableId,omitempty"`
	// List of key value pairs with the column name and column value
	Values map[string]map[string]interface{} `json:"values"`
}

HubDbTableRowV3 struct for HubDbTableRowV3

func NewHubDbTableRowV3

func NewHubDbTableRowV3(values map[string]map[string]interface{}) *HubDbTableRowV3

NewHubDbTableRowV3 instantiates a new HubDbTableRowV3 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHubDbTableRowV3WithDefaults

func NewHubDbTableRowV3WithDefaults() *HubDbTableRowV3

NewHubDbTableRowV3WithDefaults instantiates a new HubDbTableRowV3 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HubDbTableRowV3) GetChildTableId

func (o *HubDbTableRowV3) GetChildTableId() string

GetChildTableId returns the ChildTableId field value if set, zero value otherwise.

func (*HubDbTableRowV3) GetChildTableIdOk

func (o *HubDbTableRowV3) GetChildTableIdOk() (*string, bool)

GetChildTableIdOk returns a tuple with the ChildTableId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3) GetCreatedAt

func (o *HubDbTableRowV3) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*HubDbTableRowV3) GetCreatedAtOk

func (o *HubDbTableRowV3) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3) GetId

func (o *HubDbTableRowV3) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*HubDbTableRowV3) GetIdOk

func (o *HubDbTableRowV3) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3) GetName

func (o *HubDbTableRowV3) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*HubDbTableRowV3) GetNameOk

func (o *HubDbTableRowV3) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3) GetPath

func (o *HubDbTableRowV3) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*HubDbTableRowV3) GetPathOk

func (o *HubDbTableRowV3) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3) GetUpdatedAt

func (o *HubDbTableRowV3) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*HubDbTableRowV3) GetUpdatedAtOk

func (o *HubDbTableRowV3) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3) GetValues

func (o *HubDbTableRowV3) GetValues() map[string]map[string]interface{}

GetValues returns the Values field value

func (*HubDbTableRowV3) GetValuesOk

func (o *HubDbTableRowV3) GetValuesOk() (map[string]map[string]interface{}, bool)

GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.

func (*HubDbTableRowV3) HasChildTableId

func (o *HubDbTableRowV3) HasChildTableId() bool

HasChildTableId returns a boolean if a field has been set.

func (*HubDbTableRowV3) HasCreatedAt

func (o *HubDbTableRowV3) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*HubDbTableRowV3) HasId

func (o *HubDbTableRowV3) HasId() bool

HasId returns a boolean if a field has been set.

func (*HubDbTableRowV3) HasName

func (o *HubDbTableRowV3) HasName() bool

HasName returns a boolean if a field has been set.

func (*HubDbTableRowV3) HasPath

func (o *HubDbTableRowV3) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*HubDbTableRowV3) HasUpdatedAt

func (o *HubDbTableRowV3) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (HubDbTableRowV3) MarshalJSON

func (o HubDbTableRowV3) MarshalJSON() ([]byte, error)

func (*HubDbTableRowV3) SetChildTableId

func (o *HubDbTableRowV3) SetChildTableId(v string)

SetChildTableId gets a reference to the given string and assigns it to the ChildTableId field.

func (*HubDbTableRowV3) SetCreatedAt

func (o *HubDbTableRowV3) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*HubDbTableRowV3) SetId

func (o *HubDbTableRowV3) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*HubDbTableRowV3) SetName

func (o *HubDbTableRowV3) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*HubDbTableRowV3) SetPath

func (o *HubDbTableRowV3) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*HubDbTableRowV3) SetUpdatedAt

func (o *HubDbTableRowV3) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*HubDbTableRowV3) SetValues

func (o *HubDbTableRowV3) SetValues(v map[string]map[string]interface{})

SetValues sets field value

type HubDbTableRowV3Request

type HubDbTableRowV3Request struct {
	// Specifies the value for `hs_path` column, which will be used as slug in the dynamic pages
	Path *string `json:"path,omitempty"`
	// Specifies the value for `hs_name` column, which will be used as title in the dynamic pages
	Name *string `json:"name,omitempty"`
	// Specifies the value for the column child table id
	ChildTableId *int32 `json:"childTableId,omitempty"`
	// List of key value pairs with the column name and column value
	Values map[string]map[string]interface{} `json:"values"`
}

HubDbTableRowV3Request struct for HubDbTableRowV3Request

func NewHubDbTableRowV3Request

func NewHubDbTableRowV3Request(values map[string]map[string]interface{}) *HubDbTableRowV3Request

NewHubDbTableRowV3Request instantiates a new HubDbTableRowV3Request object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHubDbTableRowV3RequestWithDefaults

func NewHubDbTableRowV3RequestWithDefaults() *HubDbTableRowV3Request

NewHubDbTableRowV3RequestWithDefaults instantiates a new HubDbTableRowV3Request object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HubDbTableRowV3Request) GetChildTableId

func (o *HubDbTableRowV3Request) GetChildTableId() int32

GetChildTableId returns the ChildTableId field value if set, zero value otherwise.

func (*HubDbTableRowV3Request) GetChildTableIdOk

func (o *HubDbTableRowV3Request) GetChildTableIdOk() (*int32, bool)

GetChildTableIdOk returns a tuple with the ChildTableId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3Request) GetName

func (o *HubDbTableRowV3Request) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*HubDbTableRowV3Request) GetNameOk

func (o *HubDbTableRowV3Request) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3Request) GetPath

func (o *HubDbTableRowV3Request) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*HubDbTableRowV3Request) GetPathOk

func (o *HubDbTableRowV3Request) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableRowV3Request) GetValues

func (o *HubDbTableRowV3Request) GetValues() map[string]map[string]interface{}

GetValues returns the Values field value

func (*HubDbTableRowV3Request) GetValuesOk

func (o *HubDbTableRowV3Request) GetValuesOk() (*map[string]map[string]interface{}, bool)

GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.

func (*HubDbTableRowV3Request) HasChildTableId

func (o *HubDbTableRowV3Request) HasChildTableId() bool

HasChildTableId returns a boolean if a field has been set.

func (*HubDbTableRowV3Request) HasName

func (o *HubDbTableRowV3Request) HasName() bool

HasName returns a boolean if a field has been set.

func (*HubDbTableRowV3Request) HasPath

func (o *HubDbTableRowV3Request) HasPath() bool

HasPath returns a boolean if a field has been set.

func (HubDbTableRowV3Request) MarshalJSON

func (o HubDbTableRowV3Request) MarshalJSON() ([]byte, error)

func (*HubDbTableRowV3Request) SetChildTableId

func (o *HubDbTableRowV3Request) SetChildTableId(v int32)

SetChildTableId gets a reference to the given int32 and assigns it to the ChildTableId field.

func (*HubDbTableRowV3Request) SetName

func (o *HubDbTableRowV3Request) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*HubDbTableRowV3Request) SetPath

func (o *HubDbTableRowV3Request) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*HubDbTableRowV3Request) SetValues

func (o *HubDbTableRowV3Request) SetValues(v map[string]map[string]interface{})

SetValues sets field value

type HubDbTableV3

type HubDbTableV3 struct {
	// Id of the table
	Id *string `json:"id,omitempty"`
	// Name of the table
	Name string `json:"name"`
	// Label of the table
	Label string `json:"label"`
	// List of columns in the table
	Columns   []Column `json:"columns,omitempty"`
	Published *bool    `json:"published,omitempty"`
	// Number of columns including deleted
	ColumnCount *int32 `json:"columnCount,omitempty"`
	// Number of rows in the table
	RowCount  *int32      `json:"rowCount,omitempty"`
	CreatedBy *SimpleUser `json:"createdBy,omitempty"`
	UpdatedBy *SimpleUser `json:"updatedBy,omitempty"`
	// Timestamp at which the table is published recently
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// Specifies the key value pairs of the metadata fields with the associated column ids
	DynamicMetaTags *map[string]int32 `json:"dynamicMetaTags,omitempty"`
	// Timestamp at which the table is created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Specifies whether table is archived or not
	Archived *bool `json:"archived,omitempty"`
	// Specifies whether the table can be read by public without authorization
	AllowPublicApiAccess *bool `json:"allowPublicApiAccess,omitempty"`
	// Specifies whether the table can be used for creation of dynamic pages
	UseForPages *bool `json:"useForPages,omitempty"`
	// Specifies creation of multi-level dynamic pages using child tables
	EnableChildTablePages *bool `json:"enableChildTablePages,omitempty"`
	// Specifies whether child tables can be created
	AllowChildTables *bool `json:"allowChildTables,omitempty"`
	// Timestamp at which the table is updated recently
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

HubDbTableV3 Model for HubDB table

func NewHubDbTableV3

func NewHubDbTableV3(name string, label string) *HubDbTableV3

NewHubDbTableV3 instantiates a new HubDbTableV3 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHubDbTableV3WithDefaults

func NewHubDbTableV3WithDefaults() *HubDbTableV3

NewHubDbTableV3WithDefaults instantiates a new HubDbTableV3 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HubDbTableV3) GetAllowChildTables

func (o *HubDbTableV3) GetAllowChildTables() bool

GetAllowChildTables returns the AllowChildTables field value if set, zero value otherwise.

func (*HubDbTableV3) GetAllowChildTablesOk

func (o *HubDbTableV3) GetAllowChildTablesOk() (*bool, bool)

GetAllowChildTablesOk returns a tuple with the AllowChildTables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetAllowPublicApiAccess

func (o *HubDbTableV3) GetAllowPublicApiAccess() bool

GetAllowPublicApiAccess returns the AllowPublicApiAccess field value if set, zero value otherwise.

func (*HubDbTableV3) GetAllowPublicApiAccessOk

func (o *HubDbTableV3) GetAllowPublicApiAccessOk() (*bool, bool)

GetAllowPublicApiAccessOk returns a tuple with the AllowPublicApiAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetArchived

func (o *HubDbTableV3) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*HubDbTableV3) GetArchivedOk

func (o *HubDbTableV3) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetColumnCount

func (o *HubDbTableV3) GetColumnCount() int32

GetColumnCount returns the ColumnCount field value if set, zero value otherwise.

func (*HubDbTableV3) GetColumnCountOk

func (o *HubDbTableV3) GetColumnCountOk() (*int32, bool)

GetColumnCountOk returns a tuple with the ColumnCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetColumns

func (o *HubDbTableV3) GetColumns() []Column

GetColumns returns the Columns field value if set, zero value otherwise.

func (*HubDbTableV3) GetColumnsOk

func (o *HubDbTableV3) GetColumnsOk() ([]Column, bool)

GetColumnsOk returns a tuple with the Columns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetCreatedAt

func (o *HubDbTableV3) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*HubDbTableV3) GetCreatedAtOk

func (o *HubDbTableV3) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetCreatedBy

func (o *HubDbTableV3) GetCreatedBy() SimpleUser

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*HubDbTableV3) GetCreatedByOk

func (o *HubDbTableV3) GetCreatedByOk() (*SimpleUser, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetDynamicMetaTags

func (o *HubDbTableV3) GetDynamicMetaTags() map[string]int32

GetDynamicMetaTags returns the DynamicMetaTags field value if set, zero value otherwise.

func (*HubDbTableV3) GetDynamicMetaTagsOk

func (o *HubDbTableV3) GetDynamicMetaTagsOk() (*map[string]int32, bool)

GetDynamicMetaTagsOk returns a tuple with the DynamicMetaTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetEnableChildTablePages

func (o *HubDbTableV3) GetEnableChildTablePages() bool

GetEnableChildTablePages returns the EnableChildTablePages field value if set, zero value otherwise.

func (*HubDbTableV3) GetEnableChildTablePagesOk

func (o *HubDbTableV3) GetEnableChildTablePagesOk() (*bool, bool)

GetEnableChildTablePagesOk returns a tuple with the EnableChildTablePages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetId

func (o *HubDbTableV3) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*HubDbTableV3) GetIdOk

func (o *HubDbTableV3) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetLabel

func (o *HubDbTableV3) GetLabel() string

GetLabel returns the Label field value

func (*HubDbTableV3) GetLabelOk

func (o *HubDbTableV3) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*HubDbTableV3) GetName

func (o *HubDbTableV3) GetName() string

GetName returns the Name field value

func (*HubDbTableV3) GetNameOk

func (o *HubDbTableV3) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*HubDbTableV3) GetPublished

func (o *HubDbTableV3) GetPublished() bool

GetPublished returns the Published field value if set, zero value otherwise.

func (*HubDbTableV3) GetPublishedAt

func (o *HubDbTableV3) GetPublishedAt() time.Time

GetPublishedAt returns the PublishedAt field value if set, zero value otherwise.

func (*HubDbTableV3) GetPublishedAtOk

func (o *HubDbTableV3) GetPublishedAtOk() (*time.Time, bool)

GetPublishedAtOk returns a tuple with the PublishedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetPublishedOk

func (o *HubDbTableV3) GetPublishedOk() (*bool, bool)

GetPublishedOk returns a tuple with the Published field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetRowCount

func (o *HubDbTableV3) GetRowCount() int32

GetRowCount returns the RowCount field value if set, zero value otherwise.

func (*HubDbTableV3) GetRowCountOk

func (o *HubDbTableV3) GetRowCountOk() (*int32, bool)

GetRowCountOk returns a tuple with the RowCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetUpdatedAt

func (o *HubDbTableV3) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*HubDbTableV3) GetUpdatedAtOk

func (o *HubDbTableV3) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetUpdatedBy

func (o *HubDbTableV3) GetUpdatedBy() SimpleUser

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*HubDbTableV3) GetUpdatedByOk

func (o *HubDbTableV3) GetUpdatedByOk() (*SimpleUser, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) GetUseForPages

func (o *HubDbTableV3) GetUseForPages() bool

GetUseForPages returns the UseForPages field value if set, zero value otherwise.

func (*HubDbTableV3) GetUseForPagesOk

func (o *HubDbTableV3) GetUseForPagesOk() (*bool, bool)

GetUseForPagesOk returns a tuple with the UseForPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3) HasAllowChildTables

func (o *HubDbTableV3) HasAllowChildTables() bool

HasAllowChildTables returns a boolean if a field has been set.

func (*HubDbTableV3) HasAllowPublicApiAccess

func (o *HubDbTableV3) HasAllowPublicApiAccess() bool

HasAllowPublicApiAccess returns a boolean if a field has been set.

func (*HubDbTableV3) HasArchived

func (o *HubDbTableV3) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*HubDbTableV3) HasColumnCount

func (o *HubDbTableV3) HasColumnCount() bool

HasColumnCount returns a boolean if a field has been set.

func (*HubDbTableV3) HasColumns

func (o *HubDbTableV3) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*HubDbTableV3) HasCreatedAt

func (o *HubDbTableV3) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*HubDbTableV3) HasCreatedBy

func (o *HubDbTableV3) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*HubDbTableV3) HasDynamicMetaTags

func (o *HubDbTableV3) HasDynamicMetaTags() bool

HasDynamicMetaTags returns a boolean if a field has been set.

func (*HubDbTableV3) HasEnableChildTablePages

func (o *HubDbTableV3) HasEnableChildTablePages() bool

HasEnableChildTablePages returns a boolean if a field has been set.

func (*HubDbTableV3) HasId

func (o *HubDbTableV3) HasId() bool

HasId returns a boolean if a field has been set.

func (*HubDbTableV3) HasPublished

func (o *HubDbTableV3) HasPublished() bool

HasPublished returns a boolean if a field has been set.

func (*HubDbTableV3) HasPublishedAt

func (o *HubDbTableV3) HasPublishedAt() bool

HasPublishedAt returns a boolean if a field has been set.

func (*HubDbTableV3) HasRowCount

func (o *HubDbTableV3) HasRowCount() bool

HasRowCount returns a boolean if a field has been set.

func (*HubDbTableV3) HasUpdatedAt

func (o *HubDbTableV3) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*HubDbTableV3) HasUpdatedBy

func (o *HubDbTableV3) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (*HubDbTableV3) HasUseForPages

func (o *HubDbTableV3) HasUseForPages() bool

HasUseForPages returns a boolean if a field has been set.

func (HubDbTableV3) MarshalJSON

func (o HubDbTableV3) MarshalJSON() ([]byte, error)

func (*HubDbTableV3) SetAllowChildTables

func (o *HubDbTableV3) SetAllowChildTables(v bool)

SetAllowChildTables gets a reference to the given bool and assigns it to the AllowChildTables field.

func (*HubDbTableV3) SetAllowPublicApiAccess

func (o *HubDbTableV3) SetAllowPublicApiAccess(v bool)

SetAllowPublicApiAccess gets a reference to the given bool and assigns it to the AllowPublicApiAccess field.

func (*HubDbTableV3) SetArchived

func (o *HubDbTableV3) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*HubDbTableV3) SetColumnCount

func (o *HubDbTableV3) SetColumnCount(v int32)

SetColumnCount gets a reference to the given int32 and assigns it to the ColumnCount field.

func (*HubDbTableV3) SetColumns

func (o *HubDbTableV3) SetColumns(v []Column)

SetColumns gets a reference to the given []Column and assigns it to the Columns field.

func (*HubDbTableV3) SetCreatedAt

func (o *HubDbTableV3) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*HubDbTableV3) SetCreatedBy

func (o *HubDbTableV3) SetCreatedBy(v SimpleUser)

SetCreatedBy gets a reference to the given SimpleUser and assigns it to the CreatedBy field.

func (*HubDbTableV3) SetDynamicMetaTags

func (o *HubDbTableV3) SetDynamicMetaTags(v map[string]int32)

SetDynamicMetaTags gets a reference to the given map[string]int32 and assigns it to the DynamicMetaTags field.

func (*HubDbTableV3) SetEnableChildTablePages

func (o *HubDbTableV3) SetEnableChildTablePages(v bool)

SetEnableChildTablePages gets a reference to the given bool and assigns it to the EnableChildTablePages field.

func (*HubDbTableV3) SetId

func (o *HubDbTableV3) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*HubDbTableV3) SetLabel

func (o *HubDbTableV3) SetLabel(v string)

SetLabel sets field value

func (*HubDbTableV3) SetName

func (o *HubDbTableV3) SetName(v string)

SetName sets field value

func (*HubDbTableV3) SetPublished

func (o *HubDbTableV3) SetPublished(v bool)

SetPublished gets a reference to the given bool and assigns it to the Published field.

func (*HubDbTableV3) SetPublishedAt

func (o *HubDbTableV3) SetPublishedAt(v time.Time)

SetPublishedAt gets a reference to the given time.Time and assigns it to the PublishedAt field.

func (*HubDbTableV3) SetRowCount

func (o *HubDbTableV3) SetRowCount(v int32)

SetRowCount gets a reference to the given int32 and assigns it to the RowCount field.

func (*HubDbTableV3) SetUpdatedAt

func (o *HubDbTableV3) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*HubDbTableV3) SetUpdatedBy

func (o *HubDbTableV3) SetUpdatedBy(v SimpleUser)

SetUpdatedBy gets a reference to the given SimpleUser and assigns it to the UpdatedBy field.

func (*HubDbTableV3) SetUseForPages

func (o *HubDbTableV3) SetUseForPages(v bool)

SetUseForPages gets a reference to the given bool and assigns it to the UseForPages field.

type HubDbTableV3Request

type HubDbTableV3Request struct {
	// Name of the table
	Name string `json:"name"`
	// Label of the table
	Label string `json:"label"`
	// Specifies whether the table can be used for creation of dynamic pages
	UseForPages *bool `json:"useForPages,omitempty"`
	// Specifies whether the table can be read by public without authorization
	AllowPublicApiAccess *bool `json:"allowPublicApiAccess,omitempty"`
	// Specifies whether child tables can be created
	AllowChildTables *bool `json:"allowChildTables,omitempty"`
	// Specifies creation of multi-level dynamic pages using child tables
	EnableChildTablePages *bool `json:"enableChildTablePages,omitempty"`
	// List of columns in the table
	Columns []ColumnRequest `json:"columns,omitempty"`
	// Specifies the key value pairs of the metadata fields with the associated column ids
	DynamicMetaTags *map[string]int32 `json:"dynamicMetaTags,omitempty"`
}

HubDbTableV3Request struct for HubDbTableV3Request

func NewHubDbTableV3Request

func NewHubDbTableV3Request(name string, label string) *HubDbTableV3Request

NewHubDbTableV3Request instantiates a new HubDbTableV3Request object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHubDbTableV3RequestWithDefaults

func NewHubDbTableV3RequestWithDefaults() *HubDbTableV3Request

NewHubDbTableV3RequestWithDefaults instantiates a new HubDbTableV3Request object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HubDbTableV3Request) GetAllowChildTables

func (o *HubDbTableV3Request) GetAllowChildTables() bool

GetAllowChildTables returns the AllowChildTables field value if set, zero value otherwise.

func (*HubDbTableV3Request) GetAllowChildTablesOk

func (o *HubDbTableV3Request) GetAllowChildTablesOk() (*bool, bool)

GetAllowChildTablesOk returns a tuple with the AllowChildTables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3Request) GetAllowPublicApiAccess

func (o *HubDbTableV3Request) GetAllowPublicApiAccess() bool

GetAllowPublicApiAccess returns the AllowPublicApiAccess field value if set, zero value otherwise.

func (*HubDbTableV3Request) GetAllowPublicApiAccessOk

func (o *HubDbTableV3Request) GetAllowPublicApiAccessOk() (*bool, bool)

GetAllowPublicApiAccessOk returns a tuple with the AllowPublicApiAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3Request) GetColumns

func (o *HubDbTableV3Request) GetColumns() []ColumnRequest

GetColumns returns the Columns field value if set, zero value otherwise.

func (*HubDbTableV3Request) GetColumnsOk

func (o *HubDbTableV3Request) GetColumnsOk() ([]ColumnRequest, bool)

GetColumnsOk returns a tuple with the Columns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3Request) GetDynamicMetaTags

func (o *HubDbTableV3Request) GetDynamicMetaTags() map[string]int32

GetDynamicMetaTags returns the DynamicMetaTags field value if set, zero value otherwise.

func (*HubDbTableV3Request) GetDynamicMetaTagsOk

func (o *HubDbTableV3Request) GetDynamicMetaTagsOk() (*map[string]int32, bool)

GetDynamicMetaTagsOk returns a tuple with the DynamicMetaTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3Request) GetEnableChildTablePages

func (o *HubDbTableV3Request) GetEnableChildTablePages() bool

GetEnableChildTablePages returns the EnableChildTablePages field value if set, zero value otherwise.

func (*HubDbTableV3Request) GetEnableChildTablePagesOk

func (o *HubDbTableV3Request) GetEnableChildTablePagesOk() (*bool, bool)

GetEnableChildTablePagesOk returns a tuple with the EnableChildTablePages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3Request) GetLabel

func (o *HubDbTableV3Request) GetLabel() string

GetLabel returns the Label field value

func (*HubDbTableV3Request) GetLabelOk

func (o *HubDbTableV3Request) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*HubDbTableV3Request) GetName

func (o *HubDbTableV3Request) GetName() string

GetName returns the Name field value

func (*HubDbTableV3Request) GetNameOk

func (o *HubDbTableV3Request) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*HubDbTableV3Request) GetUseForPages

func (o *HubDbTableV3Request) GetUseForPages() bool

GetUseForPages returns the UseForPages field value if set, zero value otherwise.

func (*HubDbTableV3Request) GetUseForPagesOk

func (o *HubDbTableV3Request) GetUseForPagesOk() (*bool, bool)

GetUseForPagesOk returns a tuple with the UseForPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HubDbTableV3Request) HasAllowChildTables

func (o *HubDbTableV3Request) HasAllowChildTables() bool

HasAllowChildTables returns a boolean if a field has been set.

func (*HubDbTableV3Request) HasAllowPublicApiAccess

func (o *HubDbTableV3Request) HasAllowPublicApiAccess() bool

HasAllowPublicApiAccess returns a boolean if a field has been set.

func (*HubDbTableV3Request) HasColumns

func (o *HubDbTableV3Request) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*HubDbTableV3Request) HasDynamicMetaTags

func (o *HubDbTableV3Request) HasDynamicMetaTags() bool

HasDynamicMetaTags returns a boolean if a field has been set.

func (*HubDbTableV3Request) HasEnableChildTablePages

func (o *HubDbTableV3Request) HasEnableChildTablePages() bool

HasEnableChildTablePages returns a boolean if a field has been set.

func (*HubDbTableV3Request) HasUseForPages

func (o *HubDbTableV3Request) HasUseForPages() bool

HasUseForPages returns a boolean if a field has been set.

func (HubDbTableV3Request) MarshalJSON

func (o HubDbTableV3Request) MarshalJSON() ([]byte, error)

func (*HubDbTableV3Request) SetAllowChildTables

func (o *HubDbTableV3Request) SetAllowChildTables(v bool)

SetAllowChildTables gets a reference to the given bool and assigns it to the AllowChildTables field.

func (*HubDbTableV3Request) SetAllowPublicApiAccess

func (o *HubDbTableV3Request) SetAllowPublicApiAccess(v bool)

SetAllowPublicApiAccess gets a reference to the given bool and assigns it to the AllowPublicApiAccess field.

func (*HubDbTableV3Request) SetColumns

func (o *HubDbTableV3Request) SetColumns(v []ColumnRequest)

SetColumns gets a reference to the given []ColumnRequest and assigns it to the Columns field.

func (*HubDbTableV3Request) SetDynamicMetaTags

func (o *HubDbTableV3Request) SetDynamicMetaTags(v map[string]int32)

SetDynamicMetaTags gets a reference to the given map[string]int32 and assigns it to the DynamicMetaTags field.

func (*HubDbTableV3Request) SetEnableChildTablePages

func (o *HubDbTableV3Request) SetEnableChildTablePages(v bool)

SetEnableChildTablePages gets a reference to the given bool and assigns it to the EnableChildTablePages field.

func (*HubDbTableV3Request) SetLabel

func (o *HubDbTableV3Request) SetLabel(v string)

SetLabel sets field value

func (*HubDbTableV3Request) SetName

func (o *HubDbTableV3Request) SetName(v string)

SetName sets field value

func (*HubDbTableV3Request) SetUseForPages

func (o *HubDbTableV3Request) SetUseForPages(v bool)

SetUseForPages gets a reference to the given bool and assigns it to the UseForPages field.

type ImportResult

type ImportResult struct {
	// List of errors during import
	Errors []Error `json:"errors"`
	// Specifies number of rows imported
	RowsImported int32 `json:"rowsImported"`
	// Specifies number of duplicate rows
	DuplicateRows int32 `json:"duplicateRows"`
	// Specifies whether row limit exceeded during import
	RowLimitExceeded bool `json:"rowLimitExceeded"`
}

ImportResult The result of import operation

func NewImportResult

func NewImportResult(errors []Error, rowsImported int32, duplicateRows int32, rowLimitExceeded bool) *ImportResult

NewImportResult instantiates a new ImportResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewImportResultWithDefaults

func NewImportResultWithDefaults() *ImportResult

NewImportResultWithDefaults instantiates a new ImportResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ImportResult) GetDuplicateRows

func (o *ImportResult) GetDuplicateRows() int32

GetDuplicateRows returns the DuplicateRows field value

func (*ImportResult) GetDuplicateRowsOk

func (o *ImportResult) GetDuplicateRowsOk() (*int32, bool)

GetDuplicateRowsOk returns a tuple with the DuplicateRows field value and a boolean to check if the value has been set.

func (*ImportResult) GetErrors

func (o *ImportResult) GetErrors() []Error

GetErrors returns the Errors field value

func (*ImportResult) GetErrorsOk

func (o *ImportResult) GetErrorsOk() ([]Error, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.

func (*ImportResult) GetRowLimitExceeded

func (o *ImportResult) GetRowLimitExceeded() bool

GetRowLimitExceeded returns the RowLimitExceeded field value

func (*ImportResult) GetRowLimitExceededOk

func (o *ImportResult) GetRowLimitExceededOk() (*bool, bool)

GetRowLimitExceededOk returns a tuple with the RowLimitExceeded field value and a boolean to check if the value has been set.

func (*ImportResult) GetRowsImported

func (o *ImportResult) GetRowsImported() int32

GetRowsImported returns the RowsImported field value

func (*ImportResult) GetRowsImportedOk

func (o *ImportResult) GetRowsImportedOk() (*int32, bool)

GetRowsImportedOk returns a tuple with the RowsImported field value and a boolean to check if the value has been set.

func (ImportResult) MarshalJSON

func (o ImportResult) MarshalJSON() ([]byte, error)

func (*ImportResult) SetDuplicateRows

func (o *ImportResult) SetDuplicateRows(v int32)

SetDuplicateRows sets field value

func (*ImportResult) SetErrors

func (o *ImportResult) SetErrors(v []Error)

SetErrors sets field value

func (*ImportResult) SetRowLimitExceeded

func (o *ImportResult) SetRowLimitExceeded(v bool)

SetRowLimitExceeded sets field value

func (*ImportResult) SetRowsImported

func (o *ImportResult) SetRowsImported(v int32)

SetRowsImported sets field value

type NextPage

type NextPage struct {
	After string  `json:"after"`
	Link  *string `json:"link,omitempty"`
}

NextPage struct for NextPage

func NewNextPage

func NewNextPage(after string) *NextPage

NewNextPage instantiates a new NextPage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNextPageWithDefaults

func NewNextPageWithDefaults() *NextPage

NewNextPageWithDefaults instantiates a new NextPage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NextPage) GetAfter

func (o *NextPage) GetAfter() string

GetAfter returns the After field value

func (*NextPage) GetAfterOk

func (o *NextPage) GetAfterOk() (*string, bool)

GetAfterOk returns a tuple with the After field value and a boolean to check if the value has been set.

func (o *NextPage) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*NextPage) GetLinkOk

func (o *NextPage) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *NextPage) HasLink() bool

HasLink returns a boolean if a field has been set.

func (NextPage) MarshalJSON

func (o NextPage) MarshalJSON() ([]byte, error)

func (*NextPage) SetAfter

func (o *NextPage) SetAfter(v string)

SetAfter sets field value

func (o *NextPage) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

type NullableBatchInputHubDbTableRowV3Request

type NullableBatchInputHubDbTableRowV3Request struct {
	// contains filtered or unexported fields
}

func (NullableBatchInputHubDbTableRowV3Request) Get

func (NullableBatchInputHubDbTableRowV3Request) IsSet

func (NullableBatchInputHubDbTableRowV3Request) MarshalJSON

func (*NullableBatchInputHubDbTableRowV3Request) Set

func (*NullableBatchInputHubDbTableRowV3Request) UnmarshalJSON

func (v *NullableBatchInputHubDbTableRowV3Request) UnmarshalJSON(src []byte) error

func (*NullableBatchInputHubDbTableRowV3Request) Unset

type NullableBatchInputJsonNode

type NullableBatchInputJsonNode struct {
	// contains filtered or unexported fields
}

func NewNullableBatchInputJsonNode

func NewNullableBatchInputJsonNode(val *BatchInputJsonNode) *NullableBatchInputJsonNode

func (NullableBatchInputJsonNode) Get

func (NullableBatchInputJsonNode) IsSet

func (v NullableBatchInputJsonNode) IsSet() bool

func (NullableBatchInputJsonNode) MarshalJSON

func (v NullableBatchInputJsonNode) MarshalJSON() ([]byte, error)

func (*NullableBatchInputJsonNode) Set

func (*NullableBatchInputJsonNode) UnmarshalJSON

func (v *NullableBatchInputJsonNode) UnmarshalJSON(src []byte) error

func (*NullableBatchInputJsonNode) Unset

func (v *NullableBatchInputJsonNode) Unset()

type NullableBatchInputString

type NullableBatchInputString struct {
	// contains filtered or unexported fields
}

func NewNullableBatchInputString

func NewNullableBatchInputString(val *BatchInputString) *NullableBatchInputString

func (NullableBatchInputString) Get

func (NullableBatchInputString) IsSet

func (v NullableBatchInputString) IsSet() bool

func (NullableBatchInputString) MarshalJSON

func (v NullableBatchInputString) MarshalJSON() ([]byte, error)

func (*NullableBatchInputString) Set

func (*NullableBatchInputString) UnmarshalJSON

func (v *NullableBatchInputString) UnmarshalJSON(src []byte) error

func (*NullableBatchInputString) Unset

func (v *NullableBatchInputString) Unset()

type NullableBatchResponseHubDbTableRowV3

type NullableBatchResponseHubDbTableRowV3 struct {
	// contains filtered or unexported fields
}

func (NullableBatchResponseHubDbTableRowV3) Get

func (NullableBatchResponseHubDbTableRowV3) IsSet

func (NullableBatchResponseHubDbTableRowV3) MarshalJSON

func (v NullableBatchResponseHubDbTableRowV3) MarshalJSON() ([]byte, error)

func (*NullableBatchResponseHubDbTableRowV3) Set

func (*NullableBatchResponseHubDbTableRowV3) UnmarshalJSON

func (v *NullableBatchResponseHubDbTableRowV3) UnmarshalJSON(src []byte) error

func (*NullableBatchResponseHubDbTableRowV3) Unset

type NullableBatchResponseHubDbTableRowV3WithErrors

type NullableBatchResponseHubDbTableRowV3WithErrors struct {
	// contains filtered or unexported fields
}

func (NullableBatchResponseHubDbTableRowV3WithErrors) Get

func (NullableBatchResponseHubDbTableRowV3WithErrors) IsSet

func (NullableBatchResponseHubDbTableRowV3WithErrors) MarshalJSON

func (*NullableBatchResponseHubDbTableRowV3WithErrors) Set

func (*NullableBatchResponseHubDbTableRowV3WithErrors) UnmarshalJSON

func (*NullableBatchResponseHubDbTableRowV3WithErrors) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging

type NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging struct {
	// contains filtered or unexported fields
}

func (NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging) Get

func (NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging) IsSet

func (NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging) MarshalJSON

func (*NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging) Set

func (*NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseWithTotalHubDbTableRowV3ForwardPaging) Unset

type NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging

type NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging struct {
	// contains filtered or unexported fields
}

func (NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging) Get

func (NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging) IsSet

func (NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging) MarshalJSON

func (*NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging) Set

func (*NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseWithTotalHubDbTableV3ForwardPaging) Unset

type NullableColumn

type NullableColumn struct {
	// contains filtered or unexported fields
}

func NewNullableColumn

func NewNullableColumn(val *Column) *NullableColumn

func (NullableColumn) Get

func (v NullableColumn) Get() *Column

func (NullableColumn) IsSet

func (v NullableColumn) IsSet() bool

func (NullableColumn) MarshalJSON

func (v NullableColumn) MarshalJSON() ([]byte, error)

func (*NullableColumn) Set

func (v *NullableColumn) Set(val *Column)

func (*NullableColumn) UnmarshalJSON

func (v *NullableColumn) UnmarshalJSON(src []byte) error

func (*NullableColumn) Unset

func (v *NullableColumn) Unset()

type NullableColumnRequest

type NullableColumnRequest struct {
	// contains filtered or unexported fields
}

func NewNullableColumnRequest

func NewNullableColumnRequest(val *ColumnRequest) *NullableColumnRequest

func (NullableColumnRequest) Get

func (NullableColumnRequest) IsSet

func (v NullableColumnRequest) IsSet() bool

func (NullableColumnRequest) MarshalJSON

func (v NullableColumnRequest) MarshalJSON() ([]byte, error)

func (*NullableColumnRequest) Set

func (v *NullableColumnRequest) Set(val *ColumnRequest)

func (*NullableColumnRequest) UnmarshalJSON

func (v *NullableColumnRequest) UnmarshalJSON(src []byte) error

func (*NullableColumnRequest) Unset

func (v *NullableColumnRequest) Unset()

type NullableError

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorDetail

type NullableErrorDetail struct {
	// contains filtered or unexported fields
}

func NewNullableErrorDetail

func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail

func (NullableErrorDetail) Get

func (NullableErrorDetail) IsSet

func (v NullableErrorDetail) IsSet() bool

func (NullableErrorDetail) MarshalJSON

func (v NullableErrorDetail) MarshalJSON() ([]byte, error)

func (*NullableErrorDetail) Set

func (v *NullableErrorDetail) Set(val *ErrorDetail)

func (*NullableErrorDetail) UnmarshalJSON

func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error

func (*NullableErrorDetail) Unset

func (v *NullableErrorDetail) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableForeignId

type NullableForeignId struct {
	// contains filtered or unexported fields
}

func NewNullableForeignId

func NewNullableForeignId(val *ForeignId) *NullableForeignId

func (NullableForeignId) Get

func (v NullableForeignId) Get() *ForeignId

func (NullableForeignId) IsSet

func (v NullableForeignId) IsSet() bool

func (NullableForeignId) MarshalJSON

func (v NullableForeignId) MarshalJSON() ([]byte, error)

func (*NullableForeignId) Set

func (v *NullableForeignId) Set(val *ForeignId)

func (*NullableForeignId) UnmarshalJSON

func (v *NullableForeignId) UnmarshalJSON(src []byte) error

func (*NullableForeignId) Unset

func (v *NullableForeignId) Unset()

type NullableForwardPaging

type NullableForwardPaging struct {
	// contains filtered or unexported fields
}

func NewNullableForwardPaging

func NewNullableForwardPaging(val *ForwardPaging) *NullableForwardPaging

func (NullableForwardPaging) Get

func (NullableForwardPaging) IsSet

func (v NullableForwardPaging) IsSet() bool

func (NullableForwardPaging) MarshalJSON

func (v NullableForwardPaging) MarshalJSON() ([]byte, error)

func (*NullableForwardPaging) Set

func (v *NullableForwardPaging) Set(val *ForwardPaging)

func (*NullableForwardPaging) UnmarshalJSON

func (v *NullableForwardPaging) UnmarshalJSON(src []byte) error

func (*NullableForwardPaging) Unset

func (v *NullableForwardPaging) Unset()

type NullableHubDbTableCloneRequest

type NullableHubDbTableCloneRequest struct {
	// contains filtered or unexported fields
}

func (NullableHubDbTableCloneRequest) Get

func (NullableHubDbTableCloneRequest) IsSet

func (NullableHubDbTableCloneRequest) MarshalJSON

func (v NullableHubDbTableCloneRequest) MarshalJSON() ([]byte, error)

func (*NullableHubDbTableCloneRequest) Set

func (*NullableHubDbTableCloneRequest) UnmarshalJSON

func (v *NullableHubDbTableCloneRequest) UnmarshalJSON(src []byte) error

func (*NullableHubDbTableCloneRequest) Unset

func (v *NullableHubDbTableCloneRequest) Unset()

type NullableHubDbTableRowV3

type NullableHubDbTableRowV3 struct {
	// contains filtered or unexported fields
}

func NewNullableHubDbTableRowV3

func NewNullableHubDbTableRowV3(val *HubDbTableRowV3) *NullableHubDbTableRowV3

func (NullableHubDbTableRowV3) Get

func (NullableHubDbTableRowV3) IsSet

func (v NullableHubDbTableRowV3) IsSet() bool

func (NullableHubDbTableRowV3) MarshalJSON

func (v NullableHubDbTableRowV3) MarshalJSON() ([]byte, error)

func (*NullableHubDbTableRowV3) Set

func (*NullableHubDbTableRowV3) UnmarshalJSON

func (v *NullableHubDbTableRowV3) UnmarshalJSON(src []byte) error

func (*NullableHubDbTableRowV3) Unset

func (v *NullableHubDbTableRowV3) Unset()

type NullableHubDbTableRowV3Request

type NullableHubDbTableRowV3Request struct {
	// contains filtered or unexported fields
}

func (NullableHubDbTableRowV3Request) Get

func (NullableHubDbTableRowV3Request) IsSet

func (NullableHubDbTableRowV3Request) MarshalJSON

func (v NullableHubDbTableRowV3Request) MarshalJSON() ([]byte, error)

func (*NullableHubDbTableRowV3Request) Set

func (*NullableHubDbTableRowV3Request) UnmarshalJSON

func (v *NullableHubDbTableRowV3Request) UnmarshalJSON(src []byte) error

func (*NullableHubDbTableRowV3Request) Unset

func (v *NullableHubDbTableRowV3Request) Unset()

type NullableHubDbTableV3

type NullableHubDbTableV3 struct {
	// contains filtered or unexported fields
}

func NewNullableHubDbTableV3

func NewNullableHubDbTableV3(val *HubDbTableV3) *NullableHubDbTableV3

func (NullableHubDbTableV3) Get

func (NullableHubDbTableV3) IsSet

func (v NullableHubDbTableV3) IsSet() bool

func (NullableHubDbTableV3) MarshalJSON

func (v NullableHubDbTableV3) MarshalJSON() ([]byte, error)

func (*NullableHubDbTableV3) Set

func (v *NullableHubDbTableV3) Set(val *HubDbTableV3)

func (*NullableHubDbTableV3) UnmarshalJSON

func (v *NullableHubDbTableV3) UnmarshalJSON(src []byte) error

func (*NullableHubDbTableV3) Unset

func (v *NullableHubDbTableV3) Unset()

type NullableHubDbTableV3Request

type NullableHubDbTableV3Request struct {
	// contains filtered or unexported fields
}

func NewNullableHubDbTableV3Request

func NewNullableHubDbTableV3Request(val *HubDbTableV3Request) *NullableHubDbTableV3Request

func (NullableHubDbTableV3Request) Get

func (NullableHubDbTableV3Request) IsSet

func (NullableHubDbTableV3Request) MarshalJSON

func (v NullableHubDbTableV3Request) MarshalJSON() ([]byte, error)

func (*NullableHubDbTableV3Request) Set

func (*NullableHubDbTableV3Request) UnmarshalJSON

func (v *NullableHubDbTableV3Request) UnmarshalJSON(src []byte) error

func (*NullableHubDbTableV3Request) Unset

func (v *NullableHubDbTableV3Request) Unset()

type NullableImportResult

type NullableImportResult struct {
	// contains filtered or unexported fields
}

func NewNullableImportResult

func NewNullableImportResult(val *ImportResult) *NullableImportResult

func (NullableImportResult) Get

func (NullableImportResult) IsSet

func (v NullableImportResult) IsSet() bool

func (NullableImportResult) MarshalJSON

func (v NullableImportResult) MarshalJSON() ([]byte, error)

func (*NullableImportResult) Set

func (v *NullableImportResult) Set(val *ImportResult)

func (*NullableImportResult) UnmarshalJSON

func (v *NullableImportResult) UnmarshalJSON(src []byte) error

func (*NullableImportResult) Unset

func (v *NullableImportResult) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableNextPage

type NullableNextPage struct {
	// contains filtered or unexported fields
}

func NewNullableNextPage

func NewNullableNextPage(val *NextPage) *NullableNextPage

func (NullableNextPage) Get

func (v NullableNextPage) Get() *NextPage

func (NullableNextPage) IsSet

func (v NullableNextPage) IsSet() bool

func (NullableNextPage) MarshalJSON

func (v NullableNextPage) MarshalJSON() ([]byte, error)

func (*NullableNextPage) Set

func (v *NullableNextPage) Set(val *NextPage)

func (*NullableNextPage) UnmarshalJSON

func (v *NullableNextPage) UnmarshalJSON(src []byte) error

func (*NullableNextPage) Unset

func (v *NullableNextPage) Unset()

type NullableOption

type NullableOption struct {
	// contains filtered or unexported fields
}

func NewNullableOption

func NewNullableOption(val *Option) *NullableOption

func (NullableOption) Get

func (v NullableOption) Get() *Option

func (NullableOption) IsSet

func (v NullableOption) IsSet() bool

func (NullableOption) MarshalJSON

func (v NullableOption) MarshalJSON() ([]byte, error)

func (*NullableOption) Set

func (v *NullableOption) Set(val *Option)

func (*NullableOption) UnmarshalJSON

func (v *NullableOption) UnmarshalJSON(src []byte) error

func (*NullableOption) Unset

func (v *NullableOption) Unset()

type NullableSimpleUser

type NullableSimpleUser struct {
	// contains filtered or unexported fields
}

func NewNullableSimpleUser

func NewNullableSimpleUser(val *SimpleUser) *NullableSimpleUser

func (NullableSimpleUser) Get

func (v NullableSimpleUser) Get() *SimpleUser

func (NullableSimpleUser) IsSet

func (v NullableSimpleUser) IsSet() bool

func (NullableSimpleUser) MarshalJSON

func (v NullableSimpleUser) MarshalJSON() ([]byte, error)

func (*NullableSimpleUser) Set

func (v *NullableSimpleUser) Set(val *SimpleUser)

func (*NullableSimpleUser) UnmarshalJSON

func (v *NullableSimpleUser) UnmarshalJSON(src []byte) error

func (*NullableSimpleUser) Unset

func (v *NullableSimpleUser) Unset()

type NullableStandardError

type NullableStandardError struct {
	// contains filtered or unexported fields
}

func NewNullableStandardError

func NewNullableStandardError(val *StandardError) *NullableStandardError

func (NullableStandardError) Get

func (NullableStandardError) IsSet

func (v NullableStandardError) IsSet() bool

func (NullableStandardError) MarshalJSON

func (v NullableStandardError) MarshalJSON() ([]byte, error)

func (*NullableStandardError) Set

func (v *NullableStandardError) Set(val *StandardError)

func (*NullableStandardError) UnmarshalJSON

func (v *NullableStandardError) UnmarshalJSON(src []byte) error

func (*NullableStandardError) Unset

func (v *NullableStandardError) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type Option

type Option struct {
	Id    string `json:"id"`
	Name  string `json:"name"`
	Type  string `json:"type"`
	Order int32  `json:"order"`
}

Option struct for Option

func NewOption

func NewOption(id string, name string, type_ string, order int32) *Option

NewOption instantiates a new Option object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOptionWithDefaults

func NewOptionWithDefaults() *Option

NewOptionWithDefaults instantiates a new Option object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Option) GetId

func (o *Option) GetId() string

GetId returns the Id field value

func (*Option) GetIdOk

func (o *Option) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Option) GetName

func (o *Option) GetName() string

GetName returns the Name field value

func (*Option) GetNameOk

func (o *Option) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Option) GetOrder

func (o *Option) GetOrder() int32

GetOrder returns the Order field value

func (*Option) GetOrderOk

func (o *Option) GetOrderOk() (*int32, bool)

GetOrderOk returns a tuple with the Order field value and a boolean to check if the value has been set.

func (*Option) GetType

func (o *Option) GetType() string

GetType returns the Type field value

func (*Option) GetTypeOk

func (o *Option) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Option) MarshalJSON

func (o Option) MarshalJSON() ([]byte, error)

func (*Option) SetId

func (o *Option) SetId(v string)

SetId sets field value

func (*Option) SetName

func (o *Option) SetName(v string)

SetName sets field value

func (*Option) SetOrder

func (o *Option) SetOrder(v int32)

SetOrder sets field value

func (*Option) SetType

func (o *Option) SetType(v string)

SetType sets field value

type RowsApiService

type RowsApiService service

RowsApiService RowsApi service

func (*RowsApiService) CloneDraftTableRow

func (a *RowsApiService) CloneDraftTableRow(ctx context.Context, tableIdOrName string, rowId string) ApiCloneDraftTableRowRequest

CloneDraftTableRow Clone a row

Clones a single row in the `draft` version of the table.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@param rowId The ID of the row
@return ApiCloneDraftTableRowRequest

func (*RowsApiService) CloneDraftTableRowExecute

func (a *RowsApiService) CloneDraftTableRowExecute(r ApiCloneDraftTableRowRequest) (*HubDbTableRowV3, *http.Response, error)

Execute executes the request

@return HubDbTableRowV3

func (*RowsApiService) CreateTableRow

func (a *RowsApiService) CreateTableRow(ctx context.Context, tableIdOrName string) ApiCreateTableRowRequest

CreateTableRow Add a new row to a table

Add a new row to a HubDB table. New rows will be added to the `draft` version of the table. Use `publish` endpoint to push these changes to published version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the target table.
@return ApiCreateTableRowRequest

func (*RowsApiService) CreateTableRowExecute

func (a *RowsApiService) CreateTableRowExecute(r ApiCreateTableRowRequest) (*HubDbTableRowV3, *http.Response, error)

Execute executes the request

@return HubDbTableRowV3

func (*RowsApiService) GetDraftTableRowByID

func (a *RowsApiService) GetDraftTableRowByID(ctx context.Context, tableIdOrName string, rowId string) ApiGetDraftTableRowByIDRequest

GetDraftTableRowByID Get a row from the draft table

Get a single row by ID from a table's `draft` version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@param rowId The ID of the row
@return ApiGetDraftTableRowByIDRequest

func (*RowsApiService) GetDraftTableRowByIDExecute

func (a *RowsApiService) GetDraftTableRowByIDExecute(r ApiGetDraftTableRowByIDRequest) (*HubDbTableRowV3, *http.Response, error)

Execute executes the request

@return HubDbTableRowV3

func (*RowsApiService) GetTableRow

func (a *RowsApiService) GetTableRow(ctx context.Context, tableIdOrName string, rowId string) ApiGetTableRowRequest

GetTableRow Get a table row

Get a single row by ID from a table's `published` version. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@param rowId The ID of the row
@return ApiGetTableRowRequest

func (*RowsApiService) GetTableRowExecute

func (a *RowsApiService) GetTableRowExecute(r ApiGetTableRowRequest) (*HubDbTableRowV3, *http.Response, error)

Execute executes the request

@return HubDbTableRowV3

func (*RowsApiService) GetTableRows

func (a *RowsApiService) GetTableRows(ctx context.Context, tableIdOrName string) ApiGetTableRowsRequest

GetTableRows Get rows for a table

Returns a set of rows in the `published` version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column `column1` greater than 5 and in the descending order of `column1` values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to query.
@return ApiGetTableRowsRequest

func (*RowsApiService) GetTableRowsExecute

Execute executes the request

@return CollectionResponseWithTotalHubDbTableRowV3ForwardPaging

func (*RowsApiService) PurgeDraftTableRow

func (a *RowsApiService) PurgeDraftTableRow(ctx context.Context, tableIdOrName string, rowId string) ApiPurgeDraftTableRowRequest

PurgeDraftTableRow Permanently deletes a row

Permanently deletes a row from a table's `draft` version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@param rowId The ID of the row
@return ApiPurgeDraftTableRowRequest

func (*RowsApiService) PurgeDraftTableRowExecute

func (a *RowsApiService) PurgeDraftTableRowExecute(r ApiPurgeDraftTableRowRequest) (*http.Response, error)

Execute executes the request

func (*RowsApiService) ReadDraftTableRows

func (a *RowsApiService) ReadDraftTableRows(ctx context.Context, tableIdOrName string) ApiReadDraftTableRowsRequest

ReadDraftTableRows Get rows from draft table

Returns rows in the `draft` version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column `column1` greater than 5 and in the descending order of `column1` values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to query.
@return ApiReadDraftTableRowsRequest

func (*RowsApiService) ReadDraftTableRowsExecute

Execute executes the request

@return CollectionResponseWithTotalHubDbTableRowV3ForwardPaging

func (*RowsApiService) ReplaceDraftTableRow

func (a *RowsApiService) ReplaceDraftTableRow(ctx context.Context, tableIdOrName string, rowId string) ApiReplaceDraftTableRowRequest

ReplaceDraftTableRow Replaces an existing row

Replace a single row in the table's `draft` version. All the column values must be specified. If a column has a value in the target table and this request doesn't define that value, it will be deleted. See the `Create a row` endpoint for instructions on how to format the JSON row definitions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@param rowId The ID of the row
@return ApiReplaceDraftTableRowRequest

func (*RowsApiService) ReplaceDraftTableRowExecute

func (a *RowsApiService) ReplaceDraftTableRowExecute(r ApiReplaceDraftTableRowRequest) (*HubDbTableRowV3, *http.Response, error)

Execute executes the request

@return HubDbTableRowV3

func (*RowsApiService) UpdateDraftTableRow

func (a *RowsApiService) UpdateDraftTableRow(ctx context.Context, tableIdOrName string, rowId string) ApiUpdateDraftTableRowRequest

UpdateDraftTableRow Updates an existing row

Sparse updates a single row in the table's `draft` version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the `Create a row` endpoint for instructions on how to format the JSON row definitions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@param rowId The ID of the row
@return ApiUpdateDraftTableRowRequest

func (*RowsApiService) UpdateDraftTableRowExecute

func (a *RowsApiService) UpdateDraftTableRowExecute(r ApiUpdateDraftTableRowRequest) (*HubDbTableRowV3, *http.Response, error)

Execute executes the request

@return HubDbTableRowV3

type RowsBatchApiService

type RowsBatchApiService service

RowsBatchApiService RowsBatchApi service

func (*RowsBatchApiService) BatchCloneDraftTableRows

func (a *RowsBatchApiService) BatchCloneDraftTableRows(ctx context.Context, tableIdOrName string) ApiBatchCloneDraftTableRowsRequest

BatchCloneDraftTableRows Clone rows in batch

Clones rows in the `draft` version of the specified table, given a set of row ids.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@return ApiBatchCloneDraftTableRowsRequest

func (*RowsBatchApiService) BatchCloneDraftTableRowsExecute

Execute executes the request

@return BatchResponseHubDbTableRowV3

func (*RowsBatchApiService) BatchCreateDraftTableRows

func (a *RowsBatchApiService) BatchCreateDraftTableRows(ctx context.Context, tableIdOrName string) ApiBatchCreateDraftTableRowsRequest

BatchCreateDraftTableRows Create rows in batch

Creates rows in the `draft` version of the specified table, given an array of row objects. See the overview section for more details with an example.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@return ApiBatchCreateDraftTableRowsRequest

func (*RowsBatchApiService) BatchCreateDraftTableRowsExecute

Execute executes the request

@return BatchResponseHubDbTableRowV3

func (*RowsBatchApiService) BatchPurgeDraftTableRows

func (a *RowsBatchApiService) BatchPurgeDraftTableRows(ctx context.Context, tableIdOrName string) ApiBatchPurgeDraftTableRowsRequest

BatchPurgeDraftTableRows Permanently deletes rows

Permanently deletes rows from the `draft` version of the table, given a set of row ids.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@return ApiBatchPurgeDraftTableRowsRequest

func (*RowsBatchApiService) BatchPurgeDraftTableRowsExecute

func (a *RowsBatchApiService) BatchPurgeDraftTableRowsExecute(r ApiBatchPurgeDraftTableRowsRequest) (*http.Response, error)

Execute executes the request

func (*RowsBatchApiService) BatchReadDraftTableRows

func (a *RowsBatchApiService) BatchReadDraftTableRows(ctx context.Context, tableIdOrName string) ApiBatchReadDraftTableRowsRequest

BatchReadDraftTableRows Get a set of rows from draft table

Returns rows in the `draft` version of the specified table, given a set of row ids.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@return ApiBatchReadDraftTableRowsRequest

func (*RowsBatchApiService) BatchReadDraftTableRowsExecute

Execute executes the request

@return BatchResponseHubDbTableRowV3

func (*RowsBatchApiService) BatchReadTableRows

func (a *RowsBatchApiService) BatchReadTableRows(ctx context.Context, tableIdOrName string) ApiBatchReadTableRowsRequest

BatchReadTableRows Get a set of rows

Returns rows in the `published` version of the specified table, given a set of row ids. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to query.
@return ApiBatchReadTableRowsRequest

func (*RowsBatchApiService) BatchReadTableRowsExecute

Execute executes the request

@return BatchResponseHubDbTableRowV3

func (*RowsBatchApiService) BatchReplaceDraftTableRows

func (a *RowsBatchApiService) BatchReplaceDraftTableRows(ctx context.Context, tableIdOrName string) ApiBatchReplaceDraftTableRowsRequest

BatchReplaceDraftTableRows Replace rows in batch in draft table

Replaces multiple rows as a batch in the `draft` version of the table. See the endpoint `PUT /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@return ApiBatchReplaceDraftTableRowsRequest

func (*RowsBatchApiService) BatchReplaceDraftTableRowsExecute

Execute executes the request

@return BatchResponseHubDbTableRowV3

func (*RowsBatchApiService) BatchUpdateDraftTableRows

func (a *RowsBatchApiService) BatchUpdateDraftTableRows(ctx context.Context, tableIdOrName string) ApiBatchUpdateDraftTableRowsRequest

BatchUpdateDraftTableRows Update rows in batch in draft table

Updates multiple rows as a batch in the `draft` version of the table. See the endpoint `PATCH /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table
@return ApiBatchUpdateDraftTableRowsRequest

func (*RowsBatchApiService) BatchUpdateDraftTableRowsExecute

Execute executes the request

@return BatchResponseHubDbTableRowV3

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SimpleUser

type SimpleUser struct {
	Id        string `json:"id"`
	Email     string `json:"email"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
}

SimpleUser struct for SimpleUser

func NewSimpleUser

func NewSimpleUser(id string, email string, firstName string, lastName string) *SimpleUser

NewSimpleUser instantiates a new SimpleUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSimpleUserWithDefaults

func NewSimpleUserWithDefaults() *SimpleUser

NewSimpleUserWithDefaults instantiates a new SimpleUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SimpleUser) GetEmail

func (o *SimpleUser) GetEmail() string

GetEmail returns the Email field value

func (*SimpleUser) GetEmailOk

func (o *SimpleUser) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*SimpleUser) GetFirstName

func (o *SimpleUser) GetFirstName() string

GetFirstName returns the FirstName field value

func (*SimpleUser) GetFirstNameOk

func (o *SimpleUser) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.

func (*SimpleUser) GetId

func (o *SimpleUser) GetId() string

GetId returns the Id field value

func (*SimpleUser) GetIdOk

func (o *SimpleUser) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SimpleUser) GetLastName

func (o *SimpleUser) GetLastName() string

GetLastName returns the LastName field value

func (*SimpleUser) GetLastNameOk

func (o *SimpleUser) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set.

func (SimpleUser) MarshalJSON

func (o SimpleUser) MarshalJSON() ([]byte, error)

func (*SimpleUser) SetEmail

func (o *SimpleUser) SetEmail(v string)

SetEmail sets field value

func (*SimpleUser) SetFirstName

func (o *SimpleUser) SetFirstName(v string)

SetFirstName sets field value

func (*SimpleUser) SetId

func (o *SimpleUser) SetId(v string)

SetId sets field value

func (*SimpleUser) SetLastName

func (o *SimpleUser) SetLastName(v string)

SetLastName sets field value

type StandardError

type StandardError struct {
	Status      string                 `json:"status"`
	Id          *string                `json:"id,omitempty"`
	Category    map[string]interface{} `json:"category"`
	SubCategory map[string]interface{} `json:"subCategory,omitempty"`
	Message     string                 `json:"message"`
	Errors      []ErrorDetail          `json:"errors"`
	Context     map[string][]string    `json:"context"`
	Links       map[string]string      `json:"links"`
}

StandardError struct for StandardError

func NewStandardError

func NewStandardError(status string, category map[string]interface{}, message string, errors []ErrorDetail, context map[string][]string, links map[string]string) *StandardError

NewStandardError instantiates a new StandardError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStandardErrorWithDefaults

func NewStandardErrorWithDefaults() *StandardError

NewStandardErrorWithDefaults instantiates a new StandardError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StandardError) GetCategory

func (o *StandardError) GetCategory() map[string]interface{}

GetCategory returns the Category field value

func (*StandardError) GetCategoryOk

func (o *StandardError) GetCategoryOk() (map[string]interface{}, bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*StandardError) GetContext

func (o *StandardError) GetContext() map[string][]string

GetContext returns the Context field value

func (*StandardError) GetContextOk

func (o *StandardError) GetContextOk() (*map[string][]string, bool)

GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set.

func (*StandardError) GetErrors

func (o *StandardError) GetErrors() []ErrorDetail

GetErrors returns the Errors field value

func (*StandardError) GetErrorsOk

func (o *StandardError) GetErrorsOk() ([]ErrorDetail, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.

func (*StandardError) GetId

func (o *StandardError) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*StandardError) GetIdOk

func (o *StandardError) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StandardError) GetLinks() map[string]string

GetLinks returns the Links field value

func (*StandardError) GetLinksOk

func (o *StandardError) GetLinksOk() (*map[string]string, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*StandardError) GetMessage

func (o *StandardError) GetMessage() string

GetMessage returns the Message field value

func (*StandardError) GetMessageOk

func (o *StandardError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*StandardError) GetStatus

func (o *StandardError) GetStatus() string

GetStatus returns the Status field value

func (*StandardError) GetStatusOk

func (o *StandardError) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*StandardError) GetSubCategory

func (o *StandardError) GetSubCategory() map[string]interface{}

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*StandardError) GetSubCategoryOk

func (o *StandardError) GetSubCategoryOk() (map[string]interface{}, bool)

GetSubCategoryOk returns a tuple with the SubCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StandardError) HasId

func (o *StandardError) HasId() bool

HasId returns a boolean if a field has been set.

func (*StandardError) HasSubCategory

func (o *StandardError) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (StandardError) MarshalJSON

func (o StandardError) MarshalJSON() ([]byte, error)

func (*StandardError) SetCategory

func (o *StandardError) SetCategory(v map[string]interface{})

SetCategory sets field value

func (*StandardError) SetContext

func (o *StandardError) SetContext(v map[string][]string)

SetContext sets field value

func (*StandardError) SetErrors

func (o *StandardError) SetErrors(v []ErrorDetail)

SetErrors sets field value

func (*StandardError) SetId

func (o *StandardError) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *StandardError) SetLinks(v map[string]string)

SetLinks sets field value

func (*StandardError) SetMessage

func (o *StandardError) SetMessage(v string)

SetMessage sets field value

func (*StandardError) SetStatus

func (o *StandardError) SetStatus(v string)

SetStatus sets field value

func (*StandardError) SetSubCategory

func (o *StandardError) SetSubCategory(v map[string]interface{})

SetSubCategory gets a reference to the given map[string]interface{} and assigns it to the SubCategory field.

type TablesApiService

type TablesApiService service

TablesApiService TablesApi service

func (*TablesApiService) ArchiveTable

func (a *TablesApiService) ArchiveTable(ctx context.Context, tableIdOrName string) ApiArchiveTableRequest

ArchiveTable Archive a table

Archive (soft delete) an existing HubDB table. This archives both the published and draft versions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to archive.
@return ApiArchiveTableRequest

func (*TablesApiService) ArchiveTableExecute

func (a *TablesApiService) ArchiveTableExecute(r ApiArchiveTableRequest) (*http.Response, error)

Execute executes the request

func (*TablesApiService) CloneDraftTable

func (a *TablesApiService) CloneDraftTable(ctx context.Context, tableIdOrName string) ApiCloneDraftTableRequest

CloneDraftTable Clone a table

Clone an existing HubDB table. The `newName` and `newLabel` of the new table can be sent as JSON in the `body` parameter. This will create the cloned table as a `draft`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to clone.
@return ApiCloneDraftTableRequest

func (*TablesApiService) CloneDraftTableExecute

func (a *TablesApiService) CloneDraftTableExecute(r ApiCloneDraftTableRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

func (*TablesApiService) CreateTable

CreateTable Create a new table

Creates a new draft HubDB table given a JSON schema. The table name and label should be unique for each account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTableRequest

func (*TablesApiService) CreateTableExecute

func (a *TablesApiService) CreateTableExecute(r ApiCreateTableRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

func (*TablesApiService) ExportDraftTable

func (a *TablesApiService) ExportDraftTable(ctx context.Context, tableIdOrName string) ApiExportDraftTableRequest

ExportDraftTable Export a draft table

Exports the `draft` version of a table to CSV / EXCEL format.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to export.
@return ApiExportDraftTableRequest

func (*TablesApiService) ExportDraftTableExecute

func (a *TablesApiService) ExportDraftTableExecute(r ApiExportDraftTableRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*TablesApiService) ExportTable

func (a *TablesApiService) ExportTable(ctx context.Context, tableIdOrName string) ApiExportTableRequest

ExportTable Export a published version of a table

Exports the `published` version of a table to CSV / EXCEL format.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to export.
@return ApiExportTableRequest

func (*TablesApiService) ExportTableExecute

func (a *TablesApiService) ExportTableExecute(r ApiExportTableRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*TablesApiService) GetAllDraftTables

func (a *TablesApiService) GetAllDraftTables(ctx context.Context) ApiGetAllDraftTablesRequest

GetAllDraftTables Return all draft tables

Returns the details for each draft table defined in the specified account, including column definitions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllDraftTablesRequest

func (*TablesApiService) GetAllDraftTablesExecute

Execute executes the request

@return CollectionResponseWithTotalHubDbTableV3ForwardPaging

func (*TablesApiService) GetAllTables

GetAllTables Get all published tables

Returns the details for the `published` version of each table defined in an account, including column definitions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllTablesRequest

func (*TablesApiService) GetAllTablesExecute

Execute executes the request

@return CollectionResponseWithTotalHubDbTableV3ForwardPaging

func (*TablesApiService) GetDraftTableDetailsByID

func (a *TablesApiService) GetDraftTableDetailsByID(ctx context.Context, tableIdOrName string) ApiGetDraftTableDetailsByIDRequest

GetDraftTableDetailsByID Get details for a draft table

Get the details for the `draft` version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to return.
@return ApiGetDraftTableDetailsByIDRequest

func (*TablesApiService) GetDraftTableDetailsByIDExecute

func (a *TablesApiService) GetDraftTableDetailsByIDExecute(r ApiGetDraftTableDetailsByIDRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

func (*TablesApiService) GetTableDetails

func (a *TablesApiService) GetTableDetails(ctx context.Context, tableIdOrName string) ApiGetTableDetailsRequest

GetTableDetails Get details for a published table

Returns the details for the `published` version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table.

**Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to return.
@return ApiGetTableDetailsRequest

func (*TablesApiService) GetTableDetailsExecute

func (a *TablesApiService) GetTableDetailsExecute(r ApiGetTableDetailsRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

func (*TablesApiService) ImportDraftTable

func (a *TablesApiService) ImportDraftTable(ctx context.Context, tableIdOrName string) ApiImportDraftTableRequest

ImportDraftTable Import data into draft table

Import the contents of a CSV file into an existing HubDB table. The data will always be imported into the `draft` version of the table. Use `/publish` endpoint to push these changes to `published` version. This endpoint takes a multi-part POST request. The first part will be a set of JSON-formatted options for the import and you can specify this with the name as `config`. The second part will be the CSV file you want to import and you can specify this with the name as `file`. Refer the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#importing-tables) to check the details and format of the JSON-formatted options for the import.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID of the destination table where data will be imported.
@return ApiImportDraftTableRequest

func (*TablesApiService) ImportDraftTableExecute

func (a *TablesApiService) ImportDraftTableExecute(r ApiImportDraftTableRequest) (*ImportResult, *http.Response, error)

Execute executes the request

@return ImportResult

func (*TablesApiService) PublishDraftTable

func (a *TablesApiService) PublishDraftTable(ctx context.Context, tableIdOrName string) ApiPublishDraftTableRequest

PublishDraftTable Publish a table from draft

Publishes the table by copying the data and table schema changes from draft version to the published version, meaning any website pages using data from the table will be updated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to publish.
@return ApiPublishDraftTableRequest

func (*TablesApiService) PublishDraftTableExecute

func (a *TablesApiService) PublishDraftTableExecute(r ApiPublishDraftTableRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

func (*TablesApiService) ResetDraftTable

func (a *TablesApiService) ResetDraftTable(ctx context.Context, tableIdOrName string) ApiResetDraftTableRequest

ResetDraftTable Reset a draft table

Replaces the data in the `draft` version of the table with values from the `published` version. Any unpublished changes in the `draft` will be lost after this call is made.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to reset.
@return ApiResetDraftTableRequest

func (*TablesApiService) ResetDraftTableExecute

func (a *TablesApiService) ResetDraftTableExecute(r ApiResetDraftTableRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

func (*TablesApiService) UnpublishTable

func (a *TablesApiService) UnpublishTable(ctx context.Context, tableIdOrName string) ApiUnpublishTableRequest

UnpublishTable Unpublish a table

Unpublishes the table, meaning any website pages using data from the table will not render any data.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to publish.
@return ApiUnpublishTableRequest

func (*TablesApiService) UnpublishTableExecute

func (a *TablesApiService) UnpublishTableExecute(r ApiUnpublishTableRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

func (*TablesApiService) UpdateDraftTable

func (a *TablesApiService) UpdateDraftTable(ctx context.Context, tableIdOrName string) ApiUpdateDraftTableRequest

UpdateDraftTable Update an existing table

Update an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the `draft` verion of the table. Use `publish` endpoint to push all the changes to the `published` version. To restore a table, include the query parameter `archived=true` and `"archived": false` in the json body. **Note:** You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tableIdOrName The ID or name of the table to update.
@return ApiUpdateDraftTableRequest

func (*TablesApiService) UpdateDraftTableExecute

func (a *TablesApiService) UpdateDraftTableExecute(r ApiUpdateDraftTableRequest) (*HubDbTableV3, *http.Response, error)

Execute executes the request

@return HubDbTableV3

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL