ccloud

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

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 22 Imported by: 0

README

Go API client for ccloud

To regenerate run:

gen.sh

Requires openapi-generator to be installed. I used 6.0.0 on a mac. For some reason I didn't dig into too deeply, the generated code is broken (missing open curly brace on some if statements) so I just patched the results. When openapi-generator or the go plugin changes sufficiently it will likely break the patch, which will need to be removed or adjusted.

API docs API reference docs

autogenerated follows

This is an early access, experimental version of the Cloud API. The interface and output is subject to change, and there may be bugs.

Authentication

Overview

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

  • API version: 2022-03-31
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://support.cockroachlabs.com

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 ccloud "github.com/jess-sheneberger/cockroach-cloud-golang"

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

Documentation for API Endpoints

All URIs are relative to https://cockroachlabs.cloud

Class Method HTTP request Description
CockroachCloudApi AddAllowlistEntry Post /api/v1/clusters/{cluster_id}/networking/allowlist Add a new CIDR address to the IP allowlist.
CockroachCloudApi AddAllowlistEntry2 Put /api/v1/clusters/{cluster_id}/networking/allowlist/{entry.cidr_ip}/{entry.cidr_mask} Add a new CIDR address to the IP allowlist.
CockroachCloudApi CreateCluster Post /api/v1/clusters Create and initialize a new cluster.
CockroachCloudApi CreateSQLUser Post /api/v1/clusters/{cluster_id}/sql-users Create a new SQL user.
CockroachCloudApi DeleteAllowlistEntry Delete /api/v1/clusters/{cluster_id}/networking/allowlist/{cidr_ip}/{cidr_mask} Delete an IP allowlist entry.
CockroachCloudApi DeleteCluster Delete /api/v1/clusters/{cluster_id} Delete a cluster and all of its data.
CockroachCloudApi DeleteSQLUser Delete /api/v1/clusters/{cluster_id}/sql-users/{name} Delete a SQL user.
CockroachCloudApi EnableCMEK Post /api/v1/clusters/{cluster_id}/cmek Enable CMEK for a cluster.
CockroachCloudApi GetCMEKClusterInfo Get /api/v1/clusters/{cluster_id}/cmek Get CMEK-related information for a cluster.
CockroachCloudApi GetCluster Get /api/v1/clusters/{cluster_id} Get extended information about a cluster.
CockroachCloudApi ListAllowlistEntries Get /api/v1/clusters/{cluster_id}/networking/allowlist Get the IP allowlist and propagation status for a cluster.
CockroachCloudApi ListAvailableRegions Get /api/v1/clusters/available-regions List the regions available for new clusters and nodes.
CockroachCloudApi ListClusterNodes Get /api/v1/clusters/{cluster_id}/nodes List nodes for a cluster.
CockroachCloudApi ListClusters Get /api/v1/clusters List clusters owned by an organization.
CockroachCloudApi ListSQLUsers Get /api/v1/clusters/{cluster_id}/sql-users List SQL users for a cluster.
CockroachCloudApi UpdateAllowlistEntry Patch /api/v1/clusters/{cluster_id}/networking/allowlist/{entry.cidr_ip}/{entry.cidr_mask} Update an IP allowlist entry.
CockroachCloudApi UpdateCMEKStatus Patch /api/v1/clusters/{cluster_id}/cmek Update the CMEK-related status for a cluster.
CockroachCloudApi UpdateCluster Patch /api/v1/clusters/{cluster_id} Scale or edit a cluster.
CockroachCloudApi UpdateSQLUserPassword Put /api/v1/clusters/{cluster_id}/sql-users/{name}/password Update a SQL user's password.

Documentation For Models

Documentation For Authorization

Bearer
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
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

support@cockroachlabs.com

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")
)
View Source
var AllowedApiCloudProviderEnumValues = []ApiCloudProvider{
	"CLOUD_PROVIDER_UNSPECIFIED",
	"GCP",
	"AWS",
}

All allowed values of ApiCloudProvider enum

View Source
var AllowedCMEKCustomerActionEnumValues = []CMEKCustomerAction{
	"UNKNOWN_ACTION",
	"REVOKE",
}

All allowed values of CMEKCustomerAction enum

View Source
var AllowedCMEKKeyTypeEnumValues = []CMEKKeyType{
	"UNKNOWN_KEY_TYPE",
	"AWS_KMS",
	"GCP_CLOUD_KMS",
}

All allowed values of CMEKKeyType enum

View Source
var AllowedCMEKStatusEnumValues = []CMEKStatus{
	"UNKNOWN_STATUS",
	"DISABLED",
	"DISABLING",
	"DISABLE_FAILED",
	"ENABLED",
	"ENABLING",
	"ENABLE_FAILED",
	"REVOKED",
	"REVOKING",
	"REVOKE_FAILED",
}

All allowed values of CMEKStatus enum

View Source
var AllowedClusterStateTypeEnumValues = []ClusterStateType{
	"CLUSTER_STATE_UNSPECIFIED",
	"CREATING",
	"CREATED",
	"CREATION_FAILED",
	"DELETED",
	"LOCKED",
}

All allowed values of ClusterStateType enum

View Source
var AllowedClusterStatusTypeEnumValues = []ClusterStatusType{
	"CLUSTER_STATUS_UNSPECIFIED",
	"CRDB_MAJOR_UPGRADE_RUNNING",
	"CRDB_MAJOR_UPGRADE_FAILED",
	"CRDB_MAJOR_ROLLBACK_RUNNING",
	"CRDB_MAJOR_ROLLBACK_FAILED",
	"CRDB_PATCH_RUNNING",
	"CRDB_PATCH_FAILED",
	"CRDB_SCALE_RUNNING",
	"CRDB_SCALE_FAILED",
	"MAINTENANCE_RUNNING",
	"CRDB_INSTANCE_UPDATE_RUNNING",
	"CRDB_INSTANCE_UPDATE_FAILED",
	"CRDB_EDIT_CLUSTER_RUNNING",
	"CRDB_EDIT_CLUSTER_FAILED",
	"CRDB_CMEK_OPERATION_RUNNING",
	"CRDB_CMEK_OPERATION_FAILED",
	"TENANT_RESTORE_RUNNING",
	"TENANT_RESTORE_FAILED",
}

All allowed values of ClusterStatusType enum

View Source
var AllowedNodeStatusEnumValues = []NodeStatus{
	"NODE_STATUS_UNSPECIFIED",
	"LIVE",
	"NOT_READY",
}

All allowed values of NodeStatus enum

View Source
var AllowedPageDirectionEnumValues = []PageDirection{
	"PAGE_DIRECTION_NEXT",
	"PAGE_DIRECTION_LAST",
}

All allowed values of PageDirection enum

View Source
var AllowedPlanEnumValues = []Plan{
	"PLAN_UNSPECIFIED",
	"DEDICATED",
	"CUSTOM",
	"SERVERLESS",
}

All allowed values of Plan enum

View Source
var AllowedSortOrderEnumValues = []SortOrder{
	"ASC",
	"DESC",
}

All allowed values of SortOrder enum

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 {
	CockroachCloudApi *CockroachCloudApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the CockroachDB Cloud API API v2022-03-31 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 AllowlistEntry

type AllowlistEntry struct {
	CidrIp   string  `json:"cidr_ip"`
	CidrMask int32   `json:"cidr_mask"`
	Ui       bool    `json:"ui"`
	Sql      bool    `json:"sql"`
	Name     *string `json:"name,omitempty"`
}

AllowlistEntry struct for AllowlistEntry

func NewAllowlistEntry

func NewAllowlistEntry(cidrIp string, cidrMask int32, ui bool, sql bool) *AllowlistEntry

NewAllowlistEntry instantiates a new AllowlistEntry 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 NewAllowlistEntryWithDefaults

func NewAllowlistEntryWithDefaults() *AllowlistEntry

NewAllowlistEntryWithDefaults instantiates a new AllowlistEntry 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 (*AllowlistEntry) GetCidrIp

func (o *AllowlistEntry) GetCidrIp() string

GetCidrIp returns the CidrIp field value

func (*AllowlistEntry) GetCidrIpOk

func (o *AllowlistEntry) GetCidrIpOk() (*string, bool)

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

func (*AllowlistEntry) GetCidrMask

func (o *AllowlistEntry) GetCidrMask() int32

GetCidrMask returns the CidrMask field value

func (*AllowlistEntry) GetCidrMaskOk

func (o *AllowlistEntry) GetCidrMaskOk() (*int32, bool)

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

func (*AllowlistEntry) GetName

func (o *AllowlistEntry) GetName() string

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

func (*AllowlistEntry) GetNameOk

func (o *AllowlistEntry) 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 (*AllowlistEntry) GetSql

func (o *AllowlistEntry) GetSql() bool

GetSql returns the Sql field value

func (*AllowlistEntry) GetSqlOk

func (o *AllowlistEntry) GetSqlOk() (*bool, bool)

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

func (*AllowlistEntry) GetUi

func (o *AllowlistEntry) GetUi() bool

GetUi returns the Ui field value

func (*AllowlistEntry) GetUiOk

func (o *AllowlistEntry) GetUiOk() (*bool, bool)

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

func (*AllowlistEntry) HasName

func (o *AllowlistEntry) HasName() bool

HasName returns a boolean if a field has been set.

func (AllowlistEntry) MarshalJSON

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

func (*AllowlistEntry) SetCidrIp

func (o *AllowlistEntry) SetCidrIp(v string)

SetCidrIp sets field value

func (*AllowlistEntry) SetCidrMask

func (o *AllowlistEntry) SetCidrMask(v int32)

SetCidrMask sets field value

func (*AllowlistEntry) SetName

func (o *AllowlistEntry) SetName(v string)

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

func (*AllowlistEntry) SetSql

func (o *AllowlistEntry) SetSql(v bool)

SetSql sets field value

func (*AllowlistEntry) SetUi

func (o *AllowlistEntry) SetUi(v bool)

SetUi sets field value

type Any

type Any struct {
	Type *string `json:"@type,omitempty"`
}

Any struct for Any

func NewAny

func NewAny() *Any

NewAny instantiates a new Any 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 NewAnyWithDefaults

func NewAnyWithDefaults() *Any

NewAnyWithDefaults instantiates a new Any 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 (*Any) GetType

func (o *Any) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Any) GetTypeOk

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

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

func (*Any) HasType

func (o *Any) HasType() bool

HasType returns a boolean if a field has been set.

func (Any) MarshalJSON

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

func (*Any) SetType

func (o *Any) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ApiAddAllowlistEntry2Request

type ApiAddAllowlistEntry2Request struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiAddAllowlistEntry2Request) AllowlistEntry

func (ApiAddAllowlistEntry2Request) Execute

type ApiAddAllowlistEntryRequest

type ApiAddAllowlistEntryRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiAddAllowlistEntryRequest) AllowlistEntry

func (ApiAddAllowlistEntryRequest) Execute

type ApiCloudProvider

type ApiCloudProvider string

ApiCloudProvider - GCP: The Google Cloud Platform cloud provider. - AWS: The Amazon Web Services cloud provider.

const (
	CLOUD_PROVIDER_UNSPECIFIED ApiCloudProvider = "CLOUD_PROVIDER_UNSPECIFIED"
	GCP                        ApiCloudProvider = "GCP"
	AWS                        ApiCloudProvider = "AWS"
)

List of api.CloudProvider

func NewApiCloudProviderFromValue

func NewApiCloudProviderFromValue(v string) (*ApiCloudProvider, error)

NewApiCloudProviderFromValue returns a pointer to a valid ApiCloudProvider for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ApiCloudProvider) IsValid

func (v ApiCloudProvider) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ApiCloudProvider) Ptr

Ptr returns reference to api.CloudProvider value

func (*ApiCloudProvider) UnmarshalJSON

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

type ApiCreateClusterRequest

type ApiCreateClusterRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiCreateClusterRequest) CreateClusterRequest

func (r ApiCreateClusterRequest) CreateClusterRequest(createClusterRequest CreateClusterRequest) ApiCreateClusterRequest

func (ApiCreateClusterRequest) Execute

type ApiCreateSQLUserRequest

type ApiCreateSQLUserRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiCreateSQLUserRequest) CreateSQLUserRequest

func (r ApiCreateSQLUserRequest) CreateSQLUserRequest(createSQLUserRequest CreateSQLUserRequest) ApiCreateSQLUserRequest

func (ApiCreateSQLUserRequest) Execute

type ApiDeleteAllowlistEntryRequest

type ApiDeleteAllowlistEntryRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAllowlistEntryRequest) Execute

type ApiDeleteClusterRequest

type ApiDeleteClusterRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiDeleteClusterRequest) Execute

type ApiDeleteSQLUserRequest

type ApiDeleteSQLUserRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSQLUserRequest) Execute

type ApiEnableCMEKRequest

type ApiEnableCMEKRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiEnableCMEKRequest) CMEKClusterSpecification

func (r ApiEnableCMEKRequest) CMEKClusterSpecification(cMEKClusterSpecification CMEKClusterSpecification) ApiEnableCMEKRequest

func (ApiEnableCMEKRequest) Execute

type ApiGetCMEKClusterInfoRequest

type ApiGetCMEKClusterInfoRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiGetCMEKClusterInfoRequest) Execute

type ApiGetClusterRequest

type ApiGetClusterRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiGetClusterRequest) Execute

func (r ApiGetClusterRequest) Execute() (*Cluster, *http.Response, error)

type ApiListAllowlistEntriesRequest

type ApiListAllowlistEntriesRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiListAllowlistEntriesRequest) Execute

func (ApiListAllowlistEntriesRequest) PaginationDirection

func (r ApiListAllowlistEntriesRequest) PaginationDirection(paginationDirection string) ApiListAllowlistEntriesRequest

func (ApiListAllowlistEntriesRequest) PaginationLimit

func (r ApiListAllowlistEntriesRequest) PaginationLimit(paginationLimit int32) ApiListAllowlistEntriesRequest

func (ApiListAllowlistEntriesRequest) PaginationOrder

func (r ApiListAllowlistEntriesRequest) PaginationOrder(paginationOrder string) ApiListAllowlistEntriesRequest

- DESC: Sort in descending order. The default order is ascending.

func (ApiListAllowlistEntriesRequest) PaginationStartKey

func (r ApiListAllowlistEntriesRequest) PaginationStartKey(paginationStartKey string) ApiListAllowlistEntriesRequest

func (ApiListAllowlistEntriesRequest) PaginationTime

type ApiListAvailableRegionsRequest

type ApiListAvailableRegionsRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiListAvailableRegionsRequest) Execute

func (ApiListAvailableRegionsRequest) PaginationDirection

func (r ApiListAvailableRegionsRequest) PaginationDirection(paginationDirection string) ApiListAvailableRegionsRequest

func (ApiListAvailableRegionsRequest) PaginationLimit

func (r ApiListAvailableRegionsRequest) PaginationLimit(paginationLimit int32) ApiListAvailableRegionsRequest

func (ApiListAvailableRegionsRequest) PaginationOrder

func (r ApiListAvailableRegionsRequest) PaginationOrder(paginationOrder string) ApiListAvailableRegionsRequest

- DESC: Sort in descending order. The default order is ascending.

func (ApiListAvailableRegionsRequest) PaginationStartKey

func (r ApiListAvailableRegionsRequest) PaginationStartKey(paginationStartKey string) ApiListAvailableRegionsRequest

func (ApiListAvailableRegionsRequest) PaginationTime

func (ApiListAvailableRegionsRequest) Provider

Optional CloudProvider for filtering. - GCP: The Google Cloud Platform cloud provider. - AWS: The Amazon Web Services cloud provider.

func (ApiListAvailableRegionsRequest) Serverless

Optional filter to only show regions available for serverless clusters.

type ApiListClusterNodesRequest

type ApiListClusterNodesRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiListClusterNodesRequest) Execute

func (ApiListClusterNodesRequest) PaginationDirection

func (r ApiListClusterNodesRequest) PaginationDirection(paginationDirection string) ApiListClusterNodesRequest

func (ApiListClusterNodesRequest) PaginationLimit

func (r ApiListClusterNodesRequest) PaginationLimit(paginationLimit int32) ApiListClusterNodesRequest

func (ApiListClusterNodesRequest) PaginationOrder

func (r ApiListClusterNodesRequest) PaginationOrder(paginationOrder string) ApiListClusterNodesRequest

- DESC: Sort in descending order. The default order is ascending.

func (ApiListClusterNodesRequest) PaginationStartKey

func (r ApiListClusterNodesRequest) PaginationStartKey(paginationStartKey string) ApiListClusterNodesRequest

func (ApiListClusterNodesRequest) PaginationTime

func (r ApiListClusterNodesRequest) PaginationTime(paginationTime time.Time) ApiListClusterNodesRequest

func (ApiListClusterNodesRequest) RegionName

Optional filter to limit response to a single region.

type ApiListClustersRequest

type ApiListClustersRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiListClustersRequest) Execute

func (ApiListClustersRequest) PaginationDirection

func (r ApiListClustersRequest) PaginationDirection(paginationDirection string) ApiListClustersRequest

func (ApiListClustersRequest) PaginationLimit

func (r ApiListClustersRequest) PaginationLimit(paginationLimit int32) ApiListClustersRequest

func (ApiListClustersRequest) PaginationOrder

func (r ApiListClustersRequest) PaginationOrder(paginationOrder string) ApiListClustersRequest

