v1alpha1

package
v0.17.0 Latest Latest
Warning

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

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

README

Go API client for v1alpha1

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 "./v1alpha1"

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
StatementExceptionsSqlV1alpha1Api GetSqlV1alpha1StatementExceptions Get /sql/v1alpha1/environments/{environment_id}/statements/{statement_name}/exceptions List of Statement Exceptions
StatementResultSqlV1alpha1Api GetSqlV1alpha1StatementResult Get /sql/v1alpha1/environments/{environment_id}/statements/{statement_name}/results Read Statement Result
StatementsSqlV1alpha1Api CreateSqlV1alpha1Statement Post /sql/v1alpha1/environments/{environment_id}/statements Create a Statement
StatementsSqlV1alpha1Api DeleteSqlV1alpha1Statement Delete /sql/v1alpha1/environments/{environment_id}/statements/{statement_name} Delete a Statement
StatementsSqlV1alpha1Api GetSqlV1alpha1Statement Get /sql/v1alpha1/environments/{environment_id}/statements/{statement_name} Read a Statement
StatementsSqlV1alpha1Api ListSqlV1alpha1Statements Get /sql/v1alpha1/environments/{environment_id}/statements List of Statements

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

	StatementResultSqlV1alpha1Api StatementResultSqlV1alpha1Api

	StatementsSqlV1alpha1Api StatementsSqlV1alpha1Api
	// contains filtered or unexported fields
}

APIClient manages communication with the SQL API v1alpha1 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 ApiCreateSqlV1alpha1StatementRequest

type ApiCreateSqlV1alpha1StatementRequest struct {
	ApiService StatementsSqlV1alpha1Api
	// contains filtered or unexported fields
}

func (ApiCreateSqlV1alpha1StatementRequest) Execute

func (ApiCreateSqlV1alpha1StatementRequest) OrgId added in v0.2.0

The unique identifier for the organization.

func (ApiCreateSqlV1alpha1StatementRequest) SqlV1alpha1Statement

type ApiDeleteSqlV1alpha1StatementRequest

type ApiDeleteSqlV1alpha1StatementRequest struct {
	ApiService StatementsSqlV1alpha1Api
	// contains filtered or unexported fields
}

func (ApiDeleteSqlV1alpha1StatementRequest) Execute

func (ApiDeleteSqlV1alpha1StatementRequest) OrgId added in v0.2.0

The unique identifier for the organization.

type ApiGetSqlV1alpha1StatementExceptionsRequest

type ApiGetSqlV1alpha1StatementExceptionsRequest struct {
	ApiService StatementExceptionsSqlV1alpha1Api
	// contains filtered or unexported fields
}

func (ApiGetSqlV1alpha1StatementExceptionsRequest) Execute

func (ApiGetSqlV1alpha1StatementExceptionsRequest) OrgId

The unique identifier for the organization.

type ApiGetSqlV1alpha1StatementRequest

type ApiGetSqlV1alpha1StatementRequest struct {
	ApiService StatementsSqlV1alpha1Api
	// contains filtered or unexported fields
}

func (ApiGetSqlV1alpha1StatementRequest) Execute

func (ApiGetSqlV1alpha1StatementRequest) OrgId

The unique identifier for the organization.

type ApiGetSqlV1alpha1StatementResultRequest

type ApiGetSqlV1alpha1StatementResultRequest struct {
	ApiService StatementResultSqlV1alpha1Api
	// contains filtered or unexported fields
}

func (ApiGetSqlV1alpha1StatementResultRequest) Execute

func (ApiGetSqlV1alpha1StatementResultRequest) OrgId

The unique identifier for the organization.

func (ApiGetSqlV1alpha1StatementResultRequest) 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 ApiListSqlV1alpha1StatementsRequest

type ApiListSqlV1alpha1StatementsRequest struct {
	ApiService StatementsSqlV1alpha1Api
	// contains filtered or unexported fields
}

func (ApiListSqlV1alpha1StatementsRequest) ComputePoolId

Filter the results by exact match for spec.compute_pool_id.

func (ApiListSqlV1alpha1StatementsRequest) Execute

func (ApiListSqlV1alpha1StatementsRequest) OrgId

The unique identifier for the organization.

func (ApiListSqlV1alpha1StatementsRequest) PageSize

A pagination size for collection requests.

func (ApiListSqlV1alpha1StatementsRequest) PageToken

An opaque pagination token for collection requests.

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 NullableSqlV1alpha1ResultSchema

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

func (NullableSqlV1alpha1ResultSchema) Get

func (NullableSqlV1alpha1ResultSchema) IsSet

func (NullableSqlV1alpha1ResultSchema) MarshalJSON

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

func (*NullableSqlV1alpha1ResultSchema) Set

func (*NullableSqlV1alpha1ResultSchema) UnmarshalJSON

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

func (*NullableSqlV1alpha1ResultSchema) Unset

type NullableSqlV1alpha1Statement

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

