v1

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 22 Imported by: 5

README

Go API client for v1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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.

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 sw "./v1"

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(), sw.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(), sw.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(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://flink.region.provider.confluent.cloud

Class Method HTTP request Description
StatementExceptionsSqlV1Api GetSqlv1StatementExceptions Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name}/exceptions List of Statement Exceptions
StatementResultsSqlV1Api GetSqlv1StatementResult Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{name}/results Read Statement Result
StatementsSqlV1Api CreateSqlv1Statement Post /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements Create a Statement
StatementsSqlV1Api DeleteSqlv1Statement Delete /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Delete a Statement
StatementsSqlV1Api GetSqlv1Statement Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Read a Statement
StatementsSqlV1Api ListSqlv1Statements Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements List of Statements
StatementsSqlV1Api UpdateSqlv1Statement Put /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Update a Statement

Documentation For Models

Documentation For Authorization

resource-api-key
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

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

flink-control-plane@confluent.io

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 {
	StatementExceptionsSqlV1Api StatementExceptionsSqlV1Api

	StatementResultsSqlV1Api StatementResultsSqlV1Api

	StatementsSqlV1Api StatementsSqlV1Api
	// contains filtered or unexported fields
}

APIClient manages communication with the SQL API v1 API v0.0.1 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 ApiCreateSqlv1StatementRequest

type ApiCreateSqlv1StatementRequest struct {
	ApiService StatementsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiCreateSqlv1StatementRequest) Execute

func (ApiCreateSqlv1StatementRequest) SqlV1Statement

type ApiDeleteSqlv1StatementRequest

type ApiDeleteSqlv1StatementRequest struct {
	ApiService StatementsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteSqlv1StatementRequest) Execute

type ApiGetSqlv1StatementExceptionsRequest

type ApiGetSqlv1StatementExceptionsRequest struct {
	ApiService StatementExceptionsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiGetSqlv1StatementExceptionsRequest) Execute

type ApiGetSqlv1StatementRequest

type ApiGetSqlv1StatementRequest struct {
	ApiService StatementsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiGetSqlv1StatementRequest) Execute

type ApiGetSqlv1StatementResultRequest

type ApiGetSqlv1StatementResultRequest struct {
	ApiService StatementResultsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiGetSqlv1StatementResultRequest) Execute

func (ApiGetSqlv1StatementResultRequest) PageToken

It contains the field offset in the CollectSinkFunction protocol. On the first request, it should be unset. The offset is assumed to start at 0.

type ApiListSqlv1StatementsRequest

type ApiListSqlv1StatementsRequest struct {
	ApiService StatementsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiListSqlv1StatementsRequest) Execute

func (ApiListSqlv1StatementsRequest) PageSize

A pagination size for collection requests.

func (ApiListSqlv1StatementsRequest) PageToken

An opaque pagination token for collection requests.

func (ApiListSqlv1StatementsRequest) SpecComputePoolId

func (r ApiListSqlv1StatementsRequest) SpecComputePoolId(specComputePoolId string) ApiListSqlv1StatementsRequest

Filter the results by exact match for spec.compute_pool.

type ApiUpdateSqlv1StatementRequest

type ApiUpdateSqlv1StatementRequest struct {
	ApiService StatementsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateSqlv1StatementRequest) Execute

func (ApiUpdateSqlv1StatementRequest) SqlV1Statement

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 ColumnDetails

type ColumnDetails struct {
	// The name of the SQL table column.
	Name string `json:"name,omitempty"`
	// JSON object in TableSchema format; describes the data returned by the results serving API.
	Type DataType `json:"type,omitempty"`
}

ColumnDetails A column in the results schema.

func NewColumnDetails

func NewColumnDetails(name string, type_ DataType) *ColumnDetails

NewColumnDetails instantiates a new ColumnDetails 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 NewColumnDetailsWithDefaults

func NewColumnDetailsWithDefaults() *ColumnDetails

NewColumnDetailsWithDefaults instantiates a new ColumnDetails 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 (*ColumnDetails) GetName

func (o *ColumnDetails) GetName() string

GetName returns the Name field value

func (*ColumnDetails) GetNameOk

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

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

func (*ColumnDetails) GetType

func (o *ColumnDetails) GetType() DataType

GetType returns the Type field value

func (*ColumnDetails) GetTypeOk

func (o *ColumnDetails) GetTypeOk() (*DataType, bool)

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

func (ColumnDetails) MarshalJSON

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

func (*ColumnDetails) Redact

func (o *ColumnDetails) Redact()

Redact resets all sensitive fields to their zero value.

func (*ColumnDetails) SetName

func (o *ColumnDetails) SetName(v string)

SetName sets field value

func (*ColumnDetails) SetType

func (o *ColumnDetails) SetType(v DataType)

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 DataType

type DataType struct {
	// The data type of the column.
	Type string `json:"type,omitempty"`
	// Indicates whether values in this column can be null.
	Nullable bool `json:"nullable,omitempty"`
	// The length of the data type.
	Length *int32 `json:"length,omitempty"`
	// The precision of the data type.
	Precision *int32 `json:"precision,omitempty"`
	// The scale of the data type.
	Scale *int32 `json:"scale,omitempty"`
	// The type of the key in the data type (if applicable).
	KeyType *DataType `json:"key_type,omitempty"`
	// The type of the value in the data type (if applicable).
	ValueType *DataType `json:"value_type,omitempty"`
	// The type of the element in the data type (if applicable).
	ElementType *DataType `json:"element_type,omitempty"`
	// The fields of the element in the data type (if applicable).
	Fields *[]RowFieldType `json:"fields,omitempty"`
	// The resolution of the data type (if applicable).
	Resolution *string `json:"resolution,omitempty"`
	// The fractional precision of the data type (if applicable).
	FractionalPrecision *int32 `json:"fractional_precision,omitempty"`
}

DataType struct for DataType

func NewDataType

func NewDataType(type_ string, nullable bool) *DataType

NewDataType instantiates a new DataType 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 NewDataTypeWithDefaults

func NewDataTypeWithDefaults() *DataType

NewDataTypeWithDefaults instantiates a new DataType 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 (*DataType) GetElementType

func (o *DataType) GetElementType() DataType

GetElementType returns the ElementType field value if set, zero value otherwise.

func (*DataType) GetElementTypeOk

func (o *DataType) GetElementTypeOk() (*DataType, bool)

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

func (*DataType) GetFields

func (o *DataType) GetFields() []RowFieldType

GetFields returns the Fields field value if set, zero value otherwise.

func (*DataType) GetFieldsOk

func (o *DataType) GetFieldsOk() (*[]RowFieldType, bool)

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

func (*DataType) GetFractionalPrecision

func (o *DataType) GetFractionalPrecision() int32

GetFractionalPrecision returns the FractionalPrecision field value if set, zero value otherwise.

func (*DataType) GetFractionalPrecisionOk

func (o *DataType) GetFractionalPrecisionOk() (*int32, bool)

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

func (*DataType) GetKeyType

func (o *DataType) GetKeyType() DataType

GetKeyType returns the KeyType field value if set, zero value otherwise.

func (*DataType) GetKeyTypeOk

func (o *DataType) GetKeyTypeOk() (*DataType, bool)

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

func (*DataType) GetLength

func (o *DataType) GetLength() int32

GetLength returns the Length field value if set, zero value otherwise.

func (*DataType) GetLengthOk

func (o *DataType) GetLengthOk() (*int32, bool)

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

func (*DataType) GetNullable

func (o *DataType) GetNullable() bool

GetNullable returns the Nullable field value

func (*DataType) GetNullableOk

func (o *DataType) GetNullableOk() (*bool, bool)

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

func (*DataType) GetPrecision

func (o *DataType) GetPrecision() int32

GetPrecision returns the Precision field value if set, zero value otherwise.

func (*DataType) GetPrecisionOk

func (o *DataType) GetPrecisionOk() (*int32, bool)

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

func (*DataType) GetResolution

func (o *DataType) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*DataType) GetResolutionOk

func (o *DataType) GetResolutionOk() (*string, bool)

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

func (*DataType) GetScale

func (o *DataType) GetScale() int32

GetScale returns the Scale field value if set, zero value otherwise.

func (*DataType) GetScaleOk

func (o *DataType) GetScaleOk() (*int32, bool)

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

func (*DataType) GetType

func (o *DataType) GetType() string

GetType returns the Type field value

func (*DataType) GetTypeOk

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

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

func (*DataType) GetValueType

func (o *DataType) GetValueType() DataType

GetValueType returns the ValueType field value if set, zero value otherwise.

func (*DataType) GetValueTypeOk

func (o *DataType) GetValueTypeOk() (*DataType, bool)

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

func (*DataType) HasElementType

func (o *DataType) HasElementType() bool

HasElementType returns a boolean if a field has been set.

func (*DataType) HasFields

func (o *DataType) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*DataType) HasFractionalPrecision

func (o *DataType) HasFractionalPrecision() bool

HasFractionalPrecision returns a boolean if a field has been set.

func (*DataType) HasKeyType

func (o *DataType) HasKeyType() bool

HasKeyType returns a boolean if a field has been set.

func (*DataType) HasLength

func (o *DataType) HasLength() bool

HasLength returns a boolean if a field has been set.

func (*DataType) HasPrecision

func (o *DataType) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*DataType) HasResolution

func (o *DataType) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*DataType) HasScale

func (o *DataType) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*DataType) HasValueType

func (o *DataType) HasValueType() bool

HasValueType returns a boolean if a field has been set.

func (DataType) MarshalJSON

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

func (*DataType) Redact

func (o *DataType) Redact()

Redact resets all sensitive fields to their zero value.

func (*DataType) SetElementType

func (o *DataType) SetElementType(v DataType)

SetElementType gets a reference to the given DataType and assigns it to the ElementType field.

func (*DataType) SetFields

func (o *DataType) SetFields(v []RowFieldType)

SetFields gets a reference to the given []RowFieldType and assigns it to the Fields field.

func (*DataType) SetFractionalPrecision

func (o *DataType) SetFractionalPrecision(v int32)

SetFractionalPrecision gets a reference to the given int32 and assigns it to the FractionalPrecision field.

func (*DataType) SetKeyType

func (o *DataType) SetKeyType(v DataType)

SetKeyType gets a reference to the given DataType and assigns it to the KeyType field.

func (*DataType) SetLength

