v1

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: 10

README

Go API client for v1

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

Overview

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

Installation

Install the following dependencies:

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

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

import sw "./v1"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

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

Class Method HTTP request Description
ConnectionsSqlV1Api CreateSqlv1Connection Post /sql/v1/organizations/{organization_id}/environments/{environment_id}/connections Create a Connection
ConnectionsSqlV1Api DeleteSqlv1Connection Delete /sql/v1/organizations/{organization_id}/environments/{environment_id}/connections/{connection_name} Delete a Connection
ConnectionsSqlV1Api GetSqlv1Connection Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/connections/{connection_name} Read a Connection
ConnectionsSqlV1Api ListSqlv1Connections Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/connections List of Connections
ConnectionsSqlV1Api UpdateSqlv1Connection Put /sql/v1/organizations/{organization_id}/environments/{environment_id}/connections/{connection_name} Update a Connection
StatementExceptionsSqlV1Api GetSqlv1StatementExceptions Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name}/exceptions List of Statement Exceptions
StatementResultsSqlV1Api GetSqlv1StatementResult Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{name}/results Read Statement Result
StatementsSqlV1Api CreateSqlv1Statement Post /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements Create a Statement
StatementsSqlV1Api DeleteSqlv1Statement Delete /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Delete a Statement
StatementsSqlV1Api GetSqlv1Statement Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Read a Statement
StatementsSqlV1Api ListSqlv1Statements Get /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements List of Statements
StatementsSqlV1Api PatchSqlv1Statement Patch /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Patch a Statement
StatementsSqlV1Api UpdateSqlv1Statement Put /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Update a Statement

Documentation For Models

Documentation For Authorization

resource-api-key
  • Type: HTTP basic authentication

Example

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

Documentation for Utility Methods

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

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

Author

flink-control-plane@confluent.io

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	ConnectionsSqlV1Api ConnectionsSqlV1Api

	StatementExceptionsSqlV1Api StatementExceptionsSqlV1Api

	StatementResultsSqlV1Api StatementResultsSqlV1Api

	StatementsSqlV1Api StatementsSqlV1Api
	// contains filtered or unexported fields
}

APIClient manages communication with the SQL API v1 API v0.0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateSqlv1ConnectionRequest added in v0.12.0

type ApiCreateSqlv1ConnectionRequest struct {
	ApiService ConnectionsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiCreateSqlv1ConnectionRequest) Execute added in v0.12.0

func (ApiCreateSqlv1ConnectionRequest) SqlV1Connection added in v0.12.0

type ApiCreateSqlv1StatementRequest

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

func (ApiCreateSqlv1StatementRequest) Execute

func (ApiCreateSqlv1StatementRequest) SqlV1Statement

type ApiDeleteSqlv1ConnectionRequest added in v0.12.0

type ApiDeleteSqlv1ConnectionRequest struct {
	ApiService ConnectionsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteSqlv1ConnectionRequest) Execute added in v0.12.0

type ApiDeleteSqlv1StatementRequest

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

func (ApiDeleteSqlv1StatementRequest) Execute

type ApiGetSqlv1ConnectionRequest added in v0.12.0

type ApiGetSqlv1ConnectionRequest struct {
	ApiService ConnectionsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiGetSqlv1ConnectionRequest) Execute added in v0.12.0

type ApiGetSqlv1StatementExceptionsRequest

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

func (ApiGetSqlv1StatementExceptionsRequest) Execute

type ApiGetSqlv1StatementRequest

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

func (ApiGetSqlv1StatementRequest) Execute

type ApiGetSqlv1StatementResultRequest

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

func (ApiGetSqlv1StatementResultRequest) Execute

func (ApiGetSqlv1StatementResultRequest) PageToken

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

type ApiListSqlv1ConnectionsRequest added in v0.12.0

type ApiListSqlv1ConnectionsRequest struct {
	ApiService ConnectionsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiListSqlv1ConnectionsRequest) Execute added in v0.12.0

func (ApiListSqlv1ConnectionsRequest) PageSize added in v0.12.0

A pagination size for collection requests.

func (ApiListSqlv1ConnectionsRequest) PageToken added in v0.12.0

An opaque pagination token for collection requests.

func (ApiListSqlv1ConnectionsRequest) SpecConnectionType added in v0.12.0

func (r ApiListSqlv1ConnectionsRequest) SpecConnectionType(specConnectionType string) ApiListSqlv1ConnectionsRequest

Filter the results by exact match for spec.connection_type

type ApiListSqlv1StatementsRequest

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

func (ApiListSqlv1StatementsRequest) Execute

func (ApiListSqlv1StatementsRequest) LabelSelector added in v0.12.0

A comma-separated label selector to filter the statements.

func (ApiListSqlv1StatementsRequest) PageSize

A pagination size for collection requests.

func (ApiListSqlv1StatementsRequest) PageToken

An opaque pagination token for collection requests.

func (ApiListSqlv1StatementsRequest) SpecComputePoolId

func (r ApiListSqlv1StatementsRequest) SpecComputePoolId(specComputePoolId string) ApiListSqlv1StatementsRequest

Filter the results by exact match for spec.compute_pool.

type ApiPatchSqlv1StatementRequest added in v0.17.0

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

func (ApiPatchSqlv1StatementRequest) Execute added in v0.17.0

func (ApiPatchSqlv1StatementRequest) PatchRequest added in v0.17.0

type ApiUpdateSqlv1ConnectionRequest added in v0.12.0

type ApiUpdateSqlv1ConnectionRequest struct {
	ApiService ConnectionsSqlV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateSqlv1ConnectionRequest) Execute added in v0.12.0

func (ApiUpdateSqlv1ConnectionRequest) SqlV1Connection added in v0.12.0

type ApiUpdateSqlv1StatementRequest

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

func (ApiUpdateSqlv1StatementRequest) Execute

func (ApiUpdateSqlv1StatementRequest) SqlV1Statement

type BasicAuth

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

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

type ColumnDetails

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

ColumnDetails A column in the results schema.

func NewColumnDetails

func NewColumnDetails(name string, type_ DataType) *ColumnDetails

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

func NewColumnDetailsWithDefaults

func NewColumnDetailsWithDefaults() *ColumnDetails

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

func (*ColumnDetails) GetName

func (o *ColumnDetails) GetName() string

GetName returns the Name field value

func (*ColumnDetails) GetNameOk

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

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

func (*ColumnDetails) GetType

func (o *ColumnDetails) GetType() DataType

GetType returns the Type field value

func (*ColumnDetails) GetTypeOk

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

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

func (ColumnDetails) MarshalJSON

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

func (*ColumnDetails) Redact

func (o *ColumnDetails) Redact()

Redact resets all sensitive fields to their zero value.

func (*ColumnDetails) SetName

func (o *ColumnDetails) SetName(v string)

SetName sets field value

func (*ColumnDetails) SetType

func (o *ColumnDetails) SetType(v DataType)

SetType sets field value

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type ConnectionsSqlV1Api added in v0.12.0