func NewNullableSqlV1alpha1Statement

func NewNullableSqlV1alpha1Statement(val *SqlV1alpha1Statement) *NullableSqlV1alpha1Statement

func (NullableSqlV1alpha1Statement) Get

func (NullableSqlV1alpha1Statement) IsSet

func (NullableSqlV1alpha1Statement) MarshalJSON

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

func (*NullableSqlV1alpha1Statement) Set

func (*NullableSqlV1alpha1Statement) UnmarshalJSON

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

func (*NullableSqlV1alpha1Statement) Unset

func (v *NullableSqlV1alpha1Statement) Unset()

type NullableSqlV1alpha1StatementException

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

func (NullableSqlV1alpha1StatementException) Get

func (NullableSqlV1alpha1StatementException) IsSet

func (NullableSqlV1alpha1StatementException) MarshalJSON

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

func (*NullableSqlV1alpha1StatementException) Set

func (*NullableSqlV1alpha1StatementException) UnmarshalJSON

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

func (*NullableSqlV1alpha1StatementException) Unset

type NullableSqlV1alpha1StatementExceptionList

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

func (NullableSqlV1alpha1StatementExceptionList) Get

func (NullableSqlV1alpha1StatementExceptionList) IsSet

func (NullableSqlV1alpha1StatementExceptionList) MarshalJSON

func (*NullableSqlV1alpha1StatementExceptionList) Set

func (*NullableSqlV1alpha1StatementExceptionList) UnmarshalJSON

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

func (*NullableSqlV1alpha1StatementExceptionList) Unset

type NullableSqlV1alpha1StatementList

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

func (NullableSqlV1alpha1StatementList) Get

func (NullableSqlV1alpha1StatementList) IsSet

func (NullableSqlV1alpha1StatementList) MarshalJSON

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

func (*NullableSqlV1alpha1StatementList) Set

func (*NullableSqlV1alpha1StatementList) UnmarshalJSON

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

func (*NullableSqlV1alpha1StatementList) Unset

type NullableSqlV1alpha1StatementResult

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

func (NullableSqlV1alpha1StatementResult) Get

func (NullableSqlV1alpha1StatementResult) IsSet

func (NullableSqlV1alpha1StatementResult) MarshalJSON

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

func (*NullableSqlV1alpha1StatementResult) Set

func (*NullableSqlV1alpha1StatementResult) UnmarshalJSON

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

func (*NullableSqlV1alpha1StatementResult) Unset

type NullableSqlV1alpha1StatementResultResults

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

func (NullableSqlV1alpha1StatementResultResults) Get

func (NullableSqlV1alpha1StatementResultResults) IsSet

func (NullableSqlV1alpha1StatementResultResults) MarshalJSON

func (*NullableSqlV1alpha1StatementResultResults) Set

func (*NullableSqlV1alpha1StatementResultResults) UnmarshalJSON

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

func (*NullableSqlV1alpha1StatementResultResults) Unset

type NullableSqlV1alpha1StatementSpec

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

func (NullableSqlV1alpha1StatementSpec) Get

func (NullableSqlV1alpha1StatementSpec) IsSet

func (NullableSqlV1alpha1StatementSpec) MarshalJSON

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

func (*NullableSqlV1alpha1StatementSpec) Set

func (*NullableSqlV1alpha1StatementSpec) UnmarshalJSON

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

func (*NullableSqlV1alpha1StatementSpec) Unset

type NullableSqlV1alpha1StatementStatus

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

func (NullableSqlV1alpha1StatementStatus) Get

func (NullableSqlV1alpha1StatementStatus) IsSet

func (NullableSqlV1alpha1StatementStatus) MarshalJSON

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

func (*NullableSqlV1alpha1StatementStatus) Set

func (*NullableSqlV1alpha1StatementStatus) UnmarshalJSON

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

func (*NullableSqlV1alpha1StatementStatus) 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"`
}

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) 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) 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) 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) SetSelf

func (o *ObjectMeta) SetSelf(v string)

SetSelf sets field value

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 SqlV1alpha1ResultSchema

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

SqlV1alpha1ResultSchema The table columns of the results schema.

func NewSqlV1alpha1ResultSchema

func NewSqlV1alpha1ResultSchema() *SqlV1alpha1ResultSchema

NewSqlV1alpha1ResultSchema instantiates a new SqlV1alpha1ResultSchema 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 NewSqlV1alpha1ResultSchemaWithDefaults

func NewSqlV1alpha1ResultSchemaWithDefaults() *SqlV1alpha1ResultSchema

NewSqlV1alpha1ResultSchemaWithDefaults instantiates a new SqlV1alpha1ResultSchema 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 (*SqlV1alpha1ResultSchema) GetColumns

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

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

func (*SqlV1alpha1ResultSchema) GetColumnsOk

func (o *SqlV1alpha1ResultSchema) 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 (*SqlV1alpha1ResultSchema) HasColumns