- DESC: Sort in descending order. The default order is ascending.

func (ApiListClustersRequest) PaginationStartKey

func (r ApiListClustersRequest) PaginationStartKey(paginationStartKey string) ApiListClustersRequest

func (ApiListClustersRequest) PaginationTime

func (r ApiListClustersRequest) PaginationTime(paginationTime time.Time) ApiListClustersRequest

func (ApiListClustersRequest) ShowInactive

func (r ApiListClustersRequest) ShowInactive(showInactive bool) ApiListClustersRequest

If `true`, show clusters that have been deleted or failed to initialize.

type ApiListSQLUsersRequest

type ApiListSQLUsersRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiListSQLUsersRequest) Execute

func (ApiListSQLUsersRequest) PaginationDirection

func (r ApiListSQLUsersRequest) PaginationDirection(paginationDirection string) ApiListSQLUsersRequest

func (ApiListSQLUsersRequest) PaginationLimit

func (r ApiListSQLUsersRequest) PaginationLimit(paginationLimit int32) ApiListSQLUsersRequest

func (ApiListSQLUsersRequest) PaginationOrder

func (r ApiListSQLUsersRequest) PaginationOrder(paginationOrder string) ApiListSQLUsersRequest

- DESC: Sort in descending order. The default order is ascending.

func (ApiListSQLUsersRequest) PaginationStartKey

func (r ApiListSQLUsersRequest) PaginationStartKey(paginationStartKey string) ApiListSQLUsersRequest

func (ApiListSQLUsersRequest) PaginationTime

func (r ApiListSQLUsersRequest) PaginationTime(paginationTime time.Time) ApiListSQLUsersRequest

type ApiUpdateAllowlistEntryRequest

type ApiUpdateAllowlistEntryRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiUpdateAllowlistEntryRequest) AllowlistEntry

func (ApiUpdateAllowlistEntryRequest) Execute

func (ApiUpdateAllowlistEntryRequest) FieldMask

type ApiUpdateCMEKStatusRequest

type ApiUpdateCMEKStatusRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiUpdateCMEKStatusRequest) Execute

func (ApiUpdateCMEKStatusRequest) UpdateCMEKStatusRequest

func (r ApiUpdateCMEKStatusRequest) UpdateCMEKStatusRequest(updateCMEKStatusRequest UpdateCMEKStatusRequest) ApiUpdateCMEKStatusRequest

type ApiUpdateClusterRequest

type ApiUpdateClusterRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiUpdateClusterRequest) Execute

func (ApiUpdateClusterRequest) FieldMask

func (ApiUpdateClusterRequest) UpdateClusterSpecification

func (r ApiUpdateClusterRequest) UpdateClusterSpecification(updateClusterSpecification UpdateClusterSpecification) ApiUpdateClusterRequest

type ApiUpdateSQLUserPasswordRequest

type ApiUpdateSQLUserPasswordRequest struct {
	ApiService *CockroachCloudApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSQLUserPasswordRequest) Execute

func (ApiUpdateSQLUserPasswordRequest) UpdateSQLUserPasswordRequest

func (r ApiUpdateSQLUserPasswordRequest) UpdateSQLUserPasswordRequest(updateSQLUserPasswordRequest UpdateSQLUserPasswordRequest) ApiUpdateSQLUserPasswordRequest

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 CMEKClusterInfo

type CMEKClusterInfo struct {
	Status      *CMEKStatus      `json:"status,omitempty"`
	RegionInfos []CMEKRegionInfo `json:"region_infos,omitempty"`
}

CMEKClusterInfo CMEKClusterInfo contains the status of CMEK across an entire cluster, including within each one its regions.

func NewCMEKClusterInfo

func NewCMEKClusterInfo() *CMEKClusterInfo

NewCMEKClusterInfo instantiates a new CMEKClusterInfo 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 NewCMEKClusterInfoWithDefaults

func NewCMEKClusterInfoWithDefaults() *CMEKClusterInfo

NewCMEKClusterInfoWithDefaults instantiates a new CMEKClusterInfo 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 (*CMEKClusterInfo) GetRegionInfos

func (o *CMEKClusterInfo) GetRegionInfos() []CMEKRegionInfo

GetRegionInfos returns the RegionInfos field value if set, zero value otherwise.

func (*CMEKClusterInfo) GetRegionInfosOk

func (o *CMEKClusterInfo) GetRegionInfosOk() ([]CMEKRegionInfo, bool)

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

func (*CMEKClusterInfo) GetStatus

func (o *CMEKClusterInfo) GetStatus() CMEKStatus

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

func (*CMEKClusterInfo) GetStatusOk

func (o *CMEKClusterInfo) GetStatusOk() (*CMEKStatus, 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 (*CMEKClusterInfo) HasRegionInfos

func (o *CMEKClusterInfo) HasRegionInfos() bool

HasRegionInfos returns a boolean if a field has been set.

func (*CMEKClusterInfo) HasStatus

func (o *CMEKClusterInfo) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (CMEKClusterInfo) MarshalJSON

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

func (*CMEKClusterInfo) SetRegionInfos

func (o *CMEKClusterInfo) SetRegionInfos(v []CMEKRegionInfo)

SetRegionInfos gets a reference to the given []CMEKRegionInfo and assigns it to the RegionInfos field.

func (*CMEKClusterInfo) SetStatus

func (o *CMEKClusterInfo) SetStatus(v CMEKStatus)

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

type CMEKClusterSpecification

type CMEKClusterSpecification struct {
	RegionSpecs []CMEKRegionSpecification `json:"region_specs"`
}

CMEKClusterSpecification struct for CMEKClusterSpecification

func NewCMEKClusterSpecification

func NewCMEKClusterSpecification(regionSpecs []CMEKRegionSpecification) *CMEKClusterSpecification

NewCMEKClusterSpecification instantiates a new CMEKClusterSpecification 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 NewCMEKClusterSpecificationWithDefaults

func NewCMEKClusterSpecificationWithDefaults() *CMEKClusterSpecification

NewCMEKClusterSpecificationWithDefaults instantiates a new CMEKClusterSpecification 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 (*CMEKClusterSpecification) GetRegionSpecs

func (o *CMEKClusterSpecification) GetRegionSpecs() []CMEKRegionSpecification

GetRegionSpecs returns the RegionSpecs field value

func (*CMEKClusterSpecification) GetRegionSpecsOk

func (o *CMEKClusterSpecification) GetRegionSpecsOk() ([]CMEKRegionSpecification, bool)

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

func (CMEKClusterSpecification) MarshalJSON

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

func (*CMEKClusterSpecification) SetRegionSpecs

func (o *CMEKClusterSpecification) SetRegionSpecs(v []CMEKRegionSpecification)

SetRegionSpecs sets field value

type CMEKCustomerAction

type CMEKCustomerAction string

CMEKCustomerAction CMEKCustomerAction enumerates the actions a customer can take on a cluster that has been enabled for CMEK.

const (
	UNKNOWN_ACTION CMEKCustomerAction = "UNKNOWN_ACTION"
	REVOKE         CMEKCustomerAction = "REVOKE"
)

List of CMEKCustomerAction

func NewCMEKCustomerActionFromValue

func NewCMEKCustomerActionFromValue(v string) (*CMEKCustomerAction, error)

NewCMEKCustomerActionFromValue returns a pointer to a valid CMEKCustomerAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CMEKCustomerAction) IsValid

func (v CMEKCustomerAction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CMEKCustomerAction) Ptr

Ptr returns reference to CMEKCustomerAction value

func (*CMEKCustomerAction) UnmarshalJSON

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

type CMEKKeyInfo

type CMEKKeyInfo struct {
	Status      *CMEKStatus           `json:"status,omitempty"`
	UserMessage *string               `json:"user_message,omitempty"`
	Spec        *CMEKKeySpecification `json:"spec,omitempty"`
	CreatedAt   *time.Time            `json:"created_at,omitempty"`
	UpdatedAt   *time.Time            `json:"updated_at,omitempty"`
}

CMEKKeyInfo CMEKKeyInfo contains the status of a customer-provided key alongside the specification.

func NewCMEKKeyInfo

func NewCMEKKeyInfo() *CMEKKeyInfo

NewCMEKKeyInfo instantiates a new CMEKKeyInfo 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 NewCMEKKeyInfoWithDefaults

func NewCMEKKeyInfoWithDefaults() *CMEKKeyInfo

NewCMEKKeyInfoWithDefaults instantiates a new CMEKKeyInfo 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 (*CMEKKeyInfo) GetCreatedAt

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

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

func (*CMEKKeyInfo) GetCreatedAtOk

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

func (o *CMEKKeyInfo) GetSpec() CMEKKeySpecification

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

func (*CMEKKeyInfo) GetSpecOk

func (o *CMEKKeyInfo) GetSpecOk() (*CMEKKeySpecification, 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 (*CMEKKeyInfo) GetStatus

func (o *CMEKKeyInfo) GetStatus() CMEKStatus

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

func (*CMEKKeyInfo) GetStatusOk

func (o *CMEKKeyInfo) GetStatusOk() (*CMEKStatus, 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 (*CMEKKeyInfo) GetUpdatedAt

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

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

func (*CMEKKeyInfo) GetUpdatedAtOk

func (o *CMEKKeyInfo) 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 (*CMEKKeyInfo) GetUserMessage

func (o *CMEKKeyInfo) GetUserMessage() string

GetUserMessage returns the UserMessage field value if set, zero value otherwise.

func (*CMEKKeyInfo) GetUserMessageOk

func (o *CMEKKeyInfo) GetUserMessageOk() (*string, bool)

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

func (*CMEKKeyInfo) HasCreatedAt

func (o *CMEKKeyInfo) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CMEKKeyInfo) HasSpec

func (o *CMEKKeyInfo) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (*CMEKKeyInfo) HasStatus

func (o *CMEKKeyInfo) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CMEKKeyInfo) HasUpdatedAt

func (o *CMEKKeyInfo) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*CMEKKeyInfo) HasUserMessage

func (o *CMEKKeyInfo) HasUserMessage() bool

HasUserMessage returns a boolean if a field has been set.

func (CMEKKeyInfo) MarshalJSON

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

func (*CMEKKeyInfo) SetCreatedAt

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

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

func (*CMEKKeyInfo) SetSpec

func (o *CMEKKeyInfo) SetSpec(v CMEKKeySpecification)

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

func (*CMEKKeyInfo) SetStatus

func (o *CMEKKeyInfo) SetStatus(v CMEKStatus)

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

func (*CMEKKeyInfo) SetUpdatedAt

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

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

func (*CMEKKeyInfo) SetUserMessage

func (o *CMEKKeyInfo) SetUserMessage(v string)

SetUserMessage gets a reference to the given string and assigns it to the UserMessage field.

type CMEKKeySpecification

type CMEKKeySpecification struct {
	Type          *CMEKKeyType `json:"type,omitempty"`
	Uri           *string      `json:"uri,omitempty"`
	AuthPrincipal *string      `json:"auth_principal,omitempty"`
}

CMEKKeySpecification CMEKKeySpecification contains all the details necessary to use a customer-provided encryption key. This involves the type/location of the key and the principal to authenticate as when accessing it.

func NewCMEKKeySpecification

func NewCMEKKeySpecification() *CMEKKeySpecification

NewCMEKKeySpecification instantiates a new CMEKKeySpecification 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 NewCMEKKeySpecificationWithDefaults

func NewCMEKKeySpecificationWithDefaults() *CMEKKeySpecification

NewCMEKKeySpecificationWithDefaults instantiates a new CMEKKeySpecification 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 (*CMEKKeySpecification) GetAuthPrincipal

func (o *CMEKKeySpecification) GetAuthPrincipal() string

GetAuthPrincipal returns the AuthPrincipal field value if set, zero value otherwise.

func (*CMEKKeySpecification) GetAuthPrincipalOk

func (o *CMEKKeySpecification) GetAuthPrincipalOk() (*string, bool)

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

func (*CMEKKeySpecification) GetType

func (o *CMEKKeySpecification) GetType() CMEKKeyType

GetType returns the Type field value if set, zero value otherwise.

func (*CMEKKeySpecification) GetTypeOk

func (o *CMEKKeySpecification) GetTypeOk() (*CMEKKeyType, bool)

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

func (*CMEKKeySpecification) GetUri

func (o *CMEKKeySpecification) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*CMEKKeySpecification) GetUriOk

func (o *CMEKKeySpecification) GetUriOk() (*string, bool)

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

func (*CMEKKeySpecification) HasAuthPrincipal

func (o *CMEKKeySpecification) HasAuthPrincipal() bool

HasAuthPrincipal returns a boolean if a field has been set.

func (*CMEKKeySpecification) HasType

func (o *CMEKKeySpecification) HasType() bool

HasType returns a boolean if a field has been set.

func (*CMEKKeySpecification) HasUri

func (o *CMEKKeySpecification) HasUri() bool

HasUri returns a boolean if a field has been set.

func (CMEKKeySpecification) MarshalJSON

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

func (*CMEKKeySpecification) SetAuthPrincipal

func (o *CMEKKeySpecification) SetAuthPrincipal(v string)

SetAuthPrincipal gets a reference to the given string and assigns it to the AuthPrincipal field.

func (*CMEKKeySpecification) SetType

func (o *CMEKKeySpecification) SetType(v CMEKKeyType)

SetType gets a reference to the given CMEKKeyType and assigns it to the Type field.

func (*CMEKKeySpecification) SetUri

func (o *CMEKKeySpecification) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

type CMEKKeyType

type CMEKKeyType string

CMEKKeyType CMEKKeyType enumerates types of customer-managed keys. - UNKNOWN_KEY_TYPE: UNKNOWN should never be used; if it is used, it indicates a bug.

const (
	UNKNOWN_KEY_TYPE CMEKKeyType = "UNKNOWN_KEY_TYPE"
	AWS_KMS          CMEKKeyType = "AWS_KMS"
	GCP_CLOUD_KMS    CMEKKeyType = "GCP_CLOUD_KMS"
)

List of CMEKKeyType

func NewCMEKKeyTypeFromValue

func NewCMEKKeyTypeFromValue(v string) (*CMEKKeyType, error)

NewCMEKKeyTypeFromValue returns a pointer to a valid CMEKKeyType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CMEKKeyType) IsValid

func (v CMEKKeyType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CMEKKeyType) Ptr

func (v CMEKKeyType) Ptr() *CMEKKeyType

Ptr returns reference to CMEKKeyType value

func (*CMEKKeyType) UnmarshalJSON

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

type CMEKRegionInfo

type CMEKRegionInfo struct {
	Region   *string       `json:"region,omitempty"`
	KeyInfos []CMEKKeyInfo `json:"key_infos,omitempty"`
}

CMEKRegionInfo CMEKRegionInfo contains the status of CMEK within a region. This includes current and past key specifications used within the region, as well as the status of those specifications.

func NewCMEKRegionInfo

func NewCMEKRegionInfo() *CMEKRegionInfo

NewCMEKRegionInfo instantiates a new CMEKRegionInfo 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 NewCMEKRegionInfoWithDefaults

func NewCMEKRegionInfoWithDefaults() *CMEKRegionInfo

NewCMEKRegionInfoWithDefaults instantiates a new CMEKRegionInfo 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 (*CMEKRegionInfo) GetKeyInfos

func (o *CMEKRegionInfo) GetKeyInfos() []CMEKKeyInfo

GetKeyInfos returns the KeyInfos field value if set, zero value otherwise.

func (*CMEKRegionInfo) GetKeyInfosOk

func (o *CMEKRegionInfo) GetKeyInfosOk() ([]CMEKKeyInfo, bool)

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

func (*CMEKRegionInfo) GetRegion

func (o *CMEKRegionInfo) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*CMEKRegionInfo) GetRegionOk

func (o *CMEKRegionInfo) GetRegionOk() (*string, bool)

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

func (*CMEKRegionInfo) HasKeyInfos

func (o *CMEKRegionInfo) HasKeyInfos() bool

HasKeyInfos returns a boolean if a field has been set.

func (*CMEKRegionInfo) HasRegion

func (o *CMEKRegionInfo) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (CMEKRegionInfo) MarshalJSON

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

func (*CMEKRegionInfo) SetKeyInfos

func (o *CMEKRegionInfo) SetKeyInfos(v []CMEKKeyInfo)

SetKeyInfos gets a reference to the given []CMEKKeyInfo and assigns it to the KeyInfos field.

func (*CMEKRegionInfo) SetRegion

func (o *CMEKRegionInfo) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

type CMEKRegionSpecification

type CMEKRegionSpecification struct {
	Region  *string               `json:"region,omitempty"`
	KeySpec *CMEKKeySpecification `json:"key_spec,omitempty"`
}

CMEKRegionSpecification CMEKRegionSpecification declares the customer-provided key specification that should be used in a given region.

func NewCMEKRegionSpecification

func NewCMEKRegionSpecification() *CMEKRegionSpecification

NewCMEKRegionSpecification instantiates a new CMEKRegionSpecification 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 NewCMEKRegionSpecificationWithDefaults

func NewCMEKRegionSpecificationWithDefaults() *CMEKRegionSpecification

NewCMEKRegionSpecificationWithDefaults instantiates a new CMEKRegionSpecification 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 (*CMEKRegionSpecification) GetKeySpec

GetKeySpec returns the KeySpec field value if set, zero value otherwise.

func (*CMEKRegionSpecification) GetKeySpecOk