func (o *DataType) SetLength(v int32)

SetLength gets a reference to the given int32 and assigns it to the Length field.

func (*DataType) SetNullable

func (o *DataType) SetNullable(v bool)

SetNullable sets field value

func (*DataType) SetPrecision

func (o *DataType) SetPrecision(v int32)

SetPrecision gets a reference to the given int32 and assigns it to the Precision field.

func (*DataType) SetResolution

func (o *DataType) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*DataType) SetScale

func (o *DataType) SetScale(v int32)

SetScale gets a reference to the given int32 and assigns it to the Scale field.

func (*DataType) SetType

func (o *DataType) SetType(v string)

SetType sets field value

func (*DataType) SetValueType

func (o *DataType) SetValueType(v DataType)

SetValueType gets a reference to the given DataType and assigns it to the ValueType field.

type Error

type Error struct {
	// A unique identifier for this particular occurrence of the problem.
	Id *string `json:"id,omitempty"`
	// The HTTP status code applicable to this problem, expressed as a string value.
	Status *string `json:"status,omitempty"`
	// An application-specific error code, expressed as a string value.
	Code *string `json:"code,omitempty"`
	// A short, human-readable summary of the problem. It **SHOULD NOT** change from occurrence to occurrence of the problem, except for purposes of localization.
	Title *string `json:"title,omitempty"`
	// A human-readable explanation specific to this occurrence of the problem.
	Detail *string      `json:"detail,omitempty"`
	Source *ErrorSource `json:"source,omitempty"`
}

Error Describes a particular error encountered while performing an operation.

func NewError

func NewError() *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) GetCode

func (o *Error) GetCode() string

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

func (*Error) GetCodeOk

func (o *Error) 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 (*Error) GetDetail

func (o *Error) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*Error) GetDetailOk

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

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

func (*Error) GetId

func (o *Error) GetId() string

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

func (*Error) GetIdOk

func (o *Error) 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 (*Error) GetSource

func (o *Error) GetSource() ErrorSource

GetSource returns the Source field value if set, zero value otherwise.

func (*Error) GetSourceOk

func (o *Error) GetSourceOk() (*ErrorSource, bool)

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

func (*Error) GetStatus

func (o *Error) GetStatus() string

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

func (*Error) GetStatusOk

func (o *Error) 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 (*Error) GetTitle

func (o *Error) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Error) GetTitleOk

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

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

func (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasDetail

func (o *Error) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*Error) HasId

func (o *Error) HasId() bool

HasId returns a boolean if a field has been set.

func (*Error) HasSource

func (o *Error) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*Error) HasStatus

func (o *Error) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error) HasTitle

func (o *Error) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) Redact

func (o *Error) Redact()

Redact resets all sensitive fields to their zero value.

func (*Error) SetCode

func (o *Error) SetCode(v string)

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

func (*Error) SetDetail

func (o *Error) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*Error) SetId

func (o *Error) SetId(v string)

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

func (*Error) SetSource

func (o *Error) SetSource(v ErrorSource)

SetSource gets a reference to the given ErrorSource and assigns it to the Source field.

func (*Error) SetStatus

func (o *Error) SetStatus(v string)

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

func (*Error) SetTitle

func (o *Error) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

type ErrorSource

type ErrorSource struct {
	// A JSON Pointer [RFC6901] to the associated entity in the request document [e.g. \"/spec\" for a spec object, or \"/spec/title\" for a specific field].
	Pointer *string `json:"pointer,omitempty"`
	// A string indicating which query parameter caused the error.
	Parameter *string `json:"parameter,omitempty"`
}

ErrorSource If this error was caused by a particular part of the API request, the source will point to the query string parameter or request body property that caused it.

func NewErrorSource

func NewErrorSource() *ErrorSource

NewErrorSource instantiates a new ErrorSource 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 NewErrorSourceWithDefaults

func NewErrorSourceWithDefaults() *ErrorSource

NewErrorSourceWithDefaults instantiates a new ErrorSource 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 (*ErrorSource) GetParameter

func (o *ErrorSource) GetParameter() string

GetParameter returns the Parameter field value if set, zero value otherwise.

func (*ErrorSource) GetParameterOk

func (o *ErrorSource) GetParameterOk() (*string, bool)

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

func (*ErrorSource) GetPointer

func (o *ErrorSource) GetPointer() string

GetPointer returns the Pointer field value if set, zero value otherwise.

func (*ErrorSource) GetPointerOk

func (o *ErrorSource) GetPointerOk() (*string, bool)

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

func (*ErrorSource) HasParameter

func (o *ErrorSource) HasParameter() bool

HasParameter returns a boolean if a field has been set.

func (*ErrorSource) HasPointer

func (o *ErrorSource) HasPointer() bool

HasPointer returns a boolean if a field has been set.

func (ErrorSource) MarshalJSON

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

func (*ErrorSource) Redact

func (o *ErrorSource) Redact()

Redact resets all sensitive fields to their zero value.

func (*ErrorSource) SetParameter

func (o *ErrorSource) SetParameter(v string)

SetParameter gets a reference to the given string and assigns it to the Parameter field.

func (*ErrorSource) SetPointer

func (o *ErrorSource) SetPointer(v string)

SetPointer gets a reference to the given string and assigns it to the Pointer field.

type ExceptionListMeta

type ExceptionListMeta struct {
	// Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
	Self *string `json:"self,omitempty"`
}

ExceptionListMeta ListMeta describes metadata that resource collections may have

func NewExceptionListMeta

func NewExceptionListMeta() *ExceptionListMeta

NewExceptionListMeta instantiates a new ExceptionListMeta 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 NewExceptionListMetaWithDefaults

func NewExceptionListMetaWithDefaults() *ExceptionListMeta

NewExceptionListMetaWithDefaults instantiates a new ExceptionListMeta 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 (*ExceptionListMeta) GetSelf

func (o *ExceptionListMeta) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*ExceptionListMeta) GetSelfOk

func (o *ExceptionListMeta) GetSelfOk() (*string, bool)

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

func (*ExceptionListMeta) HasSelf

func (o *ExceptionListMeta) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (ExceptionListMeta) MarshalJSON

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

func (*ExceptionListMeta) Redact

func (o *ExceptionListMeta) Redact()

Redact resets all sensitive fields to their zero value.

func (*ExceptionListMeta) SetSelf

func (o *ExceptionListMeta) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

type Failure

type Failure struct {
	// List of errors which caused this operation to fail
	Errors []Error `json:"errors,omitempty"`
}

Failure Provides information about problems encountered while performing an operation.

func NewFailure

func NewFailure(errors []Error) *Failure

NewFailure instantiates a new Failure 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 NewFailureWithDefaults

func NewFailureWithDefaults() *Failure

NewFailureWithDefaults instantiates a new Failure 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 (*Failure) GetErrors

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

GetErrors returns the Errors field value

func (*Failure) GetErrorsOk

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

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

func (Failure) MarshalJSON

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

func (*Failure) Redact

func (o *Failure) Redact()

Redact resets all sensitive fields to their zero value.

func (*Failure) SetErrors

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

SetErrors sets field value

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 ListMeta

type ListMeta struct {
	// Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
	Self *string `json:"self,omitempty"`
	// A URL that can be followed to get the next batch of results.
	Next *string `json:"next,omitempty"`
}

ListMeta ListMeta describes metadata that resource collections may have

func NewListMeta

func NewListMeta() *ListMeta

NewListMeta instantiates a new ListMeta 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 NewListMetaWithDefaults

func NewListMetaWithDefaults() *ListMeta

NewListMetaWithDefaults instantiates a new ListMeta 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 (*ListMeta) GetNext

func (o *ListMeta) GetNext() string

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

func (*ListMeta) GetNextOk

func (o *ListMeta) GetNextOk() (*string, 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 (*ListMeta) GetSelf

func (o *ListMeta) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*ListMeta) GetSelfOk

func (o *ListMeta) GetSelfOk() (*string, bool)

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

func (*ListMeta) HasNext

func (o *ListMeta) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*ListMeta) HasSelf

func (o *ListMeta) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (ListMeta) MarshalJSON

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

func (*ListMeta) Redact

func (o *ListMeta) Redact()

Redact resets all sensitive fields to their zero value.

func (*ListMeta) SetNext

func (o *ListMeta) SetNext(v string)

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

func (*ListMeta) SetSelf

func (o *ListMeta) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

type MultipleSearchFilter

type MultipleSearchFilter struct {
	Items []string
}

MultipleSearchFilter Filter a collection by a string search for one or more values

func NewMultipleSearchFilter

func NewMultipleSearchFilter() *MultipleSearchFilter

NewMultipleSearchFilter instantiates a new MultipleSearchFilter 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 NewMultipleSearchFilterWithDefaults

func NewMultipleSearchFilterWithDefaults() *MultipleSearchFilter

NewMultipleSearchFilterWithDefaults instantiates a new MultipleSearchFilter 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 (MultipleSearchFilter) MarshalJSON

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

func (*MultipleSearchFilter) Redact

func (o *MultipleSearchFilter) Redact()

Redact resets all sensitive fields to their zero value.

func (*MultipleSearchFilter) UnmarshalJSON

func (o *MultipleSearchFilter) UnmarshalJSON(bytes []byte) (err error)

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 NullableColumnDetails

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

func NewNullableColumnDetails

func NewNullableColumnDetails(val *ColumnDetails) *NullableColumnDetails

func (NullableColumnDetails) Get

func (NullableColumnDetails) IsSet

func (v NullableColumnDetails) IsSet() bool

func (NullableColumnDetails) MarshalJSON

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

func (*NullableColumnDetails) Set

func (v *NullableColumnDetails) Set(val *ColumnDetails)

func (*NullableColumnDetails) UnmarshalJSON

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

func (*NullableColumnDetails) Unset

func (v *NullableColumnDetails) Unset()

type NullableDataType

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

func NewNullableDataType

func NewNullableDataType(val *DataType) *NullableDataType

func (NullableDataType) Get

func (v NullableDataType) Get() *DataType

func (NullableDataType) IsSet

func (v NullableDataType) IsSet() bool

func (NullableDataType) MarshalJSON

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

func (*NullableDataType) Set

func (v *NullableDataType) Set(val *DataType)

func (*NullableDataType) UnmarshalJSON

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

func (*NullableDataType) Unset

func (v *NullableDataType) 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 NullableErrorSource

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