func (o *SqlV1alpha1ResultSchema) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (SqlV1alpha1ResultSchema) MarshalJSON

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

func (*SqlV1alpha1ResultSchema) Redact

func (o *SqlV1alpha1ResultSchema) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1ResultSchema) SetColumns

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

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

type SqlV1alpha1Statement

type SqlV1alpha1Statement 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"`
	Spec     *SqlV1alpha1StatementSpec   `json:"spec,omitempty"`
	Status   *SqlV1alpha1StatementStatus `json:"status,omitempty"`
}

SqlV1alpha1Statement `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.v1alpha1.Statement\" />

func NewSqlV1alpha1Statement

func NewSqlV1alpha1Statement() *SqlV1alpha1Statement

NewSqlV1alpha1Statement instantiates a new SqlV1alpha1Statement 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 NewSqlV1alpha1StatementWithDefaults

func NewSqlV1alpha1StatementWithDefaults() *SqlV1alpha1Statement

NewSqlV1alpha1StatementWithDefaults instantiates a new SqlV1alpha1Statement 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 (*SqlV1alpha1Statement) GetApiVersion

func (o *SqlV1alpha1Statement) GetApiVersion() string

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

func (*SqlV1alpha1Statement) GetApiVersionOk

func (o *SqlV1alpha1Statement) 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 (*SqlV1alpha1Statement) GetKind

func (o *SqlV1alpha1Statement) GetKind() string

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

func (*SqlV1alpha1Statement) GetKindOk

func (o *SqlV1alpha1Statement) 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 (*SqlV1alpha1Statement) GetMetadata

func (o *SqlV1alpha1Statement) GetMetadata() ObjectMeta

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

func (*SqlV1alpha1Statement) GetMetadataOk

func (o *SqlV1alpha1Statement) 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 (*SqlV1alpha1Statement) GetSpec

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

func (*SqlV1alpha1Statement) GetSpecOk

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 (*SqlV1alpha1Statement) GetStatus

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

func (*SqlV1alpha1Statement) GetStatusOk

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 (*SqlV1alpha1Statement) HasApiVersion

func (o *SqlV1alpha1Statement) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

func (*SqlV1alpha1Statement) HasKind

func (o *SqlV1alpha1Statement) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*SqlV1alpha1Statement) HasMetadata

func (o *SqlV1alpha1Statement) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SqlV1alpha1Statement) HasSpec

func (o *SqlV1alpha1Statement) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (*SqlV1alpha1Statement) HasStatus

func (o *SqlV1alpha1Statement) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SqlV1alpha1Statement) MarshalJSON

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

func (*SqlV1alpha1Statement) Redact

func (o *SqlV1alpha1Statement) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1Statement) SetApiVersion

func (o *SqlV1alpha1Statement) SetApiVersion(v string)

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

func (*SqlV1alpha1Statement) SetKind

func (o *SqlV1alpha1Statement) SetKind(v string)

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

func (*SqlV1alpha1Statement) SetMetadata

func (o *SqlV1alpha1Statement) SetMetadata(v ObjectMeta)

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

func (*SqlV1alpha1Statement) SetSpec

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

func (*SqlV1alpha1Statement) SetStatus

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

type SqlV1alpha1StatementException

type SqlV1alpha1StatementException struct {
	// Name of the SQL statement exception.
	Name *string `json:"name,omitempty"`
	// Stack trace of the statement exception.
	Stacktrace *string `json:"stacktrace,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"`
}

SqlV1alpha1StatementException struct for SqlV1alpha1StatementException

func NewSqlV1alpha1StatementException

func NewSqlV1alpha1StatementException() *SqlV1alpha1StatementException

NewSqlV1alpha1StatementException instantiates a new SqlV1alpha1StatementException 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 NewSqlV1alpha1StatementExceptionWithDefaults

func NewSqlV1alpha1StatementExceptionWithDefaults() *SqlV1alpha1StatementException

NewSqlV1alpha1StatementExceptionWithDefaults instantiates a new SqlV1alpha1StatementException 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 (*SqlV1alpha1StatementException) GetName

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

func (*SqlV1alpha1StatementException) GetNameOk

func (o *SqlV1alpha1StatementException) 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 (*SqlV1alpha1StatementException) GetStacktrace

func (o *SqlV1alpha1StatementException) GetStacktrace() string

GetStacktrace returns the Stacktrace field value if set, zero value otherwise.

func (*SqlV1alpha1StatementException) GetStacktraceOk

func (o *SqlV1alpha1StatementException) GetStacktraceOk() (*string, bool)

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

func (*SqlV1alpha1StatementException) GetTimestamp

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

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

func (*SqlV1alpha1StatementException) GetTimestampOk

func (o *SqlV1alpha1StatementException) 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 (*SqlV1alpha1StatementException) HasName

func (o *SqlV1alpha1StatementException) HasName() bool

HasName returns a boolean if a field has been set.

func (*SqlV1alpha1StatementException) HasStacktrace

func (o *SqlV1alpha1StatementException) HasStacktrace() bool

HasStacktrace returns a boolean if a field has been set.

func (*SqlV1alpha1StatementException) HasTimestamp

func (o *SqlV1alpha1StatementException) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (SqlV1alpha1StatementException) MarshalJSON

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

func (*SqlV1alpha1StatementException) Redact

func (o *SqlV1alpha1StatementException) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1StatementException) SetName

func (o *SqlV1alpha1StatementException) SetName(v string)

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

func (*SqlV1alpha1StatementException) SetStacktrace

func (o *SqlV1alpha1StatementException) SetStacktrace(v string)

SetStacktrace gets a reference to the given string and assigns it to the Stacktrace field.

func (*SqlV1alpha1StatementException) SetTimestamp

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

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

type SqlV1alpha1StatementExceptionList

type SqlV1alpha1StatementExceptionList 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 []SqlV1alpha1StatementException `json:"data,omitempty"`
}

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

func NewSqlV1alpha1StatementExceptionList

func NewSqlV1alpha1StatementExceptionList(apiVersion string, kind string, metadata ExceptionListMeta, data []SqlV1alpha1StatementException) *SqlV1alpha1StatementExceptionList

NewSqlV1alpha1StatementExceptionList instantiates a new SqlV1alpha1StatementExceptionList 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 NewSqlV1alpha1StatementExceptionListWithDefaults

func NewSqlV1alpha1StatementExceptionListWithDefaults() *SqlV1alpha1StatementExceptionList

NewSqlV1alpha1StatementExceptionListWithDefaults instantiates a new SqlV1alpha1StatementExceptionList 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 (*SqlV1alpha1StatementExceptionList) GetApiVersion

func (o *SqlV1alpha1StatementExceptionList) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1alpha1StatementExceptionList) GetApiVersionOk

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

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

func (*SqlV1alpha1StatementExceptionList) GetData

GetData returns the Data field value

func (*SqlV1alpha1StatementExceptionList) GetDataOk

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

func (*SqlV1alpha1StatementExceptionList) GetKind

GetKind returns the Kind field value

func (*SqlV1alpha1StatementExceptionList) GetKindOk

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

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

func (*SqlV1alpha1StatementExceptionList) GetMetadata

GetMetadata returns the Metadata field value

func (*SqlV1alpha1StatementExceptionList) GetMetadataOk

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

func (SqlV1alpha1StatementExceptionList) MarshalJSON

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

func (*SqlV1alpha1StatementExceptionList) Redact

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1StatementExceptionList) SetApiVersion

func (o *SqlV1alpha1StatementExceptionList) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1alpha1StatementExceptionList) SetData

SetData sets field value

func (*SqlV1alpha1StatementExceptionList) SetKind

SetKind sets field value

func (*SqlV1alpha1StatementExceptionList) SetMetadata

SetMetadata sets field value

type SqlV1alpha1StatementList

type SqlV1alpha1StatementList 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 []SqlV1alpha1Statement `json:"data,omitempty"`
}

SqlV1alpha1StatementList `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.v1alpha1.Statement\" />