func (o *CMEKRegionSpecification) GetKeySpecOk() (*CMEKKeySpecification, bool)

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

func (*CMEKRegionSpecification) GetRegion

func (o *CMEKRegionSpecification) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*CMEKRegionSpecification) GetRegionOk

func (o *CMEKRegionSpecification) GetRegionOk() (*string, bool)

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

func (*CMEKRegionSpecification) HasKeySpec

func (o *CMEKRegionSpecification) HasKeySpec() bool

HasKeySpec returns a boolean if a field has been set.

func (*CMEKRegionSpecification) HasRegion

func (o *CMEKRegionSpecification) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (CMEKRegionSpecification) MarshalJSON

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

func (*CMEKRegionSpecification) SetKeySpec

SetKeySpec gets a reference to the given CMEKKeySpecification and assigns it to the KeySpec field.

func (*CMEKRegionSpecification) SetRegion

func (o *CMEKRegionSpecification) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

type CMEKStatus

type CMEKStatus string

CMEKStatus CMEKStatus describes the current status of CMEK for an entire CRDB cluster or a key within a region. - UNKNOWN_STATUS: UNKNOWN should never be used; if it is used, it indicates a bug. - DISABLED: DISABLED corresponds to the state of a cluster or region-level key when CMEK has finished being disabled. By default, CMEK will be disabled for new clusters. - DISABLING: DISABLED corresponds to the state of a cluster or region-level key when CMEK is in the process of being disabled. - DISABLE_FAILED: DISABLE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be disabled. - ENABLED: ENABLED corresponds to the state of a cluster or region-level key when CMEK is enabled. - ENABLING: ENABLING corresponds to the state of a cluster or region-level key when CMEK is in the process of being enabled. - ENABLE_FAILED: ENABLE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be enabled. - REVOKED: REVOKED corresponds to the state of a cluster or region-level key when the customer has revoked CockroachLab's permissions for their key. - REVOKING: REVOKING corresponds to the state of a cluster or region-level key when CMEK is in the process of being revoked. - REVOKE_FAILED: REVOKE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be revoked.

const (
	UNKNOWN_STATUS CMEKStatus = "UNKNOWN_STATUS"
	DISABLED       CMEKStatus = "DISABLED"
	DISABLING      CMEKStatus = "DISABLING"
	DISABLE_FAILED CMEKStatus = "DISABLE_FAILED"
	ENABLED        CMEKStatus = "ENABLED"
	ENABLING       CMEKStatus = "ENABLING"
	ENABLE_FAILED  CMEKStatus = "ENABLE_FAILED"
	REVOKED        CMEKStatus = "REVOKED"
	REVOKING       CMEKStatus = "REVOKING"
	REVOKE_FAILED  CMEKStatus = "REVOKE_FAILED"
)

List of CMEKStatus

func NewCMEKStatusFromValue

func NewCMEKStatusFromValue(v string) (*CMEKStatus, error)

NewCMEKStatusFromValue returns a pointer to a valid CMEKStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CMEKStatus) IsValid

func (v CMEKStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CMEKStatus) Ptr

func (v CMEKStatus) Ptr() *CMEKStatus

Ptr returns reference to CMEKStatus value

func (*CMEKStatus) UnmarshalJSON

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

type CloudProviderRegion

type CloudProviderRegion struct {
	Name       string           `json:"name"`
	Location   string           `json:"location"`
	Provider   ApiCloudProvider `json:"provider"`
	Serverless bool             `json:"serverless"`
	Distance   float32          `json:"distance"`
}

CloudProviderRegion struct for CloudProviderRegion

func NewCloudProviderRegion

func NewCloudProviderRegion(name string, location string, provider ApiCloudProvider, serverless bool, distance float32) *CloudProviderRegion

NewCloudProviderRegion instantiates a new CloudProviderRegion 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 NewCloudProviderRegionWithDefaults

func NewCloudProviderRegionWithDefaults() *CloudProviderRegion

NewCloudProviderRegionWithDefaults instantiates a new CloudProviderRegion 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 (*CloudProviderRegion) GetDistance

func (o *CloudProviderRegion) GetDistance() float32

GetDistance returns the Distance field value

func (*CloudProviderRegion) GetDistanceOk

func (o *CloudProviderRegion) GetDistanceOk() (*float32, bool)

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

func (*CloudProviderRegion) GetLocation

func (o *CloudProviderRegion) GetLocation() string

GetLocation returns the Location field value

func (*CloudProviderRegion) GetLocationOk

func (o *CloudProviderRegion) GetLocationOk() (*string, bool)

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

func (*CloudProviderRegion) GetName

func (o *CloudProviderRegion) GetName() string

GetName returns the Name field value

func (*CloudProviderRegion) GetNameOk

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

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

func (*CloudProviderRegion) GetProvider

func (o *CloudProviderRegion) GetProvider() ApiCloudProvider

GetProvider returns the Provider field value

func (*CloudProviderRegion) GetProviderOk

func (o *CloudProviderRegion) GetProviderOk() (*ApiCloudProvider, bool)

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

func (*CloudProviderRegion) GetServerless

func (o *CloudProviderRegion) GetServerless() bool

GetServerless returns the Serverless field value

func (*CloudProviderRegion) GetServerlessOk

func (o *CloudProviderRegion) GetServerlessOk() (*bool, bool)

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

func (CloudProviderRegion) MarshalJSON

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

func (*CloudProviderRegion) SetDistance

func (o *CloudProviderRegion) SetDistance(v float32)

SetDistance sets field value

func (*CloudProviderRegion) SetLocation

func (o *CloudProviderRegion) SetLocation(v string)

SetLocation sets field value

func (*CloudProviderRegion) SetName

func (o *CloudProviderRegion) SetName(v string)

SetName sets field value

func (*CloudProviderRegion) SetProvider

func (o *CloudProviderRegion) SetProvider(v ApiCloudProvider)

SetProvider sets field value

func (*CloudProviderRegion) SetServerless

func (o *CloudProviderRegion) SetServerless(v bool)

SetServerless sets field value

type Cluster

type Cluster struct {
	Id               string            `json:"id"`
	Name             string            `json:"name"`
	CockroachVersion string            `json:"cockroach_version"`
	Plan             Plan              `json:"plan"`
	CloudProvider    ApiCloudProvider  `json:"cloud_provider"`
	AccountId        *string           `json:"account_id,omitempty"`
	State            ClusterStateType  `json:"state"`
	CreatorId        string            `json:"creator_id"`
	OperationStatus  ClusterStatusType `json:"operation_status"`
	Config           ClusterConfig     `json:"config"`
	Regions          []Region          `json:"regions"`
	CreatedAt        *time.Time        `json:"created_at,omitempty"`
	UpdatedAt        *time.Time        `json:"updated_at,omitempty"`
	DeletedAt        *time.Time        `json:"deleted_at,omitempty"`
}

Cluster struct for Cluster

func NewCluster

func NewCluster(id string, name string, cockroachVersion string, plan Plan, cloudProvider ApiCloudProvider, state ClusterStateType, creatorId string, operationStatus ClusterStatusType, config ClusterConfig, regions []Region) *Cluster

NewCluster instantiates a new Cluster 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 NewClusterWithDefaults

func NewClusterWithDefaults() *Cluster

NewClusterWithDefaults instantiates a new Cluster 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 (*Cluster) GetAccountId

func (o *Cluster) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*Cluster) GetAccountIdOk

func (o *Cluster) GetAccountIdOk() (*string, bool)

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

func (*Cluster) GetCloudProvider

func (o *Cluster) GetCloudProvider() ApiCloudProvider

GetCloudProvider returns the CloudProvider field value

func (*Cluster) GetCloudProviderOk

func (o *Cluster) GetCloudProviderOk() (*ApiCloudProvider, bool)

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

func (*Cluster) GetCockroachVersion

func (o *Cluster) GetCockroachVersion() string

GetCockroachVersion returns the CockroachVersion field value

func (*Cluster) GetCockroachVersionOk

func (o *Cluster) GetCockroachVersionOk() (*string, bool)

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

func (*Cluster) GetConfig

func (o *Cluster) GetConfig() ClusterConfig

GetConfig returns the Config field value

func (*Cluster) GetConfigOk

func (o *Cluster) GetConfigOk() (*ClusterConfig, bool)

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

func (*Cluster) GetCreatedAt

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

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

func (*Cluster) GetCreatedAtOk

func (o *Cluster) 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 (*Cluster) GetCreatorId

func (o *Cluster) GetCreatorId() string

GetCreatorId returns the CreatorId field value

func (*Cluster) GetCreatorIdOk

func (o *Cluster) GetCreatorIdOk() (*string, bool)

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

func (*Cluster) GetDeletedAt

func (o *Cluster) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Cluster) GetDeletedAtOk

func (o *Cluster) GetDeletedAtOk() (*time.Time, bool)

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

func (*Cluster) GetId

func (o *Cluster) GetId() string

GetId returns the Id field value

func (*Cluster) GetIdOk

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

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

func (*Cluster) GetName

func (o *Cluster) GetName() string

GetName returns the Name field value

func (*Cluster) GetNameOk

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

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

func (*Cluster) GetOperationStatus

func (o *Cluster) GetOperationStatus() ClusterStatusType

GetOperationStatus returns the OperationStatus field value

func (*Cluster) GetOperationStatusOk

func (o *Cluster) GetOperationStatusOk() (*ClusterStatusType, bool)

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

func (*Cluster) GetPlan

func (o *Cluster) GetPlan() Plan

GetPlan returns the Plan field value

func (*Cluster) GetPlanOk

func (o *Cluster) GetPlanOk() (*Plan, bool)

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

func (*Cluster) GetRegions

func (o *Cluster) GetRegions() []Region

GetRegions returns the Regions field value

func (*Cluster) GetRegionsOk

func (o *Cluster) GetRegionsOk() ([]Region, bool)

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

func (*Cluster) GetState

func (o *Cluster) GetState() ClusterStateType

GetState returns the State field value

func (*Cluster) GetStateOk

func (o *Cluster) GetStateOk() (*ClusterStateType, bool)

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

func (*Cluster) GetUpdatedAt

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

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

func (*Cluster) GetUpdatedAtOk

func (o *Cluster) 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 (*Cluster) HasAccountId

func (o *Cluster) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*Cluster) HasCreatedAt

func (o *Cluster) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Cluster) HasDeletedAt

func (o *Cluster) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Cluster) HasUpdatedAt

func (o *Cluster) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Cluster) MarshalJSON

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

func (*Cluster) SetAccountId

func (o *Cluster) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*Cluster) SetCloudProvider

func (o *Cluster) SetCloudProvider(v ApiCloudProvider)

SetCloudProvider sets field value

func (*Cluster) SetCockroachVersion

func (o *Cluster) SetCockroachVersion(v string)

SetCockroachVersion sets field value

func (*Cluster) SetConfig

func (o *Cluster) SetConfig(v ClusterConfig)

SetConfig sets field value

func (*Cluster) SetCreatedAt

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

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

func (*Cluster) SetCreatorId

func (o *Cluster) SetCreatorId(v string)

SetCreatorId sets field value

func (*Cluster) SetDeletedAt

func (o *Cluster) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Cluster) SetId

func (o *Cluster) SetId(v string)

SetId sets field value

func (*Cluster) SetName

func (o *Cluster) SetName(v string)

SetName sets field value

func (*Cluster) SetOperationStatus

func (o *Cluster) SetOperationStatus(v ClusterStatusType)

SetOperationStatus sets field value

func (*Cluster) SetPlan

func (o *Cluster) SetPlan(v Plan)

SetPlan sets field value

func (*Cluster) SetRegions

func (o *Cluster) SetRegions(v []Region)

SetRegions sets field value

func (*Cluster) SetState

func (o *Cluster) SetState(v ClusterStateType)

SetState sets field value

func (*Cluster) SetUpdatedAt

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

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

type ClusterConfig

type ClusterConfig struct {
	Dedicated  *DedicatedHardwareConfig `json:"dedicated,omitempty"`
	Serverless *ServerlessClusterConfig `json:"serverless,omitempty"`
}

ClusterConfig struct for ClusterConfig

func NewClusterConfig

func NewClusterConfig() *ClusterConfig

NewClusterConfig instantiates a new ClusterConfig 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 NewClusterConfigWithDefaults

func NewClusterConfigWithDefaults() *ClusterConfig

NewClusterConfigWithDefaults instantiates a new ClusterConfig 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 (*ClusterConfig) GetDedicated

func (o *ClusterConfig) GetDedicated() DedicatedHardwareConfig

GetDedicated returns the Dedicated field value if set, zero value otherwise.

func (*ClusterConfig) GetDedicatedOk

func (o *ClusterConfig) GetDedicatedOk() (*DedicatedHardwareConfig, bool)

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

func (*ClusterConfig) GetServerless

func (o *ClusterConfig) GetServerless() ServerlessClusterConfig

GetServerless returns the Serverless field value if set, zero value otherwise.

func (*ClusterConfig) GetServerlessOk

func (o *ClusterConfig) GetServerlessOk() (*ServerlessClusterConfig, bool)

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

func (*ClusterConfig) HasDedicated

func (o *ClusterConfig) HasDedicated() bool

HasDedicated returns a boolean if a field has been set.

func (*ClusterConfig) HasServerless

func (o *ClusterConfig) HasServerless() bool

HasServerless returns a boolean if a field has been set.

func (ClusterConfig) MarshalJSON

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

func (*ClusterConfig) SetDedicated

func (o *ClusterConfig) SetDedicated(v DedicatedHardwareConfig)

SetDedicated gets a reference to the given DedicatedHardwareConfig and assigns it to the Dedicated field.

func (*ClusterConfig) SetServerless

func (o *ClusterConfig) SetServerless(v ServerlessClusterConfig)

SetServerless gets a reference to the given ServerlessClusterConfig and assigns it to the Serverless field.

type ClusterStateType

type ClusterStateType string

ClusterStateType - LOCKED: An exclusive operation is being performed on this cluster. Other operations should not proceed if they did not set a cluster into the LOCKED state.

const (
	CLUSTER_STATE_UNSPECIFIED ClusterStateType = "CLUSTER_STATE_UNSPECIFIED"
	CREATING                  ClusterStateType = "CREATING"
	CREATED                   ClusterStateType = "CREATED"
	CREATION_FAILED           ClusterStateType = "CREATION_FAILED"
	DELETED                   ClusterStateType = "DELETED"
	LOCKED                    ClusterStateType = "LOCKED"
)

List of ClusterStateType

func NewClusterStateTypeFromValue

func NewClusterStateTypeFromValue(v string) (*ClusterStateType, error)

NewClusterStateTypeFromValue returns a pointer to a valid ClusterStateType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ClusterStateType) IsValid

func (v ClusterStateType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ClusterStateType) Ptr

Ptr returns reference to ClusterStateType value

func (*ClusterStateType) UnmarshalJSON

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

type ClusterStatusType

type ClusterStatusType string

ClusterStatusType the model 'ClusterStatusType'

const (
	CLUSTER_STATUS_UNSPECIFIED   ClusterStatusType = "CLUSTER_STATUS_UNSPECIFIED"
	CRDB_MAJOR_UPGRADE_RUNNING   ClusterStatusType = "CRDB_MAJOR_UPGRADE_RUNNING"
	CRDB_MAJOR_UPGRADE_FAILED    ClusterStatusType = "CRDB_MAJOR_UPGRADE_FAILED"
	CRDB_MAJOR_ROLLBACK_RUNNING  ClusterStatusType = "CRDB_MAJOR_ROLLBACK_RUNNING"
	CRDB_MAJOR_ROLLBACK_FAILED   ClusterStatusType = "CRDB_MAJOR_ROLLBACK_FAILED"
	CRDB_PATCH_RUNNING           ClusterStatusType = "CRDB_PATCH_RUNNING"
	CRDB_PATCH_FAILED            ClusterStatusType = "CRDB_PATCH_FAILED"
	CRDB_SCALE_RUNNING           ClusterStatusType = "CRDB_SCALE_RUNNING"
	CRDB_SCALE_FAILED            ClusterStatusType = "CRDB_SCALE_FAILED"
	MAINTENANCE_RUNNING          ClusterStatusType = "MAINTENANCE_RUNNING"
	CRDB_INSTANCE_UPDATE_RUNNING ClusterStatusType = "CRDB_INSTANCE_UPDATE_RUNNING"
	CRDB_INSTANCE_UPDATE_FAILED  ClusterStatusType = "CRDB_INSTANCE_UPDATE_FAILED"
	CRDB_EDIT_CLUSTER_RUNNING    ClusterStatusType = "CRDB_EDIT_CLUSTER_RUNNING"
	CRDB_EDIT_CLUSTER_FAILED     ClusterStatusType = "CRDB_EDIT_CLUSTER_FAILED"
	CRDB_CMEK_OPERATION_RUNNING  ClusterStatusType = "CRDB_CMEK_OPERATION_RUNNING"
	CRDB_CMEK_OPERATION_FAILED   ClusterStatusType = "CRDB_CMEK_OPERATION_FAILED"
	TENANT_RESTORE_RUNNING       ClusterStatusType = "TENANT_RESTORE_RUNNING"
	TENANT_RESTORE_FAILED        ClusterStatusType = "TENANT_RESTORE_FAILED"
)

List of ClusterStatusType

func NewClusterStatusTypeFromValue

func NewClusterStatusTypeFromValue(v string) (*ClusterStatusType, error)