func NewNullableErrorSource

func NewNullableErrorSource(val *ErrorSource) *NullableErrorSource

func (NullableErrorSource) Get

func (NullableErrorSource) IsSet

func (v NullableErrorSource) IsSet() bool

func (NullableErrorSource) MarshalJSON

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

func (*NullableErrorSource) Set

func (v *NullableErrorSource) Set(val *ErrorSource)

func (*NullableErrorSource) UnmarshalJSON

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

func (*NullableErrorSource) Unset

func (v *NullableErrorSource) Unset()

type NullableExceptionListMeta

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

func NewNullableExceptionListMeta

func NewNullableExceptionListMeta(val *ExceptionListMeta) *NullableExceptionListMeta

func (NullableExceptionListMeta) Get

func (NullableExceptionListMeta) IsSet

func (v NullableExceptionListMeta) IsSet() bool

func (NullableExceptionListMeta) MarshalJSON

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

func (*NullableExceptionListMeta) Set

func (*NullableExceptionListMeta) UnmarshalJSON

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

func (*NullableExceptionListMeta) Unset

func (v *NullableExceptionListMeta) Unset()

type NullableFailure

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

func NewNullableFailure

func NewNullableFailure(val *Failure) *NullableFailure

func (NullableFailure) Get

func (v NullableFailure) Get() *Failure

func (NullableFailure) IsSet

func (v NullableFailure) IsSet() bool

func (NullableFailure) MarshalJSON

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

func (*NullableFailure) Set

func (v *NullableFailure) Set(val *Failure)

func (*NullableFailure) UnmarshalJSON

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

func (*NullableFailure) Unset

func (v *NullableFailure) 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 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 NullableListMeta

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

func NewNullableListMeta

func NewNullableListMeta(val *ListMeta) *NullableListMeta

func (NullableListMeta) Get

func (v NullableListMeta) Get() *ListMeta

func (NullableListMeta) IsSet

func (v NullableListMeta) IsSet() bool

func (NullableListMeta) MarshalJSON

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

func (*NullableListMeta) Set

func (v *NullableListMeta) Set(val *ListMeta)

func (*NullableListMeta) UnmarshalJSON

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

func (*NullableListMeta) Unset

func (v *NullableListMeta) Unset()

type NullableMultipleSearchFilter

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

func NewNullableMultipleSearchFilter

func NewNullableMultipleSearchFilter(val *MultipleSearchFilter) *NullableMultipleSearchFilter

func (NullableMultipleSearchFilter) Get

func (NullableMultipleSearchFilter) IsSet

func (NullableMultipleSearchFilter) MarshalJSON

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

func (*NullableMultipleSearchFilter) Set

func (*NullableMultipleSearchFilter) UnmarshalJSON

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

func (*NullableMultipleSearchFilter) Unset

func (v *NullableMultipleSearchFilter) Unset()

type NullableObjectMeta

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

func NewNullableObjectMeta

func NewNullableObjectMeta(val *ObjectMeta) *NullableObjectMeta

func (NullableObjectMeta) Get

func (v NullableObjectMeta) Get() *ObjectMeta

func (NullableObjectMeta) IsSet

func (v NullableObjectMeta) IsSet() bool

func (NullableObjectMeta) MarshalJSON

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

func (*NullableObjectMeta) Set

func (v *NullableObjectMeta) Set(val *ObjectMeta)

func (*NullableObjectMeta) UnmarshalJSON

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

func (*NullableObjectMeta) Unset

func (v *NullableObjectMeta) Unset()

type NullableResultListMeta

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

func NewNullableResultListMeta

func NewNullableResultListMeta(val *ResultListMeta) *NullableResultListMeta

func (NullableResultListMeta) Get

func (NullableResultListMeta) IsSet

func (v NullableResultListMeta) IsSet() bool

func (NullableResultListMeta) MarshalJSON

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

func (*NullableResultListMeta) Set

func (*NullableResultListMeta) UnmarshalJSON

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

func (*NullableResultListMeta) Unset

func (v *NullableResultListMeta) Unset()

type NullableRowFieldType

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

func NewNullableRowFieldType

func NewNullableRowFieldType(val *RowFieldType) *NullableRowFieldType

func (NullableRowFieldType) Get

func (NullableRowFieldType) IsSet

func (v NullableRowFieldType) IsSet() bool

func (NullableRowFieldType) MarshalJSON

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

func (*NullableRowFieldType) Set

func (v *NullableRowFieldType) Set(val *RowFieldType)

func (*NullableRowFieldType) UnmarshalJSON

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

func (*NullableRowFieldType) Unset

func (v *NullableRowFieldType) Unset()

type NullableSqlV1ResultSchema

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

func NewNullableSqlV1ResultSchema

func NewNullableSqlV1ResultSchema(val *SqlV1ResultSchema) *NullableSqlV1ResultSchema

func (NullableSqlV1ResultSchema) Get

func (NullableSqlV1ResultSchema) IsSet

func (v NullableSqlV1ResultSchema) IsSet() bool

func (NullableSqlV1ResultSchema) MarshalJSON

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

func (*NullableSqlV1ResultSchema) Set

func (*NullableSqlV1ResultSchema) UnmarshalJSON

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

func (*NullableSqlV1ResultSchema) Unset

func (v *NullableSqlV1ResultSchema) Unset()

type NullableSqlV1ScalingStatus

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

func NewNullableSqlV1ScalingStatus

func NewNullableSqlV1ScalingStatus(val *SqlV1ScalingStatus) *NullableSqlV1ScalingStatus

func (NullableSqlV1ScalingStatus) Get

func (NullableSqlV1ScalingStatus) IsSet

func (v NullableSqlV1ScalingStatus) IsSet() bool

func (NullableSqlV1ScalingStatus) MarshalJSON

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

func (*NullableSqlV1ScalingStatus) Set

func (*NullableSqlV1ScalingStatus) UnmarshalJSON

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

func (*NullableSqlV1ScalingStatus) Unset

func (v *NullableSqlV1ScalingStatus) Unset()

type NullableSqlV1Statement

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

func NewNullableSqlV1Statement

func NewNullableSqlV1Statement(val *SqlV1Statement) *NullableSqlV1Statement

func (NullableSqlV1Statement) Get

func (NullableSqlV1Statement) IsSet

func (v NullableSqlV1Statement) IsSet() bool

func (NullableSqlV1Statement) MarshalJSON

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

func (*NullableSqlV1Statement) Set

func (*NullableSqlV1Statement) UnmarshalJSON

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

func (*NullableSqlV1Statement) Unset

func (v *NullableSqlV1Statement) Unset()

type NullableSqlV1StatementException

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

func (NullableSqlV1StatementException) Get

func (NullableSqlV1StatementException) IsSet

func (NullableSqlV1StatementException) MarshalJSON

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

func (*NullableSqlV1StatementException) Set

func (*NullableSqlV1StatementException) UnmarshalJSON

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

func (*NullableSqlV1StatementException) Unset

type NullableSqlV1StatementExceptionList

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

func (NullableSqlV1StatementExceptionList) Get

func (NullableSqlV1StatementExceptionList) IsSet

func (NullableSqlV1StatementExceptionList) MarshalJSON

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

func (*NullableSqlV1StatementExceptionList) Set

func (*NullableSqlV1StatementExceptionList) UnmarshalJSON

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

func (*NullableSqlV1StatementExceptionList) Unset

type NullableSqlV1StatementList

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

func NewNullableSqlV1StatementList

func NewNullableSqlV1StatementList(val *SqlV1StatementList) *NullableSqlV1StatementList

func (NullableSqlV1StatementList) Get

func (NullableSqlV1StatementList) IsSet

func (v NullableSqlV1StatementList) IsSet() bool

func (NullableSqlV1StatementList) MarshalJSON

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

func (*NullableSqlV1StatementList) Set

func (*NullableSqlV1StatementList) UnmarshalJSON

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

func (*NullableSqlV1StatementList) Unset

func (v *NullableSqlV1StatementList) Unset()

type NullableSqlV1StatementResult

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

func NewNullableSqlV1StatementResult

func NewNullableSqlV1StatementResult(val *SqlV1StatementResult) *NullableSqlV1StatementResult

func (NullableSqlV1StatementResult) Get

func (NullableSqlV1StatementResult) IsSet

func (NullableSqlV1StatementResult) MarshalJSON

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

func (*NullableSqlV1StatementResult) Set

func (*NullableSqlV1StatementResult) UnmarshalJSON

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

func (*NullableSqlV1StatementResult) Unset

func (v *NullableSqlV1StatementResult) Unset()

type NullableSqlV1StatementResultResults

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

func (NullableSqlV1StatementResultResults) Get

func (NullableSqlV1StatementResultResults) IsSet

func (NullableSqlV1StatementResultResults) MarshalJSON

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

func (*NullableSqlV1StatementResultResults) Set

func (*NullableSqlV1StatementResultResults) UnmarshalJSON

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

func (*NullableSqlV1StatementResultResults) Unset

type NullableSqlV1StatementSpec

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

func NewNullableSqlV1StatementSpec

func NewNullableSqlV1StatementSpec(val *SqlV1StatementSpec) *NullableSqlV1StatementSpec

func (NullableSqlV1StatementSpec) Get

func (NullableSqlV1StatementSpec) IsSet

func (v NullableSqlV1StatementSpec) IsSet() bool

func (NullableSqlV1StatementSpec) MarshalJSON

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

func (*NullableSqlV1StatementSpec) Set

func (*NullableSqlV1StatementSpec) UnmarshalJSON

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

func (*NullableSqlV1StatementSpec) Unset

func (v *NullableSqlV1StatementSpec) Unset()

type NullableSqlV1StatementStatus

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

func NewNullableSqlV1StatementStatus

func NewNullableSqlV1StatementStatus(val *SqlV1StatementStatus) *NullableSqlV1StatementStatus

func (NullableSqlV1StatementStatus) Get

func (NullableSqlV1StatementStatus) IsSet

func (NullableSqlV1StatementStatus) MarshalJSON

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

func (*NullableSqlV1StatementStatus) Set

func (*NullableSqlV1StatementStatus) UnmarshalJSON

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

func (*NullableSqlV1StatementStatus) Unset

func (v *NullableSqlV1StatementStatus) Unset()

type NullableSqlV1StatementTraits added in v0.10.0

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