func NewSqlV1alpha1StatementList

func NewSqlV1alpha1StatementList(apiVersion string, kind string, metadata ListMeta, data []SqlV1alpha1Statement) *SqlV1alpha1StatementList

NewSqlV1alpha1StatementList instantiates a new SqlV1alpha1StatementList 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 NewSqlV1alpha1StatementListWithDefaults

func NewSqlV1alpha1StatementListWithDefaults() *SqlV1alpha1StatementList

NewSqlV1alpha1StatementListWithDefaults instantiates a new SqlV1alpha1StatementList 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 (*SqlV1alpha1StatementList) GetApiVersion

func (o *SqlV1alpha1StatementList) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1alpha1StatementList) GetApiVersionOk

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

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

func (*SqlV1alpha1StatementList) GetData

GetData returns the Data field value

func (*SqlV1alpha1StatementList) GetDataOk

func (o *SqlV1alpha1StatementList) GetDataOk() (*[]SqlV1alpha1Statement, bool)

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

func (*SqlV1alpha1StatementList) GetKind

func (o *SqlV1alpha1StatementList) GetKind() string

GetKind returns the Kind field value

func (*SqlV1alpha1StatementList) GetKindOk

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

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

func (*SqlV1alpha1StatementList) GetMetadata

func (o *SqlV1alpha1StatementList) GetMetadata() ListMeta

GetMetadata returns the Metadata field value

func (*SqlV1alpha1StatementList) GetMetadataOk

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

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

func (SqlV1alpha1StatementList) MarshalJSON

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

func (*SqlV1alpha1StatementList) Redact

func (o *SqlV1alpha1StatementList) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1StatementList) SetApiVersion

func (o *SqlV1alpha1StatementList) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1alpha1StatementList) SetData

SetData sets field value