NewClusterStatusTypeFromValue returns a pointer to a valid ClusterStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ClusterStatusType) IsValid

func (v ClusterStatusType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ClusterStatusType) Ptr

Ptr returns reference to ClusterStatusType value

func (*ClusterStatusType) UnmarshalJSON

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

type CockroachCloudApiService

type CockroachCloudApiService service

CockroachCloudApiService CockroachCloudApi service

func (*CockroachCloudApiService) AddAllowlistEntry

func (a *CockroachCloudApiService) AddAllowlistEntry(ctx context.Context, clusterId string) ApiAddAllowlistEntryRequest

AddAllowlistEntry Add a new CIDR address to the IP allowlist.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiAddAllowlistEntryRequest

func (*CockroachCloudApiService) AddAllowlistEntry2

func (a *CockroachCloudApiService) AddAllowlistEntry2(ctx context.Context, clusterId string, entryCidrIp string, entryCidrMask int32) ApiAddAllowlistEntry2Request

AddAllowlistEntry2 Add a new CIDR address to the IP allowlist.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@param entryCidrIp
@param entryCidrMask
@return ApiAddAllowlistEntry2Request

func (*CockroachCloudApiService) AddAllowlistEntry2Execute

Execute executes the request

@return AllowlistEntry

func (*CockroachCloudApiService) AddAllowlistEntryExecute

Execute executes the request

@return AllowlistEntry

func (*CockroachCloudApiService) CreateCluster

CreateCluster Create and initialize a new cluster.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateClusterRequest

func (*CockroachCloudApiService) CreateClusterExecute

Execute executes the request

@return Cluster

func (*CockroachCloudApiService) CreateSQLUser

func (a *CockroachCloudApiService) CreateSQLUser(ctx context.Context, clusterId string) ApiCreateSQLUserRequest

CreateSQLUser Create a new SQL user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiCreateSQLUserRequest

func (*CockroachCloudApiService) CreateSQLUserExecute

Execute executes the request

@return SQLUser

func (*CockroachCloudApiService) DeleteAllowlistEntry

func (a *CockroachCloudApiService) DeleteAllowlistEntry(ctx context.Context, clusterId string, cidrIp string, cidrMask int32) ApiDeleteAllowlistEntryRequest

DeleteAllowlistEntry Delete an IP allowlist entry.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@param cidrIp
@param cidrMask
@return ApiDeleteAllowlistEntryRequest

func (*CockroachCloudApiService) DeleteAllowlistEntryExecute

Execute executes the request

@return AllowlistEntry

func (*CockroachCloudApiService) DeleteCluster

func (a *CockroachCloudApiService) DeleteCluster(ctx context.Context, clusterId string) ApiDeleteClusterRequest

DeleteCluster Delete a cluster and all of its data.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiDeleteClusterRequest

func (*CockroachCloudApiService) DeleteClusterExecute

Execute executes the request

@return Cluster

func (*CockroachCloudApiService) DeleteSQLUser

func (a *CockroachCloudApiService) DeleteSQLUser(ctx context.Context, clusterId string, name string) ApiDeleteSQLUserRequest

DeleteSQLUser Delete a SQL user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@param name
@return ApiDeleteSQLUserRequest

func (*CockroachCloudApiService) DeleteSQLUserExecute

Execute executes the request

@return SQLUser

func (*CockroachCloudApiService) EnableCMEK

func (a *CockroachCloudApiService) EnableCMEK(ctx context.Context, clusterId string) ApiEnableCMEKRequest

EnableCMEK Enable CMEK for a cluster.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiEnableCMEKRequest

func (*CockroachCloudApiService) EnableCMEKExecute

Execute executes the request

@return CMEKClusterInfo

func (*CockroachCloudApiService) GetCMEKClusterInfo

func (a *CockroachCloudApiService) GetCMEKClusterInfo(ctx context.Context, clusterId string) ApiGetCMEKClusterInfoRequest

GetCMEKClusterInfo Get CMEK-related information for a cluster.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiGetCMEKClusterInfoRequest

func (*CockroachCloudApiService) GetCMEKClusterInfoExecute

Execute executes the request

@return CMEKClusterInfo

func (*CockroachCloudApiService) GetCluster

func (a *CockroachCloudApiService) GetCluster(ctx context.Context, clusterId string) ApiGetClusterRequest

GetCluster Get extended information about a cluster.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiGetClusterRequest

func (*CockroachCloudApiService) GetClusterExecute

Execute executes the request

@return Cluster

func (*CockroachCloudApiService) ListAllowlistEntries

func (a *CockroachCloudApiService) ListAllowlistEntries(ctx context.Context, clusterId string) ApiListAllowlistEntriesRequest

ListAllowlistEntries Get the IP allowlist and propagation status for a cluster.

Sort order: CIDR address

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiListAllowlistEntriesRequest

func (*CockroachCloudApiService) ListAllowlistEntriesExecute

Execute executes the request

@return ListAllowlistEntriesResponse

func (*CockroachCloudApiService) ListAvailableRegions

ListAvailableRegions List the regions available for new clusters and nodes.

Sort order: Distance (based on client IP address)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListAvailableRegionsRequest

func (*CockroachCloudApiService) ListAvailableRegionsExecute

Execute executes the request

@return ListAvailableRegionsResponse

func (*CockroachCloudApiService) ListClusterNodes

func (a *CockroachCloudApiService) ListClusterNodes(ctx context.Context, clusterId string) ApiListClusterNodesRequest

ListClusterNodes List nodes for a cluster.

Sort order: Region name, node name

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiListClusterNodesRequest

func (*CockroachCloudApiService) ListClusterNodesExecute

Execute executes the request

@return ListClusterNodesResponse

func (*CockroachCloudApiService) ListClusters

ListClusters List clusters owned by an organization.

Sort order: Cluster name

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListClustersRequest

func (*CockroachCloudApiService) ListClustersExecute

Execute executes the request

@return ListClustersResponse

func (*CockroachCloudApiService) ListSQLUsers

func (a *CockroachCloudApiService) ListSQLUsers(ctx context.Context, clusterId string) ApiListSQLUsersRequest

ListSQLUsers List SQL users for a cluster.

Sort order: Username

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiListSQLUsersRequest

func (*CockroachCloudApiService) ListSQLUsersExecute

Execute executes the request

@return ListSQLUsersResponse

func (*CockroachCloudApiService) UpdateAllowlistEntry

func (a *CockroachCloudApiService) UpdateAllowlistEntry(ctx context.Context, clusterId string, entryCidrIp string, entryCidrMask int32) ApiUpdateAllowlistEntryRequest

UpdateAllowlistEntry Update an IP allowlist entry.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@param entryCidrIp
@param entryCidrMask
@return ApiUpdateAllowlistEntryRequest

func (*CockroachCloudApiService) UpdateAllowlistEntryExecute

Execute executes the request

@return AllowlistEntry

func (*CockroachCloudApiService) UpdateCMEKStatus

func (a *CockroachCloudApiService) UpdateCMEKStatus(ctx context.Context, clusterId string) ApiUpdateCMEKStatusRequest

UpdateCMEKStatus Update the CMEK-related status for a cluster.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiUpdateCMEKStatusRequest

func (*CockroachCloudApiService) UpdateCMEKStatusExecute

Execute executes the request

@return CMEKClusterInfo

func (*CockroachCloudApiService) UpdateCluster

func (a *CockroachCloudApiService) UpdateCluster(ctx context.Context, clusterId string) ApiUpdateClusterRequest

UpdateCluster Scale or edit a cluster.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@return ApiUpdateClusterRequest

func (*CockroachCloudApiService) UpdateClusterExecute

Execute executes the request

@return Cluster

func (*CockroachCloudApiService) UpdateSQLUserPassword

func (a *CockroachCloudApiService) UpdateSQLUserPassword(ctx context.Context, clusterId string, name string) ApiUpdateSQLUserPasswordRequest

UpdateSQLUserPassword Update a SQL user's password.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId
@param name
@return ApiUpdateSQLUserPasswordRequest

func (*CockroachCloudApiService) UpdateSQLUserPasswordExecute

func (a *CockroachCloudApiService) UpdateSQLUserPasswordExecute(r ApiUpdateSQLUserPasswordRequest) (*SQLUser, *http.Response, error)

Execute executes the request

@return SQLUser

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 CreateClusterRequest

type CreateClusterRequest struct {
	Name     string                     `json:"name"`
	Provider ApiCloudProvider           `json:"provider"`
	Spec     CreateClusterSpecification `json:"spec"`
}

CreateClusterRequest struct for CreateClusterRequest

func NewCreateClusterRequest

func NewCreateClusterRequest(name string, provider ApiCloudProvider, spec CreateClusterSpecification) *CreateClusterRequest

NewCreateClusterRequest instantiates a new CreateClusterRequest 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 NewCreateClusterRequestWithDefaults

func NewCreateClusterRequestWithDefaults() *CreateClusterRequest

NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest 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 (*CreateClusterRequest) GetName

func (o *CreateClusterRequest) GetName() string

GetName returns the Name field value

func (*CreateClusterRequest) GetNameOk

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

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

func (*CreateClusterRequest) GetProvider

func (o *CreateClusterRequest) GetProvider() ApiCloudProvider

GetProvider returns the Provider field value

func (*CreateClusterRequest) GetProviderOk

func (o *CreateClusterRequest) GetProviderOk() (*ApiCloudProvider, bool)

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

func (*CreateClusterRequest) GetSpec

GetSpec returns the Spec field value

func (*CreateClusterRequest) GetSpecOk

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

func (CreateClusterRequest) MarshalJSON

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

func (*CreateClusterRequest) SetName

func (o *CreateClusterRequest) SetName(v string)

SetName sets field value

func (*CreateClusterRequest) SetProvider

func (o *CreateClusterRequest) SetProvider(v ApiCloudProvider)

SetProvider sets field value

func (*CreateClusterRequest) SetSpec

SetSpec sets field value

type CreateClusterSpecification

type CreateClusterSpecification struct {
	Dedicated  *DedicatedClusterCreateSpecification  `json:"dedicated,omitempty"`
	Serverless *ServerlessClusterCreateSpecification `json:"serverless,omitempty"`
}

CreateClusterSpecification struct for CreateClusterSpecification

func NewCreateClusterSpecification

func NewCreateClusterSpecification() *CreateClusterSpecification

NewCreateClusterSpecification instantiates a new CreateClusterSpecification 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 NewCreateClusterSpecificationWithDefaults

func NewCreateClusterSpecificationWithDefaults() *CreateClusterSpecification

NewCreateClusterSpecificationWithDefaults instantiates a new CreateClusterSpecification 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 (*CreateClusterSpecification) GetDedicated

GetDedicated returns the Dedicated field value if set, zero value otherwise.

func (*CreateClusterSpecification) GetDedicatedOk

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

func (*CreateClusterSpecification) GetServerless

GetServerless returns the Serverless field value if set, zero value otherwise.

func (*CreateClusterSpecification) GetServerlessOk

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

func (*CreateClusterSpecification) HasDedicated

func (o *CreateClusterSpecification) HasDedicated() bool

HasDedicated returns a boolean if a field has been set.

func (*CreateClusterSpecification) HasServerless

func (o *CreateClusterSpecification) HasServerless() bool

HasServerless returns a boolean if a field has been set.

func (CreateClusterSpecification) MarshalJSON

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

func (*CreateClusterSpecification) SetDedicated

SetDedicated gets a reference to the given DedicatedClusterCreateSpecification and assigns it to the Dedicated field.

func (*CreateClusterSpecification) SetServerless

SetServerless gets a reference to the given ServerlessClusterCreateSpecification and assigns it to the Serverless field.

type CreateSQLUserRequest

type CreateSQLUserRequest struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

CreateSQLUserRequest struct for CreateSQLUserRequest

func NewCreateSQLUserRequest

func NewCreateSQLUserRequest(name string, password string) *CreateSQLUserRequest

NewCreateSQLUserRequest instantiates a new CreateSQLUserRequest 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 NewCreateSQLUserRequestWithDefaults

func NewCreateSQLUserRequestWithDefaults() *CreateSQLUserRequest

NewCreateSQLUserRequestWithDefaults instantiates a new CreateSQLUserRequest 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 (*CreateSQLUserRequest) GetName

func (o *CreateSQLUserRequest) GetName() string

GetName returns the Name field value

func (*CreateSQLUserRequest) GetNameOk

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

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

func (*CreateSQLUserRequest) GetPassword

func (o *CreateSQLUserRequest) GetPassword() string

GetPassword returns the Password field value

func (*CreateSQLUserRequest) GetPasswordOk

func (o *CreateSQLUserRequest) GetPasswordOk() (*string, bool)

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

func (CreateSQLUserRequest) MarshalJSON

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

func (*CreateSQLUserRequest) SetName

func (o *CreateSQLUserRequest) SetName(v string)

SetName sets field value

func (*CreateSQLUserRequest) SetPassword

func (o *CreateSQLUserRequest) SetPassword(v string)

SetPassword sets field value

type DedicatedClusterCreateSpecification

type DedicatedClusterCreateSpecification struct {
	// Region keys should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Values represent the node count.
	RegionNodes map[string]int32                     `json:"region_nodes"`
	Hardware    DedicatedHardwareCreateSpecification `json:"hardware"`
	// The CockroachDB version for the cluster. The current version is used if omitted.
	CockroachVersion *string `json:"cockroach_version,omitempty"`
}

DedicatedClusterCreateSpecification struct for DedicatedClusterCreateSpecification

func NewDedicatedClusterCreateSpecification

func NewDedicatedClusterCreateSpecification(regionNodes map[string]int32, hardware DedicatedHardwareCreateSpecification) *DedicatedClusterCreateSpecification

NewDedicatedClusterCreateSpecification instantiates a new DedicatedClusterCreateSpecification 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 NewDedicatedClusterCreateSpecificationWithDefaults

func NewDedicatedClusterCreateSpecificationWithDefaults() *DedicatedClusterCreateSpecification

NewDedicatedClusterCreateSpecificationWithDefaults instantiates a new DedicatedClusterCreateSpecification 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 (*DedicatedClusterCreateSpecification) GetCockroachVersion

func (o *DedicatedClusterCreateSpecification) GetCockroachVersion() string

GetCockroachVersion returns the CockroachVersion field value if set, zero value otherwise.

func (*DedicatedClusterCreateSpecification) GetCockroachVersionOk

func (o *DedicatedClusterCreateSpecification) GetCockroachVersionOk() (*string, bool)

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

func (*DedicatedClusterCreateSpecification) GetHardware

GetHardware returns the Hardware field value

func (*DedicatedClusterCreateSpecification) GetHardwareOk

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

func (*DedicatedClusterCreateSpecification) GetRegionNodes

func (o *DedicatedClusterCreateSpecification) GetRegionNodes() map[string]int32

GetRegionNodes returns the RegionNodes field value

func (*DedicatedClusterCreateSpecification) GetRegionNodesOk

func (o *DedicatedClusterCreateSpecification) GetRegionNodesOk() (*map[string]int32, bool)

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

func (*DedicatedClusterCreateSpecification) HasCockroachVersion

func (o *DedicatedClusterCreateSpecification) HasCockroachVersion() bool

HasCockroachVersion returns a boolean if a field has been set.

func (DedicatedClusterCreateSpecification) MarshalJSON

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

func (*DedicatedClusterCreateSpecification) SetCockroachVersion

func (o *DedicatedClusterCreateSpecification) SetCockroachVersion(v string)

SetCockroachVersion gets a reference to the given string and assigns it to the CockroachVersion field.

func (*DedicatedClusterCreateSpecification) SetHardware

SetHardware sets field value

func (*DedicatedClusterCreateSpecification) SetRegionNodes

func (o *DedicatedClusterCreateSpecification) SetRegionNodes(v map[string]int32)

SetRegionNodes sets field value

type DedicatedClusterUpdateSpecification

type DedicatedClusterUpdateSpecification struct {
	// Region keys should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Values represent the node count.
	RegionNodes *map[string]int32                     `json:"region_nodes,omitempty"`
	Hardware    *DedicatedHardwareUpdateSpecification `json:"hardware,omitempty"`
}

DedicatedClusterUpdateSpecification struct for DedicatedClusterUpdateSpecification

func NewDedicatedClusterUpdateSpecification

func NewDedicatedClusterUpdateSpecification() *DedicatedClusterUpdateSpecification

NewDedicatedClusterUpdateSpecification instantiates a new DedicatedClusterUpdateSpecification 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 NewDedicatedClusterUpdateSpecificationWithDefaults

func NewDedicatedClusterUpdateSpecificationWithDefaults() *DedicatedClusterUpdateSpecification

NewDedicatedClusterUpdateSpecificationWithDefaults instantiates a new DedicatedClusterUpdateSpecification 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 (*DedicatedClusterUpdateSpecification) GetHardware

GetHardware returns the Hardware field value if set, zero value otherwise.

func (*DedicatedClusterUpdateSpecification) GetHardwareOk

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

func (*DedicatedClusterUpdateSpecification) GetRegionNodes

func (o *DedicatedClusterUpdateSpecification) GetRegionNodes() map[string]int32

GetRegionNodes returns the RegionNodes field value if set, zero value otherwise.

func (*DedicatedClusterUpdateSpecification) GetRegionNodesOk

func (o *DedicatedClusterUpdateSpecification) GetRegionNodesOk() (*map[string]int32, bool)

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