func NewNullableSqlV1StatementTraits added in v0.10.0

func NewNullableSqlV1StatementTraits(val *SqlV1StatementTraits) *NullableSqlV1StatementTraits

func (NullableSqlV1StatementTraits) Get added in v0.10.0

func (NullableSqlV1StatementTraits) IsSet added in v0.10.0

func (NullableSqlV1StatementTraits) MarshalJSON added in v0.10.0

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

func (*NullableSqlV1StatementTraits) Set added in v0.10.0

func (*NullableSqlV1StatementTraits) UnmarshalJSON added in v0.10.0

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

func (*NullableSqlV1StatementTraits) Unset added in v0.10.0

func (v *NullableSqlV1StatementTraits) 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 ObjectMeta

type ObjectMeta struct {
	// Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
	Self string `json:"self,omitempty"`
	// The date and time at which this object was created. It is represented in RFC3339 format and is in UTC.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time at which this object was last updated. It is represented in RFC3339 format and is in UTC.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// A system generated globally unique identifier for this resource.
	Uid *string `json:"uid,omitempty"`
	// A system generated string that uniquely identifies the version of this resource.
	ResourceVersion *string `json:"resource_version,omitempty"`
}

ObjectMeta The metadata of the statement.

func NewObjectMeta

func NewObjectMeta(self string) *ObjectMeta

NewObjectMeta instantiates a new ObjectMeta 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 NewObjectMetaWithDefaults

func NewObjectMetaWithDefaults() *ObjectMeta

NewObjectMetaWithDefaults instantiates a new ObjectMeta 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 (*ObjectMeta) GetCreatedAt

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

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

func (*ObjectMeta) GetCreatedAtOk

func (o *ObjectMeta) 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 (*ObjectMeta) GetResourceVersion

func (o *ObjectMeta) GetResourceVersion() string

GetResourceVersion returns the ResourceVersion field value if set, zero value otherwise.

func (*ObjectMeta) GetResourceVersionOk

func (o *ObjectMeta) GetResourceVersionOk() (*string, bool)

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

func (*ObjectMeta) GetSelf

func (o *ObjectMeta) GetSelf() string

GetSelf returns the Self field value

func (*ObjectMeta) GetSelfOk

func (o *ObjectMeta) GetSelfOk() (*string, bool)

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

func (*ObjectMeta) GetUid

func (o *ObjectMeta) GetUid() string

GetUid returns the Uid field value if set, zero value otherwise.

func (*ObjectMeta) GetUidOk

func (o *ObjectMeta) GetUidOk() (*string, bool)

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

func (*ObjectMeta) GetUpdatedAt

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

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

func (*ObjectMeta) GetUpdatedAtOk

func (o *ObjectMeta) 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 (*ObjectMeta) HasCreatedAt

func (o *ObjectMeta) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ObjectMeta) HasResourceVersion

func (o *ObjectMeta) HasResourceVersion() bool

HasResourceVersion returns a boolean if a field has been set.

func (*ObjectMeta) HasUid

func (o *ObjectMeta) HasUid() bool

HasUid returns a boolean if a field has been set.

func (*ObjectMeta) HasUpdatedAt

func (o *ObjectMeta) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ObjectMeta) MarshalJSON

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

func (*ObjectMeta) Redact

func (o *ObjectMeta) Redact()

Redact resets all sensitive fields to their zero value.

func (*ObjectMeta) SetCreatedAt

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

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

func (*ObjectMeta) SetResourceVersion

func (o *ObjectMeta) SetResourceVersion(v string)

SetResourceVersion gets a reference to the given string and assigns it to the ResourceVersion field.

func (*ObjectMeta) SetSelf

func (o *ObjectMeta) SetSelf(v string)

SetSelf sets field value

func (*ObjectMeta) SetUid

func (o *ObjectMeta) SetUid(v string)

SetUid gets a reference to the given string and assigns it to the Uid field.

func (*ObjectMeta) SetUpdatedAt

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

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

type ResultListMeta

type ResultListMeta struct {
	// Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
	Self *string `json:"self,omitempty"`
	// A URL that can be followed to get the next batch of results.
	Next *string `json:"next,omitempty"`
	// The date and time at which this object was created. It is represented in RFC3339 format and is in UTC.
	CreatedAt *time.Time `json:"created_at,omitempty"`
}

ResultListMeta ListMeta describes metadata that resource collections may have

func NewResultListMeta

func NewResultListMeta() *ResultListMeta

NewResultListMeta instantiates a new ResultListMeta 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 NewResultListMetaWithDefaults

func NewResultListMetaWithDefaults() *ResultListMeta

NewResultListMetaWithDefaults instantiates a new ResultListMeta 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 (*ResultListMeta) GetCreatedAt

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

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

func (*ResultListMeta) GetCreatedAtOk

func (o *ResultListMeta) 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 (*ResultListMeta) GetNext

func (o *ResultListMeta) GetNext() string

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

func (*ResultListMeta) GetNextOk

func (o *ResultListMeta) GetNextOk() (*string, 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 (*ResultListMeta) GetSelf

func (o *ResultListMeta) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*ResultListMeta) GetSelfOk

func (o *ResultListMeta) GetSelfOk() (*string, bool)

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

func (*ResultListMeta) HasCreatedAt

func (o *ResultListMeta) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ResultListMeta) HasNext

func (o *ResultListMeta) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*ResultListMeta) HasSelf

func (o *ResultListMeta) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (ResultListMeta) MarshalJSON

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

func (*ResultListMeta) Redact

func (o *ResultListMeta) Redact()

Redact resets all sensitive fields to their zero value.

func (*ResultListMeta) SetCreatedAt

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

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

func (*ResultListMeta) SetNext

func (o *ResultListMeta) SetNext(v string)

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

func (*ResultListMeta) SetSelf

func (o *ResultListMeta) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

type RowFieldType

type RowFieldType struct {
	// The name of the field.
	Name string `json:"name,omitempty"`
	// The data type of the field.
	FieldType DataType `json:"field_type,omitempty"`
	// The description of the field.
	Description *string `json:"description,omitempty"`
}

RowFieldType struct for RowFieldType

func NewRowFieldType

func NewRowFieldType(name string, fieldType DataType) *RowFieldType

NewRowFieldType instantiates a new RowFieldType 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 NewRowFieldTypeWithDefaults

func NewRowFieldTypeWithDefaults() *RowFieldType

NewRowFieldTypeWithDefaults instantiates a new RowFieldType 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 (*RowFieldType) GetDescription

func (o *RowFieldType) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RowFieldType) GetDescriptionOk

func (o *RowFieldType) GetDescriptionOk() (*string, bool)

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

func (*RowFieldType) GetFieldType

func (o *RowFieldType) GetFieldType() DataType

GetFieldType returns the FieldType field value

func (*RowFieldType) GetFieldTypeOk

func (o *RowFieldType) GetFieldTypeOk() (*DataType, bool)

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

func (*RowFieldType) GetName

func (o *RowFieldType) GetName() string

GetName returns the Name field value

func (*RowFieldType) GetNameOk

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

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

func (*RowFieldType) HasDescription

func (o *RowFieldType) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RowFieldType) MarshalJSON

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

func (*RowFieldType) Redact

func (o *RowFieldType) Redact()

Redact resets all sensitive fields to their zero value.

func (*RowFieldType) SetDescription

func (o *RowFieldType) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RowFieldType) SetFieldType

func (o *RowFieldType) SetFieldType(v DataType)

SetFieldType sets field value

func (*RowFieldType) SetName

func (o *RowFieldType) SetName(v string)

SetName sets field value

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 SqlV1ResultSchema

type SqlV1ResultSchema struct {
	// The properties of each SQL column in the schema.
	Columns *[]ColumnDetails `json:"columns,omitempty"`
}

SqlV1ResultSchema The table columns of the results schema.

func NewSqlV1ResultSchema

func NewSqlV1ResultSchema() *SqlV1ResultSchema

NewSqlV1ResultSchema instantiates a new SqlV1ResultSchema 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 NewSqlV1ResultSchemaWithDefaults

func NewSqlV1ResultSchemaWithDefaults() *SqlV1ResultSchema

NewSqlV1ResultSchemaWithDefaults instantiates a new SqlV1ResultSchema 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 (*SqlV1ResultSchema) GetColumns

func (o *SqlV1ResultSchema) GetColumns() []ColumnDetails

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

func (*SqlV1ResultSchema) GetColumnsOk

func (o *SqlV1ResultSchema) GetColumnsOk() (*[]ColumnDetails, 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 (*SqlV1ResultSchema) HasColumns

func (o *SqlV1ResultSchema) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (SqlV1ResultSchema) MarshalJSON

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

func (*SqlV1ResultSchema) Redact

func (o *SqlV1ResultSchema) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1ResultSchema) SetColumns

func (o *SqlV1ResultSchema) SetColumns(v []ColumnDetails)

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

type SqlV1ScalingStatus

type SqlV1ScalingStatus struct {
	// OK: The statement runs at the right scale. PENDING_SCALE_DOWN: The statement requires less resources, and will be scaled down in the near future. PENDING_SCALE_UP: The statement requires more resources, and will be scaled up in the near future. POOL_EXHAUSTED: The statement requires more resources, but not enough resources are available.
	ScalingState *string `json:"scaling_state,omitempty"`
	// The last time the scaling status was updated.
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

SqlV1ScalingStatus Scaling status for this statement.

func NewSqlV1ScalingStatus

func NewSqlV1ScalingStatus() *SqlV1ScalingStatus

NewSqlV1ScalingStatus instantiates a new SqlV1ScalingStatus 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 NewSqlV1ScalingStatusWithDefaults

func NewSqlV1ScalingStatusWithDefaults() *SqlV1ScalingStatus

NewSqlV1ScalingStatusWithDefaults instantiates a new SqlV1ScalingStatus 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 (*SqlV1ScalingStatus) GetLastUpdated

func (o *SqlV1ScalingStatus) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*SqlV1ScalingStatus) GetLastUpdatedOk

func (o *SqlV1ScalingStatus) GetLastUpdatedOk() (*time.Time, bool)

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

func (*SqlV1ScalingStatus) GetScalingState

func (o *SqlV1ScalingStatus) GetScalingState() string

GetScalingState returns the ScalingState field value if set, zero value otherwise.

func (*SqlV1ScalingStatus) GetScalingStateOk