func (*SqlV1alpha1StatementList) SetKind

func (o *SqlV1alpha1StatementList) SetKind(v string)

SetKind sets field value

func (*SqlV1alpha1StatementList) SetMetadata

func (o *SqlV1alpha1StatementList) SetMetadata(v ListMeta)

SetMetadata sets field value

type SqlV1alpha1StatementResult

type SqlV1alpha1StatementResult 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  *SqlV1alpha1StatementResultResults `json:"results,omitempty"`
}

SqlV1alpha1StatementResult `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.v1alpha1.StatementResult\" />

func NewSqlV1alpha1StatementResult

func NewSqlV1alpha1StatementResult(apiVersion string, kind string, metadata ResultListMeta) *SqlV1alpha1StatementResult

NewSqlV1alpha1StatementResult instantiates a new SqlV1alpha1StatementResult 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 NewSqlV1alpha1StatementResultWithDefaults

func NewSqlV1alpha1StatementResultWithDefaults() *SqlV1alpha1StatementResult

NewSqlV1alpha1StatementResultWithDefaults instantiates a new SqlV1alpha1StatementResult 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 (*SqlV1alpha1StatementResult) GetApiVersion

func (o *SqlV1alpha1StatementResult) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1alpha1StatementResult) GetApiVersionOk

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

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

func (*SqlV1alpha1StatementResult) GetKind

func (o *SqlV1alpha1StatementResult) GetKind() string

GetKind returns the Kind field value

func (*SqlV1alpha1StatementResult) GetKindOk

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

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

func (*SqlV1alpha1StatementResult) GetMetadata

func (o *SqlV1alpha1StatementResult) GetMetadata() ResultListMeta

GetMetadata returns the Metadata field value

func (*SqlV1alpha1StatementResult) GetMetadataOk

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

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

func (*SqlV1alpha1StatementResult) GetResults

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

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

func (o *SqlV1alpha1StatementResult) HasResults() bool

HasResults returns a boolean if a field has been set.

func (SqlV1alpha1StatementResult) MarshalJSON

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

func (*SqlV1alpha1StatementResult) Redact

func (o *SqlV1alpha1StatementResult) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1StatementResult) SetApiVersion

func (o *SqlV1alpha1StatementResult) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1alpha1StatementResult) SetKind

func (o *SqlV1alpha1StatementResult) SetKind(v string)

SetKind sets field value

func (*SqlV1alpha1StatementResult) SetMetadata

func (o *SqlV1alpha1StatementResult) SetMetadata(v ResultListMeta)

SetMetadata sets field value

func (*SqlV1alpha1StatementResult) SetResults

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

type SqlV1alpha1StatementResultResults

type SqlV1alpha1StatementResultResults 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"`
}

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

func NewSqlV1alpha1StatementResultResults

func NewSqlV1alpha1StatementResultResults() *SqlV1alpha1StatementResultResults

NewSqlV1alpha1StatementResultResults instantiates a new SqlV1alpha1StatementResultResults 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 NewSqlV1alpha1StatementResultResultsWithDefaults

func NewSqlV1alpha1StatementResultResultsWithDefaults() *SqlV1alpha1StatementResultResults

NewSqlV1alpha1StatementResultResultsWithDefaults instantiates a new SqlV1alpha1StatementResultResults 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 (*SqlV1alpha1StatementResultResults) GetData

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

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

func (*SqlV1alpha1StatementResultResults) GetDataOk

func (o *SqlV1alpha1StatementResultResults) 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 (*SqlV1alpha1StatementResultResults) HasData

HasData returns a boolean if a field has been set.

func (SqlV1alpha1StatementResultResults) MarshalJSON

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

func (*SqlV1alpha1StatementResultResults) Redact

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1StatementResultResults) SetData

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

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

type SqlV1alpha1StatementSpec

type SqlV1alpha1StatementSpec struct {
	// The name of the resource, unique within this environment.
	StatementName *string `json:"statement_name,omitempty"`
	// 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 associated with the identity pool in context.
	IdentityPoolId *string `json:"identity_pool_id,omitempty"`
}

SqlV1alpha1StatementSpec The specs of the Statement

func NewSqlV1alpha1StatementSpec

func NewSqlV1alpha1StatementSpec() *SqlV1alpha1StatementSpec

NewSqlV1alpha1StatementSpec instantiates a new SqlV1alpha1StatementSpec 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 NewSqlV1alpha1StatementSpecWithDefaults

func NewSqlV1alpha1StatementSpecWithDefaults() *SqlV1alpha1StatementSpec

NewSqlV1alpha1StatementSpecWithDefaults instantiates a new SqlV1alpha1StatementSpec 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 (*SqlV1alpha1StatementSpec) GetComputePoolId

func (o *SqlV1alpha1StatementSpec) GetComputePoolId() string

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

func (*SqlV1alpha1StatementSpec) GetComputePoolIdOk