func (*DedicatedClusterUpdateSpecification) HasHardware

func (o *DedicatedClusterUpdateSpecification) HasHardware() bool

HasHardware returns a boolean if a field has been set.

func (*DedicatedClusterUpdateSpecification) HasRegionNodes

func (o *DedicatedClusterUpdateSpecification) HasRegionNodes() bool

HasRegionNodes returns a boolean if a field has been set.

func (DedicatedClusterUpdateSpecification) MarshalJSON

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

func (*DedicatedClusterUpdateSpecification) SetHardware

SetHardware gets a reference to the given DedicatedHardwareUpdateSpecification and assigns it to the Hardware field.

func (*DedicatedClusterUpdateSpecification) SetRegionNodes

func (o *DedicatedClusterUpdateSpecification) SetRegionNodes(v map[string]int32)

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

type DedicatedHardwareConfig

type DedicatedHardwareConfig struct {
	// MachineType is the machine type identifier within the given cloud provider, ex. m5.xlarge, n2-standard-4.
	MachineType string `json:"machine_type"`
	// NumVirtualCPUs is the number of virtual CPUs per node in the cluster.
	NumVirtualCpus int32 `json:"num_virtual_cpus"`
	// StorageGiB is the number of storage GiB per node in the cluster.
	StorageGib int32 `json:"storage_gib"`
	// MemoryGiB is the memory GiB per node in the cluster.
	MemoryGib float32 `json:"memory_gib"`
	// DiskIOPs is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default.
	DiskIops int32 `json:"disk_iops"`
}

DedicatedHardwareConfig struct for DedicatedHardwareConfig

func NewDedicatedHardwareConfig

func NewDedicatedHardwareConfig(machineType string, numVirtualCpus int32, storageGib int32, memoryGib float32, diskIops int32) *DedicatedHardwareConfig

NewDedicatedHardwareConfig instantiates a new DedicatedHardwareConfig 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 NewDedicatedHardwareConfigWithDefaults

func NewDedicatedHardwareConfigWithDefaults() *DedicatedHardwareConfig

NewDedicatedHardwareConfigWithDefaults instantiates a new DedicatedHardwareConfig 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 (*DedicatedHardwareConfig) GetDiskIops

func (o *DedicatedHardwareConfig) GetDiskIops() int32

GetDiskIops returns the DiskIops field value

func (*DedicatedHardwareConfig) GetDiskIopsOk

func (o *DedicatedHardwareConfig) GetDiskIopsOk() (*int32, bool)

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

func (*DedicatedHardwareConfig) GetMachineType

func (o *DedicatedHardwareConfig) GetMachineType() string

GetMachineType returns the MachineType field value

func (*DedicatedHardwareConfig) GetMachineTypeOk

func (o *DedicatedHardwareConfig) GetMachineTypeOk() (*string, bool)

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

func (*DedicatedHardwareConfig) GetMemoryGib

func (o *DedicatedHardwareConfig) GetMemoryGib() float32

GetMemoryGib returns the MemoryGib field value

func (*DedicatedHardwareConfig) GetMemoryGibOk

func (o *DedicatedHardwareConfig) GetMemoryGibOk() (*float32, bool)

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

func (*DedicatedHardwareConfig) GetNumVirtualCpus

func (o *DedicatedHardwareConfig) GetNumVirtualCpus() int32

GetNumVirtualCpus returns the NumVirtualCpus field value

func (*DedicatedHardwareConfig) GetNumVirtualCpusOk

func (o *DedicatedHardwareConfig) GetNumVirtualCpusOk() (*int32, bool)

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

func (*DedicatedHardwareConfig) GetStorageGib

func (o *DedicatedHardwareConfig) GetStorageGib() int32

GetStorageGib returns the StorageGib field value

func (*DedicatedHardwareConfig) GetStorageGibOk

func (o *DedicatedHardwareConfig) GetStorageGibOk() (*int32, bool)

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

func (DedicatedHardwareConfig) MarshalJSON

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

func (*DedicatedHardwareConfig) SetDiskIops

func (o *DedicatedHardwareConfig) SetDiskIops(v int32)

SetDiskIops sets field value

func (*DedicatedHardwareConfig) SetMachineType

func (o *DedicatedHardwareConfig) SetMachineType(v string)

SetMachineType sets field value

func (*DedicatedHardwareConfig) SetMemoryGib

func (o *DedicatedHardwareConfig) SetMemoryGib(v float32)

SetMemoryGib sets field value

func (*DedicatedHardwareConfig) SetNumVirtualCpus

func (o *DedicatedHardwareConfig) SetNumVirtualCpus(v int32)

SetNumVirtualCpus sets field value

func (*DedicatedHardwareConfig) SetStorageGib

func (o *DedicatedHardwareConfig) SetStorageGib(v int32)

SetStorageGib sets field value

type DedicatedHardwareCreateSpecification

type DedicatedHardwareCreateSpecification struct {
	MachineSpec DedicatedMachineTypeSpecification `json:"machine_spec"`
	// StorageGiB is the number of storage GiB per node in the cluster. Zero indicates default to the lowest storage GiB available given machine specs.
	StorageGib int32 `json:"storage_gib"`
	// DiskIOPs is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. Only available for AWS clusters.
	DiskIops *int32 `json:"disk_iops,omitempty"`
}

DedicatedHardwareCreateSpecification struct for DedicatedHardwareCreateSpecification

func NewDedicatedHardwareCreateSpecification

func NewDedicatedHardwareCreateSpecification(machineSpec DedicatedMachineTypeSpecification, storageGib int32) *DedicatedHardwareCreateSpecification

NewDedicatedHardwareCreateSpecification instantiates a new DedicatedHardwareCreateSpecification 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 NewDedicatedHardwareCreateSpecificationWithDefaults

func NewDedicatedHardwareCreateSpecificationWithDefaults() *DedicatedHardwareCreateSpecification

NewDedicatedHardwareCreateSpecificationWithDefaults instantiates a new DedicatedHardwareCreateSpecification 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 (*DedicatedHardwareCreateSpecification) GetDiskIops

GetDiskIops returns the DiskIops field value if set, zero value otherwise.

func (*DedicatedHardwareCreateSpecification) GetDiskIopsOk

func (o *DedicatedHardwareCreateSpecification) GetDiskIopsOk() (*int32, bool)

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

func (*DedicatedHardwareCreateSpecification) GetMachineSpec

GetMachineSpec returns the MachineSpec field value

func (*DedicatedHardwareCreateSpecification) GetMachineSpecOk

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

func (*DedicatedHardwareCreateSpecification) GetStorageGib

func (o *DedicatedHardwareCreateSpecification) GetStorageGib() int32

GetStorageGib returns the StorageGib field value

func (*DedicatedHardwareCreateSpecification) GetStorageGibOk

func (o *DedicatedHardwareCreateSpecification) GetStorageGibOk() (*int32, bool)

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

func (*DedicatedHardwareCreateSpecification) HasDiskIops

func (o *DedicatedHardwareCreateSpecification) HasDiskIops() bool

HasDiskIops returns a boolean if a field has been set.

func (DedicatedHardwareCreateSpecification) MarshalJSON

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

func (*DedicatedHardwareCreateSpecification) SetDiskIops

func (o *DedicatedHardwareCreateSpecification) SetDiskIops(v int32)

SetDiskIops gets a reference to the given int32 and assigns it to the DiskIops field.

func (*DedicatedHardwareCreateSpecification) SetMachineSpec

SetMachineSpec sets field value

func (*DedicatedHardwareCreateSpecification) SetStorageGib

func (o *DedicatedHardwareCreateSpecification) SetStorageGib(v int32)

SetStorageGib sets field value

type DedicatedHardwareUpdateSpecification

type DedicatedHardwareUpdateSpecification struct {
	MachineSpec *DedicatedMachineTypeSpecification `json:"machine_spec,omitempty"`
	// StorageGiB is the number of storage GiB per node in the cluster.
	StorageGib *int32 `json:"storage_gib,omitempty"`
	// DiskIOPs is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. Only available for AWS clusters.
	DiskIops *int32 `json:"disk_iops,omitempty"`
}

DedicatedHardwareUpdateSpecification struct for DedicatedHardwareUpdateSpecification

func NewDedicatedHardwareUpdateSpecification

func NewDedicatedHardwareUpdateSpecification() *DedicatedHardwareUpdateSpecification

NewDedicatedHardwareUpdateSpecification instantiates a new DedicatedHardwareUpdateSpecification 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 NewDedicatedHardwareUpdateSpecificationWithDefaults

func NewDedicatedHardwareUpdateSpecificationWithDefaults() *DedicatedHardwareUpdateSpecification

NewDedicatedHardwareUpdateSpecificationWithDefaults instantiates a new DedicatedHardwareUpdateSpecification 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 (*DedicatedHardwareUpdateSpecification) GetDiskIops

GetDiskIops returns the DiskIops field value if set, zero value otherwise.

func (*DedicatedHardwareUpdateSpecification) GetDiskIopsOk

func (o *DedicatedHardwareUpdateSpecification) GetDiskIopsOk() (*int32, bool)

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

func (*DedicatedHardwareUpdateSpecification) GetMachineSpec

GetMachineSpec returns the MachineSpec field value if set, zero value otherwise.

func (*DedicatedHardwareUpdateSpecification) GetMachineSpecOk

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

func (*DedicatedHardwareUpdateSpecification) GetStorageGib

func (o *DedicatedHardwareUpdateSpecification) GetStorageGib() int32

GetStorageGib returns the StorageGib field value if set, zero value otherwise.

func (*DedicatedHardwareUpdateSpecification) GetStorageGibOk

func (o *DedicatedHardwareUpdateSpecification) GetStorageGibOk() (*int32, bool)

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

func (*DedicatedHardwareUpdateSpecification) HasDiskIops

func (o *DedicatedHardwareUpdateSpecification) HasDiskIops() bool

HasDiskIops returns a boolean if a field has been set.

func (*DedicatedHardwareUpdateSpecification) HasMachineSpec

func (o *DedicatedHardwareUpdateSpecification) HasMachineSpec() bool

HasMachineSpec returns a boolean if a field has been set.

func (*DedicatedHardwareUpdateSpecification) HasStorageGib

func (o *DedicatedHardwareUpdateSpecification) HasStorageGib() bool

HasStorageGib returns a boolean if a field has been set.

func (DedicatedHardwareUpdateSpecification) MarshalJSON

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

func (*DedicatedHardwareUpdateSpecification) SetDiskIops

func (o *DedicatedHardwareUpdateSpecification) SetDiskIops(v int32)

SetDiskIops gets a reference to the given int32 and assigns it to the DiskIops field.

func (*DedicatedHardwareUpdateSpecification) SetMachineSpec

SetMachineSpec gets a reference to the given DedicatedMachineTypeSpecification and assigns it to the MachineSpec field.

func (*DedicatedHardwareUpdateSpecification) SetStorageGib

func (o *DedicatedHardwareUpdateSpecification) SetStorageGib(v int32)

SetStorageGib gets a reference to the given int32 and assigns it to the StorageGib field.

type DedicatedMachineTypeSpecification

type DedicatedMachineTypeSpecification struct {
	// MachineType is the machine type identifier within the given cloud provider, ex. m5.xlarge, n2-standard-4.
	MachineType *string `json:"machine_type,omitempty"`
	// NumVirtualCPUs may be used to automatically select a machine type according to the desired number of vCPUs.
	NumVirtualCpus *int32 `json:"num_virtual_cpus,omitempty"`
}

DedicatedMachineTypeSpecification struct for DedicatedMachineTypeSpecification

func NewDedicatedMachineTypeSpecification

func NewDedicatedMachineTypeSpecification() *DedicatedMachineTypeSpecification

NewDedicatedMachineTypeSpecification instantiates a new DedicatedMachineTypeSpecification 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 NewDedicatedMachineTypeSpecificationWithDefaults

func NewDedicatedMachineTypeSpecificationWithDefaults() *DedicatedMachineTypeSpecification

NewDedicatedMachineTypeSpecificationWithDefaults instantiates a new DedicatedMachineTypeSpecification 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 (*DedicatedMachineTypeSpecification) GetMachineType

func (o *DedicatedMachineTypeSpecification) GetMachineType() string

GetMachineType returns the MachineType field value if set, zero value otherwise.

func (*DedicatedMachineTypeSpecification) GetMachineTypeOk

func (o *DedicatedMachineTypeSpecification) GetMachineTypeOk() (*string, bool)

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

func (*DedicatedMachineTypeSpecification) GetNumVirtualCpus

func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpus() int32

GetNumVirtualCpus returns the NumVirtualCpus field value if set, zero value otherwise.

func (*DedicatedMachineTypeSpecification) GetNumVirtualCpusOk

func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpusOk() (*int32, bool)

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

func (*DedicatedMachineTypeSpecification) HasMachineType

func (o *DedicatedMachineTypeSpecification) HasMachineType() bool

HasMachineType returns a boolean if a field has been set.

func (*DedicatedMachineTypeSpecification) HasNumVirtualCpus

func (o *DedicatedMachineTypeSpecification) HasNumVirtualCpus() bool

HasNumVirtualCpus returns a boolean if a field has been set.

func (DedicatedMachineTypeSpecification) MarshalJSON

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

func (*DedicatedMachineTypeSpecification) SetMachineType

func (o *DedicatedMachineTypeSpecification) SetMachineType(v string)

SetMachineType gets a reference to the given string and assigns it to the MachineType field.

func (*DedicatedMachineTypeSpecification) SetNumVirtualCpus

func (o *DedicatedMachineTypeSpecification) SetNumVirtualCpus(v int32)

SetNumVirtualCpus gets a reference to the given int32 and assigns it to the NumVirtualCpus field.

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type KeysetPaginationRequest

type KeysetPaginationRequest struct {
	StartKey  *string        `json:"start_key,omitempty"`
	Direction *PageDirection `json:"direction,omitempty"`
	Limit     *int32         `json:"limit,omitempty"`
	Time      *time.Time     `json:"time,omitempty"`
	Order     *SortOrder     `json:"order,omitempty"`
}

KeysetPaginationRequest struct for KeysetPaginationRequest

func NewKeysetPaginationRequest

func NewKeysetPaginationRequest() *KeysetPaginationRequest

NewKeysetPaginationRequest instantiates a new KeysetPaginationRequest 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 NewKeysetPaginationRequestWithDefaults

func NewKeysetPaginationRequestWithDefaults() *KeysetPaginationRequest

NewKeysetPaginationRequestWithDefaults instantiates a new KeysetPaginationRequest 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 (*KeysetPaginationRequest) GetDirection

func (o *KeysetPaginationRequest) GetDirection() PageDirection

GetDirection returns the Direction field value if set, zero value otherwise.

func (*KeysetPaginationRequest) GetDirectionOk

func (o *KeysetPaginationRequest) GetDirectionOk() (*PageDirection, bool)

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

func (*KeysetPaginationRequest) GetLimit

func (o *KeysetPaginationRequest) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*KeysetPaginationRequest) GetLimitOk

func (o *KeysetPaginationRequest) GetLimitOk() (*int32, bool)

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

func (*KeysetPaginationRequest) GetOrder

func (o *KeysetPaginationRequest) GetOrder() SortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*KeysetPaginationRequest) GetOrderOk

func (o *KeysetPaginationRequest) GetOrderOk() (*SortOrder, bool)

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

func (*KeysetPaginationRequest) GetStartKey

func (o *KeysetPaginationRequest) GetStartKey() string

GetStartKey returns the StartKey field value if set, zero value otherwise.

func (*KeysetPaginationRequest) GetStartKeyOk

func (o *KeysetPaginationRequest) GetStartKeyOk() (*string, bool)

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

func (*KeysetPaginationRequest) GetTime

func (o *KeysetPaginationRequest) GetTime() time.Time

GetTime returns the Time field value if set, zero value otherwise.

func (*KeysetPaginationRequest) GetTimeOk

func (o *KeysetPaginationRequest) GetTimeOk() (*time.Time, bool)

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

func (*KeysetPaginationRequest) HasDirection

func (o *KeysetPaginationRequest) HasDirection() bool

HasDirection returns a boolean if a field has been set.

func (*KeysetPaginationRequest) HasLimit

func (o *KeysetPaginationRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*KeysetPaginationRequest) HasOrder

func (o *KeysetPaginationRequest) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*KeysetPaginationRequest) HasStartKey

func (o *KeysetPaginationRequest) HasStartKey() bool

HasStartKey returns a boolean if a field has been set.

func (*KeysetPaginationRequest) HasTime

func (o *KeysetPaginationRequest) HasTime() bool

HasTime returns a boolean if a field has been set.

func (KeysetPaginationRequest) MarshalJSON

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

func (*KeysetPaginationRequest) SetDirection

func (o *KeysetPaginationRequest) SetDirection(v PageDirection)

SetDirection gets a reference to the given PageDirection and assigns it to the Direction field.

func (*KeysetPaginationRequest) SetLimit

func (o *KeysetPaginationRequest) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*KeysetPaginationRequest) SetOrder

func (o *KeysetPaginationRequest) SetOrder(v SortOrder)

SetOrder gets a reference to the given SortOrder and assigns it to the Order field.

func (*KeysetPaginationRequest) SetStartKey

func (o *KeysetPaginationRequest) SetStartKey(v string)

SetStartKey gets a reference to the given string and assigns it to the StartKey field.