func (o *SqlV1ScalingStatus) GetScalingStateOk() (*string, bool)

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

func (*SqlV1ScalingStatus) HasLastUpdated

func (o *SqlV1ScalingStatus) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*SqlV1ScalingStatus) HasScalingState

func (o *SqlV1ScalingStatus) HasScalingState() bool

HasScalingState returns a boolean if a field has been set.

func (SqlV1ScalingStatus) MarshalJSON

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

func (*SqlV1ScalingStatus) Redact

func (o *SqlV1ScalingStatus) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1ScalingStatus) SetLastUpdated

func (o *SqlV1ScalingStatus) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*SqlV1ScalingStatus) SetScalingState

func (o *SqlV1ScalingStatus) SetScalingState(v string)

SetScalingState gets a reference to the given string and assigns it to the ScalingState field.

type SqlV1Statement

type SqlV1Statement struct {
	// APIVersion defines the schema version of this representation of a resource.
	ApiVersion *string `json:"api_version,omitempty"`
	// Kind defines the object this REST resource represents.
	Kind     *string     `json:"kind,omitempty"`
	Metadata *ObjectMeta `json:"metadata,omitempty"`
	// The user provided name of the resource, unique within this environment.
	Name *string `json:"name,omitempty"`
	// The unique identifier for the organization.
	OrganizationId *string `json:"organization_id,omitempty"`
	// The unique identifier for the environment.
	EnvironmentId *string               `json:"environment_id,omitempty"`
	Spec          *SqlV1StatementSpec   `json:"spec,omitempty"`
	Status        *SqlV1StatementStatus `json:"status,omitempty"`
}

SqlV1Statement `Statement` represents a core resource used to model SQL statements for execution. A statement generalizes DDL, DML, DQL, etc., but doesn’t attempt to handle session management or any higher-level functionality. The API allows you to list, create, read, and delete your statements. ## The Statements Model <SchemaDefinition schemaRef=\"#/components/schemas/sql.v1.Statement\" />

func NewSqlV1Statement

func NewSqlV1Statement() *SqlV1Statement

NewSqlV1Statement instantiates a new SqlV1Statement 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 NewSqlV1StatementWithDefaults

func NewSqlV1StatementWithDefaults() *SqlV1Statement

NewSqlV1StatementWithDefaults instantiates a new SqlV1Statement 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 (*SqlV1Statement) GetApiVersion

func (o *SqlV1Statement) GetApiVersion() string

GetApiVersion returns the ApiVersion field value if set, zero value otherwise.

func (*SqlV1Statement) GetApiVersionOk

func (o *SqlV1Statement) GetApiVersionOk() (*string, bool)

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

func (*SqlV1Statement) GetEnvironmentId

func (o *SqlV1Statement) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*SqlV1Statement) GetEnvironmentIdOk

func (o *SqlV1Statement) GetEnvironmentIdOk() (*string, bool)

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

func (*SqlV1Statement) GetKind

func (o *SqlV1Statement) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*SqlV1Statement) GetKindOk

func (o *SqlV1Statement) GetKindOk() (*string, bool)

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

func (*SqlV1Statement) GetMetadata

func (o *SqlV1Statement) GetMetadata() ObjectMeta

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SqlV1Statement) GetMetadataOk

func (o *SqlV1Statement) GetMetadataOk() (*ObjectMeta, bool)

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

func (*SqlV1Statement) GetName

func (o *SqlV1Statement) GetName() string

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

func (*SqlV1Statement) GetNameOk

func (o *SqlV1Statement) 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 (*SqlV1Statement) GetOrganizationId

func (o *SqlV1Statement) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*SqlV1Statement) GetOrganizationIdOk

func (o *SqlV1Statement) GetOrganizationIdOk() (*string, bool)

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

func (*SqlV1Statement) GetSpec

func (o *SqlV1Statement) GetSpec() SqlV1StatementSpec

GetSpec returns the Spec field value if set, zero value otherwise.

func (*SqlV1Statement) GetSpecOk

func (o *SqlV1Statement) GetSpecOk() (*SqlV1StatementSpec, bool)

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

func (*SqlV1Statement) GetStatus

func (o *SqlV1Statement) GetStatus() SqlV1StatementStatus

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

func (*SqlV1Statement) GetStatusOk

func (o *SqlV1Statement) GetStatusOk() (*SqlV1StatementStatus, 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 (*SqlV1Statement) HasApiVersion

func (o *SqlV1Statement) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

func (*SqlV1Statement) HasEnvironmentId

func (o *SqlV1Statement) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*SqlV1Statement) HasKind

func (o *SqlV1Statement) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*SqlV1Statement) HasMetadata

func (o *SqlV1Statement) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SqlV1Statement) HasName

func (o *SqlV1Statement) HasName() bool

HasName returns a boolean if a field has been set.

func (*SqlV1Statement) HasOrganizationId

func (o *SqlV1Statement) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*SqlV1Statement) HasSpec

func (o *SqlV1Statement) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (*SqlV1Statement) HasStatus

func (o *SqlV1Statement) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SqlV1Statement) MarshalJSON

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

func (*SqlV1Statement) Redact

func (o *SqlV1Statement) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1Statement) SetApiVersion

func (o *SqlV1Statement) SetApiVersion(v string)

SetApiVersion gets a reference to the given string and assigns it to the ApiVersion field.

func (*SqlV1Statement) SetEnvironmentId

func (o *SqlV1Statement) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*SqlV1Statement) SetKind

func (o *SqlV1Statement) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*SqlV1Statement) SetMetadata

func (o *SqlV1Statement) SetMetadata(v ObjectMeta)

SetMetadata gets a reference to the given ObjectMeta and assigns it to the Metadata field.

func (*SqlV1Statement) SetName

func (o *SqlV1Statement) SetName(v string)

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

func (*SqlV1Statement) SetOrganizationId

func (o *SqlV1Statement) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*SqlV1Statement) SetSpec

func (o *SqlV1Statement) SetSpec(v SqlV1StatementSpec)

SetSpec gets a reference to the given SqlV1StatementSpec and assigns it to the Spec field.

func (*SqlV1Statement) SetStatus

func (o *SqlV1Statement) SetStatus(v SqlV1StatementStatus)

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

type SqlV1StatementException

type SqlV1StatementException struct {
	// Kind defines the object this REST resource represents.
	Kind *string `json:"kind,omitempty"`
	// Name of the SQL statement exception.
	Name *string `json:"name,omitempty"`
	// Error message of the statement exception.
	Message *string `json:"message,omitempty"`
	// The date and time at which the exception occurred. It is represented in RFC3339 format and is in UTC.
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

SqlV1StatementException struct for SqlV1StatementException

func NewSqlV1StatementException

func NewSqlV1StatementException() *SqlV1StatementException

NewSqlV1StatementException instantiates a new SqlV1StatementException 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 NewSqlV1StatementExceptionWithDefaults

func NewSqlV1StatementExceptionWithDefaults() *SqlV1StatementException

NewSqlV1StatementExceptionWithDefaults instantiates a new SqlV1StatementException 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 (*SqlV1StatementException) GetKind

func (o *SqlV1StatementException) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*SqlV1StatementException) GetKindOk

func (o *SqlV1StatementException) GetKindOk() (*string, bool)

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

func (*SqlV1StatementException) GetMessage added in v0.10.0

func (o *SqlV1StatementException) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SqlV1StatementException) GetMessageOk added in v0.10.0

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

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

func (*SqlV1StatementException) GetName

func (o *SqlV1StatementException) GetName() string

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

func (*SqlV1StatementException) GetNameOk

func (o *SqlV1StatementException) 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 (*SqlV1StatementException) GetTimestamp

func (o *SqlV1StatementException) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*SqlV1StatementException) GetTimestampOk

func (o *SqlV1StatementException) GetTimestampOk() (*time.Time, bool)

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

func (*SqlV1StatementException) HasKind

func (o *SqlV1StatementException) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*SqlV1StatementException) HasMessage added in v0.10.0

func (o *SqlV1StatementException) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SqlV1StatementException) HasName

func (o *SqlV1StatementException) HasName() bool

HasName returns a boolean if a field has been set.

func (*SqlV1StatementException) HasTimestamp

func (o *SqlV1StatementException) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (SqlV1StatementException) MarshalJSON

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

func (*SqlV1StatementException) Redact

func (o *SqlV1StatementException) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementException) SetKind

func (o *SqlV1StatementException) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*SqlV1StatementException) SetMessage added in v0.10.0

func (o *SqlV1StatementException) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SqlV1StatementException) SetName

func (o *SqlV1StatementException) SetName(v string)

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

func (*SqlV1StatementException) SetTimestamp

func (o *SqlV1StatementException) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

type SqlV1StatementExceptionList

type SqlV1StatementExceptionList struct {
	// APIVersion defines the schema version of this representation of a resource.
	ApiVersion string `json:"api_version,omitempty"`
	// Kind defines the object this REST resource represents.
	Kind     string            `json:"kind,omitempty"`
	Metadata ExceptionListMeta `json:"metadata,omitempty"`
	// A data property that contains an array of resource items. Each entry in the array is a separate resource.
	Data []SqlV1StatementException `json:"data,omitempty"`
}

SqlV1StatementExceptionList StatementExceptionList is a list of exceptions coming from FAILED or FAILING Statements created by the SQL Statements API.

func NewSqlV1StatementExceptionList

func NewSqlV1StatementExceptionList(apiVersion string, kind string, metadata ExceptionListMeta, data []SqlV1StatementException) *SqlV1StatementExceptionList

NewSqlV1StatementExceptionList instantiates a new SqlV1StatementExceptionList 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 NewSqlV1StatementExceptionListWithDefaults

func NewSqlV1StatementExceptionListWithDefaults() *SqlV1StatementExceptionList

NewSqlV1StatementExceptionListWithDefaults instantiates a new SqlV1StatementExceptionList 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 (*SqlV1StatementExceptionList) GetApiVersion

func (o *SqlV1StatementExceptionList) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1StatementExceptionList) GetApiVersionOk

func (o *SqlV1StatementExceptionList) GetApiVersionOk() (*string, bool)

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

func (*SqlV1StatementExceptionList) GetData

GetData returns the Data field value

func (*SqlV1StatementExceptionList) GetDataOk

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

func (*SqlV1StatementExceptionList) GetKind

func (o *SqlV1StatementExceptionList) GetKind() string