func (o *SqlV1alpha1StatementSpec) 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 (*SqlV1alpha1StatementSpec) GetIdentityPoolId

func (o *SqlV1alpha1StatementSpec) GetIdentityPoolId() string

GetIdentityPoolId returns the IdentityPoolId field value if set, zero value otherwise.

func (*SqlV1alpha1StatementSpec) GetIdentityPoolIdOk

func (o *SqlV1alpha1StatementSpec) GetIdentityPoolIdOk() (*string, bool)

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

func (*SqlV1alpha1StatementSpec) GetProperties

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

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

func (*SqlV1alpha1StatementSpec) GetPropertiesOk

func (o *SqlV1alpha1StatementSpec) 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 (*SqlV1alpha1StatementSpec) GetStatement

func (o *SqlV1alpha1StatementSpec) GetStatement() string

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

func (*SqlV1alpha1StatementSpec) GetStatementName

func (o *SqlV1alpha1StatementSpec) GetStatementName() string

GetStatementName returns the StatementName field value if set, zero value otherwise.

func (*SqlV1alpha1StatementSpec) GetStatementNameOk

func (o *SqlV1alpha1StatementSpec) GetStatementNameOk() (*string, bool)

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

func (*SqlV1alpha1StatementSpec) GetStatementOk

func (o *SqlV1alpha1StatementSpec) 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 (*SqlV1alpha1StatementSpec) HasComputePoolId

func (o *SqlV1alpha1StatementSpec) HasComputePoolId() bool

HasComputePoolId returns a boolean if a field has been set.

func (*SqlV1alpha1StatementSpec) HasIdentityPoolId

func (o *SqlV1alpha1StatementSpec) HasIdentityPoolId() bool

HasIdentityPoolId returns a boolean if a field has been set.

func (*SqlV1alpha1StatementSpec) HasProperties

func (o *SqlV1alpha1StatementSpec) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*SqlV1alpha1StatementSpec) HasStatement

func (o *SqlV1alpha1StatementSpec) HasStatement() bool

HasStatement returns a boolean if a field has been set.

func (*SqlV1alpha1StatementSpec) HasStatementName

func (o *SqlV1alpha1StatementSpec) HasStatementName() bool

HasStatementName returns a boolean if a field has been set.

func (SqlV1alpha1StatementSpec) MarshalJSON

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

func (*SqlV1alpha1StatementSpec) Redact

func (o *SqlV1alpha1StatementSpec) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1StatementSpec) SetComputePoolId

func (o *SqlV1alpha1StatementSpec) SetComputePoolId(v string)

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

func (*SqlV1alpha1StatementSpec) SetIdentityPoolId

func (o *SqlV1alpha1StatementSpec) SetIdentityPoolId(v string)

SetIdentityPoolId gets a reference to the given string and assigns it to the IdentityPoolId field.

func (*SqlV1alpha1StatementSpec) SetProperties

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

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

func (*SqlV1alpha1StatementSpec) SetStatement

func (o *SqlV1alpha1StatementSpec) SetStatement(v string)

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

func (*SqlV1alpha1StatementSpec) SetStatementName

func (o *SqlV1alpha1StatementSpec) SetStatementName(v string)

SetStatementName gets a reference to the given string and assigns it to the StatementName field.

type SqlV1alpha1StatementStatus

type SqlV1alpha1StatementStatus 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;
	Phase        string                   `json:"phase,omitempty"`
	ResultSchema *SqlV1alpha1ResultSchema `json:"result_schema,omitempty"`
	// Description of a SQL statement phase.
	Detail *string `json:"detail,omitempty"`
}

SqlV1alpha1StatementStatus The status of the Statement

func NewSqlV1alpha1StatementStatus

func NewSqlV1alpha1StatementStatus(phase string) *SqlV1alpha1StatementStatus

NewSqlV1alpha1StatementStatus instantiates a new SqlV1alpha1StatementStatus 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 NewSqlV1alpha1StatementStatusWithDefaults

func NewSqlV1alpha1StatementStatusWithDefaults() *SqlV1alpha1StatementStatus

NewSqlV1alpha1StatementStatusWithDefaults instantiates a new SqlV1alpha1StatementStatus 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 (*SqlV1alpha1StatementStatus) GetDetail

func (o *SqlV1alpha1StatementStatus) GetDetail() string

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

func (*SqlV1alpha1StatementStatus) GetDetailOk

func (o *SqlV1alpha1StatementStatus) 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 (*SqlV1alpha1StatementStatus) GetPhase

func (o *SqlV1alpha1StatementStatus) GetPhase() string

GetPhase returns the Phase field value

func (*SqlV1alpha1StatementStatus) GetPhaseOk

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

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

func (*SqlV1alpha1StatementStatus) GetResultSchema

GetResultSchema returns the ResultSchema field value if set, zero value otherwise.

func (*SqlV1alpha1StatementStatus) GetResultSchemaOk

func (o *SqlV1alpha1StatementStatus) GetResultSchemaOk() (*SqlV1alpha1ResultSchema, bool)

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