func (*KeysetPaginationRequest) SetTime

func (o *KeysetPaginationRequest) SetTime(v time.Time)

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

type KeysetPaginationResponse

type KeysetPaginationResponse struct {
	Next  *string `json:"next,omitempty"`
	Last  *string `json:"last,omitempty"`
	Limit *int32  `json:"limit,omitempty"`
	Time  *string `json:"time,omitempty"`
	Order *string `json:"order,omitempty"`
}

KeysetPaginationResponse struct for KeysetPaginationResponse

func NewKeysetPaginationResponse

func NewKeysetPaginationResponse() *KeysetPaginationResponse

NewKeysetPaginationResponse instantiates a new KeysetPaginationResponse 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 NewKeysetPaginationResponseWithDefaults

func NewKeysetPaginationResponseWithDefaults() *KeysetPaginationResponse

NewKeysetPaginationResponseWithDefaults instantiates a new KeysetPaginationResponse 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 (*KeysetPaginationResponse) GetLast

func (o *KeysetPaginationResponse) GetLast() string

GetLast returns the Last field value if set, zero value otherwise.

func (*KeysetPaginationResponse) GetLastOk

func (o *KeysetPaginationResponse) GetLastOk() (*string, bool)

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

func (*KeysetPaginationResponse) GetLimit

func (o *KeysetPaginationResponse) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*KeysetPaginationResponse) GetLimitOk

func (o *KeysetPaginationResponse) GetLimitOk() (*int32, bool)

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

func (*KeysetPaginationResponse) GetNext

func (o *KeysetPaginationResponse) GetNext() string

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

func (*KeysetPaginationResponse) GetNextOk

func (o *KeysetPaginationResponse) 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 (*KeysetPaginationResponse) GetOrder

func (o *KeysetPaginationResponse) GetOrder() string

GetOrder returns the Order field value if set, zero value otherwise.

func (*KeysetPaginationResponse) GetOrderOk

func (o *KeysetPaginationResponse) GetOrderOk() (*string, bool)

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

func (*KeysetPaginationResponse) GetTime

func (o *KeysetPaginationResponse) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*KeysetPaginationResponse) GetTimeOk

func (o *KeysetPaginationResponse) GetTimeOk() (*string, bool)

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

func (*KeysetPaginationResponse) HasLast

func (o *KeysetPaginationResponse) HasLast() bool

HasLast returns a boolean if a field has been set.

func (*KeysetPaginationResponse) HasLimit

func (o *KeysetPaginationResponse) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*KeysetPaginationResponse) HasNext

func (o *KeysetPaginationResponse) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*KeysetPaginationResponse) HasOrder

func (o *KeysetPaginationResponse) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*KeysetPaginationResponse) HasTime

func (o *KeysetPaginationResponse) HasTime() bool

HasTime returns a boolean if a field has been set.

func (KeysetPaginationResponse) MarshalJSON

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

func (*KeysetPaginationResponse) SetLast

func (o *KeysetPaginationResponse) SetLast(v string)

SetLast gets a reference to the given string and assigns it to the Last field.

func (*KeysetPaginationResponse) SetLimit

func (o *KeysetPaginationResponse) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*KeysetPaginationResponse) SetNext

func (o *KeysetPaginationResponse) SetNext(v string)

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

func (*KeysetPaginationResponse) SetOrder

func (o *KeysetPaginationResponse) SetOrder(v string)

SetOrder gets a reference to the given string and assigns it to the Order field.

func (*KeysetPaginationResponse) SetTime

func (o *KeysetPaginationResponse) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

type ListAllowlistEntriesResponse

type ListAllowlistEntriesResponse struct {
	Allowlist   []AllowlistEntry          `json:"allowlist"`
	Propagating bool                      `json:"propagating"`
	Pagination  *KeysetPaginationResponse `json:"pagination,omitempty"`
}

ListAllowlistEntriesResponse struct for ListAllowlistEntriesResponse

func NewListAllowlistEntriesResponse

func NewListAllowlistEntriesResponse(allowlist []AllowlistEntry, propagating bool) *ListAllowlistEntriesResponse

NewListAllowlistEntriesResponse instantiates a new ListAllowlistEntriesResponse 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 NewListAllowlistEntriesResponseWithDefaults

func NewListAllowlistEntriesResponseWithDefaults() *ListAllowlistEntriesResponse

NewListAllowlistEntriesResponseWithDefaults instantiates a new ListAllowlistEntriesResponse 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 (*ListAllowlistEntriesResponse) GetAllowlist

func (o *ListAllowlistEntriesResponse) GetAllowlist() []AllowlistEntry

GetAllowlist returns the Allowlist field value

func (*ListAllowlistEntriesResponse) GetAllowlistOk

func (o *ListAllowlistEntriesResponse) GetAllowlistOk() ([]AllowlistEntry, bool)

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

func (*ListAllowlistEntriesResponse) GetPagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*ListAllowlistEntriesResponse) GetPaginationOk

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

func (*ListAllowlistEntriesResponse) GetPropagating

func (o *ListAllowlistEntriesResponse) GetPropagating() bool

GetPropagating returns the Propagating field value

func (*ListAllowlistEntriesResponse) GetPropagatingOk

func (o *ListAllowlistEntriesResponse) GetPropagatingOk() (*bool, bool)

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

func (*ListAllowlistEntriesResponse) HasPagination

func (o *ListAllowlistEntriesResponse) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (ListAllowlistEntriesResponse) MarshalJSON

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

func (*ListAllowlistEntriesResponse) SetAllowlist

func (o *ListAllowlistEntriesResponse) SetAllowlist(v []AllowlistEntry)

SetAllowlist sets field value

func (*ListAllowlistEntriesResponse) SetPagination

SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.

func (*ListAllowlistEntriesResponse) SetPropagating

func (o *ListAllowlistEntriesResponse) SetPropagating(v bool)

SetPropagating sets field value

type ListAvailableRegionsResponse

type ListAvailableRegionsResponse struct {
	Regions    []CloudProviderRegion     `json:"regions"`
	Pagination *KeysetPaginationResponse `json:"pagination,omitempty"`
}

ListAvailableRegionsResponse struct for ListAvailableRegionsResponse

func NewListAvailableRegionsResponse

func NewListAvailableRegionsResponse(regions []CloudProviderRegion) *ListAvailableRegionsResponse

NewListAvailableRegionsResponse instantiates a new ListAvailableRegionsResponse 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 NewListAvailableRegionsResponseWithDefaults

func NewListAvailableRegionsResponseWithDefaults() *ListAvailableRegionsResponse

NewListAvailableRegionsResponseWithDefaults instantiates a new ListAvailableRegionsResponse 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 (*ListAvailableRegionsResponse) GetPagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*ListAvailableRegionsResponse) GetPaginationOk

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

func (*ListAvailableRegionsResponse) GetRegions

GetRegions returns the Regions field value

func (*ListAvailableRegionsResponse) GetRegionsOk

func (o *ListAvailableRegionsResponse) GetRegionsOk() ([]CloudProviderRegion, bool)

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

func (*ListAvailableRegionsResponse) HasPagination

func (o *ListAvailableRegionsResponse) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (ListAvailableRegionsResponse) MarshalJSON

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

func (*ListAvailableRegionsResponse) SetPagination

SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.

func (*ListAvailableRegionsResponse) SetRegions

SetRegions sets field value

type ListClusterNodesResponse

type ListClusterNodesResponse struct {
	Nodes      []Node                    `json:"nodes"`
	Pagination *KeysetPaginationResponse `json:"pagination,omitempty"`
}

ListClusterNodesResponse struct for ListClusterNodesResponse

func NewListClusterNodesResponse

func NewListClusterNodesResponse(nodes []Node) *ListClusterNodesResponse

NewListClusterNodesResponse instantiates a new ListClusterNodesResponse 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 NewListClusterNodesResponseWithDefaults

func NewListClusterNodesResponseWithDefaults() *ListClusterNodesResponse

NewListClusterNodesResponseWithDefaults instantiates a new ListClusterNodesResponse 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 (*ListClusterNodesResponse) GetNodes

func (o *ListClusterNodesResponse) GetNodes() []Node

GetNodes returns the Nodes field value

func (*ListClusterNodesResponse) GetNodesOk

func (o *ListClusterNodesResponse) GetNodesOk() ([]Node, bool)

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

func (*ListClusterNodesResponse) GetPagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*ListClusterNodesResponse) GetPaginationOk

func (o *ListClusterNodesResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)

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

func (*ListClusterNodesResponse) HasPagination

func (o *ListClusterNodesResponse) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (ListClusterNodesResponse) MarshalJSON

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

func (*ListClusterNodesResponse) SetNodes

func (o *ListClusterNodesResponse) SetNodes(v []Node)

SetNodes sets field value

func (*ListClusterNodesResponse) SetPagination

SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.

type ListClustersResponse

type ListClustersResponse struct {
	Clusters   []Cluster                 `json:"clusters"`
	Pagination *KeysetPaginationResponse `json:"pagination,omitempty"`
}

ListClustersResponse struct for ListClustersResponse

func NewListClustersResponse

func NewListClustersResponse(clusters []Cluster) *ListClustersResponse

NewListClustersResponse instantiates a new ListClustersResponse 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 NewListClustersResponseWithDefaults

func NewListClustersResponseWithDefaults() *ListClustersResponse

NewListClustersResponseWithDefaults instantiates a new ListClustersResponse 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 (*ListClustersResponse) GetClusters

func (o *ListClustersResponse) GetClusters() []Cluster

GetClusters returns the Clusters field value

func (*ListClustersResponse) GetClustersOk

func (o *ListClustersResponse) GetClustersOk() ([]Cluster, bool)

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

func (*ListClustersResponse) GetPagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*ListClustersResponse) GetPaginationOk

func (o *ListClustersResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)

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

func (*ListClustersResponse) HasPagination

func (o *ListClustersResponse) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (ListClustersResponse) MarshalJSON

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

func (*ListClustersResponse) SetClusters

func (o *ListClustersResponse) SetClusters(v []Cluster)

SetClusters sets field value

func (*ListClustersResponse) SetPagination

func (o *ListClustersResponse) SetPagination(v KeysetPaginationResponse)

SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.

type ListSQLUsersResponse

type ListSQLUsersResponse struct {
	Users      []SQLUser                 `json:"users"`
	Pagination *KeysetPaginationResponse `json:"pagination,omitempty"`
}

ListSQLUsersResponse struct for ListSQLUsersResponse

func NewListSQLUsersResponse

func NewListSQLUsersResponse(users []SQLUser) *ListSQLUsersResponse

NewListSQLUsersResponse instantiates a new ListSQLUsersResponse 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 NewListSQLUsersResponseWithDefaults

func NewListSQLUsersResponseWithDefaults() *ListSQLUsersResponse

NewListSQLUsersResponseWithDefaults instantiates a new ListSQLUsersResponse 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 (*ListSQLUsersResponse) GetPagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*ListSQLUsersResponse) GetPaginationOk

func (o *ListSQLUsersResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)

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

func (*ListSQLUsersResponse) GetUsers

func (o *ListSQLUsersResponse) GetUsers() []SQLUser

GetUsers returns the Users field value

func (*ListSQLUsersResponse) GetUsersOk

func (o *ListSQLUsersResponse) GetUsersOk() ([]SQLUser, bool)

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

func (*ListSQLUsersResponse) HasPagination

func (o *ListSQLUsersResponse) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (ListSQLUsersResponse) MarshalJSON

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

func (*ListSQLUsersResponse) SetPagination

func (o *ListSQLUsersResponse) SetPagination(v KeysetPaginationResponse)

SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.

func (*ListSQLUsersResponse) SetUsers

func (o *ListSQLUsersResponse) SetUsers(v []SQLUser)

SetUsers sets field value

type Node

type Node struct {
	Name       string     `json:"name"`
	RegionName string     `json:"region_name"`
	Status     NodeStatus `json:"status"`
}

Node struct for Node

func NewNode

func NewNode(name string, regionName string, status NodeStatus) *Node

NewNode instantiates a new Node 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 NewNodeWithDefaults

func NewNodeWithDefaults() *Node

NewNodeWithDefaults instantiates a new Node 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 (*Node) GetName

func (o *Node) GetName() string

GetName returns the Name field value

func (*Node) GetNameOk

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

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

func (*Node) GetRegionName

func (o *Node) GetRegionName() string

GetRegionName returns the RegionName field value

func (*Node) GetRegionNameOk

func (o *Node) GetRegionNameOk() (*string, bool)

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

func (*Node) GetStatus

func (o *Node) GetStatus() NodeStatus

GetStatus returns the Status field value

func (*Node) GetStatusOk

func (o *Node) GetStatusOk() (*NodeStatus, bool)

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

func (Node) MarshalJSON

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

func (*Node) SetName

func (o *Node) SetName(v string)

SetName sets field value

func (*Node) SetRegionName

func (o *Node) SetRegionName(v string)

SetRegionName sets field value

func (*Node) SetStatus

func (o *Node) SetStatus(v NodeStatus)

SetStatus sets field value

type NodeStatus

type NodeStatus string

NodeStatus the model 'NodeStatus'

const (
	NODE_STATUS_UNSPECIFIED NodeStatus = "NODE_STATUS_UNSPECIFIED"
	LIVE                    NodeStatus = "LIVE"
	NOT_READY               NodeStatus = "NOT_READY"
)

List of NodeStatus

func NewNodeStatusFromValue

func NewNodeStatusFromValue(v string) (*NodeStatus, error)

NewNodeStatusFromValue returns a pointer to a valid NodeStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (NodeStatus) IsValid