GetKind returns the Kind field value

func (*SqlV1StatementExceptionList) GetKindOk

func (o *SqlV1StatementExceptionList) GetKindOk() (*string, bool)

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

func (*SqlV1StatementExceptionList) GetMetadata

GetMetadata returns the Metadata field value

func (*SqlV1StatementExceptionList) GetMetadataOk

func (o *SqlV1StatementExceptionList) GetMetadataOk() (*ExceptionListMeta, bool)

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

func (SqlV1StatementExceptionList) MarshalJSON

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

func (*SqlV1StatementExceptionList) Redact

func (o *SqlV1StatementExceptionList) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementExceptionList) SetApiVersion

func (o *SqlV1StatementExceptionList) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1StatementExceptionList) SetData

SetData sets field value

func (*SqlV1StatementExceptionList) SetKind

func (o *SqlV1StatementExceptionList) SetKind(v string)

SetKind sets field value

func (*SqlV1StatementExceptionList) SetMetadata

SetMetadata sets field value

type SqlV1StatementList

type SqlV1StatementList struct {
	// APIVersion defines the schema version of this representation of a resource.
	ApiVersion string `json:"api_version,omitempty"`
	// Kind defines the object this REST resource represents.
	Kind     string   `json:"kind,omitempty"`
	Metadata ListMeta `json:"metadata,omitempty"`
	// A data property that contains an array of resource items. Each entry in the array is a separate resource.
	Data []SqlV1Statement `json:"data,omitempty"`
}

SqlV1StatementList `Statement` represents a core resource used to model SQL statements for execution. A statement generalizes DDL, DML, DQL, etc., but doesn’t attempt to handle session management or any higher-level functionality. The API allows you to list, create, read, and delete your statements. ## The Statements Model <SchemaDefinition schemaRef=\"#/components/schemas/sql.v1.Statement\" />

func NewSqlV1StatementList

func NewSqlV1StatementList(apiVersion string, kind string, metadata ListMeta, data []SqlV1Statement) *SqlV1StatementList

NewSqlV1StatementList instantiates a new SqlV1StatementList 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 NewSqlV1StatementListWithDefaults

func NewSqlV1StatementListWithDefaults() *SqlV1StatementList

NewSqlV1StatementListWithDefaults instantiates a new SqlV1StatementList 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 (*SqlV1StatementList) GetApiVersion

func (o *SqlV1StatementList) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1StatementList) GetApiVersionOk

func (o *SqlV1StatementList) GetApiVersionOk() (*string, bool)

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

func (*SqlV1StatementList) GetData

func (o *SqlV1StatementList) GetData() []SqlV1Statement

GetData returns the Data field value

func (*SqlV1StatementList) GetDataOk

func (o *SqlV1StatementList) GetDataOk() (*[]SqlV1Statement, bool)

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

func (*SqlV1StatementList) GetKind

func (o *SqlV1StatementList) GetKind() string

GetKind returns the Kind field value

func (*SqlV1StatementList) GetKindOk

func (o *SqlV1StatementList) GetKindOk() (*string, bool)

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

func (*SqlV1StatementList) GetMetadata

func (o *SqlV1StatementList) GetMetadata() ListMeta

GetMetadata returns the Metadata field value

func (*SqlV1StatementList) GetMetadataOk

func (o *SqlV1StatementList) GetMetadataOk() (*ListMeta, bool)

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

func (SqlV1StatementList) MarshalJSON

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

func (*SqlV1StatementList) Redact

func (o *SqlV1StatementList) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementList) SetApiVersion

func (o *SqlV1StatementList) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1StatementList) SetData

func (o *SqlV1StatementList) SetData(v []SqlV1Statement)

SetData sets field value

func (*SqlV1StatementList) SetKind

func (o *SqlV1StatementList) SetKind(v string)

SetKind sets field value

func (*SqlV1StatementList) SetMetadata

func (o *SqlV1StatementList) SetMetadata(v ListMeta)

SetMetadata sets field value

type SqlV1StatementResult

type SqlV1StatementResult struct {
	// APIVersion defines the schema version of this representation of a resource.
	ApiVersion string `json:"api_version,omitempty"`
	// Kind defines the object this REST resource represents.
	Kind     string                       `json:"kind,omitempty"`
	Metadata ResultListMeta               `json:"metadata,omitempty"`
	Results  *SqlV1StatementResultResults `json:"results,omitempty"`
}

SqlV1StatementResult `Statement Result` represents a resource used to model results of SQL statements. The API allows you to read your SQL statement result. ## The Statement Result Model <SchemaDefinition schemaRef=\"#/components/schemas/sql.v1.StatementResult\" />

func NewSqlV1StatementResult

func NewSqlV1StatementResult(apiVersion string, kind string, metadata ResultListMeta) *SqlV1StatementResult

NewSqlV1StatementResult instantiates a new SqlV1StatementResult 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 NewSqlV1StatementResultWithDefaults

func NewSqlV1StatementResultWithDefaults() *SqlV1StatementResult

NewSqlV1StatementResultWithDefaults instantiates a new SqlV1StatementResult 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 (*SqlV1StatementResult) GetApiVersion

func (o *SqlV1StatementResult) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1StatementResult) GetApiVersionOk

func (o *SqlV1StatementResult) GetApiVersionOk() (*string, bool)

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

func (*SqlV1StatementResult) GetKind

func (o *SqlV1StatementResult) GetKind() string

GetKind returns the Kind field value

func (*SqlV1StatementResult) GetKindOk

func (o *SqlV1StatementResult) GetKindOk() (*string, bool)

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

func (*SqlV1StatementResult) GetMetadata

func (o *SqlV1StatementResult) GetMetadata() ResultListMeta

GetMetadata returns the Metadata field value

func (*SqlV1StatementResult) GetMetadataOk

func (o *SqlV1StatementResult) GetMetadataOk() (*ResultListMeta, bool)

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

func (*SqlV1StatementResult) GetResults

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

func (*SqlV1StatementResult) GetResultsOk

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 (*SqlV1StatementResult) HasResults

func (o *SqlV1StatementResult) HasResults() bool

HasResults returns a boolean if a field has been set.

func (SqlV1StatementResult) MarshalJSON

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

func (*SqlV1StatementResult) Redact

func (o *SqlV1StatementResult) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementResult) SetApiVersion

func (o *SqlV1StatementResult) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1StatementResult) SetKind

func (o *SqlV1StatementResult) SetKind(v string)

SetKind sets field value

func (*SqlV1StatementResult) SetMetadata

func (o *SqlV1StatementResult) SetMetadata(v ResultListMeta)

SetMetadata sets field value

func (*SqlV1StatementResult) SetResults

SetResults gets a reference to the given SqlV1StatementResultResults and assigns it to the Results field.

type SqlV1StatementResultResults

type SqlV1StatementResultResults struct {
	// A data property that contains an array of results. Each entry in the array is a separate result.  The value of `op` attribute (if present) represents the kind of change that a row can describe in a changelog:  `0`: represents `INSERT` (`+I`), i.e. insertion operation;  `1`: represents `UPDATE_BEFORE` (`-U`), i.e. update operation with the previous content of the updated row. This kind should occur together with `UPDATE_AFTER` for modelling an update that needs to retract the previous row first. It is useful in cases of a non-idempotent update, i.e., an update of a row that is not  uniquely identifiable by a key;  `2`: represents `UPDATE_AFTER` (`+U`), i.e. update operation with new content of the updated row; This kind CAN occur together with `UPDATE_BEFORE` for modelling an update that needs to retract the previous row first or it describes an idempotent update, i.e., an update of a row that is uniquely identifiable by a key;  `3`: represents `DELETE` (`-D`), i.e. deletion operation;  Defaults to `0`.
	Data *[]interface{} `json:"data,omitempty"`
}

SqlV1StatementResultResults A results property that contains a data property that contains an array of results.

func NewSqlV1StatementResultResults

func NewSqlV1StatementResultResults() *SqlV1StatementResultResults

NewSqlV1StatementResultResults instantiates a new SqlV1StatementResultResults 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 NewSqlV1StatementResultResultsWithDefaults

func NewSqlV1StatementResultResultsWithDefaults() *SqlV1StatementResultResults

NewSqlV1StatementResultResultsWithDefaults instantiates a new SqlV1StatementResultResults 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 (*SqlV1StatementResultResults) GetData

func (o *SqlV1StatementResultResults) GetData() []interface{}

GetData returns the Data field value if set, zero value otherwise.

func (*SqlV1StatementResultResults) GetDataOk

func (o *SqlV1StatementResultResults) GetDataOk() (*[]interface{}, bool)

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

func (*SqlV1StatementResultResults) HasData

func (o *SqlV1StatementResultResults) HasData() bool

HasData returns a boolean if a field has been set.

func (SqlV1StatementResultResults) MarshalJSON

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

func (*SqlV1StatementResultResults) Redact

func (o *SqlV1StatementResultResults) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementResultResults) SetData

func (o *SqlV1StatementResultResults) SetData(v []interface{})

SetData gets a reference to the given []interface{} and assigns it to the Data field.

type SqlV1StatementSpec

type SqlV1StatementSpec struct {
	// The raw SQL text statement.
	Statement *string `json:"statement,omitempty"`
	// A map (key-value pairs) of statement properties.
	Properties *map[string]string `json:"properties,omitempty"`
	// The id associated with the compute pool in context.
	ComputePoolId *string `json:"compute_pool_id,omitempty"`
	// The id of a principal this statement runs as.
	Principal *string `json:"principal,omitempty"`
	// Indicates whether the statement should be stopped.
	Stopped *bool `json:"stopped,omitempty"`
}

SqlV1StatementSpec The specs of the Statement

func NewSqlV1StatementSpec

func NewSqlV1StatementSpec() *SqlV1StatementSpec

NewSqlV1StatementSpec instantiates a new SqlV1StatementSpec 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 NewSqlV1StatementSpecWithDefaults

func NewSqlV1StatementSpecWithDefaults() *SqlV1StatementSpec

NewSqlV1StatementSpecWithDefaults instantiates a new SqlV1StatementSpec 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 (*SqlV1StatementSpec) GetComputePoolId

func (o *SqlV1StatementSpec) GetComputePoolId() string

GetComputePoolId returns the ComputePoolId field value if set, zero value otherwise.