func (*SqlV1alpha1StatementStatus) HasDetail

func (o *SqlV1alpha1StatementStatus) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*SqlV1alpha1StatementStatus) HasResultSchema

func (o *SqlV1alpha1StatementStatus) HasResultSchema() bool

HasResultSchema returns a boolean if a field has been set.

func (SqlV1alpha1StatementStatus) MarshalJSON

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

func (*SqlV1alpha1StatementStatus) Redact

func (o *SqlV1alpha1StatementStatus) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1alpha1StatementStatus) SetDetail

func (o *SqlV1alpha1StatementStatus) SetDetail(v string)

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

func (*SqlV1alpha1StatementStatus) SetPhase

func (o *SqlV1alpha1StatementStatus) SetPhase(v string)

SetPhase sets field value

func (*SqlV1alpha1StatementStatus) SetResultSchema

SetResultSchema gets a reference to the given SqlV1alpha1ResultSchema and assigns it to the ResultSchema field.

type StatementExceptionsSqlV1alpha1Api

type StatementExceptionsSqlV1alpha1Api interface {

	/*
			GetSqlV1alpha1StatementExceptions List of Statement Exceptions

			[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
		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 environmentId The unique identifier for the environment.
			 @param statementName The unique identifier for the statement.
			 @return ApiGetSqlV1alpha1StatementExceptionsRequest
	*/
	GetSqlV1alpha1StatementExceptions(ctx _context.Context, environmentId string, statementName string) ApiGetSqlV1alpha1StatementExceptionsRequest

	// GetSqlV1alpha1StatementExceptionsExecute executes the request
	//  @return SqlV1alpha1StatementExceptionList
	GetSqlV1alpha1StatementExceptionsExecute(r ApiGetSqlV1alpha1StatementExceptionsRequest) (SqlV1alpha1StatementExceptionList, *_nethttp.Response, error)
}

type StatementExceptionsSqlV1alpha1ApiService

type StatementExceptionsSqlV1alpha1ApiService service

StatementExceptionsSqlV1alpha1ApiService StatementExceptionsSqlV1alpha1Api service

func (*StatementExceptionsSqlV1alpha1ApiService) GetSqlV1alpha1StatementExceptions

func (a *StatementExceptionsSqlV1alpha1ApiService) GetSqlV1alpha1StatementExceptions(ctx _context.Context, environmentId string, statementName string) ApiGetSqlV1alpha1StatementExceptionsRequest

GetSqlV1alpha1StatementExceptions List of Statement Exceptions

[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) 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 environmentId The unique identifier for the environment.
@param statementName The unique identifier for the statement.
@return ApiGetSqlV1alpha1StatementExceptionsRequest

func (*StatementExceptionsSqlV1alpha1ApiService) GetSqlV1alpha1StatementExceptionsExecute

Execute executes the request

@return SqlV1alpha1StatementExceptionList

type StatementResultSqlV1alpha1Api

type StatementResultSqlV1alpha1Api interface {

	/*
			GetSqlV1alpha1StatementResult Read Statement Result

			[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)

		Read Statement Result.

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

	// GetSqlV1alpha1StatementResultExecute executes the request
	//  @return SqlV1alpha1StatementResult
	GetSqlV1alpha1StatementResultExecute(r ApiGetSqlV1alpha1StatementResultRequest) (SqlV1alpha1StatementResult, *_nethttp.Response, error)
}

type StatementResultSqlV1alpha1ApiService

type StatementResultSqlV1alpha1ApiService service

StatementResultSqlV1alpha1ApiService StatementResultSqlV1alpha1Api service

func (*StatementResultSqlV1alpha1ApiService) GetSqlV1alpha1StatementResult

func (a *StatementResultSqlV1alpha1ApiService) GetSqlV1alpha1StatementResult(ctx _context.Context, environmentId string, statementName string) ApiGetSqlV1alpha1StatementResultRequest

GetSqlV1alpha1StatementResult Read Statement Result

[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)

Read Statement Result.

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

func (*StatementResultSqlV1alpha1ApiService) GetSqlV1alpha1StatementResultExecute

Execute executes the request

@return SqlV1alpha1StatementResult

type StatementsSqlV1alpha1Api

type StatementsSqlV1alpha1Api interface {

	/*
			CreateSqlV1alpha1Statement Create a Statement

			[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
		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 environmentId The unique identifier for the environment.
			 @return ApiCreateSqlV1alpha1StatementRequest
	*/
	CreateSqlV1alpha1Statement(ctx _context.Context, environmentId string) ApiCreateSqlV1alpha1StatementRequest

	// CreateSqlV1alpha1StatementExecute executes the request
	//  @return SqlV1alpha1Statement
	CreateSqlV1alpha1StatementExecute(r ApiCreateSqlV1alpha1StatementRequest) (SqlV1alpha1Statement, *_nethttp.Response, error)

	/*
			DeleteSqlV1alpha1Statement Delete a Statement

			[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
		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 environmentId The unique identifier for the environment.
			 @param statementName The unique identifier for the statement.
			 @return ApiDeleteSqlV1alpha1StatementRequest
	*/
	DeleteSqlV1alpha1Statement(ctx _context.Context, environmentId string, statementName string) ApiDeleteSqlV1alpha1StatementRequest

	// DeleteSqlV1alpha1StatementExecute executes the request
	DeleteSqlV1alpha1StatementExecute(r ApiDeleteSqlV1alpha1StatementRequest) (*_nethttp.Response, error)

	/*
			GetSqlV1alpha1Statement Read a Statement

			[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
		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 environmentId The unique identifier for the environment.
			 @param statementName The unique identifier for the statement.
			 @return ApiGetSqlV1alpha1StatementRequest
	*/
	GetSqlV1alpha1Statement(ctx _context.Context, environmentId string, statementName string) ApiGetSqlV1alpha1StatementRequest

	// GetSqlV1alpha1StatementExecute executes the request
	//  @return SqlV1alpha1Statement
	GetSqlV1alpha1StatementExecute(r ApiGetSqlV1alpha1StatementRequest) (SqlV1alpha1Statement, *_nethttp.Response, error)

	/*
			ListSqlV1alpha1Statements List of Statements

			[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
		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 environmentId The unique identifier for the environment.
			 @return ApiListSqlV1alpha1StatementsRequest
	*/
	ListSqlV1alpha1Statements(ctx _context.Context, environmentId string) ApiListSqlV1alpha1StatementsRequest

	// ListSqlV1alpha1StatementsExecute executes the request
	//  @return SqlV1alpha1StatementList
	ListSqlV1alpha1StatementsExecute(r ApiListSqlV1alpha1StatementsRequest) (SqlV1alpha1StatementList, *_nethttp.Response, error)
}