func (v NodeStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (NodeStatus) Ptr

func (v NodeStatus) Ptr() *NodeStatus

Ptr returns reference to NodeStatus value

func (*NodeStatus) UnmarshalJSON

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

type NullableAllowlistEntry

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

func NewNullableAllowlistEntry

func NewNullableAllowlistEntry(val *AllowlistEntry) *NullableAllowlistEntry

func (NullableAllowlistEntry) Get

func (NullableAllowlistEntry) IsSet

func (v NullableAllowlistEntry) IsSet() bool

func (NullableAllowlistEntry) MarshalJSON

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

func (*NullableAllowlistEntry) Set

func (*NullableAllowlistEntry) UnmarshalJSON

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

func (*NullableAllowlistEntry) Unset

func (v *NullableAllowlistEntry) Unset()

type NullableAny

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

func NewNullableAny

func NewNullableAny(val *Any) *NullableAny

func (NullableAny) Get

func (v NullableAny) Get() *Any

func (NullableAny) IsSet

func (v NullableAny) IsSet() bool

func (NullableAny) MarshalJSON

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

func (*NullableAny) Set

func (v *NullableAny) Set(val *Any)

func (*NullableAny) UnmarshalJSON

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

func (*NullableAny) Unset

func (v *NullableAny) Unset()

type NullableApiCloudProvider

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

func NewNullableApiCloudProvider

func NewNullableApiCloudProvider(val *ApiCloudProvider) *NullableApiCloudProvider

func (NullableApiCloudProvider) Get

func (NullableApiCloudProvider) IsSet

func (v NullableApiCloudProvider) IsSet() bool

func (NullableApiCloudProvider) MarshalJSON

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

func (*NullableApiCloudProvider) Set

func (*NullableApiCloudProvider) UnmarshalJSON

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

func (*NullableApiCloudProvider) Unset

func (v *NullableApiCloudProvider) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCMEKClusterInfo

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

func NewNullableCMEKClusterInfo

func NewNullableCMEKClusterInfo(val *CMEKClusterInfo) *NullableCMEKClusterInfo

func (NullableCMEKClusterInfo) Get

func (NullableCMEKClusterInfo) IsSet

func (v NullableCMEKClusterInfo) IsSet() bool

func (NullableCMEKClusterInfo) MarshalJSON

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

func (*NullableCMEKClusterInfo) Set

func (*NullableCMEKClusterInfo) UnmarshalJSON

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

func (*NullableCMEKClusterInfo) Unset

func (v *NullableCMEKClusterInfo) Unset()

type NullableCMEKClusterSpecification

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

func (NullableCMEKClusterSpecification) Get

func (NullableCMEKClusterSpecification) IsSet

func (NullableCMEKClusterSpecification) MarshalJSON

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

func (*NullableCMEKClusterSpecification) Set

func (*NullableCMEKClusterSpecification) UnmarshalJSON

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

func (*NullableCMEKClusterSpecification) Unset

type NullableCMEKCustomerAction

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

func NewNullableCMEKCustomerAction

func NewNullableCMEKCustomerAction(val *CMEKCustomerAction) *NullableCMEKCustomerAction

func (NullableCMEKCustomerAction) Get

func (NullableCMEKCustomerAction) IsSet

func (v NullableCMEKCustomerAction) IsSet() bool

func (NullableCMEKCustomerAction) MarshalJSON

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

func (*NullableCMEKCustomerAction) Set

func (*NullableCMEKCustomerAction) UnmarshalJSON

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

func (*NullableCMEKCustomerAction) Unset

func (v *NullableCMEKCustomerAction) Unset()

type NullableCMEKKeyInfo

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

func NewNullableCMEKKeyInfo

func NewNullableCMEKKeyInfo(val *CMEKKeyInfo) *NullableCMEKKeyInfo

func (NullableCMEKKeyInfo) Get

func (NullableCMEKKeyInfo) IsSet

func (v NullableCMEKKeyInfo) IsSet() bool

func (NullableCMEKKeyInfo) MarshalJSON

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

func (*NullableCMEKKeyInfo) Set

func (v *NullableCMEKKeyInfo) Set(val *CMEKKeyInfo)

func (*NullableCMEKKeyInfo) UnmarshalJSON

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

func (*NullableCMEKKeyInfo) Unset

func (v *NullableCMEKKeyInfo) Unset()

type NullableCMEKKeySpecification

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

func NewNullableCMEKKeySpecification

func NewNullableCMEKKeySpecification(val *CMEKKeySpecification) *NullableCMEKKeySpecification

func (NullableCMEKKeySpecification) Get

func (NullableCMEKKeySpecification) IsSet

func (NullableCMEKKeySpecification) MarshalJSON

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

func (*NullableCMEKKeySpecification) Set

func (*NullableCMEKKeySpecification) UnmarshalJSON

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

func (*NullableCMEKKeySpecification) Unset

func (v *NullableCMEKKeySpecification) Unset()

type NullableCMEKKeyType

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

func NewNullableCMEKKeyType

func NewNullableCMEKKeyType(val *CMEKKeyType) *NullableCMEKKeyType

func (NullableCMEKKeyType) Get

func (NullableCMEKKeyType) IsSet

func (v NullableCMEKKeyType) IsSet() bool

func (NullableCMEKKeyType) MarshalJSON

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

func (*NullableCMEKKeyType) Set

func (v *NullableCMEKKeyType) Set(val *CMEKKeyType)

func (*NullableCMEKKeyType) UnmarshalJSON

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

func (*NullableCMEKKeyType) Unset

func (v *NullableCMEKKeyType) Unset()

type NullableCMEKRegionInfo

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

func NewNullableCMEKRegionInfo

func NewNullableCMEKRegionInfo(val *CMEKRegionInfo) *NullableCMEKRegionInfo

func (NullableCMEKRegionInfo) Get

func (NullableCMEKRegionInfo) IsSet

func (v NullableCMEKRegionInfo) IsSet() bool

func (NullableCMEKRegionInfo) MarshalJSON

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

func (*NullableCMEKRegionInfo) Set

func (*NullableCMEKRegionInfo) UnmarshalJSON

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

func (*NullableCMEKRegionInfo) Unset

func (v *NullableCMEKRegionInfo) Unset()

type NullableCMEKRegionSpecification

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

func (NullableCMEKRegionSpecification) Get

func (NullableCMEKRegionSpecification) IsSet

func (NullableCMEKRegionSpecification) MarshalJSON

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

func (*NullableCMEKRegionSpecification) Set

func (*NullableCMEKRegionSpecification) UnmarshalJSON

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

func (*NullableCMEKRegionSpecification) Unset

type NullableCMEKStatus

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

func NewNullableCMEKStatus

func NewNullableCMEKStatus(val *CMEKStatus) *NullableCMEKStatus

func (NullableCMEKStatus) Get

func (v NullableCMEKStatus) Get() *CMEKStatus

func (NullableCMEKStatus) IsSet

func (v NullableCMEKStatus) IsSet() bool

func (NullableCMEKStatus) MarshalJSON

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

func (*NullableCMEKStatus) Set

func (v *NullableCMEKStatus) Set(val *CMEKStatus)

func (*NullableCMEKStatus) UnmarshalJSON

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

func (*NullableCMEKStatus) Unset

func (v *NullableCMEKStatus) Unset()

type NullableCloudProviderRegion

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

func NewNullableCloudProviderRegion

func NewNullableCloudProviderRegion(val *CloudProviderRegion) *NullableCloudProviderRegion

func (NullableCloudProviderRegion) Get

func (NullableCloudProviderRegion) IsSet

func (NullableCloudProviderRegion) MarshalJSON

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

func (*NullableCloudProviderRegion) Set

func (*NullableCloudProviderRegion) UnmarshalJSON

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

func (*NullableCloudProviderRegion) Unset

func (v *NullableCloudProviderRegion) Unset()

type NullableCluster

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

func NewNullableCluster

func NewNullableCluster(val *Cluster) *NullableCluster

func (NullableCluster) Get

func (v NullableCluster) Get() *Cluster

func (NullableCluster) IsSet

func (v NullableCluster) IsSet() bool

func (NullableCluster) MarshalJSON

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

func (*NullableCluster) Set

func (v *NullableCluster) Set(val *Cluster)

func (*NullableCluster) UnmarshalJSON

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

func (*NullableCluster) Unset

func (v *NullableCluster) Unset()

type NullableClusterConfig

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

func NewNullableClusterConfig

func NewNullableClusterConfig(val *ClusterConfig) *NullableClusterConfig

func (NullableClusterConfig) Get

func (NullableClusterConfig) IsSet

func (v NullableClusterConfig) IsSet() bool

func (NullableClusterConfig) MarshalJSON

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

func (*NullableClusterConfig) Set

func (v *NullableClusterConfig) Set(val *ClusterConfig)

func (*NullableClusterConfig) UnmarshalJSON

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

func (*NullableClusterConfig) Unset

func (v *NullableClusterConfig) Unset()

type NullableClusterStateType

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

func NewNullableClusterStateType

func NewNullableClusterStateType(val *ClusterStateType) *NullableClusterStateType

func (NullableClusterStateType) Get

func (NullableClusterStateType) IsSet

func (v NullableClusterStateType) IsSet() bool

func (NullableClusterStateType) MarshalJSON

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

func (*NullableClusterStateType) Set

func (*NullableClusterStateType) UnmarshalJSON

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

func (*NullableClusterStateType) Unset

func (v *NullableClusterStateType) Unset()

type NullableClusterStatusType

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

func NewNullableClusterStatusType

func NewNullableClusterStatusType(val *ClusterStatusType) *NullableClusterStatusType

func (NullableClusterStatusType) Get

func (NullableClusterStatusType) IsSet

func (v NullableClusterStatusType) IsSet() bool

func (NullableClusterStatusType) MarshalJSON

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

func (*NullableClusterStatusType) Set

func (*NullableClusterStatusType) UnmarshalJSON

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

func (*NullableClusterStatusType) Unset

func (v *NullableClusterStatusType) Unset()

type NullableCreateClusterRequest

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

func NewNullableCreateClusterRequest

func NewNullableCreateClusterRequest(val *CreateClusterRequest) *NullableCreateClusterRequest

func (NullableCreateClusterRequest) Get

func (NullableCreateClusterRequest) IsSet

func (NullableCreateClusterRequest) MarshalJSON

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

func (*NullableCreateClusterRequest) Set

func (*NullableCreateClusterRequest) UnmarshalJSON

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

func (*NullableCreateClusterRequest) Unset

func (v *NullableCreateClusterRequest) Unset()

type NullableCreateClusterSpecification

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

func (NullableCreateClusterSpecification) Get

func (NullableCreateClusterSpecification) IsSet

func (NullableCreateClusterSpecification) MarshalJSON

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

func (*NullableCreateClusterSpecification) Set

func (*NullableCreateClusterSpecification) UnmarshalJSON

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

func (*NullableCreateClusterSpecification) Unset

type NullableCreateSQLUserRequest

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

func NewNullableCreateSQLUserRequest

func NewNullableCreateSQLUserRequest(val *CreateSQLUserRequest) *NullableCreateSQLUserRequest

func (NullableCreateSQLUserRequest) Get

func (NullableCreateSQLUserRequest) IsSet

func (NullableCreateSQLUserRequest) MarshalJSON

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

func (*NullableCreateSQLUserRequest) Set

func (*NullableCreateSQLUserRequest) UnmarshalJSON

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

func (*NullableCreateSQLUserRequest) Unset

func (v *NullableCreateSQLUserRequest) Unset()

type NullableDedicatedClusterCreateSpecification

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

func (NullableDedicatedClusterCreateSpecification) Get

func (NullableDedicatedClusterCreateSpecification) IsSet

func (NullableDedicatedClusterCreateSpecification) MarshalJSON

func (*NullableDedicatedClusterCreateSpecification) Set

func (*NullableDedicatedClusterCreateSpecification) UnmarshalJSON

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

func (*NullableDedicatedClusterCreateSpecification) Unset

type NullableDedicatedClusterUpdateSpecification

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

func (NullableDedicatedClusterUpdateSpecification) Get

func (NullableDedicatedClusterUpdateSpecification) IsSet

func (NullableDedicatedClusterUpdateSpecification) MarshalJSON

func (*NullableDedicatedClusterUpdateSpecification) Set

func (*NullableDedicatedClusterUpdateSpecification) UnmarshalJSON

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

func (*NullableDedicatedClusterUpdateSpecification) Unset

type NullableDedicatedHardwareConfig

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

func (NullableDedicatedHardwareConfig) Get

func (NullableDedicatedHardwareConfig) IsSet

func (NullableDedicatedHardwareConfig) MarshalJSON

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

func (*NullableDedicatedHardwareConfig) Set

func (*NullableDedicatedHardwareConfig) UnmarshalJSON

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

func (*NullableDedicatedHardwareConfig) Unset

type NullableDedicatedHardwareCreateSpecification

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

func (NullableDedicatedHardwareCreateSpecification) Get

func (NullableDedicatedHardwareCreateSpecification) IsSet

func (NullableDedicatedHardwareCreateSpecification) MarshalJSON

func (*NullableDedicatedHardwareCreateSpecification) Set

func (*NullableDedicatedHardwareCreateSpecification) UnmarshalJSON

func (*NullableDedicatedHardwareCreateSpecification) Unset

type NullableDedicatedHardwareUpdateSpecification

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

func (NullableDedicatedHardwareUpdateSpecification) Get

func (NullableDedicatedHardwareUpdateSpecification) IsSet

func (NullableDedicatedHardwareUpdateSpecification) MarshalJSON

func (*NullableDedicatedHardwareUpdateSpecification) Set

func (*NullableDedicatedHardwareUpdateSpecification) UnmarshalJSON

func (*NullableDedicatedHardwareUpdateSpecification) Unset

type NullableDedicatedMachineTypeSpecification

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

func (NullableDedicatedMachineTypeSpecification) Get

func (NullableDedicatedMachineTypeSpecification) IsSet

func (NullableDedicatedMachineTypeSpecification) MarshalJSON

func (*NullableDedicatedMachineTypeSpecification) Set

func (*NullableDedicatedMachineTypeSpecification) UnmarshalJSON

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

func (*NullableDedicatedMachineTypeSpecification) 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 NullableKeysetPaginationRequest

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

func (NullableKeysetPaginationRequest) Get

func (NullableKeysetPaginationRequest) IsSet

func (NullableKeysetPaginationRequest) MarshalJSON

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

func (*NullableKeysetPaginationRequest) Set

func (*NullableKeysetPaginationRequest) UnmarshalJSON

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

func (*NullableKeysetPaginationRequest) Unset

type NullableKeysetPaginationResponse

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

func (NullableKeysetPaginationResponse) Get

func (NullableKeysetPaginationResponse) IsSet

func (NullableKeysetPaginationResponse) MarshalJSON

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

func (*NullableKeysetPaginationResponse) Set

func (*NullableKeysetPaginationResponse) UnmarshalJSON

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

func (*NullableKeysetPaginationResponse) Unset

type NullableListAllowlistEntriesResponse

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

func (NullableListAllowlistEntriesResponse) Get

func (NullableListAllowlistEntriesResponse) IsSet

func (NullableListAllowlistEntriesResponse) MarshalJSON

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

func (*NullableListAllowlistEntriesResponse) Set

func (*NullableListAllowlistEntriesResponse) UnmarshalJSON

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

func (*NullableListAllowlistEntriesResponse) Unset

type NullableListAvailableRegionsResponse

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

func (NullableListAvailableRegionsResponse) Get

func (NullableListAvailableRegionsResponse) IsSet

func (NullableListAvailableRegionsResponse) MarshalJSON

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

func (*NullableListAvailableRegionsResponse) Set

func (*NullableListAvailableRegionsResponse) UnmarshalJSON

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

func (*NullableListAvailableRegionsResponse) Unset

type NullableListClusterNodesResponse

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

func (NullableListClusterNodesResponse) Get

func (NullableListClusterNodesResponse) IsSet

func (NullableListClusterNodesResponse) MarshalJSON

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

func (*NullableListClusterNodesResponse) Set

func (*NullableListClusterNodesResponse) UnmarshalJSON

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

func (*NullableListClusterNodesResponse) Unset

type NullableListClustersResponse

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

func NewNullableListClustersResponse

func NewNullableListClustersResponse(val *ListClustersResponse) *NullableListClustersResponse

func (NullableListClustersResponse) Get

func (NullableListClustersResponse) IsSet

func (NullableListClustersResponse) MarshalJSON

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

func (*NullableListClustersResponse) Set

func (*NullableListClustersResponse) UnmarshalJSON

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

func (*NullableListClustersResponse) Unset

func (v *NullableListClustersResponse) Unset()

type NullableListSQLUsersResponse

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

func NewNullableListSQLUsersResponse

func NewNullableListSQLUsersResponse(val *ListSQLUsersResponse) *NullableListSQLUsersResponse

func (NullableListSQLUsersResponse) Get

func (NullableListSQLUsersResponse) IsSet

func (NullableListSQLUsersResponse) MarshalJSON

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

func (*NullableListSQLUsersResponse) Set

func (*NullableListSQLUsersResponse) UnmarshalJSON

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

func (*NullableListSQLUsersResponse) Unset

func (v *NullableListSQLUsersResponse) Unset()

type NullableNode

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

func NewNullableNode

func NewNullableNode(val *Node) *NullableNode

func (NullableNode) Get

func (v NullableNode) Get() *Node

func (NullableNode) IsSet

func (v NullableNode) IsSet() bool

func (NullableNode) MarshalJSON

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

func (*NullableNode) Set

func (v *NullableNode) Set(val *Node)

func (*NullableNode) UnmarshalJSON

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

func (*NullableNode) Unset

func (v *NullableNode) Unset()

type NullableNodeStatus

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

func NewNullableNodeStatus

func NewNullableNodeStatus(val *NodeStatus) *NullableNodeStatus

func (NullableNodeStatus) Get

func (v NullableNodeStatus) Get() *NodeStatus

func (NullableNodeStatus) IsSet

func (v NullableNodeStatus) IsSet() bool

func (NullableNodeStatus) MarshalJSON

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

func (*NullableNodeStatus) Set

func (v *NullableNodeStatus) Set(val *NodeStatus)

func (*NullableNodeStatus) UnmarshalJSON

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

func (*NullableNodeStatus) Unset

func (v *NullableNodeStatus) Unset()

type NullablePageDirection

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

func NewNullablePageDirection

func NewNullablePageDirection(val *PageDirection) *NullablePageDirection

func (NullablePageDirection) Get

func (NullablePageDirection) IsSet

func (v NullablePageDirection) IsSet() bool

func (NullablePageDirection) MarshalJSON

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

func (*NullablePageDirection) Set

func (v *NullablePageDirection) Set(val *PageDirection)

func (*NullablePageDirection) UnmarshalJSON

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

func (*NullablePageDirection) Unset

func (v *NullablePageDirection) Unset()

type NullablePlan

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullableRegion

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

func NewNullableRegion

func NewNullableRegion(val *Region) *NullableRegion

func (NullableRegion) Get

func (v NullableRegion) Get() *Region

func (NullableRegion) IsSet

func (v NullableRegion) IsSet() bool

func (NullableRegion) MarshalJSON

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

func (*NullableRegion) Set

func (v *NullableRegion) Set(val *Region)

func (*NullableRegion) UnmarshalJSON

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

func (*NullableRegion) Unset

func (v *NullableRegion) Unset()

type NullableSQLUser

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

func NewNullableSQLUser

func NewNullableSQLUser(val *SQLUser) *NullableSQLUser

func (NullableSQLUser) Get

func (v NullableSQLUser) Get() *SQLUser

func (NullableSQLUser) IsSet

func (v NullableSQLUser) IsSet() bool

func (NullableSQLUser) MarshalJSON

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

func (*NullableSQLUser) Set

func (v *NullableSQLUser) Set(val *SQLUser)

func (*NullableSQLUser) UnmarshalJSON

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

func (*NullableSQLUser) Unset

func (v *NullableSQLUser) Unset()

type NullableServerlessClusterConfig

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

func (NullableServerlessClusterConfig) Get

func (NullableServerlessClusterConfig) IsSet

func (NullableServerlessClusterConfig) MarshalJSON

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

func (*NullableServerlessClusterConfig) Set

func (*NullableServerlessClusterConfig) UnmarshalJSON

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

func (*NullableServerlessClusterConfig) Unset

type NullableServerlessClusterCreateSpecification

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

func (NullableServerlessClusterCreateSpecification) Get

func (NullableServerlessClusterCreateSpecification) IsSet

func (NullableServerlessClusterCreateSpecification) MarshalJSON

func (*NullableServerlessClusterCreateSpecification) Set

func (*NullableServerlessClusterCreateSpecification) UnmarshalJSON

func (*NullableServerlessClusterCreateSpecification) Unset

type NullableServerlessClusterUpdateSpecification

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

func (NullableServerlessClusterUpdateSpecification) Get

func (NullableServerlessClusterUpdateSpecification) IsSet

func (NullableServerlessClusterUpdateSpecification) MarshalJSON

func (*NullableServerlessClusterUpdateSpecification) Set

func (*NullableServerlessClusterUpdateSpecification) UnmarshalJSON

func (*NullableServerlessClusterUpdateSpecification) Unset

type NullableSortOrder

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

func NewNullableSortOrder

func NewNullableSortOrder(val *SortOrder) *NullableSortOrder

func (NullableSortOrder) Get

func (v NullableSortOrder) Get() *SortOrder

func (NullableSortOrder) IsSet

func (v NullableSortOrder) IsSet() bool

func (NullableSortOrder) MarshalJSON

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

func (*NullableSortOrder) Set

func (v *NullableSortOrder) Set(val *SortOrder)

func (*NullableSortOrder) UnmarshalJSON

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

func (*NullableSortOrder) Unset

func (v *NullableSortOrder) Unset()

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

func (v *NullableStatus) 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 NullableUpdateCMEKStatusRequest

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

func (NullableUpdateCMEKStatusRequest) Get

func (NullableUpdateCMEKStatusRequest) IsSet

func (NullableUpdateCMEKStatusRequest) MarshalJSON

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

func (*NullableUpdateCMEKStatusRequest) Set

func (*NullableUpdateCMEKStatusRequest) UnmarshalJSON

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

func (*NullableUpdateCMEKStatusRequest) Unset

type NullableUpdateClusterSpecification

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

func (NullableUpdateClusterSpecification) Get

func (NullableUpdateClusterSpecification) IsSet

func (NullableUpdateClusterSpecification) MarshalJSON

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

func (*NullableUpdateClusterSpecification) Set

func (*NullableUpdateClusterSpecification) UnmarshalJSON

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

func (*NullableUpdateClusterSpecification) Unset

type NullableUpdateSQLUserPasswordRequest

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

func (NullableUpdateSQLUserPasswordRequest) Get

func (NullableUpdateSQLUserPasswordRequest) IsSet

func (NullableUpdateSQLUserPasswordRequest) MarshalJSON

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

func (*NullableUpdateSQLUserPasswordRequest) Set

func (*NullableUpdateSQLUserPasswordRequest) UnmarshalJSON

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

func (*NullableUpdateSQLUserPasswordRequest) Unset

type PageDirection

type PageDirection string

PageDirection the model 'PageDirection'

const (
	NEXT PageDirection = "PAGE_DIRECTION_NEXT"
	LAST PageDirection = "PAGE_DIRECTION_LAST"
)

List of PageDirection

func NewPageDirectionFromValue

func NewPageDirectionFromValue(v string) (*PageDirection, error)

NewPageDirectionFromValue returns a pointer to a valid PageDirection for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PageDirection) IsValid

func (v PageDirection) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PageDirection) Ptr

func (v PageDirection) Ptr() *PageDirection

Ptr returns reference to PageDirection value

func (*PageDirection) UnmarshalJSON

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

type Plan

type Plan string

Plan - DEDICATED: A paid plan that offers dedicated hardware in any location. - CUSTOM: A plan option that is used for clusters whose machine configs are not supported in self-service. All INVOICE clusters are under this plan option. - SERVERLESS: A paid plan that runs on shared hardware and caps the users' maximum monthly spending to a user-specified (possibly 0) amount.

const (
	PLAN_UNSPECIFIED Plan = "PLAN_UNSPECIFIED"
	DEDICATED        Plan = "DEDICATED"
	CUSTOM           Plan = "CUSTOM"
	SERVERLESS       Plan = "SERVERLESS"
)

List of Plan

func NewPlanFromValue

func NewPlanFromValue(v string) (*Plan, error)

NewPlanFromValue returns a pointer to a valid Plan for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Plan) IsValid

func (v Plan) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Plan) Ptr

func (v Plan) Ptr() *Plan

Ptr returns reference to Plan value

func (*Plan) UnmarshalJSON

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

type Region

type Region struct {
	Name   string `json:"name"`
	SqlDns string `json:"sql_dns"`
	UiDns  string `json:"ui_dns"`
	// NodeCount will be 0 for serverless clusters.
	NodeCount int32 `json:"node_count"`
}

Region struct for Region

func NewRegion

func NewRegion(name string, sqlDns string, uiDns string, nodeCount int32) *Region

NewRegion instantiates a new Region 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 NewRegionWithDefaults

func NewRegionWithDefaults() *Region

NewRegionWithDefaults instantiates a new Region 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 (*Region) GetName

func (o *Region) GetName() string

GetName returns the Name field value

func (*Region) GetNameOk

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

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

func (*Region) GetNodeCount

func (o *Region) GetNodeCount() int32

GetNodeCount returns the NodeCount field value

func (*Region) GetNodeCountOk

func (o *Region) GetNodeCountOk() (*int32, bool)

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

func (*Region) GetSqlDns

func (o *Region) GetSqlDns() string

GetSqlDns returns the SqlDns field value

func (*Region) GetSqlDnsOk

func (o *Region) GetSqlDnsOk() (*string, bool)

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

func (*Region) GetUiDns

func (o *Region) GetUiDns() string

GetUiDns returns the UiDns field value

func (*Region) GetUiDnsOk

func (o *Region) GetUiDnsOk() (*string, bool)

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

func (Region) MarshalJSON

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

func (*Region) SetName

func (o *Region) SetName(v string)

SetName sets field value

func (*Region) SetNodeCount

func (o *Region) SetNodeCount(v int32)

SetNodeCount sets field value

func (*Region) SetSqlDns

func (o *Region) SetSqlDns(v string)

SetSqlDns sets field value

func (*Region) SetUiDns

func (o *Region) SetUiDns(v string)

SetUiDns sets field value

type SQLUser

type SQLUser struct {
	Name string `json:"name"`
}

SQLUser struct for SQLUser

func NewSQLUser

func NewSQLUser(name string) *SQLUser

NewSQLUser instantiates a new SQLUser 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 NewSQLUserWithDefaults

func NewSQLUserWithDefaults() *SQLUser

NewSQLUserWithDefaults instantiates a new SQLUser 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 (*SQLUser) GetName

func (o *SQLUser) GetName() string

GetName returns the Name field value

func (*SQLUser) GetNameOk

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

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

func (SQLUser) MarshalJSON

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

func (*SQLUser) SetName

func (o *SQLUser) 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 ServerlessClusterConfig

type ServerlessClusterConfig struct {
	// Spend limit in US cents.
	SpendLimit int32 `json:"spend_limit"`
	// Used to build a connection string.
	RoutingId string `json:"routing_id"`
}

ServerlessClusterConfig struct for ServerlessClusterConfig

func NewServerlessClusterConfig

func NewServerlessClusterConfig(spendLimit int32, routingId string) *ServerlessClusterConfig

NewServerlessClusterConfig instantiates a new ServerlessClusterConfig 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 NewServerlessClusterConfigWithDefaults

func NewServerlessClusterConfigWithDefaults() *ServerlessClusterConfig

NewServerlessClusterConfigWithDefaults instantiates a new ServerlessClusterConfig 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 (*ServerlessClusterConfig) GetRoutingId

func (o *ServerlessClusterConfig) GetRoutingId() string

GetRoutingId returns the RoutingId field value

func (*ServerlessClusterConfig) GetRoutingIdOk

func (o *ServerlessClusterConfig) GetRoutingIdOk() (*string, bool)

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

func (*ServerlessClusterConfig) GetSpendLimit

func (o *ServerlessClusterConfig) GetSpendLimit() int32

GetSpendLimit returns the SpendLimit field value

func (*ServerlessClusterConfig) GetSpendLimitOk

func (o *ServerlessClusterConfig) GetSpendLimitOk() (*int32, bool)

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

func (ServerlessClusterConfig) MarshalJSON

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

func (*ServerlessClusterConfig) SetRoutingId

func (o *ServerlessClusterConfig) SetRoutingId(v string)

SetRoutingId sets field value

func (*ServerlessClusterConfig) SetSpendLimit

func (o *ServerlessClusterConfig) SetSpendLimit(v int32)

SetSpendLimit sets field value

type ServerlessClusterCreateSpecification

type ServerlessClusterCreateSpecification struct {
	// Region values should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS.
	Regions    []string `json:"regions"`
	SpendLimit int32    `json:"spend_limit"`
}

ServerlessClusterCreateSpecification struct for ServerlessClusterCreateSpecification

func NewServerlessClusterCreateSpecification

func NewServerlessClusterCreateSpecification(regions []string, spendLimit int32) *ServerlessClusterCreateSpecification

NewServerlessClusterCreateSpecification instantiates a new ServerlessClusterCreateSpecification 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 NewServerlessClusterCreateSpecificationWithDefaults

func NewServerlessClusterCreateSpecificationWithDefaults() *ServerlessClusterCreateSpecification

NewServerlessClusterCreateSpecificationWithDefaults instantiates a new ServerlessClusterCreateSpecification 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 (*ServerlessClusterCreateSpecification) GetRegions

func (o *ServerlessClusterCreateSpecification) GetRegions() []string

GetRegions returns the Regions field value

func (*ServerlessClusterCreateSpecification) GetRegionsOk

func (o *ServerlessClusterCreateSpecification) GetRegionsOk() ([]string, bool)

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

func (*ServerlessClusterCreateSpecification) GetSpendLimit

func (o *ServerlessClusterCreateSpecification) GetSpendLimit() int32

GetSpendLimit returns the SpendLimit field value

func (*ServerlessClusterCreateSpecification) GetSpendLimitOk

func (o *ServerlessClusterCreateSpecification) GetSpendLimitOk() (*int32, bool)

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

func (ServerlessClusterCreateSpecification) MarshalJSON

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

func (*ServerlessClusterCreateSpecification) SetRegions

func (o *ServerlessClusterCreateSpecification) SetRegions(v []string)

SetRegions sets field value

func (*ServerlessClusterCreateSpecification) SetSpendLimit

func (o *ServerlessClusterCreateSpecification) SetSpendLimit(v int32)

SetSpendLimit sets field value

type ServerlessClusterUpdateSpecification

type ServerlessClusterUpdateSpecification struct {
	SpendLimit int32 `json:"spend_limit"`
}

ServerlessClusterUpdateSpecification struct for ServerlessClusterUpdateSpecification

func NewServerlessClusterUpdateSpecification

func NewServerlessClusterUpdateSpecification(spendLimit int32) *ServerlessClusterUpdateSpecification

NewServerlessClusterUpdateSpecification instantiates a new ServerlessClusterUpdateSpecification 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 NewServerlessClusterUpdateSpecificationWithDefaults

func NewServerlessClusterUpdateSpecificationWithDefaults() *ServerlessClusterUpdateSpecification

NewServerlessClusterUpdateSpecificationWithDefaults instantiates a new ServerlessClusterUpdateSpecification 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 (*ServerlessClusterUpdateSpecification) GetSpendLimit

func (o *ServerlessClusterUpdateSpecification) GetSpendLimit() int32

GetSpendLimit returns the SpendLimit field value

func (*ServerlessClusterUpdateSpecification) GetSpendLimitOk

func (o *ServerlessClusterUpdateSpecification) GetSpendLimitOk() (*int32, bool)

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

func (ServerlessClusterUpdateSpecification) MarshalJSON

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

func (*ServerlessClusterUpdateSpecification) SetSpendLimit

func (o *ServerlessClusterUpdateSpecification) SetSpendLimit(v int32)

SetSpendLimit sets field value

type SortOrder

type SortOrder string

SortOrder - DESC: Sort in descending order. The default order is ascending.

const (
	ASC  SortOrder = "ASC"
	DESC SortOrder = "DESC"
)

List of SortOrder

func NewSortOrderFromValue

func NewSortOrderFromValue(v string) (*SortOrder, error)

NewSortOrderFromValue returns a pointer to a valid SortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SortOrder) IsValid

func (v SortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SortOrder) Ptr

func (v SortOrder) Ptr() *SortOrder

Ptr returns reference to SortOrder value

func (*SortOrder) UnmarshalJSON

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

type Status

type Status struct {
	Code    *int32  `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Details []Any   `json:"details,omitempty"`
}

Status struct for Status

func NewStatus

func NewStatus() *Status

NewStatus instantiates a new Status 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 NewStatusWithDefaults

func NewStatusWithDefaults() *Status

NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCode

func (o *Status) GetCode() int32

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

func (*Status) GetCodeOk

func (o *Status) GetCodeOk() (*int32, 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 (*Status) GetDetails

func (o *Status) GetDetails() []Any

GetDetails returns the Details field value if set, zero value otherwise.

func (*Status) GetDetailsOk

func (o *Status) GetDetailsOk() ([]Any, bool)

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

func (*Status) GetMessage

func (o *Status) GetMessage() string

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

func (*Status) GetMessageOk

func (o *Status) 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 (*Status) HasCode

func (o *Status) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Status) HasDetails

func (o *Status) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Status) HasMessage

func (o *Status) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Status) MarshalJSON

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

func (*Status) SetCode

func (o *Status) SetCode(v int32)

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

func (*Status) SetDetails

func (o *Status) SetDetails(v []Any)

SetDetails gets a reference to the given []Any and assigns it to the Details field.

func (*Status) SetMessage

func (o *Status) SetMessage(v string)

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

type UpdateCMEKStatusRequest

type UpdateCMEKStatusRequest struct {
	Action CMEKCustomerAction `json:"action"`
}

UpdateCMEKStatusRequest struct for UpdateCMEKStatusRequest

func NewUpdateCMEKStatusRequest

func NewUpdateCMEKStatusRequest(action CMEKCustomerAction) *UpdateCMEKStatusRequest

NewUpdateCMEKStatusRequest instantiates a new UpdateCMEKStatusRequest 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 NewUpdateCMEKStatusRequestWithDefaults

func NewUpdateCMEKStatusRequestWithDefaults() *UpdateCMEKStatusRequest

NewUpdateCMEKStatusRequestWithDefaults instantiates a new UpdateCMEKStatusRequest 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 (*UpdateCMEKStatusRequest) GetAction

GetAction returns the Action field value

func (*UpdateCMEKStatusRequest) GetActionOk

func (o *UpdateCMEKStatusRequest) GetActionOk() (*CMEKCustomerAction, bool)

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

func (UpdateCMEKStatusRequest) MarshalJSON

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

func (*UpdateCMEKStatusRequest) SetAction

SetAction sets field value

type UpdateClusterSpecification

type UpdateClusterSpecification struct {
	Dedicated  *DedicatedClusterUpdateSpecification  `json:"dedicated,omitempty"`
	Serverless *ServerlessClusterUpdateSpecification `json:"serverless,omitempty"`
}

UpdateClusterSpecification struct for UpdateClusterSpecification

func NewUpdateClusterSpecification

func NewUpdateClusterSpecification() *UpdateClusterSpecification

NewUpdateClusterSpecification instantiates a new UpdateClusterSpecification 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 NewUpdateClusterSpecificationWithDefaults

func NewUpdateClusterSpecificationWithDefaults() *UpdateClusterSpecification

NewUpdateClusterSpecificationWithDefaults instantiates a new UpdateClusterSpecification 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 (*UpdateClusterSpecification) GetDedicated

GetDedicated returns the Dedicated field value if set, zero value otherwise.

func (*UpdateClusterSpecification) GetDedicatedOk

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

func (*UpdateClusterSpecification) GetServerless

GetServerless returns the Serverless field value if set, zero value otherwise.

func (*UpdateClusterSpecification) GetServerlessOk

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

func (*UpdateClusterSpecification) HasDedicated

func (o *UpdateClusterSpecification) HasDedicated() bool

HasDedicated returns a boolean if a field has been set.

func (*UpdateClusterSpecification) HasServerless

func (o *UpdateClusterSpecification) HasServerless() bool

HasServerless returns a boolean if a field has been set.

func (UpdateClusterSpecification) MarshalJSON

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

func (*UpdateClusterSpecification) SetDedicated

SetDedicated gets a reference to the given DedicatedClusterUpdateSpecification and assigns it to the Dedicated field.

func (*UpdateClusterSpecification) SetServerless

SetServerless gets a reference to the given ServerlessClusterUpdateSpecification and assigns it to the Serverless field.

type UpdateSQLUserPasswordRequest

type UpdateSQLUserPasswordRequest struct {
	Password string `json:"password"`
}

UpdateSQLUserPasswordRequest struct for UpdateSQLUserPasswordRequest

func NewUpdateSQLUserPasswordRequest

func NewUpdateSQLUserPasswordRequest(password string) *UpdateSQLUserPasswordRequest

NewUpdateSQLUserPasswordRequest instantiates a new UpdateSQLUserPasswordRequest 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 NewUpdateSQLUserPasswordRequestWithDefaults

func NewUpdateSQLUserPasswordRequestWithDefaults() *UpdateSQLUserPasswordRequest

NewUpdateSQLUserPasswordRequestWithDefaults instantiates a new UpdateSQLUserPasswordRequest 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 (*UpdateSQLUserPasswordRequest) GetPassword

func (o *UpdateSQLUserPasswordRequest) GetPassword() string

GetPassword returns the Password field value

func (*UpdateSQLUserPasswordRequest) GetPasswordOk

func (o *UpdateSQLUserPasswordRequest) GetPasswordOk() (*string, bool)

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

func (UpdateSQLUserPasswordRequest) MarshalJSON

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

func (*UpdateSQLUserPasswordRequest) SetPassword

func (o *UpdateSQLUserPasswordRequest) SetPassword(v string)

SetPassword sets field value

Source Files

Jump to

Keyboard shortcuts

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