func (*SqlV1StatementSpec) GetComputePoolIdOk

func (o *SqlV1StatementSpec) GetComputePoolIdOk() (*string, bool)

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

func (*SqlV1StatementSpec) GetPrincipal

func (o *SqlV1StatementSpec) GetPrincipal() string

GetPrincipal returns the Principal field value if set, zero value otherwise.

func (*SqlV1StatementSpec) GetPrincipalOk

func (o *SqlV1StatementSpec) GetPrincipalOk() (*string, bool)

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

func (*SqlV1StatementSpec) GetProperties

func (o *SqlV1StatementSpec) GetProperties() map[string]string

GetProperties returns the Properties field value if set, zero value otherwise.

func (*SqlV1StatementSpec) GetPropertiesOk

func (o *SqlV1StatementSpec) GetPropertiesOk() (*map[string]string, bool)

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

func (*SqlV1StatementSpec) GetStatement

func (o *SqlV1StatementSpec) GetStatement() string

GetStatement returns the Statement field value if set, zero value otherwise.

func (*SqlV1StatementSpec) GetStatementOk

func (o *SqlV1StatementSpec) GetStatementOk() (*string, bool)

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

func (*SqlV1StatementSpec) GetStopped

func (o *SqlV1StatementSpec) GetStopped() bool

GetStopped returns the Stopped field value if set, zero value otherwise.

func (*SqlV1StatementSpec) GetStoppedOk

func (o *SqlV1StatementSpec) GetStoppedOk() (*bool, bool)

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

func (*SqlV1StatementSpec) HasComputePoolId

func (o *SqlV1StatementSpec) HasComputePoolId() bool

HasComputePoolId returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasPrincipal

func (o *SqlV1StatementSpec) HasPrincipal() bool

HasPrincipal returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasProperties

func (o *SqlV1StatementSpec) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasStatement

func (o *SqlV1StatementSpec) HasStatement() bool

HasStatement returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasStopped

func (o *SqlV1StatementSpec) HasStopped() bool

HasStopped returns a boolean if a field has been set.

func (SqlV1StatementSpec) MarshalJSON

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

func (*SqlV1StatementSpec) Redact

func (o *SqlV1StatementSpec) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementSpec) SetComputePoolId

func (o *SqlV1StatementSpec) SetComputePoolId(v string)

SetComputePoolId gets a reference to the given string and assigns it to the ComputePoolId field.

func (*SqlV1StatementSpec) SetPrincipal

func (o *SqlV1StatementSpec) SetPrincipal(v string)

SetPrincipal gets a reference to the given string and assigns it to the Principal field.

func (*SqlV1StatementSpec) SetProperties

func (o *SqlV1StatementSpec) SetProperties(v map[string]string)

SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.

func (*SqlV1StatementSpec) SetStatement

func (o *SqlV1StatementSpec) SetStatement(v string)

SetStatement gets a reference to the given string and assigns it to the Statement field.

func (*SqlV1StatementSpec) SetStopped

func (o *SqlV1StatementSpec) SetStopped(v bool)

SetStopped gets a reference to the given bool and assigns it to the Stopped field.

type SqlV1StatementStatus

type SqlV1StatementStatus struct {
	// The lifecycle phase of the submitted SQL statement: PENDING: SQL statement is pending execution; RUNNING: SQL statement execution is in progress; COMPLETED: SQL statement is completed; DELETING: SQL statement deletion is in progress; FAILING: SQL statement is failing; FAILED: SQL statement execution has failed; STOPPED: SQL statement execution has successfully been stopped;
	Phase         string              `json:"phase,omitempty"`
	ScalingStatus *SqlV1ScalingStatus `json:"scaling_status,omitempty"`
	// Description of a SQL statement phase.
	Detail *string               `json:"detail,omitempty"`
	Traits *SqlV1StatementTraits `json:"traits,omitempty"`
}

SqlV1StatementStatus The status of the Statement

func NewSqlV1StatementStatus

func NewSqlV1StatementStatus(phase string) *SqlV1StatementStatus

NewSqlV1StatementStatus instantiates a new SqlV1StatementStatus 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 NewSqlV1StatementStatusWithDefaults

func NewSqlV1StatementStatusWithDefaults() *SqlV1StatementStatus

NewSqlV1StatementStatusWithDefaults instantiates a new SqlV1StatementStatus 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 (*SqlV1StatementStatus) GetDetail

func (o *SqlV1StatementStatus) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*SqlV1StatementStatus) GetDetailOk

func (o *SqlV1StatementStatus) GetDetailOk() (*string, bool)

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

func (*SqlV1StatementStatus) GetPhase

func (o *SqlV1StatementStatus) GetPhase() string

GetPhase returns the Phase field value

func (*SqlV1StatementStatus) GetPhaseOk

func (o *SqlV1StatementStatus) GetPhaseOk() (*string, bool)

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

func (*SqlV1StatementStatus) GetScalingStatus

func (o *SqlV1StatementStatus) GetScalingStatus() SqlV1ScalingStatus

GetScalingStatus returns the ScalingStatus field value if set, zero value otherwise.

func (*SqlV1StatementStatus) GetScalingStatusOk

func (o *SqlV1StatementStatus) GetScalingStatusOk() (*SqlV1ScalingStatus, bool)

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

func (*SqlV1StatementStatus) GetTraits added in v0.10.0

GetTraits returns the Traits field value if set, zero value otherwise.

func (*SqlV1StatementStatus) GetTraitsOk added in v0.10.0

func (o *SqlV1StatementStatus) GetTraitsOk() (*SqlV1StatementTraits, bool)

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

func (*SqlV1StatementStatus) HasDetail

func (o *SqlV1StatementStatus) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*SqlV1StatementStatus) HasScalingStatus

func (o *SqlV1StatementStatus) HasScalingStatus() bool

HasScalingStatus returns a boolean if a field has been set.

func (*SqlV1StatementStatus) HasTraits added in v0.10.0

func (o *SqlV1StatementStatus) HasTraits() bool

HasTraits returns a boolean if a field has been set.

func (SqlV1StatementStatus) MarshalJSON

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

func (*SqlV1StatementStatus) Redact

func (o *SqlV1StatementStatus) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementStatus) SetDetail

func (o *SqlV1StatementStatus) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*SqlV1StatementStatus) SetPhase

func (o *SqlV1StatementStatus) SetPhase(v string)

SetPhase sets field value

func (*SqlV1StatementStatus) SetScalingStatus

func (o *SqlV1StatementStatus) SetScalingStatus(v SqlV1ScalingStatus)

SetScalingStatus gets a reference to the given SqlV1ScalingStatus and assigns it to the ScalingStatus field.

func (*SqlV1StatementStatus) SetTraits added in v0.10.0

SetTraits gets a reference to the given SqlV1StatementTraits and assigns it to the Traits field.

type SqlV1StatementTraits added in v0.10.0

type SqlV1StatementTraits struct {
	// Categorizes the SQL statement. The result is Confluent-specific but inspired by SQL. It uses underscores for separating concepts e.g. \"CREATE_TABLE\".
	SqlKind *string `json:"sql_kind,omitempty"`
	// Indicates the special case where results of a statement are bounded.
	IsBounded *bool `json:"is_bounded,omitempty"`
	// Indicates the special case where results of a statement are insert/append only.
	IsAppendOnly *bool `json:"is_append_only,omitempty"`
	// Defines the column indices clients can use as upsert keys.
	UpsertColumns *[]int32           `json:"upsert_columns,omitempty"`
	Schema        *SqlV1ResultSchema `json:"schema,omitempty"`
}

SqlV1StatementTraits StatementTraits contains detailed information about the properties of a Statement

func NewSqlV1StatementTraits added in v0.10.0

func NewSqlV1StatementTraits() *SqlV1StatementTraits

NewSqlV1StatementTraits instantiates a new SqlV1StatementTraits 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 NewSqlV1StatementTraitsWithDefaults added in v0.10.0

func NewSqlV1StatementTraitsWithDefaults() *SqlV1StatementTraits

NewSqlV1StatementTraitsWithDefaults instantiates a new SqlV1StatementTraits 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 (*SqlV1StatementTraits) GetIsAppendOnly added in v0.10.0

func (o *SqlV1StatementTraits) GetIsAppendOnly() bool

GetIsAppendOnly returns the IsAppendOnly field value if set, zero value otherwise.

func (*SqlV1StatementTraits) GetIsAppendOnlyOk added in v0.10.0

func (o *SqlV1StatementTraits) GetIsAppendOnlyOk() (*bool, bool)

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

func (*SqlV1StatementTraits) GetIsBounded added in v0.10.0

func (o *SqlV1StatementTraits) GetIsBounded() bool

GetIsBounded returns the IsBounded field value if set, zero value otherwise.

func (*SqlV1StatementTraits) GetIsBoundedOk added in v0.10.0

func (o *SqlV1StatementTraits) GetIsBoundedOk() (*bool, bool)

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

func (*SqlV1StatementTraits) GetSchema added in v0.10.0

func (o *SqlV1StatementTraits) GetSchema() SqlV1ResultSchema

GetSchema returns the Schema field value if set, zero value otherwise.

func (*SqlV1StatementTraits) GetSchemaOk added in v0.10.0

func (o *SqlV1StatementTraits) GetSchemaOk() (*SqlV1ResultSchema, bool)

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

func (*SqlV1StatementTraits) GetSqlKind added in v0.10.0

func (o *SqlV1StatementTraits) GetSqlKind() string

GetSqlKind returns the SqlKind field value if set, zero value otherwise.

func (*SqlV1StatementTraits) GetSqlKindOk added in v0.10.0

func (o *SqlV1StatementTraits) GetSqlKindOk() (*string, bool)

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

func (*SqlV1StatementTraits) GetUpsertColumns added in v0.10.0

func (o *SqlV1StatementTraits) GetUpsertColumns() []int32

GetUpsertColumns returns the UpsertColumns field value if set, zero value otherwise.

func (*SqlV1StatementTraits) GetUpsertColumnsOk added in v0.10.0

func (o *SqlV1StatementTraits) GetUpsertColumnsOk() (*[]int32, bool)

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

func (*SqlV1StatementTraits) HasIsAppendOnly added in v0.10.0

func (o *SqlV1StatementTraits) HasIsAppendOnly() bool

HasIsAppendOnly returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasIsBounded added in v0.10.0