type ConnectionsSqlV1Api interface {

	/*
			CreateSqlv1Connection Create a Connection

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

		Make a request to create a Connection.

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

	// CreateSqlv1ConnectionExecute executes the request
	//  @return SqlV1Connection
	CreateSqlv1ConnectionExecute(r ApiCreateSqlv1ConnectionRequest) (SqlV1Connection, *_nethttp.Response, error)

	/*
			DeleteSqlv1Connection Delete a Connection

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

		Make a request to delete a statement.

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

	// DeleteSqlv1ConnectionExecute executes the request
	DeleteSqlv1ConnectionExecute(r ApiDeleteSqlv1ConnectionRequest) (*_nethttp.Response, error)

	/*
			GetSqlv1Connection Read a Connection

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

		Make a request to read a Connection.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param organizationId The unique identifier for the organization.
			 @param environmentId The unique identifier for the environment.
			 @param connectionName The user provided name of the Connection. Unique within a region within an org and env.
			 @return ApiGetSqlv1ConnectionRequest
	*/
	GetSqlv1Connection(ctx _context.Context, organizationId string, environmentId string, connectionName string) ApiGetSqlv1ConnectionRequest

	// GetSqlv1ConnectionExecute executes the request
	//  @return SqlV1Connection
	GetSqlv1ConnectionExecute(r ApiGetSqlv1ConnectionRequest) (SqlV1Connection, *_nethttp.Response, error)

	/*
			ListSqlv1Connections List of Connections

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

		Retrieve a sorted, filtered and paginated list of all Connections.

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

	// ListSqlv1ConnectionsExecute executes the request
	//  @return SqlV1ConnectionList
	ListSqlv1ConnectionsExecute(r ApiListSqlv1ConnectionsRequest) (SqlV1ConnectionList, *_nethttp.Response, error)

	/*
			UpdateSqlv1Connection Update a Connection

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

		Make a request to update a connection.

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

	// UpdateSqlv1ConnectionExecute executes the request
	UpdateSqlv1ConnectionExecute(r ApiUpdateSqlv1ConnectionRequest) (*_nethttp.Response, error)
}

type ConnectionsSqlV1ApiService added in v0.12.0

type ConnectionsSqlV1ApiService service

ConnectionsSqlV1ApiService ConnectionsSqlV1Api service

func (*ConnectionsSqlV1ApiService) CreateSqlv1Connection added in v0.12.0

func (a *ConnectionsSqlV1ApiService) CreateSqlv1Connection(ctx _context.Context, organizationId string, environmentId string) ApiCreateSqlv1ConnectionRequest

CreateSqlv1Connection Create a Connection

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

Make a request to create a Connection.

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

func (*ConnectionsSqlV1ApiService) CreateSqlv1ConnectionExecute added in v0.12.0

Execute executes the request

@return SqlV1Connection

func (*ConnectionsSqlV1ApiService) DeleteSqlv1Connection added in v0.12.0

func (a *ConnectionsSqlV1ApiService) DeleteSqlv1Connection(ctx _context.Context, organizationId string, environmentId string, connectionName string) ApiDeleteSqlv1ConnectionRequest

DeleteSqlv1Connection Delete a Connection

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

Make a request to delete a statement.

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

func (*ConnectionsSqlV1ApiService) DeleteSqlv1ConnectionExecute added in v0.12.0

func (a *ConnectionsSqlV1ApiService) DeleteSqlv1ConnectionExecute(r ApiDeleteSqlv1ConnectionRequest) (*_nethttp.Response, error)

Execute executes the request

func (*ConnectionsSqlV1ApiService) GetSqlv1Connection added in v0.12.0

func (a *ConnectionsSqlV1ApiService) GetSqlv1Connection(ctx _context.Context, organizationId string, environmentId string, connectionName string) ApiGetSqlv1ConnectionRequest

GetSqlv1Connection Read a Connection

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

Make a request to read a Connection.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The unique identifier for the organization.
@param environmentId The unique identifier for the environment.
@param connectionName The user provided name of the Connection. Unique within a region within an org and env.
@return ApiGetSqlv1ConnectionRequest

func (*ConnectionsSqlV1ApiService) GetSqlv1ConnectionExecute added in v0.12.0

Execute executes the request

@return SqlV1Connection

func (*ConnectionsSqlV1ApiService) ListSqlv1Connections added in v0.12.0

func (a *ConnectionsSqlV1ApiService) ListSqlv1Connections(ctx _context.Context, organizationId string, environmentId string) ApiListSqlv1ConnectionsRequest

ListSqlv1Connections List of Connections

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

Retrieve a sorted, filtered and paginated list of all Connections.

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

func (*ConnectionsSqlV1ApiService) ListSqlv1ConnectionsExecute added in v0.12.0

Execute executes the request

@return SqlV1ConnectionList

func (*ConnectionsSqlV1ApiService) UpdateSqlv1Connection added in v0.12.0

func (a *ConnectionsSqlV1ApiService) UpdateSqlv1Connection(ctx _context.Context, organizationId string, environmentId string, connectionName string) ApiUpdateSqlv1ConnectionRequest

UpdateSqlv1Connection Update a Connection

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

Make a request to update a connection.

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

func (*ConnectionsSqlV1ApiService) UpdateSqlv1ConnectionExecute added in v0.12.0

func (a *ConnectionsSqlV1ApiService) UpdateSqlv1ConnectionExecute(r ApiUpdateSqlv1ConnectionRequest) (*_nethttp.Response, error)

Execute executes the request

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 JsonPatchRequestAddReplace added in v0.17.0

type JsonPatchRequestAddReplace struct {
	// A JSON Pointer path.
	Path string `json:"path,omitempty"`
	// The value to add, replace or test.
	Value interface{} `json:"value,omitempty"`
	// The operation to perform.
	Op string `json:"op,omitempty"`
}

JsonPatchRequestAddReplace This option is used to add or replace a value for a field

func NewJsonPatchRequestAddReplace added in v0.17.0

func NewJsonPatchRequestAddReplace(path string, value interface{}, op string) *JsonPatchRequestAddReplace

NewJsonPatchRequestAddReplace instantiates a new JsonPatchRequestAddReplace 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 NewJsonPatchRequestAddReplaceWithDefaults added in v0.17.0

func NewJsonPatchRequestAddReplaceWithDefaults() *JsonPatchRequestAddReplace

NewJsonPatchRequestAddReplaceWithDefaults instantiates a new JsonPatchRequestAddReplace 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 (*JsonPatchRequestAddReplace) GetOp added in v0.17.0

GetOp returns the Op field value

func (*JsonPatchRequestAddReplace) GetOpOk added in v0.17.0

func (o *JsonPatchRequestAddReplace) GetOpOk() (*string, bool)

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

func (*JsonPatchRequestAddReplace) GetPath added in v0.17.0

func (o *JsonPatchRequestAddReplace) GetPath() string

GetPath returns the Path field value

func (*JsonPatchRequestAddReplace) GetPathOk added in v0.17.0

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

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

func (*JsonPatchRequestAddReplace) GetValue added in v0.17.0

func (o *JsonPatchRequestAddReplace) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*JsonPatchRequestAddReplace) GetValueOk added in v0.17.0

func (o *JsonPatchRequestAddReplace) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (JsonPatchRequestAddReplace) MarshalJSON added in v0.17.0

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

func (*JsonPatchRequestAddReplace) Redact added in v0.17.0

func (o *JsonPatchRequestAddReplace) Redact()

Redact resets all sensitive fields to their zero value.

func (*JsonPatchRequestAddReplace) SetOp added in v0.17.0

func (o *JsonPatchRequestAddReplace) SetOp(v string)

SetOp sets field value

func (*JsonPatchRequestAddReplace) SetPath added in v0.17.0

func (o *JsonPatchRequestAddReplace) SetPath(v string)

SetPath sets field value

func (*JsonPatchRequestAddReplace) SetValue added in v0.17.0

func (o *JsonPatchRequestAddReplace) SetValue(v interface{})

SetValue sets field value

type JsonPatchRequestMoveCopy added in v0.17.0

type JsonPatchRequestMoveCopy struct {
	// A JSON Pointer path.
	Path string `json:"path,omitempty"`
	// The operation to perform.
	Op string `json:"op,omitempty"`
	// A JSON Pointer path.
	From string `json:"from,omitempty"`
}

JsonPatchRequestMoveCopy This option is used to move or copy a field

func NewJsonPatchRequestMoveCopy added in v0.17.0

func NewJsonPatchRequestMoveCopy(path string, op string, from string) *JsonPatchRequestMoveCopy

NewJsonPatchRequestMoveCopy instantiates a new JsonPatchRequestMoveCopy 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 NewJsonPatchRequestMoveCopyWithDefaults added in v0.17.0

func NewJsonPatchRequestMoveCopyWithDefaults() *JsonPatchRequestMoveCopy

NewJsonPatchRequestMoveCopyWithDefaults instantiates a new JsonPatchRequestMoveCopy 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 (*JsonPatchRequestMoveCopy) GetFrom added in v0.17.0

func (o *JsonPatchRequestMoveCopy) GetFrom() string

GetFrom returns the From field value

func (*JsonPatchRequestMoveCopy) GetFromOk added in v0.17.0

func (o *JsonPatchRequestMoveCopy) GetFromOk() (*string, bool)

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

func (*JsonPatchRequestMoveCopy) GetOp added in v0.17.0

func (o *JsonPatchRequestMoveCopy) GetOp() string

GetOp returns the Op field value

func (*JsonPatchRequestMoveCopy) GetOpOk added in v0.17.0

func (o *JsonPatchRequestMoveCopy) GetOpOk() (*string, bool)

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

func (*JsonPatchRequestMoveCopy) GetPath added in v0.17.0

func (o *JsonPatchRequestMoveCopy) GetPath() string

GetPath returns the Path field value

func (*JsonPatchRequestMoveCopy) GetPathOk added in v0.17.0

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

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

func (JsonPatchRequestMoveCopy) MarshalJSON added in v0.17.0

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

func (*JsonPatchRequestMoveCopy) Redact added in v0.17.0

func (o *JsonPatchRequestMoveCopy) Redact()

Redact resets all sensitive fields to their zero value.

func (*JsonPatchRequestMoveCopy) SetFrom added in v0.17.0

func (o *JsonPatchRequestMoveCopy) SetFrom(v string)

SetFrom sets field value

func (*JsonPatchRequestMoveCopy) SetOp added in v0.17.0

func (o *JsonPatchRequestMoveCopy) SetOp(v string)

SetOp sets field value

func (*JsonPatchRequestMoveCopy) SetPath added in v0.17.0

func (o *JsonPatchRequestMoveCopy) SetPath(v string)

SetPath sets field value

type JsonPatchRequestRemove added in v0.17.0

type JsonPatchRequestRemove struct {
	// A JSON Pointer path.
	Path string `json:"path,omitempty"`
	// The operation to perform.
	Op string `json:"op,omitempty"`
}

JsonPatchRequestRemove This option is used to remove a field

func NewJsonPatchRequestRemove added in v0.17.0

func NewJsonPatchRequestRemove(path string, op string) *JsonPatchRequestRemove

NewJsonPatchRequestRemove instantiates a new JsonPatchRequestRemove 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 NewJsonPatchRequestRemoveWithDefaults added in v0.17.0

func NewJsonPatchRequestRemoveWithDefaults() *JsonPatchRequestRemove

NewJsonPatchRequestRemoveWithDefaults instantiates a new JsonPatchRequestRemove 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 (*JsonPatchRequestRemove) GetOp added in v0.17.0

func (o *JsonPatchRequestRemove) GetOp() string

GetOp returns the Op field value

func (*JsonPatchRequestRemove) GetOpOk added in v0.17.0

func (o *JsonPatchRequestRemove) GetOpOk() (*string, bool)

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

func (*JsonPatchRequestRemove) GetPath added in v0.17.0

func (o *JsonPatchRequestRemove) GetPath() string

GetPath returns the Path field value

func (*JsonPatchRequestRemove) GetPathOk added in v0.17.0

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

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

func (JsonPatchRequestRemove) MarshalJSON added in v0.17.0

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

func (*JsonPatchRequestRemove) Redact added in v0.17.0

func (o *JsonPatchRequestRemove) Redact()

Redact resets all sensitive fields to their zero value.

func (*JsonPatchRequestRemove) SetOp added in v0.17.0

func (o *JsonPatchRequestRemove) SetOp(v string)

SetOp sets field value

func (*JsonPatchRequestRemove) SetPath added in v0.17.0

func (o *JsonPatchRequestRemove) SetPath(v string)

SetPath sets field value

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 NullableJsonPatchRequestAddReplace added in v0.17.0

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

func NewNullableJsonPatchRequestAddReplace added in v0.17.0

func NewNullableJsonPatchRequestAddReplace(val *JsonPatchRequestAddReplace) *NullableJsonPatchRequestAddReplace

func (NullableJsonPatchRequestAddReplace) Get added in v0.17.0

func (NullableJsonPatchRequestAddReplace) IsSet added in v0.17.0

func (NullableJsonPatchRequestAddReplace) MarshalJSON added in v0.17.0

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

func (*NullableJsonPatchRequestAddReplace) Set added in v0.17.0

func (*NullableJsonPatchRequestAddReplace) UnmarshalJSON added in v0.17.0

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

func (*NullableJsonPatchRequestAddReplace) Unset added in v0.17.0

type NullableJsonPatchRequestMoveCopy added in v0.17.0

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

func NewNullableJsonPatchRequestMoveCopy added in v0.17.0

func NewNullableJsonPatchRequestMoveCopy(val *JsonPatchRequestMoveCopy) *NullableJsonPatchRequestMoveCopy

func (NullableJsonPatchRequestMoveCopy) Get added in v0.17.0

func (NullableJsonPatchRequestMoveCopy) IsSet added in v0.17.0

func (NullableJsonPatchRequestMoveCopy) MarshalJSON added in v0.17.0

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

func (*NullableJsonPatchRequestMoveCopy) Set added in v0.17.0

func (*NullableJsonPatchRequestMoveCopy) UnmarshalJSON added in v0.17.0

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

func (*NullableJsonPatchRequestMoveCopy) Unset added in v0.17.0

type NullableJsonPatchRequestRemove added in v0.17.0

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

func NewNullableJsonPatchRequestRemove added in v0.17.0

func NewNullableJsonPatchRequestRemove(val *JsonPatchRequestRemove) *NullableJsonPatchRequestRemove

func (NullableJsonPatchRequestRemove) Get added in v0.17.0

func (NullableJsonPatchRequestRemove) IsSet added in v0.17.0

func (NullableJsonPatchRequestRemove) MarshalJSON added in v0.17.0

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

func (*NullableJsonPatchRequestRemove) Set added in v0.17.0

func (*NullableJsonPatchRequestRemove) UnmarshalJSON added in v0.17.0

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

func (*NullableJsonPatchRequestRemove) Unset added in v0.17.0

func (v *NullableJsonPatchRequestRemove) 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 NullablePatchRequest added in v0.17.0

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

func NewNullablePatchRequest added in v0.17.0

func NewNullablePatchRequest(val *PatchRequest) *NullablePatchRequest

func (NullablePatchRequest) Get added in v0.17.0

func (NullablePatchRequest) IsSet added in v0.17.0

func (v NullablePatchRequest) IsSet() bool

func (NullablePatchRequest) MarshalJSON added in v0.17.0

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

func (*NullablePatchRequest) Set added in v0.17.0

func (v *NullablePatchRequest) Set(val *PatchRequest)

func (*NullablePatchRequest) UnmarshalJSON added in v0.17.0

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

func (*NullablePatchRequest) Unset added in v0.17.0

func (v *NullablePatchRequest) Unset()

type NullablePatchRequestOneOf added in v0.17.0

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

func NewNullablePatchRequestOneOf added in v0.17.0

func NewNullablePatchRequestOneOf(val *PatchRequestOneOf) *NullablePatchRequestOneOf

func (NullablePatchRequestOneOf) Get added in v0.17.0

func (NullablePatchRequestOneOf) IsSet added in v0.17.0

func (v NullablePatchRequestOneOf) IsSet() bool

func (NullablePatchRequestOneOf) MarshalJSON added in v0.17.0

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

func (*NullablePatchRequestOneOf) Set added in v0.17.0

func (*NullablePatchRequestOneOf) UnmarshalJSON added in v0.17.0

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

func (*NullablePatchRequestOneOf) Unset added in v0.17.0

func (v *NullablePatchRequestOneOf) 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 NullableSqlV1Connection added in v0.12.0

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

func NewNullableSqlV1Connection added in v0.12.0

func NewNullableSqlV1Connection(val *SqlV1Connection) *NullableSqlV1Connection

func (NullableSqlV1Connection) Get added in v0.12.0

func (NullableSqlV1Connection) IsSet added in v0.12.0

func (v NullableSqlV1Connection) IsSet() bool

func (NullableSqlV1Connection) MarshalJSON added in v0.12.0

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

func (*NullableSqlV1Connection) Set added in v0.12.0

func (*NullableSqlV1Connection) UnmarshalJSON added in v0.12.0

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

func (*NullableSqlV1Connection) Unset added in v0.12.0

func (v *NullableSqlV1Connection) Unset()

type NullableSqlV1ConnectionList added in v0.12.0

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

func NewNullableSqlV1ConnectionList added in v0.12.0

func NewNullableSqlV1ConnectionList(val *SqlV1ConnectionList) *NullableSqlV1ConnectionList

func (NullableSqlV1ConnectionList) Get added in v0.12.0

func (NullableSqlV1ConnectionList) IsSet added in v0.12.0

func (NullableSqlV1ConnectionList) MarshalJSON added in v0.12.0

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

func (*NullableSqlV1ConnectionList) Set added in v0.12.0

func (*NullableSqlV1ConnectionList) UnmarshalJSON added in v0.12.0

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

func (*NullableSqlV1ConnectionList) Unset added in v0.12.0

func (v *NullableSqlV1ConnectionList) Unset()

type NullableSqlV1ConnectionSpec added in v0.12.0

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

func NewNullableSqlV1ConnectionSpec added in v0.12.0

func NewNullableSqlV1ConnectionSpec(val *SqlV1ConnectionSpec) *NullableSqlV1ConnectionSpec

func (NullableSqlV1ConnectionSpec) Get added in v0.12.0

func (NullableSqlV1ConnectionSpec) IsSet added in v0.12.0

func (NullableSqlV1ConnectionSpec) MarshalJSON added in v0.12.0

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

func (*NullableSqlV1ConnectionSpec) Set added in v0.12.0

func (*NullableSqlV1ConnectionSpec) UnmarshalJSON added in v0.12.0

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

func (*NullableSqlV1ConnectionSpec) Unset added in v0.12.0

func (v *NullableSqlV1ConnectionSpec) Unset()

type NullableSqlV1ConnectionSpecAuthDataOneOf added in v0.12.0

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

func NewNullableSqlV1ConnectionSpecAuthDataOneOf added in v0.12.0

func NewNullableSqlV1ConnectionSpecAuthDataOneOf(val *SqlV1ConnectionSpecAuthDataOneOf) *NullableSqlV1ConnectionSpecAuthDataOneOf

func (NullableSqlV1ConnectionSpecAuthDataOneOf) Get added in v0.12.0

func (NullableSqlV1ConnectionSpecAuthDataOneOf) IsSet added in v0.12.0

func (NullableSqlV1ConnectionSpecAuthDataOneOf) MarshalJSON added in v0.12.0

func (*NullableSqlV1ConnectionSpecAuthDataOneOf) Set added in v0.12.0

func (*NullableSqlV1ConnectionSpecAuthDataOneOf) UnmarshalJSON added in v0.12.0

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

func (*NullableSqlV1ConnectionSpecAuthDataOneOf) Unset added in v0.12.0

type NullableSqlV1ConnectionStatus added in v0.12.0

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

func NewNullableSqlV1ConnectionStatus added in v0.12.0

func NewNullableSqlV1ConnectionStatus(val *SqlV1ConnectionStatus) *NullableSqlV1ConnectionStatus

func (NullableSqlV1ConnectionStatus) Get added in v0.12.0

func (NullableSqlV1ConnectionStatus) IsSet added in v0.12.0

func (NullableSqlV1ConnectionStatus) MarshalJSON added in v0.12.0

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

func (*NullableSqlV1ConnectionStatus) Set added in v0.12.0

func (*NullableSqlV1ConnectionStatus) UnmarshalJSON added in v0.12.0

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

func (*NullableSqlV1ConnectionStatus) Unset added in v0.12.0

func (v *NullableSqlV1ConnectionStatus) Unset()

type NullableSqlV1PlaintextProvider added in v0.12.0

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

func NewNullableSqlV1PlaintextProvider added in v0.12.0

func NewNullableSqlV1PlaintextProvider(val *SqlV1PlaintextProvider) *NullableSqlV1PlaintextProvider

func (NullableSqlV1PlaintextProvider) Get added in v0.12.0

func (NullableSqlV1PlaintextProvider) IsSet added in v0.12.0

func (NullableSqlV1PlaintextProvider) MarshalJSON added in v0.12.0

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

func (*NullableSqlV1PlaintextProvider) Set added in v0.12.0

func (*NullableSqlV1PlaintextProvider) UnmarshalJSON added in v0.12.0

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

func (*NullableSqlV1PlaintextProvider) Unset added in v0.12.0

func (v *NullableSqlV1PlaintextProvider) Unset()

type NullableSqlV1ResultSchema

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

func NewNullableSqlV1ResultSchema

func NewNullableSqlV1ResultSchema(val *SqlV1ResultSchema) *NullableSqlV1ResultSchema

func (NullableSqlV1ResultSchema) Get

func (NullableSqlV1ResultSchema) IsSet

func (v NullableSqlV1ResultSchema) IsSet() bool

func (NullableSqlV1ResultSchema) MarshalJSON

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

func (*NullableSqlV1ResultSchema) Set

func (*NullableSqlV1ResultSchema) UnmarshalJSON

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

func (*NullableSqlV1ResultSchema) Unset

func (v *NullableSqlV1ResultSchema) Unset()

type NullableSqlV1ScalingStatus

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

func NewNullableSqlV1ScalingStatus

func NewNullableSqlV1ScalingStatus(val *SqlV1ScalingStatus) *NullableSqlV1ScalingStatus

func (NullableSqlV1ScalingStatus) Get

func (NullableSqlV1ScalingStatus) IsSet

func (v NullableSqlV1ScalingStatus) IsSet() bool

func (NullableSqlV1ScalingStatus) MarshalJSON

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

func (*NullableSqlV1ScalingStatus) Set

func (*NullableSqlV1ScalingStatus) UnmarshalJSON

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

func (*NullableSqlV1ScalingStatus) Unset

func (v *NullableSqlV1ScalingStatus) Unset()

type NullableSqlV1Statement

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

func NewNullableSqlV1Statement

func NewNullableSqlV1Statement(val *SqlV1Statement) *NullableSqlV1Statement

func (NullableSqlV1Statement) Get

func (NullableSqlV1Statement) IsSet

func (v NullableSqlV1Statement) IsSet() bool

func (NullableSqlV1Statement) MarshalJSON

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

func (*NullableSqlV1Statement) Set

func (*NullableSqlV1Statement) UnmarshalJSON

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

func (*NullableSqlV1Statement) Unset

func (v *NullableSqlV1Statement) Unset()

type NullableSqlV1StatementException

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

func (NullableSqlV1StatementException) Get

func (NullableSqlV1StatementException) IsSet

func (NullableSqlV1StatementException) MarshalJSON

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

func (*NullableSqlV1StatementException) Set

func (*NullableSqlV1StatementException) UnmarshalJSON

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

func (*NullableSqlV1StatementException) Unset

type NullableSqlV1StatementExceptionList

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

func (NullableSqlV1StatementExceptionList) Get

func (NullableSqlV1StatementExceptionList) IsSet

func (NullableSqlV1StatementExceptionList) MarshalJSON

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

func (*NullableSqlV1StatementExceptionList) Set

func (*NullableSqlV1StatementExceptionList) UnmarshalJSON

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

func (*NullableSqlV1StatementExceptionList) Unset

type NullableSqlV1StatementList

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

func NewNullableSqlV1StatementList

func NewNullableSqlV1StatementList(val *SqlV1StatementList) *NullableSqlV1StatementList

func (NullableSqlV1StatementList) Get

func (NullableSqlV1StatementList) IsSet

func (v NullableSqlV1StatementList) IsSet() bool

func (NullableSqlV1StatementList) MarshalJSON

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

func (*NullableSqlV1StatementList) Set

func (*NullableSqlV1StatementList) UnmarshalJSON

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

func (*NullableSqlV1StatementList) Unset

func (v *NullableSqlV1StatementList) Unset()

type NullableSqlV1StatementResult

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

func NewNullableSqlV1StatementResult

func NewNullableSqlV1StatementResult(val *SqlV1StatementResult) *NullableSqlV1StatementResult

func (NullableSqlV1StatementResult) Get

func (NullableSqlV1StatementResult) IsSet

func (NullableSqlV1StatementResult) MarshalJSON

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

func (*NullableSqlV1StatementResult) Set

func (*NullableSqlV1StatementResult) UnmarshalJSON

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

func (*NullableSqlV1StatementResult) Unset

func (v *NullableSqlV1StatementResult) Unset()

type NullableSqlV1StatementResultResults

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

func (NullableSqlV1StatementResultResults) Get

func (NullableSqlV1StatementResultResults) IsSet

func (NullableSqlV1StatementResultResults) MarshalJSON

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

func (*NullableSqlV1StatementResultResults) Set

func (*NullableSqlV1StatementResultResults) UnmarshalJSON

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

func (*NullableSqlV1StatementResultResults) Unset

type NullableSqlV1StatementSpec

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

func NewNullableSqlV1StatementSpec

func NewNullableSqlV1StatementSpec(val *SqlV1StatementSpec) *NullableSqlV1StatementSpec

func (NullableSqlV1StatementSpec) Get

func (NullableSqlV1StatementSpec) IsSet

func (v NullableSqlV1StatementSpec) IsSet() bool

func (NullableSqlV1StatementSpec) MarshalJSON

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

func (*NullableSqlV1StatementSpec) Set

func (*NullableSqlV1StatementSpec) UnmarshalJSON

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

func (*NullableSqlV1StatementSpec) Unset

func (v *NullableSqlV1StatementSpec) Unset()

type NullableSqlV1StatementStatus

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

func NewNullableSqlV1StatementStatus

func NewNullableSqlV1StatementStatus(val *SqlV1StatementStatus) *NullableSqlV1StatementStatus

func (NullableSqlV1StatementStatus) Get

func (NullableSqlV1StatementStatus) IsSet

func (NullableSqlV1StatementStatus) MarshalJSON

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

func (*NullableSqlV1StatementStatus) Set

func (*NullableSqlV1StatementStatus) UnmarshalJSON

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

func (*NullableSqlV1StatementStatus) Unset

func (v *NullableSqlV1StatementStatus) Unset()

type NullableSqlV1StatementTraits added in v0.10.0

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

func NewNullableSqlV1StatementTraits added in v0.10.0

func NewNullableSqlV1StatementTraits(val *SqlV1StatementTraits) *NullableSqlV1StatementTraits

func (NullableSqlV1StatementTraits) Get added in v0.10.0

func (NullableSqlV1StatementTraits) IsSet added in v0.10.0

func (NullableSqlV1StatementTraits) MarshalJSON added in v0.10.0

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

func (*NullableSqlV1StatementTraits) Set added in v0.10.0

func (*NullableSqlV1StatementTraits) UnmarshalJSON added in v0.10.0

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

func (*NullableSqlV1StatementTraits) Unset added in v0.10.0

func (v *NullableSqlV1StatementTraits) Unset()

type NullableStatementObjectMeta added in v0.17.0

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

func NewNullableStatementObjectMeta added in v0.17.0

func NewNullableStatementObjectMeta(val *StatementObjectMeta) *NullableStatementObjectMeta

func (NullableStatementObjectMeta) Get added in v0.17.0

func (NullableStatementObjectMeta) IsSet added in v0.17.0

func (NullableStatementObjectMeta) MarshalJSON added in v0.17.0

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

func (*NullableStatementObjectMeta) Set added in v0.17.0

func (*NullableStatementObjectMeta) UnmarshalJSON added in v0.17.0

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

func (*NullableStatementObjectMeta) Unset added in v0.17.0

func (v *NullableStatementObjectMeta) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type ObjectMeta

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

ObjectMeta The metadata of the statement.

func NewObjectMeta

func NewObjectMeta(self string) *ObjectMeta

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

func NewObjectMetaWithDefaults

func NewObjectMetaWithDefaults() *ObjectMeta

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

func (*ObjectMeta) GetCreatedAt

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

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

func (*ObjectMeta) GetCreatedAtOk

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

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

func (*ObjectMeta) GetResourceVersion

func (o *ObjectMeta) GetResourceVersion() string

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

func (*ObjectMeta) GetResourceVersionOk

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

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

func (*ObjectMeta) GetSelf

func (o *ObjectMeta) GetSelf() string

GetSelf returns the Self field value

func (*ObjectMeta) GetSelfOk

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

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

func (*ObjectMeta) GetUid

func (o *ObjectMeta) GetUid() string

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

func (*ObjectMeta) GetUidOk

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

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

func (*ObjectMeta) GetUpdatedAt

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

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

func (*ObjectMeta) GetUpdatedAtOk

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

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

func (*ObjectMeta) HasCreatedAt

func (o *ObjectMeta) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ObjectMeta) HasResourceVersion

func (o *ObjectMeta) HasResourceVersion() bool

HasResourceVersion returns a boolean if a field has been set.

func (*ObjectMeta) HasUid

func (o *ObjectMeta) HasUid() bool

HasUid returns a boolean if a field has been set.

func (*ObjectMeta) HasUpdatedAt

func (o *ObjectMeta) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ObjectMeta) MarshalJSON

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

func (*ObjectMeta) Redact

func (o *ObjectMeta) Redact()

Redact resets all sensitive fields to their zero value.

func (*ObjectMeta) SetCreatedAt

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

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

func (*ObjectMeta) SetResourceVersion

func (o *ObjectMeta) SetResourceVersion(v string)

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

func (*ObjectMeta) SetSelf

func (o *ObjectMeta) SetSelf(v string)

SetSelf sets field value

func (*ObjectMeta) SetUid

func (o *ObjectMeta) SetUid(v string)

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

func (*ObjectMeta) SetUpdatedAt

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

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

type PatchRequest added in v0.17.0

type PatchRequest struct {
	Items []PatchRequestOneOf
}

PatchRequest PatchRequest represent a json-patch request to be applied to the Statement. See https://tools.ietf.org/html/rfc6902

func NewPatchRequest added in v0.17.0

func NewPatchRequest() *PatchRequest

NewPatchRequest instantiates a new PatchRequest 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 NewPatchRequestWithDefaults added in v0.17.0

func NewPatchRequestWithDefaults() *PatchRequest

NewPatchRequestWithDefaults instantiates a new PatchRequest 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 (PatchRequest) MarshalJSON added in v0.17.0

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

func (*PatchRequest) Redact added in v0.17.0

func (o *PatchRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*PatchRequest) UnmarshalJSON added in v0.17.0

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

type PatchRequestOneOf added in v0.17.0

type PatchRequestOneOf struct {
	JsonPatchRequestAddReplace *JsonPatchRequestAddReplace
	JsonPatchRequestMoveCopy   *JsonPatchRequestMoveCopy
	JsonPatchRequestRemove     *JsonPatchRequestRemove
}

PatchRequestOneOf - struct for PatchRequestOneOf

func JsonPatchRequestAddReplaceAsPatchRequestOneOf added in v0.17.0

func JsonPatchRequestAddReplaceAsPatchRequestOneOf(v *JsonPatchRequestAddReplace) PatchRequestOneOf

JsonPatchRequestAddReplaceAsPatchRequestOneOf is a convenience function that returns JsonPatchRequestAddReplace wrapped in PatchRequestOneOf

func JsonPatchRequestMoveCopyAsPatchRequestOneOf added in v0.17.0

func JsonPatchRequestMoveCopyAsPatchRequestOneOf(v *JsonPatchRequestMoveCopy) PatchRequestOneOf

JsonPatchRequestMoveCopyAsPatchRequestOneOf is a convenience function that returns JsonPatchRequestMoveCopy wrapped in PatchRequestOneOf

func JsonPatchRequestRemoveAsPatchRequestOneOf added in v0.17.0

func JsonPatchRequestRemoveAsPatchRequestOneOf(v *JsonPatchRequestRemove) PatchRequestOneOf

JsonPatchRequestRemoveAsPatchRequestOneOf is a convenience function that returns JsonPatchRequestRemove wrapped in PatchRequestOneOf

func (*PatchRequestOneOf) GetActualInstance added in v0.17.0

func (obj *PatchRequestOneOf) GetActualInstance() interface{}

Get the actual instance

func (PatchRequestOneOf) MarshalJSON added in v0.17.0

func (src PatchRequestOneOf) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*PatchRequestOneOf) UnmarshalJSON added in v0.17.0

func (dst *PatchRequestOneOf) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

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 SqlV1Connection added in v0.12.0

type SqlV1Connection struct {
	// APIVersion defines the schema version of this representation of a resource.
	ApiVersion *string `json:"api_version,omitempty"`
	// Kind defines the object this REST resource represents.
	Kind     *string     `json:"kind,omitempty"`
	Metadata *ObjectMeta `json:"metadata,omitempty"`
	// The user provided name of the resource, unique within this environment.
	Name   *string                `json:"name,omitempty"`
	Spec   *SqlV1ConnectionSpec   `json:"spec,omitempty"`
	Status *SqlV1ConnectionStatus `json:"status,omitempty"`
}

SqlV1Connection `Connection` models a reusable endpoint and auth token to authenticate the caller to use that endpoint. Only `OrgAdmins` and `EnvAdmins` will have the permissions to create, update and delete `Connections`. `FlinkDevelopers` and `ModelResourceOwners` can later reference a `Connection` resource within their Model creation statements. The API allows you to list, create, read, and delete your connections. ## The Connections Model <SchemaDefinition schemaRef=\"#/components/schemas/sql.v1.Connection\" />

func NewSqlV1Connection added in v0.12.0

func NewSqlV1Connection() *SqlV1Connection

NewSqlV1Connection instantiates a new SqlV1Connection 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 NewSqlV1ConnectionWithDefaults added in v0.12.0

func NewSqlV1ConnectionWithDefaults() *SqlV1Connection

NewSqlV1ConnectionWithDefaults instantiates a new SqlV1Connection 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 (*SqlV1Connection) GetApiVersion added in v0.12.0

func (o *SqlV1Connection) GetApiVersion() string

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

func (*SqlV1Connection) GetApiVersionOk added in v0.12.0

func (o *SqlV1Connection) 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 (*SqlV1Connection) GetKind added in v0.12.0

func (o *SqlV1Connection) GetKind() string

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

func (*SqlV1Connection) GetKindOk added in v0.12.0

func (o *SqlV1Connection) 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 (*SqlV1Connection) GetMetadata added in v0.12.0

func (o *SqlV1Connection) GetMetadata() ObjectMeta

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

func (*SqlV1Connection) GetMetadataOk added in v0.12.0

func (o *SqlV1Connection) 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 (*SqlV1Connection) GetName added in v0.12.0

func (o *SqlV1Connection) GetName() string

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

func (*SqlV1Connection) GetNameOk added in v0.12.0

func (o *SqlV1Connection) 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 (*SqlV1Connection) GetSpec added in v0.12.0

func (o *SqlV1Connection) GetSpec() SqlV1ConnectionSpec

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

func (*SqlV1Connection) GetSpecOk added in v0.12.0

func (o *SqlV1Connection) GetSpecOk() (*SqlV1ConnectionSpec, bool)

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

func (*SqlV1Connection) GetStatus added in v0.12.0

func (o *SqlV1Connection) GetStatus() SqlV1ConnectionStatus

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

func (*SqlV1Connection) GetStatusOk added in v0.12.0

func (o *SqlV1Connection) GetStatusOk() (*SqlV1ConnectionStatus, 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 (*SqlV1Connection) HasApiVersion added in v0.12.0

func (o *SqlV1Connection) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

func (*SqlV1Connection) HasKind added in v0.12.0

func (o *SqlV1Connection) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*SqlV1Connection) HasMetadata added in v0.12.0

func (o *SqlV1Connection) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SqlV1Connection) HasName added in v0.12.0

func (o *SqlV1Connection) HasName() bool

HasName returns a boolean if a field has been set.

func (*SqlV1Connection) HasSpec added in v0.12.0

func (o *SqlV1Connection) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (*SqlV1Connection) HasStatus added in v0.12.0

func (o *SqlV1Connection) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SqlV1Connection) MarshalJSON added in v0.12.0

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

func (*SqlV1Connection) Redact added in v0.12.0

func (o *SqlV1Connection) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1Connection) SetApiVersion added in v0.12.0

func (o *SqlV1Connection) SetApiVersion(v string)

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

func (*SqlV1Connection) SetKind added in v0.12.0

func (o *SqlV1Connection) SetKind(v string)

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

func (*SqlV1Connection) SetMetadata added in v0.12.0

func (o *SqlV1Connection) SetMetadata(v ObjectMeta)

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

func (*SqlV1Connection) SetName added in v0.12.0

func (o *SqlV1Connection) SetName(v string)

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

func (*SqlV1Connection) SetSpec added in v0.12.0

func (o *SqlV1Connection) SetSpec(v SqlV1ConnectionSpec)

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

func (*SqlV1Connection) SetStatus added in v0.12.0

func (o *SqlV1Connection) SetStatus(v SqlV1ConnectionStatus)

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

type SqlV1ConnectionList added in v0.12.0

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

SqlV1ConnectionList `Connection` models a reusable endpoint and auth token to authenticate the caller to use that endpoint. Only `OrgAdmins` and `EnvAdmins` will have the permissions to create, update and delete `Connections`. `FlinkDevelopers` and `ModelResourceOwners` can later reference a `Connection` resource within their Model creation statements. The API allows you to list, create, read, and delete your connections. ## The Connection Model <SchemaDefinition schemaRef=\"#/components/schemas/sql.v1.Connection\" />

func NewSqlV1ConnectionList added in v0.12.0

func NewSqlV1ConnectionList(apiVersion string, kind string, metadata ListMeta, data []SqlV1Connection) *SqlV1ConnectionList

NewSqlV1ConnectionList instantiates a new SqlV1ConnectionList 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 NewSqlV1ConnectionListWithDefaults added in v0.12.0

func NewSqlV1ConnectionListWithDefaults() *SqlV1ConnectionList

NewSqlV1ConnectionListWithDefaults instantiates a new SqlV1ConnectionList 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 (*SqlV1ConnectionList) GetApiVersion added in v0.12.0

func (o *SqlV1ConnectionList) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1ConnectionList) GetApiVersionOk added in v0.12.0

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

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

func (*SqlV1ConnectionList) GetData added in v0.12.0

func (o *SqlV1ConnectionList) GetData() []SqlV1Connection

GetData returns the Data field value

func (*SqlV1ConnectionList) GetDataOk added in v0.12.0

func (o *SqlV1ConnectionList) GetDataOk() (*[]SqlV1Connection, bool)

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

func (*SqlV1ConnectionList) GetKind added in v0.12.0

func (o *SqlV1ConnectionList) GetKind() string

GetKind returns the Kind field value

func (*SqlV1ConnectionList) GetKindOk added in v0.12.0

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

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

func (*SqlV1ConnectionList) GetMetadata added in v0.12.0

func (o *SqlV1ConnectionList) GetMetadata() ListMeta

GetMetadata returns the Metadata field value

func (*SqlV1ConnectionList) GetMetadataOk added in v0.12.0

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

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

func (SqlV1ConnectionList) MarshalJSON added in v0.12.0

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

func (*SqlV1ConnectionList) Redact added in v0.12.0

func (o *SqlV1ConnectionList) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1ConnectionList) SetApiVersion added in v0.12.0

func (o *SqlV1ConnectionList) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1ConnectionList) SetData added in v0.12.0

func (o *SqlV1ConnectionList) SetData(v []SqlV1Connection)

SetData sets field value

func (*SqlV1ConnectionList) SetKind added in v0.12.0

func (o *SqlV1ConnectionList) SetKind(v string)

SetKind sets field value

func (*SqlV1ConnectionList) SetMetadata added in v0.12.0

func (o *SqlV1ConnectionList) SetMetadata(v ListMeta)

SetMetadata sets field value

type SqlV1ConnectionSpec added in v0.12.0

type SqlV1ConnectionSpec struct {
	// The type of this connection.
	ConnectionType *string `json:"connection_type,omitempty"`
	// The endpoint that is used to run model inferencing.
	Endpoint *string `json:"endpoint,omitempty"`
	// The vendor specific authentication token details  The contents are stored as opaque bytes given in plaintext by an EnvAdmin.  In future, we would support more secure methods for distributing authentication tokens.
	AuthData *SqlV1ConnectionSpecAuthDataOneOf `json:"auth_data,omitempty"`
}

SqlV1ConnectionSpec Encapsulates the model provider access details

func NewSqlV1ConnectionSpec added in v0.12.0

func NewSqlV1ConnectionSpec() *SqlV1ConnectionSpec

NewSqlV1ConnectionSpec instantiates a new SqlV1ConnectionSpec 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 NewSqlV1ConnectionSpecWithDefaults added in v0.12.0

func NewSqlV1ConnectionSpecWithDefaults() *SqlV1ConnectionSpec

NewSqlV1ConnectionSpecWithDefaults instantiates a new SqlV1ConnectionSpec 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 (*SqlV1ConnectionSpec) GetAuthData added in v0.12.0

GetAuthData returns the AuthData field value if set, zero value otherwise.

func (*SqlV1ConnectionSpec) GetAuthDataOk added in v0.12.0

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

func (*SqlV1ConnectionSpec) GetConnectionType added in v0.12.0

func (o *SqlV1ConnectionSpec) GetConnectionType() string

GetConnectionType returns the ConnectionType field value if set, zero value otherwise.

func (*SqlV1ConnectionSpec) GetConnectionTypeOk added in v0.12.0

func (o *SqlV1ConnectionSpec) GetConnectionTypeOk() (*string, bool)

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

func (*SqlV1ConnectionSpec) GetEndpoint added in v0.12.0

func (o *SqlV1ConnectionSpec) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*SqlV1ConnectionSpec) GetEndpointOk added in v0.12.0

func (o *SqlV1ConnectionSpec) GetEndpointOk() (*string, bool)

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

func (*SqlV1ConnectionSpec) HasAuthData added in v0.12.0

func (o *SqlV1ConnectionSpec) HasAuthData() bool

HasAuthData returns a boolean if a field has been set.

func (*SqlV1ConnectionSpec) HasConnectionType added in v0.12.0

func (o *SqlV1ConnectionSpec) HasConnectionType() bool

HasConnectionType returns a boolean if a field has been set.

func (*SqlV1ConnectionSpec) HasEndpoint added in v0.12.0

func (o *SqlV1ConnectionSpec) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (SqlV1ConnectionSpec) MarshalJSON added in v0.12.0

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

func (*SqlV1ConnectionSpec) Redact added in v0.12.0

func (o *SqlV1ConnectionSpec) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1ConnectionSpec) SetAuthData added in v0.12.0

SetAuthData gets a reference to the given SqlV1ConnectionSpecAuthDataOneOf and assigns it to the AuthData field.

func (*SqlV1ConnectionSpec) SetConnectionType added in v0.12.0

func (o *SqlV1ConnectionSpec) SetConnectionType(v string)

SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field.

func (*SqlV1ConnectionSpec) SetEndpoint added in v0.12.0

func (o *SqlV1ConnectionSpec) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

type SqlV1ConnectionSpecAuthDataOneOf added in v0.12.0

type SqlV1ConnectionSpecAuthDataOneOf struct {
	SqlV1PlaintextProvider *SqlV1PlaintextProvider
}

SqlV1ConnectionSpecAuthDataOneOf - struct for SqlV1ConnectionSpecAuthDataOneOf

func SqlV1PlaintextProviderAsSqlV1ConnectionSpecAuthDataOneOf added in v0.12.0

func SqlV1PlaintextProviderAsSqlV1ConnectionSpecAuthDataOneOf(v *SqlV1PlaintextProvider) SqlV1ConnectionSpecAuthDataOneOf

SqlV1PlaintextProviderAsSqlV1ConnectionSpecAuthDataOneOf is a convenience function that returns SqlV1PlaintextProvider wrapped in SqlV1ConnectionSpecAuthDataOneOf

func (*SqlV1ConnectionSpecAuthDataOneOf) GetActualInstance added in v0.12.0

func (obj *SqlV1ConnectionSpecAuthDataOneOf) GetActualInstance() interface{}

Get the actual instance

func (SqlV1ConnectionSpecAuthDataOneOf) MarshalJSON added in v0.12.0

func (src SqlV1ConnectionSpecAuthDataOneOf) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SqlV1ConnectionSpecAuthDataOneOf) UnmarshalJSON added in v0.12.0

func (dst *SqlV1ConnectionSpecAuthDataOneOf) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SqlV1ConnectionStatus added in v0.12.0

type SqlV1ConnectionStatus struct {
	// Describes the status of the connection:  READY: The Connection is usable;  UNREACHABLE: The Connection endpoint is unreachable;  INVALID_AUTH: The Connection auth token is invalid;
	Phase string `json:"phase,omitempty"`
	// Details about why connection transitioned into a given status.
	Detail *string `json:"detail,omitempty"`
}

SqlV1ConnectionStatus The status of the Connection

func NewSqlV1ConnectionStatus added in v0.12.0

func NewSqlV1ConnectionStatus(phase string) *SqlV1ConnectionStatus

NewSqlV1ConnectionStatus instantiates a new SqlV1ConnectionStatus 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 NewSqlV1ConnectionStatusWithDefaults added in v0.12.0

func NewSqlV1ConnectionStatusWithDefaults() *SqlV1ConnectionStatus

NewSqlV1ConnectionStatusWithDefaults instantiates a new SqlV1ConnectionStatus 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 (*SqlV1ConnectionStatus) GetDetail added in v0.12.0

func (o *SqlV1ConnectionStatus) GetDetail() string

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

func (*SqlV1ConnectionStatus) GetDetailOk added in v0.12.0

func (o *SqlV1ConnectionStatus) 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 (*SqlV1ConnectionStatus) GetPhase added in v0.12.0

func (o *SqlV1ConnectionStatus) GetPhase() string

GetPhase returns the Phase field value

func (*SqlV1ConnectionStatus) GetPhaseOk added in v0.12.0

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

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

func (*SqlV1ConnectionStatus) HasDetail added in v0.12.0

func (o *SqlV1ConnectionStatus) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (SqlV1ConnectionStatus) MarshalJSON added in v0.12.0

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

func (*SqlV1ConnectionStatus) Redact added in v0.12.0

func (o *SqlV1ConnectionStatus) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1ConnectionStatus) SetDetail added in v0.12.0

func (o *SqlV1ConnectionStatus) SetDetail(v string)

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

func (*SqlV1ConnectionStatus) SetPhase added in v0.12.0

func (o *SqlV1ConnectionStatus) SetPhase(v string)

SetPhase sets field value

type SqlV1PlaintextProvider added in v0.12.0

type SqlV1PlaintextProvider struct {
	// Plaintext Provider Kind Type
	Kind *string `json:"kind,omitempty"`
	// Base64 encoded opaque piece of sensitive information.  Scoped to an endpoint of a `Connection` resource.
	Data *string `json:"data,omitempty"`
}

SqlV1PlaintextProvider Describes a sensitive piece of information passed in plaintext. Confluent only accepts authentication tokens of supported model providers from OrgAdmins and EnvAdmins. For now, only 'PlainText' provider is supported. It stores authentication token details as opaque bytes in an encrypted form. This option offers limited security as it only provides a single level of encryption.

func NewSqlV1PlaintextProvider added in v0.12.0

func NewSqlV1PlaintextProvider() *SqlV1PlaintextProvider

NewSqlV1PlaintextProvider instantiates a new SqlV1PlaintextProvider 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 NewSqlV1PlaintextProviderWithDefaults added in v0.12.0

func NewSqlV1PlaintextProviderWithDefaults() *SqlV1PlaintextProvider

NewSqlV1PlaintextProviderWithDefaults instantiates a new SqlV1PlaintextProvider 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 (*SqlV1PlaintextProvider) GetData added in v0.12.0

func (o *SqlV1PlaintextProvider) GetData() string

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

func (*SqlV1PlaintextProvider) GetDataOk added in v0.12.0

func (o *SqlV1PlaintextProvider) GetDataOk() (*string, 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 (*SqlV1PlaintextProvider) GetKind added in v0.12.0

func (o *SqlV1PlaintextProvider) GetKind() string

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

func (*SqlV1PlaintextProvider) GetKindOk added in v0.12.0

func (o *SqlV1PlaintextProvider) 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 (*SqlV1PlaintextProvider) HasData added in v0.12.0

func (o *SqlV1PlaintextProvider) HasData() bool

HasData returns a boolean if a field has been set.

func (*SqlV1PlaintextProvider) HasKind added in v0.12.0

func (o *SqlV1PlaintextProvider) HasKind() bool

HasKind returns a boolean if a field has been set.

func (SqlV1PlaintextProvider) MarshalJSON added in v0.12.0

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

func (*SqlV1PlaintextProvider) Redact added in v0.12.0

func (o *SqlV1PlaintextProvider) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1PlaintextProvider) SetData added in v0.12.0

func (o *SqlV1PlaintextProvider) SetData(v string)

SetData gets a reference to the given string and assigns it to the Data field.

func (*SqlV1PlaintextProvider) SetKind added in v0.12.0

func (o *SqlV1PlaintextProvider) SetKind(v string)

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

type SqlV1ResultSchema

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

SqlV1ResultSchema The table columns of the results schema.

func NewSqlV1ResultSchema

func NewSqlV1ResultSchema() *SqlV1ResultSchema

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

func NewSqlV1ResultSchemaWithDefaults

func NewSqlV1ResultSchemaWithDefaults() *SqlV1ResultSchema

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

func (*SqlV1ResultSchema) GetColumns

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

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

func (*SqlV1ResultSchema) GetColumnsOk

func (o *SqlV1ResultSchema) GetColumnsOk() (*[]ColumnDetails, bool)

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

func (*SqlV1ResultSchema) HasColumns

func (o *SqlV1ResultSchema) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (SqlV1ResultSchema) MarshalJSON

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

func (*SqlV1ResultSchema) Redact

func (o *SqlV1ResultSchema) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1ResultSchema) SetColumns

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

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

type SqlV1ScalingStatus

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

SqlV1ScalingStatus Scaling status for this statement.

func NewSqlV1ScalingStatus

func NewSqlV1ScalingStatus() *SqlV1ScalingStatus

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

func NewSqlV1ScalingStatusWithDefaults

func NewSqlV1ScalingStatusWithDefaults() *SqlV1ScalingStatus

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

func (*SqlV1ScalingStatus) GetLastUpdated

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

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

func (*SqlV1ScalingStatus) GetLastUpdatedOk

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

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

func (*SqlV1ScalingStatus) GetScalingState

func (o *SqlV1ScalingStatus) GetScalingState() string

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

func (*SqlV1ScalingStatus) GetScalingStateOk

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

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

func (*SqlV1ScalingStatus) HasLastUpdated

func (o *SqlV1ScalingStatus) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*SqlV1ScalingStatus) HasScalingState

func (o *SqlV1ScalingStatus) HasScalingState() bool

HasScalingState returns a boolean if a field has been set.

func (SqlV1ScalingStatus) MarshalJSON

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

func (*SqlV1ScalingStatus) Redact

func (o *SqlV1ScalingStatus) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1ScalingStatus) SetLastUpdated

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

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

func (*SqlV1ScalingStatus) SetScalingState

func (o *SqlV1ScalingStatus) SetScalingState(v string)

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

type SqlV1Statement

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

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

func NewSqlV1Statement

func NewSqlV1Statement() *SqlV1Statement

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

func NewSqlV1StatementWithDefaults

func NewSqlV1StatementWithDefaults() *SqlV1Statement

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

func (*SqlV1Statement) GetApiVersion

func (o *SqlV1Statement) GetApiVersion() string

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

func (*SqlV1Statement) GetApiVersionOk

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

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

func (*SqlV1Statement) GetEnvironmentId

func (o *SqlV1Statement) GetEnvironmentId() string

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

func (*SqlV1Statement) GetEnvironmentIdOk

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

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

func (*SqlV1Statement) GetKind

func (o *SqlV1Statement) GetKind() string

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

func (*SqlV1Statement) GetKindOk

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

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

func (*SqlV1Statement) GetMetadata

func (o *SqlV1Statement) GetMetadata() StatementObjectMeta

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

func (*SqlV1Statement) GetMetadataOk

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

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

func (*SqlV1Statement) GetName

func (o *SqlV1Statement) GetName() string

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

func (*SqlV1Statement) GetNameOk

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

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

func (*SqlV1Statement) GetOrganizationId

func (o *SqlV1Statement) GetOrganizationId() string

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

func (*SqlV1Statement) GetOrganizationIdOk

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

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

func (*SqlV1Statement) GetResult added in v0.17.0

func (o *SqlV1Statement) GetResult() SqlV1StatementResult

GetResult returns the Result field value if set, zero value otherwise.

func (*SqlV1Statement) GetResultOk added in v0.17.0

func (o *SqlV1Statement) GetResultOk() (*SqlV1StatementResult, bool)

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

func (*SqlV1Statement) GetSpec

func (o *SqlV1Statement) GetSpec() SqlV1StatementSpec

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

func (*SqlV1Statement) GetSpecOk

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

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

func (*SqlV1Statement) GetStatus

func (o *SqlV1Statement) GetStatus() SqlV1StatementStatus

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

func (*SqlV1Statement) GetStatusOk

func (o *SqlV1Statement) GetStatusOk() (*SqlV1StatementStatus, bool)

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

func (*SqlV1Statement) HasApiVersion

func (o *SqlV1Statement) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

func (*SqlV1Statement) HasEnvironmentId

func (o *SqlV1Statement) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*SqlV1Statement) HasKind

func (o *SqlV1Statement) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*SqlV1Statement) HasMetadata

func (o *SqlV1Statement) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SqlV1Statement) HasName

func (o *SqlV1Statement) HasName() bool

HasName returns a boolean if a field has been set.

func (*SqlV1Statement) HasOrganizationId

func (o *SqlV1Statement) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*SqlV1Statement) HasResult added in v0.17.0

func (o *SqlV1Statement) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*SqlV1Statement) HasSpec

func (o *SqlV1Statement) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (*SqlV1Statement) HasStatus

func (o *SqlV1Statement) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SqlV1Statement) MarshalJSON

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

func (*SqlV1Statement) Redact

func (o *SqlV1Statement) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1Statement) SetApiVersion

func (o *SqlV1Statement) SetApiVersion(v string)

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

func (*SqlV1Statement) SetEnvironmentId

func (o *SqlV1Statement) SetEnvironmentId(v string)

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

func (*SqlV1Statement) SetKind

func (o *SqlV1Statement) SetKind(v string)

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

func (*SqlV1Statement) SetMetadata

func (o *SqlV1Statement) SetMetadata(v StatementObjectMeta)

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

func (*SqlV1Statement) SetName

func (o *SqlV1Statement) SetName(v string)

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

func (*SqlV1Statement) SetOrganizationId

func (o *SqlV1Statement) SetOrganizationId(v string)

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

func (*SqlV1Statement) SetResult added in v0.17.0

func (o *SqlV1Statement) SetResult(v SqlV1StatementResult)

SetResult gets a reference to the given SqlV1StatementResult and assigns it to the Result field.

func (*SqlV1Statement) SetSpec

func (o *SqlV1Statement) SetSpec(v SqlV1StatementSpec)

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

func (*SqlV1Statement) SetStatus

func (o *SqlV1Statement) SetStatus(v SqlV1StatementStatus)

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

type SqlV1StatementException

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

SqlV1StatementException struct for SqlV1StatementException

func NewSqlV1StatementException

func NewSqlV1StatementException() *SqlV1StatementException

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

func NewSqlV1StatementExceptionWithDefaults

func NewSqlV1StatementExceptionWithDefaults() *SqlV1StatementException

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

func (*SqlV1StatementException) GetKind

func (o *SqlV1StatementException) GetKind() string

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

func (*SqlV1StatementException) GetKindOk

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

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

func (*SqlV1StatementException) GetMessage added in v0.10.0

func (o *SqlV1StatementException) GetMessage() string

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

func (*SqlV1StatementException) GetMessageOk added in v0.10.0

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

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

func (*SqlV1StatementException) GetName

func (o *SqlV1StatementException) GetName() string

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

func (*SqlV1StatementException) GetNameOk

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

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

func (*SqlV1StatementException) GetTimestamp

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

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

func (*SqlV1StatementException) GetTimestampOk

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

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

func (*SqlV1StatementException) HasKind

func (o *SqlV1StatementException) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*SqlV1StatementException) HasMessage added in v0.10.0

func (o *SqlV1StatementException) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SqlV1StatementException) HasName

func (o *SqlV1StatementException) HasName() bool

HasName returns a boolean if a field has been set.

func (*SqlV1StatementException) HasTimestamp

func (o *SqlV1StatementException) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (SqlV1StatementException) MarshalJSON

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

func (*SqlV1StatementException) Redact

func (o *SqlV1StatementException) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementException) SetKind

func (o *SqlV1StatementException) SetKind(v string)

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

func (*SqlV1StatementException) SetMessage added in v0.10.0

func (o *SqlV1StatementException) SetMessage(v string)

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

func (*SqlV1StatementException) SetName

func (o *SqlV1StatementException) SetName(v string)

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

func (*SqlV1StatementException) SetTimestamp

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

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

type SqlV1StatementExceptionList

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

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

func NewSqlV1StatementExceptionList

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

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

func NewSqlV1StatementExceptionListWithDefaults

func NewSqlV1StatementExceptionListWithDefaults() *SqlV1StatementExceptionList

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

func (*SqlV1StatementExceptionList) GetApiVersion

func (o *SqlV1StatementExceptionList) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1StatementExceptionList) GetApiVersionOk

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

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

func (*SqlV1StatementExceptionList) GetData

GetData returns the Data field value

func (*SqlV1StatementExceptionList) GetDataOk

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

func (*SqlV1StatementExceptionList) GetKind

func (o *SqlV1StatementExceptionList) GetKind() string

GetKind returns the Kind field value

func (*SqlV1StatementExceptionList) GetKindOk

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

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

func (*SqlV1StatementExceptionList) GetMetadata

GetMetadata returns the Metadata field value

func (*SqlV1StatementExceptionList) GetMetadataOk

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

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

func (SqlV1StatementExceptionList) MarshalJSON

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

func (*SqlV1StatementExceptionList) Redact

func (o *SqlV1StatementExceptionList) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementExceptionList) SetApiVersion

func (o *SqlV1StatementExceptionList) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1StatementExceptionList) SetData

SetData sets field value

func (*SqlV1StatementExceptionList) SetKind

func (o *SqlV1StatementExceptionList) SetKind(v string)

SetKind sets field value

func (*SqlV1StatementExceptionList) SetMetadata

SetMetadata sets field value

type SqlV1StatementList

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

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

func NewSqlV1StatementList

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

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

func NewSqlV1StatementListWithDefaults

func NewSqlV1StatementListWithDefaults() *SqlV1StatementList

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

func (*SqlV1StatementList) GetApiVersion

func (o *SqlV1StatementList) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1StatementList) GetApiVersionOk

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

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

func (*SqlV1StatementList) GetData

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

GetData returns the Data field value

func (*SqlV1StatementList) GetDataOk

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

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

func (*SqlV1StatementList) GetKind

func (o *SqlV1StatementList) GetKind() string

GetKind returns the Kind field value

func (*SqlV1StatementList) GetKindOk

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

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

func (*SqlV1StatementList) GetMetadata

func (o *SqlV1StatementList) GetMetadata() ListMeta

GetMetadata returns the Metadata field value

func (*SqlV1StatementList) GetMetadataOk

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

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

func (SqlV1StatementList) MarshalJSON

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

func (*SqlV1StatementList) Redact

func (o *SqlV1StatementList) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementList) SetApiVersion

func (o *SqlV1StatementList) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1StatementList) SetData

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

SetData sets field value

func (*SqlV1StatementList) SetKind

func (o *SqlV1StatementList) SetKind(v string)

SetKind sets field value

func (*SqlV1StatementList) SetMetadata

func (o *SqlV1StatementList) SetMetadata(v ListMeta)

SetMetadata sets field value

type SqlV1StatementResult

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

SqlV1StatementResult `Statement Result` represents a resource used to model results of SQL statements. The API allows you to read your SQL statement result.

func NewSqlV1StatementResult

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

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

func NewSqlV1StatementResultWithDefaults

func NewSqlV1StatementResultWithDefaults() *SqlV1StatementResult

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

func (*SqlV1StatementResult) GetApiVersion

func (o *SqlV1StatementResult) GetApiVersion() string

GetApiVersion returns the ApiVersion field value

func (*SqlV1StatementResult) GetApiVersionOk

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

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

func (*SqlV1StatementResult) GetKind

func (o *SqlV1StatementResult) GetKind() string

GetKind returns the Kind field value

func (*SqlV1StatementResult) GetKindOk

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

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

func (*SqlV1StatementResult) GetMetadata

func (o *SqlV1StatementResult) GetMetadata() ResultListMeta

GetMetadata returns the Metadata field value

func (*SqlV1StatementResult) GetMetadataOk

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

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

func (*SqlV1StatementResult) GetResults

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

func (*SqlV1StatementResult) GetResultsOk

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

func (*SqlV1StatementResult) HasResults

func (o *SqlV1StatementResult) HasResults() bool

HasResults returns a boolean if a field has been set.

func (SqlV1StatementResult) MarshalJSON

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

func (*SqlV1StatementResult) Redact

func (o *SqlV1StatementResult) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementResult) SetApiVersion

func (o *SqlV1StatementResult) SetApiVersion(v string)

SetApiVersion sets field value

func (*SqlV1StatementResult) SetKind

func (o *SqlV1StatementResult) SetKind(v string)

SetKind sets field value

func (*SqlV1StatementResult) SetMetadata

func (o *SqlV1StatementResult) SetMetadata(v ResultListMeta)

SetMetadata sets field value

func (*SqlV1StatementResult) SetResults

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

type SqlV1StatementResultResults

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

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

func NewSqlV1StatementResultResults

func NewSqlV1StatementResultResults() *SqlV1StatementResultResults

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

func NewSqlV1StatementResultResultsWithDefaults

func NewSqlV1StatementResultResultsWithDefaults() *SqlV1StatementResultResults

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

func (*SqlV1StatementResultResults) GetData

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

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

func (*SqlV1StatementResultResults) GetDataOk

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

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

func (*SqlV1StatementResultResults) HasData

func (o *SqlV1StatementResultResults) HasData() bool

HasData returns a boolean if a field has been set.

func (SqlV1StatementResultResults) MarshalJSON

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

func (*SqlV1StatementResultResults) Redact

func (o *SqlV1StatementResultResults) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementResultResults) SetData

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

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

type SqlV1StatementSpec

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

SqlV1StatementSpec The specs of the Statement

func NewSqlV1StatementSpec

func NewSqlV1StatementSpec() *SqlV1StatementSpec

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

func NewSqlV1StatementSpecWithDefaults

func NewSqlV1StatementSpecWithDefaults() *SqlV1StatementSpec

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

func (*SqlV1StatementSpec) GetComputePoolId

func (o *SqlV1StatementSpec) GetComputePoolId() string

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

func (*SqlV1StatementSpec) GetComputePoolIdOk

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

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

func (*SqlV1StatementSpec) GetPrincipal

func (o *SqlV1StatementSpec) GetPrincipal() string

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

func (*SqlV1StatementSpec) GetPrincipalOk

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

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

func (*SqlV1StatementSpec) GetProperties

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

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

func (*SqlV1StatementSpec) GetPropertiesOk

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

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

func (*SqlV1StatementSpec) GetStatement

func (o *SqlV1StatementSpec) GetStatement() string

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

func (*SqlV1StatementSpec) GetStatementOk

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

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

func (*SqlV1StatementSpec) GetStopped

func (o *SqlV1StatementSpec) GetStopped() bool

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

func (*SqlV1StatementSpec) GetStoppedOk

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

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

func (*SqlV1StatementSpec) HasComputePoolId

func (o *SqlV1StatementSpec) HasComputePoolId() bool

HasComputePoolId returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasPrincipal

func (o *SqlV1StatementSpec) HasPrincipal() bool

HasPrincipal returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasProperties

func (o *SqlV1StatementSpec) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasStatement

func (o *SqlV1StatementSpec) HasStatement() bool

HasStatement returns a boolean if a field has been set.

func (*SqlV1StatementSpec) HasStopped

func (o *SqlV1StatementSpec) HasStopped() bool

HasStopped returns a boolean if a field has been set.

func (SqlV1StatementSpec) MarshalJSON

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

func (*SqlV1StatementSpec) Redact

func (o *SqlV1StatementSpec) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementSpec) SetComputePoolId

func (o *SqlV1StatementSpec) SetComputePoolId(v string)

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

func (*SqlV1StatementSpec) SetPrincipal

func (o *SqlV1StatementSpec) SetPrincipal(v string)

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

func (*SqlV1StatementSpec) SetProperties

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

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

func (*SqlV1StatementSpec) SetStatement

func (o *SqlV1StatementSpec) SetStatement(v string)

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

func (*SqlV1StatementSpec) SetStopped

func (o *SqlV1StatementSpec) SetStopped(v bool)

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

type SqlV1StatementStatus

type SqlV1StatementStatus struct {
	// The lifecycle phase of the submitted SQL statement:  PENDING: SQL statement is pending execution;  RUNNING: SQL statement execution is in progress;  COMPLETED: SQL statement is completed;  DELETING: SQL statement deletion is in progress;  FAILING: SQL statement is failing;  FAILED: SQL statement execution has failed;  STOPPED: SQL statement execution has successfully been stopped;
	Phase         string              `json:"phase,omitempty"`
	ScalingStatus *SqlV1ScalingStatus `json:"scaling_status,omitempty"`
	// Details about the execution status of this statement.
	Detail *string               `json:"detail,omitempty"`
	Traits *SqlV1StatementTraits `json:"traits,omitempty"`
	// The networking type used by the submitted SQL statement:  PUBLIC: SQL statement is using public networking;  PRIVATE: SQL statement is using private networking;
	NetworkKind *string `json:"network_kind,omitempty"`
	// The last Kafka offsets that a statement has processed. Represented by a mapping from Kafka topic to a string representation of partitions mapped to offsets.
	LatestOffsets *map[string]string `json:"latest_offsets,omitempty"`
	// The date and time at which the Kafka topic offsets were added to the statement status. It is represented in RFC3339 format and is in UTC.
	LatestOffsetsTimestamp *time.Time `json:"latest_offsets_timestamp,omitempty"`
}

SqlV1StatementStatus The status of the Statement

func NewSqlV1StatementStatus

func NewSqlV1StatementStatus(phase string) *SqlV1StatementStatus

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

func NewSqlV1StatementStatusWithDefaults

func NewSqlV1StatementStatusWithDefaults() *SqlV1StatementStatus

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

func (*SqlV1StatementStatus) GetDetail

func (o *SqlV1StatementStatus) GetDetail() string

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

func (*SqlV1StatementStatus) GetDetailOk

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

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

func (*SqlV1StatementStatus) GetLatestOffsets added in v0.17.0

func (o *SqlV1StatementStatus) GetLatestOffsets() map[string]string

GetLatestOffsets returns the LatestOffsets field value if set, zero value otherwise.

func (*SqlV1StatementStatus) GetLatestOffsetsOk added in v0.17.0

func (o *SqlV1StatementStatus) GetLatestOffsetsOk() (*map[string]string, bool)

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

func (*SqlV1StatementStatus) GetLatestOffsetsTimestamp added in v0.17.0

func (o *SqlV1StatementStatus) GetLatestOffsetsTimestamp() time.Time

GetLatestOffsetsTimestamp returns the LatestOffsetsTimestamp field value if set, zero value otherwise.

func (*SqlV1StatementStatus) GetLatestOffsetsTimestampOk added in v0.17.0

func (o *SqlV1StatementStatus) GetLatestOffsetsTimestampOk() (*time.Time, bool)

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

func (*SqlV1StatementStatus) GetNetworkKind added in v0.11.0

func (o *SqlV1StatementStatus) GetNetworkKind() string

GetNetworkKind returns the NetworkKind field value if set, zero value otherwise.

func (*SqlV1StatementStatus) GetNetworkKindOk added in v0.11.0

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

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

func (*SqlV1StatementStatus) GetPhase

func (o *SqlV1StatementStatus) GetPhase() string

GetPhase returns the Phase field value

func (*SqlV1StatementStatus) GetPhaseOk

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

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

func (*SqlV1StatementStatus) GetScalingStatus

func (o *SqlV1StatementStatus) GetScalingStatus() SqlV1ScalingStatus

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

func (*SqlV1StatementStatus) GetScalingStatusOk

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

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

func (*SqlV1StatementStatus) GetTraits added in v0.10.0

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

func (*SqlV1StatementStatus) GetTraitsOk added in v0.10.0

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

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

func (*SqlV1StatementStatus) HasDetail

func (o *SqlV1StatementStatus) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*SqlV1StatementStatus) HasLatestOffsets added in v0.17.0

func (o *SqlV1StatementStatus) HasLatestOffsets() bool

HasLatestOffsets returns a boolean if a field has been set.

func (*SqlV1StatementStatus) HasLatestOffsetsTimestamp added in v0.17.0

func (o *SqlV1StatementStatus) HasLatestOffsetsTimestamp() bool

HasLatestOffsetsTimestamp returns a boolean if a field has been set.

func (*SqlV1StatementStatus) HasNetworkKind added in v0.11.0

func (o *SqlV1StatementStatus) HasNetworkKind() bool

HasNetworkKind returns a boolean if a field has been set.

func (*SqlV1StatementStatus) HasScalingStatus

func (o *SqlV1StatementStatus) HasScalingStatus() bool

HasScalingStatus returns a boolean if a field has been set.

func (*SqlV1StatementStatus) HasTraits added in v0.10.0

func (o *SqlV1StatementStatus) HasTraits() bool

HasTraits returns a boolean if a field has been set.

func (SqlV1StatementStatus) MarshalJSON

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

func (*SqlV1StatementStatus) Redact

func (o *SqlV1StatementStatus) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementStatus) SetDetail

func (o *SqlV1StatementStatus) SetDetail(v string)

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

func (*SqlV1StatementStatus) SetLatestOffsets added in v0.17.0

func (o *SqlV1StatementStatus) SetLatestOffsets(v map[string]string)

SetLatestOffsets gets a reference to the given map[string]string and assigns it to the LatestOffsets field.

func (*SqlV1StatementStatus) SetLatestOffsetsTimestamp added in v0.17.0

func (o *SqlV1StatementStatus) SetLatestOffsetsTimestamp(v time.Time)

SetLatestOffsetsTimestamp gets a reference to the given time.Time and assigns it to the LatestOffsetsTimestamp field.

func (*SqlV1StatementStatus) SetNetworkKind added in v0.11.0

func (o *SqlV1StatementStatus) SetNetworkKind(v string)

SetNetworkKind gets a reference to the given string and assigns it to the NetworkKind field.

func (*SqlV1StatementStatus) SetPhase

func (o *SqlV1StatementStatus) SetPhase(v string)

SetPhase sets field value

func (*SqlV1StatementStatus) SetScalingStatus

func (o *SqlV1StatementStatus) SetScalingStatus(v SqlV1ScalingStatus)

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

func (*SqlV1StatementStatus) SetTraits added in v0.10.0

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

type SqlV1StatementTraits added in v0.10.0

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

SqlV1StatementTraits StatementTraits contains detailed information about the properties of a Statement

func NewSqlV1StatementTraits added in v0.10.0

func NewSqlV1StatementTraits() *SqlV1StatementTraits

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

func NewSqlV1StatementTraitsWithDefaults added in v0.10.0

func NewSqlV1StatementTraitsWithDefaults() *SqlV1StatementTraits

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

func (*SqlV1StatementTraits) GetIsAppendOnly added in v0.10.0

func (o *SqlV1StatementTraits) GetIsAppendOnly() bool

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

func (*SqlV1StatementTraits) GetIsAppendOnlyOk added in v0.10.0

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

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

func (*SqlV1StatementTraits) GetIsBounded added in v0.10.0

func (o *SqlV1StatementTraits) GetIsBounded() bool

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

func (*SqlV1StatementTraits) GetIsBoundedOk added in v0.10.0

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

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

func (*SqlV1StatementTraits) GetSchema added in v0.10.0

func (o *SqlV1StatementTraits) GetSchema() SqlV1ResultSchema

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

func (*SqlV1StatementTraits) GetSchemaOk added in v0.10.0

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

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

func (*SqlV1StatementTraits) GetSqlKind added in v0.10.0

func (o *SqlV1StatementTraits) GetSqlKind() string

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

func (*SqlV1StatementTraits) GetSqlKindOk added in v0.10.0

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

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

func (*SqlV1StatementTraits) GetUpsertColumns added in v0.10.0

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

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

func (*SqlV1StatementTraits) GetUpsertColumnsOk added in v0.10.0

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

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

func (*SqlV1StatementTraits) HasIsAppendOnly added in v0.10.0

func (o *SqlV1StatementTraits) HasIsAppendOnly() bool

HasIsAppendOnly returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasIsBounded added in v0.10.0

func (o *SqlV1StatementTraits) HasIsBounded() bool

HasIsBounded returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasSchema added in v0.10.0

func (o *SqlV1StatementTraits) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasSqlKind added in v0.10.0

func (o *SqlV1StatementTraits) HasSqlKind() bool

HasSqlKind returns a boolean if a field has been set.

func (*SqlV1StatementTraits) HasUpsertColumns added in v0.10.0

func (o *SqlV1StatementTraits) HasUpsertColumns() bool

HasUpsertColumns returns a boolean if a field has been set.

func (SqlV1StatementTraits) MarshalJSON added in v0.10.0

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

func (*SqlV1StatementTraits) Redact added in v0.10.0

func (o *SqlV1StatementTraits) Redact()

Redact resets all sensitive fields to their zero value.

func (*SqlV1StatementTraits) SetIsAppendOnly added in v0.10.0

func (o *SqlV1StatementTraits) SetIsAppendOnly(v bool)

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

func (*SqlV1StatementTraits) SetIsBounded added in v0.10.0

func (o *SqlV1StatementTraits) SetIsBounded(v bool)

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

func (*SqlV1StatementTraits) SetSchema added in v0.10.0

func (o *SqlV1StatementTraits) SetSchema(v SqlV1ResultSchema)

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

func (*SqlV1StatementTraits) SetSqlKind added in v0.10.0

func (o *SqlV1StatementTraits) SetSqlKind(v string)

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

func (*SqlV1StatementTraits) SetUpsertColumns added in v0.10.0

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

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

type StatementExceptionsSqlV1Api

type StatementExceptionsSqlV1Api interface {

	/*
			GetSqlv1StatementExceptions List of Statement Exceptions

			[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Retrieve a list of the 10 most recent statement exceptions.

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

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

type StatementExceptionsSqlV1ApiService

type StatementExceptionsSqlV1ApiService service

StatementExceptionsSqlV1ApiService StatementExceptionsSqlV1Api service

func (*StatementExceptionsSqlV1ApiService) GetSqlv1StatementExceptions

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

GetSqlv1StatementExceptions List of Statement Exceptions

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Retrieve a list of the 10 most recent statement exceptions.

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

func (*StatementExceptionsSqlV1ApiService) GetSqlv1StatementExceptionsExecute

Execute executes the request

@return SqlV1StatementExceptionList

type StatementObjectMeta added in v0.17.0

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

StatementObjectMeta The metadata of the statement.

func NewStatementObjectMeta added in v0.17.0

func NewStatementObjectMeta(self string) *StatementObjectMeta

NewStatementObjectMeta instantiates a new StatementObjectMeta 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 NewStatementObjectMetaWithDefaults added in v0.17.0

func NewStatementObjectMetaWithDefaults() *StatementObjectMeta

NewStatementObjectMetaWithDefaults instantiates a new StatementObjectMeta 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 (*StatementObjectMeta) GetCreatedAt added in v0.17.0

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

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

func (*StatementObjectMeta) GetCreatedAtOk added in v0.17.0

func (o *StatementObjectMeta) 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 (*StatementObjectMeta) GetLabels added in v0.17.0

func (o *StatementObjectMeta) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*StatementObjectMeta) GetLabelsOk added in v0.17.0

func (o *StatementObjectMeta) GetLabelsOk() (*map[string]string, bool)

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

func (*StatementObjectMeta) GetResourceVersion added in v0.17.0

func (o *StatementObjectMeta) GetResourceVersion() string

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

func (*StatementObjectMeta) GetResourceVersionOk added in v0.17.0

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

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

func (*StatementObjectMeta) GetSelf added in v0.17.0

func (o *StatementObjectMeta) GetSelf() string

GetSelf returns the Self field value

func (*StatementObjectMeta) GetSelfOk added in v0.17.0

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

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

func (*StatementObjectMeta) GetUid added in v0.17.0

func (o *StatementObjectMeta) GetUid() string

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

func (*StatementObjectMeta) GetUidOk added in v0.17.0

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

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

func (*StatementObjectMeta) GetUpdatedAt added in v0.17.0

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

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

func (*StatementObjectMeta) GetUpdatedAtOk added in v0.17.0

func (o *StatementObjectMeta) 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 (*StatementObjectMeta) HasCreatedAt added in v0.17.0

func (o *StatementObjectMeta) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*StatementObjectMeta) HasLabels added in v0.17.0

func (o *StatementObjectMeta) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*StatementObjectMeta) HasResourceVersion added in v0.17.0

func (o *StatementObjectMeta) HasResourceVersion() bool

HasResourceVersion returns a boolean if a field has been set.

func (*StatementObjectMeta) HasUid added in v0.17.0

func (o *StatementObjectMeta) HasUid() bool

HasUid returns a boolean if a field has been set.

func (*StatementObjectMeta) HasUpdatedAt added in v0.17.0

func (o *StatementObjectMeta) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (StatementObjectMeta) MarshalJSON added in v0.17.0

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

func (*StatementObjectMeta) Redact added in v0.17.0

func (o *StatementObjectMeta) Redact()

Redact resets all sensitive fields to their zero value.

func (*StatementObjectMeta) SetCreatedAt added in v0.17.0

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

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

func (*StatementObjectMeta) SetLabels added in v0.17.0

func (o *StatementObjectMeta) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*StatementObjectMeta) SetResourceVersion added in v0.17.0

func (o *StatementObjectMeta) SetResourceVersion(v string)

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

func (*StatementObjectMeta) SetSelf added in v0.17.0

func (o *StatementObjectMeta) SetSelf(v string)

SetSelf sets field value

func (*StatementObjectMeta) SetUid added in v0.17.0

func (o *StatementObjectMeta) SetUid(v string)

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

func (*StatementObjectMeta) SetUpdatedAt added in v0.17.0

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

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

type StatementResultsSqlV1Api

type StatementResultsSqlV1Api interface {

	/*
			GetSqlv1StatementResult Read Statement Result

			[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Read Statement Result.

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

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

type StatementResultsSqlV1ApiService

type StatementResultsSqlV1ApiService service

StatementResultsSqlV1ApiService StatementResultsSqlV1Api service

func (*StatementResultsSqlV1ApiService) GetSqlv1StatementResult

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

GetSqlv1StatementResult Read Statement Result

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Read Statement Result.

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

func (*StatementResultsSqlV1ApiService) GetSqlv1StatementResultExecute

Execute executes the request

@return SqlV1StatementResult

type StatementsSqlV1Api

type StatementsSqlV1Api interface {

	/*
			CreateSqlv1Statement Create a Statement

			[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Make a request to create a statement.

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

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

	/*
			DeleteSqlv1Statement Delete a Statement

			[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Make a request to delete a statement.

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

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

	/*
			GetSqlv1Statement Read a Statement

			[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Make a request to read a statement.

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

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

	/*
			ListSqlv1Statements List of Statements

			[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Retrieve a sorted, filtered, paginated list of all statements.

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

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

	/*
			PatchSqlv1Statement Patch a Statement

			[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Make a request to patch a statement.

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

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

	/*
			UpdateSqlv1Statement Update a Statement

			[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

		Make a request to update a statement.
		The request will fail with a 409 Conflict error if the Statement has changed since it was fetched.
		In this case, do a GET, reapply the modifications, and try the update again.

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

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

type StatementsSqlV1ApiService

type StatementsSqlV1ApiService service

StatementsSqlV1ApiService StatementsSqlV1Api service

func (*StatementsSqlV1ApiService) CreateSqlv1Statement

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

CreateSqlv1Statement Create a Statement

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Make a request to create a statement.

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

func (*StatementsSqlV1ApiService) CreateSqlv1StatementExecute

Execute executes the request

@return SqlV1Statement

func (*StatementsSqlV1ApiService) DeleteSqlv1Statement

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

DeleteSqlv1Statement Delete a Statement

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Make a request to delete a statement.

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

func (*StatementsSqlV1ApiService) DeleteSqlv1StatementExecute

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

Execute executes the request

func (*StatementsSqlV1ApiService) GetSqlv1Statement

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

GetSqlv1Statement Read a Statement

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Make a request to read a statement.

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

func (*StatementsSqlV1ApiService) GetSqlv1StatementExecute

Execute executes the request

@return SqlV1Statement

func (*StatementsSqlV1ApiService) ListSqlv1Statements

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

ListSqlv1Statements List of Statements

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Retrieve a sorted, filtered, paginated list of all statements.

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

func (*StatementsSqlV1ApiService) ListSqlv1StatementsExecute

Execute executes the request

@return SqlV1StatementList

func (*StatementsSqlV1ApiService) PatchSqlv1Statement added in v0.17.0

func (a *StatementsSqlV1ApiService) PatchSqlv1Statement(ctx _context.Context, organizationId string, environmentId string, statementName string) ApiPatchSqlv1StatementRequest

PatchSqlv1Statement Patch a Statement

[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Make a request to patch a statement.

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

func (*StatementsSqlV1ApiService) PatchSqlv1StatementExecute added in v0.17.0

Execute executes the request

@return SqlV1Statement

func (*StatementsSqlV1ApiService) UpdateSqlv1Statement

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

UpdateSqlv1Statement Update a Statement

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Make a request to update a statement. The request will fail with a 409 Conflict error if the Statement has changed since it was fetched. In this case, do a GET, reapply the modifications, and try the update again.

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

func (*StatementsSqlV1ApiService) UpdateSqlv1StatementExecute

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

Execute executes the request

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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