type StatementsSqlV1alpha1ApiService

type StatementsSqlV1alpha1ApiService service

StatementsSqlV1alpha1ApiService StatementsSqlV1alpha1Api service

func (*StatementsSqlV1alpha1ApiService) CreateSqlV1alpha1Statement

func (a *StatementsSqlV1alpha1ApiService) CreateSqlV1alpha1Statement(ctx _context.Context, environmentId string) ApiCreateSqlV1alpha1StatementRequest

CreateSqlV1alpha1Statement Create a Statement

[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) 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 environmentId The unique identifier for the environment.
@return ApiCreateSqlV1alpha1StatementRequest

func (*StatementsSqlV1alpha1ApiService) CreateSqlV1alpha1StatementExecute

Execute executes the request

@return SqlV1alpha1Statement

func (*StatementsSqlV1alpha1ApiService) DeleteSqlV1alpha1Statement

func (a *StatementsSqlV1alpha1ApiService) DeleteSqlV1alpha1Statement(ctx _context.Context, environmentId string, statementName string) ApiDeleteSqlV1alpha1StatementRequest

DeleteSqlV1alpha1Statement Delete a Statement

[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) 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 environmentId The unique identifier for the environment.
@param statementName The unique identifier for the statement.
@return ApiDeleteSqlV1alpha1StatementRequest

func (*StatementsSqlV1alpha1ApiService) DeleteSqlV1alpha1StatementExecute

Execute executes the request

func (*StatementsSqlV1alpha1ApiService) GetSqlV1alpha1Statement

func (a *StatementsSqlV1alpha1ApiService) GetSqlV1alpha1Statement(ctx _context.Context, environmentId string, statementName string) ApiGetSqlV1alpha1StatementRequest

GetSqlV1alpha1Statement Read a Statement

[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) 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 environmentId The unique identifier for the environment.
@param statementName The unique identifier for the statement.
@return ApiGetSqlV1alpha1StatementRequest

func (*StatementsSqlV1alpha1ApiService) GetSqlV1alpha1StatementExecute

Execute executes the request

@return SqlV1alpha1Statement

func (*StatementsSqlV1alpha1ApiService) ListSqlV1alpha1Statements

func (a *StatementsSqlV1alpha1ApiService) ListSqlV1alpha1Statements(ctx _context.Context, environmentId string) ApiListSqlV1alpha1StatementsRequest

ListSqlV1alpha1Statements List of Statements

[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Request Access To SQL API v1alpha1](https://img.shields.io/badge/-Request%20Access%20To%20Flink%20Gateway%20API-%23bc8540)](mailto:ccloud-api-access+sql-v1alpha1-early-access@confluent.io?subject=Request%20to%20join%20sql/v1alpha1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20sql/v1alpha1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) 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 environmentId The unique identifier for the environment.
@return ApiListSqlV1alpha1StatementsRequest

func (*StatementsSqlV1alpha1ApiService) ListSqlV1alpha1StatementsExecute

Execute executes the request

@return SqlV1alpha1StatementList

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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