func (o *SqlV1StatementTraits) HasIsBounded() bool

HasIsBounded returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasSchema added in v0.10.0

func (o *SqlV1StatementTraits) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasSqlKind added in v0.10.0

func (o *SqlV1StatementTraits) HasSqlKind() bool

HasSqlKind returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasUpsertColumns added in v0.10.0

func (o *SqlV1StatementTraits) HasUpsertColumns() bool

HasUpsertColumns returns a boolean if a field has been set.

func (SqlV1StatementTraits) MarshalJSON added in v0.10.0

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

func (*SqlV1StatementTraits) Redact added in v0.10.0

func (o *SqlV1StatementTraits) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementTraits) SetIsAppendOnly added in v0.10.0

func (o *SqlV1StatementTraits) SetIsAppendOnly(v bool)

SetIsAppendOnly gets a reference to the given bool and assigns it to the IsAppendOnly field.

func (*SqlV1StatementTraits) SetIsBounded added in v0.10.0

func (o *SqlV1StatementTraits) SetIsBounded(v bool)

SetIsBounded gets a reference to the given bool and assigns it to the IsBounded field.

func (*SqlV1StatementTraits) SetSchema added in v0.10.0

func (o *SqlV1StatementTraits) SetSchema(v SqlV1ResultSchema)

SetSchema gets a reference to the given SqlV1ResultSchema and assigns it to the Schema field.

func (*SqlV1StatementTraits) SetSqlKind added in v0.10.0

func (o *SqlV1StatementTraits) SetSqlKind(v string)

SetSqlKind gets a reference to the given string and assigns it to the SqlKind field.

func (*SqlV1StatementTraits) SetUpsertColumns added in v0.10.0

func (o *SqlV1StatementTraits) SetUpsertColumns(v []int32)

SetUpsertColumns gets a reference to the given []int32 and assigns it to the UpsertColumns field.

type StatementExceptionsSqlV1Api

type StatementExceptionsSqlV1Api interface {

	/*
			GetSqlv1StatementExceptions List of Statement Exceptions

			[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy)
		Retrieve a list of the 10 most recent statement exceptions.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @param statementName The unique identifier for the statement.
			 @return ApiGetSqlv1StatementExceptionsRequest
	*/
	GetSqlv1StatementExceptions(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiGetSqlv1StatementExceptionsRequest

	// GetSqlv1StatementExceptionsExecute executes the request
	//  @return SqlV1StatementExceptionList
	GetSqlv1StatementExceptionsExecute(r ApiGetSqlv1StatementExceptionsRequest) (SqlV1StatementExceptionList, *_nethttp.Response, error)
}

type StatementExceptionsSqlV1ApiService

type StatementExceptionsSqlV1ApiService service

StatementExceptionsSqlV1ApiService StatementExceptionsSqlV1Api service

func (*StatementExceptionsSqlV1ApiService) GetSqlv1StatementExceptions

func (a *StatementExceptionsSqlV1ApiService) GetSqlv1StatementExceptions(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiGetSqlv1StatementExceptionsRequest

GetSqlv1StatementExceptions List of Statement Exceptions

[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy) Retrieve a list of the 10 most recent statement exceptions.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@param statementName The unique identifier for the statement.
@return ApiGetSqlv1StatementExceptionsRequest

func (*StatementExceptionsSqlV1ApiService) GetSqlv1StatementExceptionsExecute

Execute executes the request

@return SqlV1StatementExceptionList

type StatementResultsSqlV1Api

type StatementResultsSqlV1Api interface {

	/*
			GetSqlv1StatementResult Read Statement Result

			[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy)
		Read Statement Result.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @param name The unique identifier for the statement.
			 @return ApiGetSqlv1StatementResultRequest
	*/
	GetSqlv1StatementResult(ctx _context.Context, organizationId string, environmentId string, name string) ApiGetSqlv1StatementResultRequest

	// GetSqlv1StatementResultExecute executes the request
	//  @return SqlV1StatementResult
	GetSqlv1StatementResultExecute(r ApiGetSqlv1StatementResultRequest) (SqlV1StatementResult, *_nethttp.Response, error)
}

type StatementResultsSqlV1ApiService

type StatementResultsSqlV1ApiService service

StatementResultsSqlV1ApiService StatementResultsSqlV1Api service

func (*StatementResultsSqlV1ApiService) GetSqlv1StatementResult

func (a *StatementResultsSqlV1ApiService) GetSqlv1StatementResult(ctx _context.Context, organizationId string, environmentId string, name string) ApiGetSqlv1StatementResultRequest

GetSqlv1StatementResult Read Statement Result

[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy) Read Statement Result.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@param name The unique identifier for the statement.
@return ApiGetSqlv1StatementResultRequest

func (*StatementResultsSqlV1ApiService) GetSqlv1StatementResultExecute

Execute executes the request

@return SqlV1StatementResult

type StatementsSqlV1Api

type StatementsSqlV1Api interface {

	/*
			CreateSqlv1Statement Create a Statement

			[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy)
		Make a request to create a statement.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @return ApiCreateSqlv1StatementRequest
	*/
	CreateSqlv1Statement(ctx _context.Context, organizationId string, environmentId string) ApiCreateSqlv1StatementRequest

	// CreateSqlv1StatementExecute executes the request
	//  @return SqlV1Statement
	CreateSqlv1StatementExecute(r ApiCreateSqlv1StatementRequest) (SqlV1Statement, *_nethttp.Response, error)

	/*
			DeleteSqlv1Statement Delete a Statement

			[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy)
		Make a request to delete a statement.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @param statementName The unique identifier for the statement.
			 @return ApiDeleteSqlv1StatementRequest
	*/
	DeleteSqlv1Statement(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiDeleteSqlv1StatementRequest

	// DeleteSqlv1StatementExecute executes the request
	DeleteSqlv1StatementExecute(r ApiDeleteSqlv1StatementRequest) (*_nethttp.Response, error)

	/*
			GetSqlv1Statement Read a Statement

			[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy)
		Make a request to read a statement.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @param statementName The unique identifier for the statement.
			 @return ApiGetSqlv1StatementRequest
	*/
	GetSqlv1Statement(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiGetSqlv1StatementRequest

	// GetSqlv1StatementExecute executes the request
	//  @return SqlV1Statement
	GetSqlv1StatementExecute(r ApiGetSqlv1StatementRequest) (SqlV1Statement, *_nethttp.Response, error)

	/*
			ListSqlv1Statements List of Statements

			[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy)
		Retrieve a sorted, filtered, paginated list of all statements.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @return ApiListSqlv1StatementsRequest
	*/
	ListSqlv1Statements(ctx _context.Context, organizationId string, environmentId string) ApiListSqlv1StatementsRequest

	// ListSqlv1StatementsExecute executes the request
	//  @return SqlV1StatementList
	ListSqlv1StatementsExecute(r ApiListSqlv1StatementsRequest) (SqlV1StatementList, *_nethttp.Response, error)

	/*
			UpdateSqlv1Statement Update a Statement

			[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy)
		Make a request to update a statement.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @param statementName The unique identifier for the statement.
			 @return ApiUpdateSqlv1StatementRequest
	*/
	UpdateSqlv1Statement(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiUpdateSqlv1StatementRequest

	// UpdateSqlv1StatementExecute executes the request
	UpdateSqlv1StatementExecute(r ApiUpdateSqlv1StatementRequest) (*_nethttp.Response, error)
}

type StatementsSqlV1ApiService

type StatementsSqlV1ApiService service

StatementsSqlV1ApiService StatementsSqlV1Api service

func (*StatementsSqlV1ApiService) CreateSqlv1Statement

func (a *StatementsSqlV1ApiService) CreateSqlv1Statement(ctx _context.Context, organizationId string, environmentId string) ApiCreateSqlv1StatementRequest

CreateSqlv1Statement Create a Statement

[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy) Make a request to create a statement.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@return ApiCreateSqlv1StatementRequest

func (*StatementsSqlV1ApiService) CreateSqlv1StatementExecute

Execute executes the request

@return SqlV1Statement

func (*StatementsSqlV1ApiService) DeleteSqlv1Statement

func (a *StatementsSqlV1ApiService) DeleteSqlv1Statement(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiDeleteSqlv1StatementRequest

DeleteSqlv1Statement Delete a Statement

[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy) Make a request to delete a statement.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@param statementName The unique identifier for the statement.
@return ApiDeleteSqlv1StatementRequest

func (*StatementsSqlV1ApiService) DeleteSqlv1StatementExecute

func (a *StatementsSqlV1ApiService) DeleteSqlv1StatementExecute(r ApiDeleteSqlv1StatementRequest) (*_nethttp.Response, error)

Execute executes the request

func (*StatementsSqlV1ApiService) GetSqlv1Statement

func (a *StatementsSqlV1ApiService) GetSqlv1Statement(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiGetSqlv1StatementRequest

GetSqlv1Statement Read a Statement

[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy) Make a request to read a statement.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@param statementName The unique identifier for the statement.
@return ApiGetSqlv1StatementRequest

func (*StatementsSqlV1ApiService) GetSqlv1StatementExecute

Execute executes the request

@return SqlV1Statement

func (*StatementsSqlV1ApiService) ListSqlv1Statements

func (a *StatementsSqlV1ApiService) ListSqlv1Statements(ctx _context.Context, organizationId string, environmentId string) ApiListSqlv1StatementsRequest

ListSqlv1Statements List of Statements

[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy) Retrieve a sorted, filtered, paginated list of all statements.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@return ApiListSqlv1StatementsRequest

func (*StatementsSqlV1ApiService) ListSqlv1StatementsExecute

Execute executes the request

@return SqlV1StatementList

func (*StatementsSqlV1ApiService) UpdateSqlv1Statement

func (a *StatementsSqlV1ApiService) UpdateSqlv1Statement(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiUpdateSqlv1StatementRequest

UpdateSqlv1Statement Update a Statement

[![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](#section/Versioning/API-Lifecycle-Policy) Make a request to update a statement.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@param statementName The unique identifier for the statement.
@return ApiUpdateSqlv1StatementRequest

func (*StatementsSqlV1ApiService) UpdateSqlv1StatementExecute

func (a *StatementsSqlV1ApiService) UpdateSqlv1StatementExecute(r ApiUpdateSqlv1StatementRequest) (*_nethttp.Response, error)

Execute executes the request

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL