openapi

package
v0.1.0-pre Latest Latest
Warning

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

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

README

Go API client for openapi

Authentication

The REST API can be used with your Personal Access Token (PAT). You don't know what a PAT is, check our documentation here.

After you created a PAT click on Authorize and add your PAT under BearerAuth.

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: 1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

Documentation for API Endpoints

All URIs are relative to https://cloud.exasol.com

Class Method HTTP request Description
ClustersApi CreateCluster Post /api/v1/accounts/{accountID}/databases/{databaseID}/clusters Create cluster
ClustersApi DeleteCluster Delete /api/v1/accounts/{accountID}/databases/{databaseID}/clusters/{clusterID} Delete cluster
ClustersApi GetCluster Get /api/v1/accounts/{accountID}/databases/{databaseID}/clusters/{clusterID} Get cluster
ClustersApi GetClusterConnection Get /api/v1/accounts/{accountID}/databases/{databaseID}/clusters/{clusterID}/connect Get connection information
ClustersApi ListClusters Get /api/v1/accounts/{accountID}/databases/{databaseID}/clusters List clusters
ClustersApi ScaleCluster Put /api/v1/accounts/{accountID}/databases/{databaseID}/clusters/{clusterID}/scale Scale cluster
ClustersApi StartCluster Put /api/v1/accounts/{accountID}/databases/{databaseID}/clusters/{clusterID}/start Start cluster
ClustersApi StopCluster Put /api/v1/accounts/{accountID}/databases/{databaseID}/clusters/{clusterID}/stop Stop cluster
ClustersApi UpdateCluster Put /api/v1/accounts/{accountID}/databases/{databaseID}/clusters/{clusterID} Update cluster
DatabasesApi CreateDatabase Post /api/v1/accounts/{accountID}/databases Create database
DatabasesApi DeleteDatabase Delete /api/v1/accounts/{accountID}/databases/{databaseID} Delete database
DatabasesApi GetDatabase Get /api/v1/accounts/{accountID}/databases/{databaseID} Get database
DatabasesApi ListDatabases Get /api/v1/accounts/{accountID}/databases List databases
DatabasesApi StartDatabase Put /api/v1/accounts/{accountID}/databases/{databaseID}/start Start database
DatabasesApi StopDatabase Put /api/v1/accounts/{accountID}/databases/{databaseID}/stop Stop database
DatabasesApi UpdateDatabase Put /api/v1/accounts/{accountID}/databases/{databaseID} Update database
PlatformApi ListClusterSizes Get /api/v1/platforms/{platform}/sizes Get cluster sizes for platform
PlatformApi ListPlatforms Get /api/v1/platforms List platforms
PlatformApi ListRegions Get /api/v1/platforms/{platform}/regions Get regions for platform
SecurityApi AddAllowedIP Post /api/v1/accounts/{accountID}/security/allowlist_ip Add security rule (CIDR)
SecurityApi DeleteAllowedIP Delete /api/v1/accounts/{accountID}/security/allowlist_ip/{ID} Delete security rule (CIDR)
SecurityApi GetAllowedIP Get /api/v1/accounts/{accountID}/security/allowlist_ip/{ID} Get security rule (CIDR)
SecurityApi ListAllowedIPs Get /api/v1/accounts/{accountID}/security/allowlist_ip List security rules (CIDR)
SecurityApi UpdateAllowedIP Put /api/v1/accounts/{accountID}/security/allowlist_ip/{ID} Update security rule (CIDR)
UsageApi GetUsage Get /api/v1/accounts/{accountID}/usage Get usage
UsersApi DeleteUser Delete /api/v1/accounts/{accountID}/users/{userID} Remove user
UsersApi ListUsers Get /api/v1/accounts/{accountID}/users List users
UsersApi PatchUser Patch /api/v1/accounts/{accountID}/users/{userID} Patch user
UsersApi UpdateUser Put /api/v1/accounts/{accountID}/users/{userID} Update user

Documentation For Models

Documentation For Authorization

BearerAuth
  • 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

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 AllowedStatusEnumValues = []Status{
	"todelete",
	"tostart",
	"tocreate",
	"tostop",
	"creating",
	"starting",
	"running",
	"stopping",
	"stopped",
	"error",
	"maintenance",
	"deleting",
	"deleted",
}

All allowed values of Status enum

View Source
var AllowedUserStatusEnumValues = []UserStatus{
	"active",
	"deactivated",
	"pending",
}

All allowed values of UserStatus 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 {
	ClustersApi *ClustersApiService

	DatabasesApi *DatabasesApiService

	PlatformApi *PlatformApiService

	SecurityApi *SecurityApiService

	UsageApi *UsageApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Exasol SaaS REST-API API v1.0 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 APIError

type APIError struct {
	Code      int32            `json:"code"`
	Message   string           `json:"message"`
	Causes    *map[string]bool `json:"causes,omitempty"`
	RequestID *string          `json:"requestID,omitempty"`
	Timestamp *string          `json:"timestamp,omitempty"`
	ApiID     *string          `json:"apiID,omitempty"`
}

APIError struct for APIError

func NewAPIError

func NewAPIError(code int32, message string) *APIError

NewAPIError instantiates a new APIError 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 NewAPIErrorWithDefaults

func NewAPIErrorWithDefaults() *APIError

NewAPIErrorWithDefaults instantiates a new APIError 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 (*APIError) GetApiID

func (o *APIError) GetApiID() string

GetApiID returns the ApiID field value if set, zero value otherwise.

func (*APIError) GetApiIDOk

func (o *APIError) GetApiIDOk() (*string, bool)

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

func (*APIError) GetCauses

func (o *APIError) GetCauses() map[string]bool

GetCauses returns the Causes field value if set, zero value otherwise.

func (*APIError) GetCausesOk

func (o *APIError) GetCausesOk() (*map[string]bool, bool)

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

func (*APIError) GetCode

func (o *APIError) GetCode() int32

GetCode returns the Code field value

func (*APIError) GetCodeOk

func (o *APIError) GetCodeOk() (*int32, bool)

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

func (*APIError) GetMessage

func (o *APIError) GetMessage() string

GetMessage returns the Message field value

func (*APIError) GetMessageOk

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

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

func (*APIError) GetRequestID

func (o *APIError) GetRequestID() string

GetRequestID returns the RequestID field value if set, zero value otherwise.

func (*APIError) GetRequestIDOk

func (o *APIError) GetRequestIDOk() (*string, bool)

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

func (*APIError) GetTimestamp

func (o *APIError) GetTimestamp() string

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

func (*APIError) GetTimestampOk

func (o *APIError) GetTimestampOk() (*string, bool)

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

func (*APIError) HasApiID

func (o *APIError) HasApiID() bool

HasApiID returns a boolean if a field has been set.

func (*APIError) HasCauses

func (o *APIError) HasCauses() bool

HasCauses returns a boolean if a field has been set.

func (*APIError) HasRequestID

func (o *APIError) HasRequestID() bool

HasRequestID returns a boolean if a field has been set.

func (*APIError) HasTimestamp

func (o *APIError) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (APIError) MarshalJSON

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

func (*APIError) SetApiID

func (o *APIError) SetApiID(v string)

SetApiID gets a reference to the given string and assigns it to the ApiID field.

func (*APIError) SetCauses

func (o *APIError) SetCauses(v map[string]bool)

SetCauses gets a reference to the given map[string]bool and assigns it to the Causes field.

func (*APIError) SetCode

func (o *APIError) SetCode(v int32)

SetCode sets field value

func (*APIError) SetMessage

func (o *APIError) SetMessage(v string)

SetMessage sets field value

func (*APIError) SetRequestID

func (o *APIError) SetRequestID(v string)

SetRequestID gets a reference to the given string and assigns it to the RequestID field.

func (*APIError) SetTimestamp

func (o *APIError) SetTimestamp(v string)

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

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 AllowedIP

type AllowedIP struct {
	Id        string  `json:"id"`
	Name      string  `json:"name"`
	CidrIp    string  `json:"cidrIp"`
	CreatedAt string  `json:"createdAt"`
	CreatedBy string  `json:"createdBy"`
	DeletedBy *string `json:"deletedBy,omitempty"`
	DeletedAt *string `json:"deletedAt,omitempty"`
}

AllowedIP struct for AllowedIP

func NewAllowedIP

func NewAllowedIP(id string, name string, cidrIp string, createdAt string, createdBy string) *AllowedIP

NewAllowedIP instantiates a new AllowedIP 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 NewAllowedIPWithDefaults

func NewAllowedIPWithDefaults() *AllowedIP

NewAllowedIPWithDefaults instantiates a new AllowedIP 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 (*AllowedIP) GetCidrIp

func (o *AllowedIP) GetCidrIp() string

GetCidrIp returns the CidrIp field value

func (*AllowedIP) GetCidrIpOk

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

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

func (*AllowedIP) GetCreatedAt

func (o *AllowedIP) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*AllowedIP) GetCreatedAtOk

func (o *AllowedIP) GetCreatedAtOk() (*string, bool)

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

func (*AllowedIP) GetCreatedBy

func (o *AllowedIP) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*AllowedIP) GetCreatedByOk

func (o *AllowedIP) GetCreatedByOk() (*string, bool)

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

func (*AllowedIP) GetDeletedAt

func (o *AllowedIP) GetDeletedAt() string

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

func (*AllowedIP) GetDeletedAtOk

func (o *AllowedIP) GetDeletedAtOk() (*string, 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 (*AllowedIP) GetDeletedBy

func (o *AllowedIP) GetDeletedBy() string

GetDeletedBy returns the DeletedBy field value if set, zero value otherwise.

func (*AllowedIP) GetDeletedByOk

func (o *AllowedIP) GetDeletedByOk() (*string, bool)

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

func (*AllowedIP) GetId

func (o *AllowedIP) GetId() string

GetId returns the Id field value

func (*AllowedIP) GetIdOk

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

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

func (*AllowedIP) GetName

func (o *AllowedIP) GetName() string

GetName returns the Name field value

func (*AllowedIP) GetNameOk

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

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

func (*AllowedIP) HasDeletedAt

func (o *AllowedIP) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*AllowedIP) HasDeletedBy

func (o *AllowedIP) HasDeletedBy() bool

HasDeletedBy returns a boolean if a field has been set.

func (AllowedIP) MarshalJSON

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

func (*AllowedIP) SetCidrIp

func (o *AllowedIP) SetCidrIp(v string)

SetCidrIp sets field value

func (*AllowedIP) SetCreatedAt

func (o *AllowedIP) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*AllowedIP) SetCreatedBy

func (o *AllowedIP) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*AllowedIP) SetDeletedAt

func (o *AllowedIP) SetDeletedAt(v string)

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

func (*AllowedIP) SetDeletedBy

func (o *AllowedIP) SetDeletedBy(v string)

SetDeletedBy gets a reference to the given string and assigns it to the DeletedBy field.

func (*AllowedIP) SetId

func (o *AllowedIP) SetId(v string)

SetId sets field value

func (*AllowedIP) SetName

func (o *AllowedIP) SetName(v string)

SetName sets field value

type ApiAddAllowedIPRequest

type ApiAddAllowedIPRequest struct {
	ApiService *SecurityApiService
	// contains filtered or unexported fields
}

func (ApiAddAllowedIPRequest) CreateAllowedIP

func (r ApiAddAllowedIPRequest) CreateAllowedIP(createAllowedIP CreateAllowedIP) ApiAddAllowedIPRequest

func (ApiAddAllowedIPRequest) Execute

type ApiCreateClusterRequest

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

func (ApiCreateClusterRequest) CreateCluster

func (r ApiCreateClusterRequest) CreateCluster(createCluster CreateCluster) ApiCreateClusterRequest

func (ApiCreateClusterRequest) Execute

type ApiCreateDatabaseRequest

type ApiCreateDatabaseRequest struct {
	ApiService *DatabasesApiService
	// contains filtered or unexported fields
}

func (ApiCreateDatabaseRequest) CreateDatabase

func (r ApiCreateDatabaseRequest) CreateDatabase(createDatabase CreateDatabase) ApiCreateDatabaseRequest

func (ApiCreateDatabaseRequest) Execute

type ApiDeleteAllowedIPRequest

type ApiDeleteAllowedIPRequest struct {
	ApiService *SecurityApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAllowedIPRequest) Execute

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

type ApiDeleteClusterRequest

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

func (ApiDeleteClusterRequest) Execute

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

type ApiDeleteDatabaseRequest

type ApiDeleteDatabaseRequest struct {
	ApiService *DatabasesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDatabaseRequest) Execute

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

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

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

type ApiGetAllowedIPRequest

type ApiGetAllowedIPRequest struct {
	ApiService *SecurityApiService
	// contains filtered or unexported fields
}

func (ApiGetAllowedIPRequest) Execute

type ApiGetClusterConnectionRequest

type ApiGetClusterConnectionRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiGetClusterConnectionRequest) Execute

type ApiGetClusterRequest

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

func (ApiGetClusterRequest) Execute

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

type ApiGetDatabaseRequest

type ApiGetDatabaseRequest struct {
	ApiService *DatabasesApiService
	// contains filtered or unexported fields
}

func (ApiGetDatabaseRequest) Execute

func (r ApiGetDatabaseRequest) Execute() (*Database, *http.Response, error)

type ApiGetUsageRequest

type ApiGetUsageRequest struct {
	ApiService *UsageApiService
	// contains filtered or unexported fields
}

func (ApiGetUsageRequest) Execute

func (r ApiGetUsageRequest) Execute() (*map[string][]UsageDatabase, *http.Response, error)

func (ApiGetUsageRequest) Type_

Response format

func (ApiGetUsageRequest) YearMonth

func (r ApiGetUsageRequest) YearMonth(yearMonth string) ApiGetUsageRequest

YYYY-MM

type ApiListAllowedIPsRequest

type ApiListAllowedIPsRequest struct {
	ApiService *SecurityApiService
	// contains filtered or unexported fields
}

func (ApiListAllowedIPsRequest) Execute

type ApiListClusterSizesRequest

type ApiListClusterSizesRequest struct {
	ApiService *PlatformApiService
	// contains filtered or unexported fields
}

func (ApiListClusterSizesRequest) Execute

type ApiListClustersRequest

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

func (ApiListClustersRequest) Execute

func (r ApiListClustersRequest) Execute() ([]Cluster, *http.Response, error)

type ApiListDatabasesRequest

type ApiListDatabasesRequest struct {
	ApiService *DatabasesApiService
	// contains filtered or unexported fields
}

func (ApiListDatabasesRequest) Execute

func (r ApiListDatabasesRequest) Execute() ([]Database, *http.Response, error)

type ApiListPlatformsRequest

type ApiListPlatformsRequest struct {
	ApiService *PlatformApiService
	// contains filtered or unexported fields
}

func (ApiListPlatformsRequest) Execute

func (r ApiListPlatformsRequest) Execute() ([]Platform, *http.Response, error)

type ApiListRegionsRequest

type ApiListRegionsRequest struct {
	ApiService *PlatformApiService
	// contains filtered or unexported fields
}

func (ApiListRegionsRequest) Execute

func (r ApiListRegionsRequest) Execute() ([]Region, *http.Response, error)

type ApiListUsersRequest

type ApiListUsersRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiListUsersRequest) Execute

func (r ApiListUsersRequest) Execute() ([]Profile, *http.Response, error)

func (ApiListUsersRequest) Filter

Filter users by email

func (ApiListUsersRequest) Limit

Limit amount of user in response

func (ApiListUsersRequest) Next

Get next page of users

type ApiPatchUserRequest

type ApiPatchUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiPatchUserRequest) Execute

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

func (ApiPatchUserRequest) PatchUser

func (r ApiPatchUserRequest) PatchUser(patchUser PatchUser) ApiPatchUserRequest

type ApiScaleClusterRequest

type ApiScaleClusterRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiScaleClusterRequest) Execute

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

func (ApiScaleClusterRequest) ScaleCluster

func (r ApiScaleClusterRequest) ScaleCluster(scaleCluster ScaleCluster) ApiScaleClusterRequest

type ApiStartClusterRequest

type ApiStartClusterRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiStartClusterRequest) Execute

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

type ApiStartDatabaseRequest

type ApiStartDatabaseRequest struct {
	ApiService *DatabasesApiService
	// contains filtered or unexported fields
}

func (ApiStartDatabaseRequest) Execute

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

type ApiStopClusterRequest

type ApiStopClusterRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiStopClusterRequest) Execute

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

type ApiStopDatabaseRequest

type ApiStopDatabaseRequest struct {
	ApiService *DatabasesApiService
	// contains filtered or unexported fields
}

func (ApiStopDatabaseRequest) Execute

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

type ApiUpdateAllowedIPRequest

type ApiUpdateAllowedIPRequest struct {
	ApiService *SecurityApiService
	// contains filtered or unexported fields
}

func (ApiUpdateAllowedIPRequest) Execute

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

func (ApiUpdateAllowedIPRequest) UpdateAllowedIP

func (r ApiUpdateAllowedIPRequest) UpdateAllowedIP(updateAllowedIP UpdateAllowedIP) ApiUpdateAllowedIPRequest

type ApiUpdateClusterRequest

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

func (ApiUpdateClusterRequest) Execute

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

func (ApiUpdateClusterRequest) UpdateCluster

func (r ApiUpdateClusterRequest) UpdateCluster(updateCluster UpdateCluster) ApiUpdateClusterRequest

type ApiUpdateDatabaseRequest

type ApiUpdateDatabaseRequest struct {
	ApiService *DatabasesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDatabaseRequest) Execute

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

func (ApiUpdateDatabaseRequest) UpdateDatabase

func (r ApiUpdateDatabaseRequest) UpdateDatabase(updateDatabase UpdateDatabase) ApiUpdateDatabaseRequest

type ApiUpdateUserRequest

type ApiUpdateUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiUpdateUserRequest) Execute

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

func (ApiUpdateUserRequest) UpdateUser

func (r ApiUpdateUserRequest) UpdateUser(updateUser UpdateUser) ApiUpdateUserRequest

type AutoStop

type AutoStop struct {
	Enabled  bool  `json:"enabled"`
	IdleTime int32 `json:"idleTime"`
}

AutoStop struct for AutoStop

func NewAutoStop

func NewAutoStop(enabled bool, idleTime int32) *AutoStop

NewAutoStop instantiates a new AutoStop 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 NewAutoStopWithDefaults

func NewAutoStopWithDefaults() *AutoStop

NewAutoStopWithDefaults instantiates a new AutoStop 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 (*AutoStop) GetEnabled

func (o *AutoStop) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*AutoStop) GetEnabledOk

func (o *AutoStop) GetEnabledOk() (*bool, bool)

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

func (*AutoStop) GetIdleTime

func (o *AutoStop) GetIdleTime() int32

GetIdleTime returns the IdleTime field value

func (*AutoStop) GetIdleTimeOk

func (o *AutoStop) GetIdleTimeOk() (*int32, bool)

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

func (AutoStop) MarshalJSON

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

func (*AutoStop) SetEnabled

func (o *AutoStop) SetEnabled(v bool)

SetEnabled sets field value

func (*AutoStop) SetIdleTime

func (o *AutoStop) SetIdleTime(v int32)

SetIdleTime sets field value

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 Cluster

type Cluster struct {
	Status      Status    `json:"status"`
	DeletedAt   *string   `json:"deletedAt,omitempty"`
	DeletedBy   *string   `json:"deletedBy,omitempty"`
	Id          string    `json:"id"`
	Name        string    `json:"name"`
	Size        string    `json:"size"`
	CreatedAt   string    `json:"createdAt"`
	CreatedBy   string    `json:"createdBy"`
	MainCluster bool      `json:"mainCluster"`
	AutoStop    *AutoStop `json:"autoStop,omitempty"`
}

Cluster struct for Cluster

func NewCluster

func NewCluster(status Status, id string, name string, size string, createdAt string, createdBy string, mainCluster bool) *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) GetAutoStop

func (o *Cluster) GetAutoStop() AutoStop

GetAutoStop returns the AutoStop field value if set, zero value otherwise.

func (*Cluster) GetAutoStopOk

func (o *Cluster) GetAutoStopOk() (*AutoStop, bool)

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

func (*Cluster) GetCreatedAt

func (o *Cluster) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*Cluster) GetCreatedAtOk

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

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

func (*Cluster) GetCreatedBy

func (o *Cluster) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Cluster) GetCreatedByOk

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

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

func (*Cluster) GetDeletedAt

func (o *Cluster) GetDeletedAt() string

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

func (*Cluster) GetDeletedAtOk

func (o *Cluster) GetDeletedAtOk() (*string, 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) GetDeletedBy

func (o *Cluster) GetDeletedBy() string

GetDeletedBy returns the DeletedBy field value if set, zero value otherwise.

func (*Cluster) GetDeletedByOk

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

GetDeletedByOk returns a tuple with the DeletedBy 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) GetMainCluster

func (o *Cluster) GetMainCluster() bool

GetMainCluster returns the MainCluster field value

func (*Cluster) GetMainClusterOk

func (o *Cluster) GetMainClusterOk() (*bool, bool)

GetMainClusterOk returns a tuple with the MainCluster 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) GetSize

func (o *Cluster) GetSize() string

GetSize returns the Size field value

func (*Cluster) GetSizeOk

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

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

func (*Cluster) GetStatus

func (o *Cluster) GetStatus() Status

GetStatus returns the Status field value

func (*Cluster) GetStatusOk

func (o *Cluster) GetStatusOk() (*Status, bool)

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

func (*Cluster) HasAutoStop

func (o *Cluster) HasAutoStop() bool

HasAutoStop 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) HasDeletedBy

func (o *Cluster) HasDeletedBy() bool

HasDeletedBy returns a boolean if a field has been set.

func (Cluster) MarshalJSON

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

func (*Cluster) SetAutoStop

func (o *Cluster) SetAutoStop(v AutoStop)

SetAutoStop gets a reference to the given AutoStop and assigns it to the AutoStop field.

func (*Cluster) SetCreatedAt

func (o *Cluster) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*Cluster) SetCreatedBy

func (o *Cluster) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Cluster) SetDeletedAt

func (o *Cluster) SetDeletedAt(v string)

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

func (*Cluster) SetDeletedBy

func (o *Cluster) SetDeletedBy(v string)

SetDeletedBy gets a reference to the given string and assigns it to the DeletedBy field.

func (*Cluster) SetId

func (o *Cluster) SetId(v string)

SetId sets field value

func (*Cluster) SetMainCluster

func (o *Cluster) SetMainCluster(v bool)

SetMainCluster sets field value

func (*Cluster) SetName

func (o *Cluster) SetName(v string)

SetName sets field value

func (*Cluster) SetSize

func (o *Cluster) SetSize(v string)

SetSize sets field value

func (*Cluster) SetStatus

func (o *Cluster) SetStatus(v Status)

SetStatus sets field value

type ClusterOverview

type ClusterOverview struct {
	Total   int32 `json:"total"`
	Running int32 `json:"running"`
}

ClusterOverview struct for ClusterOverview

func NewClusterOverview

func NewClusterOverview(total int32, running int32) *ClusterOverview

NewClusterOverview instantiates a new ClusterOverview 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 NewClusterOverviewWithDefaults

func NewClusterOverviewWithDefaults() *ClusterOverview

NewClusterOverviewWithDefaults instantiates a new ClusterOverview 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 (*ClusterOverview) GetRunning

func (o *ClusterOverview) GetRunning() int32

GetRunning returns the Running field value

func (*ClusterOverview) GetRunningOk

func (o *ClusterOverview) GetRunningOk() (*int32, bool)

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

func (*ClusterOverview) GetTotal

func (o *ClusterOverview) GetTotal() int32

GetTotal returns the Total field value

func (*ClusterOverview) GetTotalOk

func (o *ClusterOverview) GetTotalOk() (*int32, bool)

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

func (ClusterOverview) MarshalJSON

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

func (*ClusterOverview) SetRunning

func (o *ClusterOverview) SetRunning(v int32)

SetRunning sets field value

func (*ClusterOverview) SetTotal

func (o *ClusterOverview) SetTotal(v int32)

SetTotal sets field value

type ClusterSize

type ClusterSize struct {
	Size      string  `json:"size"`
	Price     float32 `json:"price"`
	Vcpu      float32 `json:"vcpu"`
	Ram       float32 `json:"ram"`
	IsDefault bool    `json:"isDefault"`
	Name      string  `json:"name"`
}

ClusterSize struct for ClusterSize

func NewClusterSize

func NewClusterSize(size string, price float32, vcpu float32, ram float32, isDefault bool, name string) *ClusterSize

NewClusterSize instantiates a new ClusterSize 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 NewClusterSizeWithDefaults

func NewClusterSizeWithDefaults() *ClusterSize

NewClusterSizeWithDefaults instantiates a new ClusterSize 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 (*ClusterSize) GetIsDefault

func (o *ClusterSize) GetIsDefault() bool

GetIsDefault returns the IsDefault field value

func (*ClusterSize) GetIsDefaultOk

func (o *ClusterSize) GetIsDefaultOk() (*bool, bool)

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

func (*ClusterSize) GetName

func (o *ClusterSize) GetName() string

GetName returns the Name field value

func (*ClusterSize) GetNameOk

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

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

func (*ClusterSize) GetPrice

func (o *ClusterSize) GetPrice() float32

GetPrice returns the Price field value

func (*ClusterSize) GetPriceOk

func (o *ClusterSize) GetPriceOk() (*float32, bool)

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

func (*ClusterSize) GetRam

func (o *ClusterSize) GetRam() float32

GetRam returns the Ram field value

func (*ClusterSize) GetRamOk

func (o *ClusterSize) GetRamOk() (*float32, bool)

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

func (*ClusterSize) GetSize

func (o *ClusterSize) GetSize() string

GetSize returns the Size field value

func (*ClusterSize) GetSizeOk

func (o *ClusterSize) GetSizeOk() (*string, bool)

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

func (*ClusterSize) GetVcpu

func (o *ClusterSize) GetVcpu() float32

GetVcpu returns the Vcpu field value

func (*ClusterSize) GetVcpuOk

func (o *ClusterSize) GetVcpuOk() (*float32, bool)

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

func (ClusterSize) MarshalJSON

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

func (*ClusterSize) SetIsDefault

func (o *ClusterSize) SetIsDefault(v bool)

SetIsDefault sets field value

func (*ClusterSize) SetName

func (o *ClusterSize) SetName(v string)

SetName sets field value

func (*ClusterSize) SetPrice

func (o *ClusterSize) SetPrice(v float32)

SetPrice sets field value

func (*ClusterSize) SetRam

func (o *ClusterSize) SetRam(v float32)

SetRam sets field value

func (*ClusterSize) SetSize

func (o *ClusterSize) SetSize(v string)

SetSize sets field value

func (*ClusterSize) SetVcpu

func (o *ClusterSize) SetVcpu(v float32)

SetVcpu sets field value

type ClustersApiService

type ClustersApiService service

ClustersApiService ClustersApi service

func (*ClustersApiService) CreateCluster

func (a *ClustersApiService) CreateCluster(ctx context.Context, accountID string, databaseID string) ApiCreateClusterRequest

CreateCluster Create cluster

Create a new cluster

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

func (*ClustersApiService) CreateClusterExecute

func (a *ClustersApiService) CreateClusterExecute(r ApiCreateClusterRequest) (*Cluster, *http.Response, error)

Execute executes the request

@return Cluster

func (*ClustersApiService) DeleteCluster

func (a *ClustersApiService) DeleteCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiDeleteClusterRequest

DeleteCluster Delete cluster

Delete the cluster, if main cluster is deleted, the whole database will be deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@param clusterID Cluster ID
@return ApiDeleteClusterRequest

func (*ClustersApiService) DeleteClusterExecute

func (a *ClustersApiService) DeleteClusterExecute(r ApiDeleteClusterRequest) (*http.Response, error)

Execute executes the request

func (*ClustersApiService) GetCluster

func (a *ClustersApiService) GetCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiGetClusterRequest

GetCluster Get cluster

Get cluster

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@param clusterID Cluster ID
@return ApiGetClusterRequest

func (*ClustersApiService) GetClusterConnection

func (a *ClustersApiService) GetClusterConnection(ctx context.Context, accountID string, databaseID string, clusterID string) ApiGetClusterConnectionRequest

GetClusterConnection Get connection information

Get connection information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@param clusterID Cluster ID
@return ApiGetClusterConnectionRequest

func (*ClustersApiService) GetClusterConnectionExecute

func (a *ClustersApiService) GetClusterConnectionExecute(r ApiGetClusterConnectionRequest) (*Connections, *http.Response, error)

Execute executes the request

@return Connections

func (*ClustersApiService) GetClusterExecute

func (a *ClustersApiService) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, *http.Response, error)

Execute executes the request

@return Cluster

func (*ClustersApiService) ListClusters

func (a *ClustersApiService) ListClusters(ctx context.Context, accountID string, databaseID string) ApiListClustersRequest

ListClusters List clusters

List clusters from a database

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

func (*ClustersApiService) ListClustersExecute

func (a *ClustersApiService) ListClustersExecute(r ApiListClustersRequest) ([]Cluster, *http.Response, error)

Execute executes the request

@return []Cluster

func (*ClustersApiService) ScaleCluster

func (a *ClustersApiService) ScaleCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiScaleClusterRequest

ScaleCluster Scale cluster

Scale cluster

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@param clusterID Cluster ID
@return ApiScaleClusterRequest

func (*ClustersApiService) ScaleClusterExecute

func (a *ClustersApiService) ScaleClusterExecute(r ApiScaleClusterRequest) (*http.Response, error)

Execute executes the request

func (*ClustersApiService) StartCluster

func (a *ClustersApiService) StartCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiStartClusterRequest

StartCluster Start cluster

Start cluster

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@param clusterID Cluster ID
@return ApiStartClusterRequest

func (*ClustersApiService) StartClusterExecute

func (a *ClustersApiService) StartClusterExecute(r ApiStartClusterRequest) (*http.Response, error)

Execute executes the request

func (*ClustersApiService) StopCluster

func (a *ClustersApiService) StopCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiStopClusterRequest

StopCluster Stop cluster

Stop cluster

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@param clusterID Cluster ID
@return ApiStopClusterRequest

func (*ClustersApiService) StopClusterExecute

func (a *ClustersApiService) StopClusterExecute(r ApiStopClusterRequest) (*http.Response, error)

Execute executes the request

func (*ClustersApiService) UpdateCluster

func (a *ClustersApiService) UpdateCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiUpdateClusterRequest

UpdateCluster Update cluster

Update the cluster with the specified ID.

Only metadata can be changed. To scale the cluster size, use the scale cluster endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@param clusterID Cluster ID
@return ApiUpdateClusterRequest

func (*ClustersApiService) UpdateClusterExecute

func (a *ClustersApiService) UpdateClusterExecute(r ApiUpdateClusterRequest) (*http.Response, error)

Execute executes the request

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 ConnectionIPs

type ConnectionIPs struct {
	Private []string `json:"private"`
	Public  []string `json:"public"`
}

ConnectionIPs struct for ConnectionIPs

func NewConnectionIPs

func NewConnectionIPs(private []string, public []string) *ConnectionIPs

NewConnectionIPs instantiates a new ConnectionIPs 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 NewConnectionIPsWithDefaults

func NewConnectionIPsWithDefaults() *ConnectionIPs

NewConnectionIPsWithDefaults instantiates a new ConnectionIPs 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 (*ConnectionIPs) GetPrivate

func (o *ConnectionIPs) GetPrivate() []string

GetPrivate returns the Private field value

func (*ConnectionIPs) GetPrivateOk

func (o *ConnectionIPs) GetPrivateOk() ([]string, bool)

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

func (*ConnectionIPs) GetPublic

func (o *ConnectionIPs) GetPublic() []string

GetPublic returns the Public field value

func (*ConnectionIPs) GetPublicOk

func (o *ConnectionIPs) GetPublicOk() ([]string, bool)

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

func (ConnectionIPs) MarshalJSON

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

func (*ConnectionIPs) SetPrivate

func (o *ConnectionIPs) SetPrivate(v []string)

SetPrivate sets field value

func (*ConnectionIPs) SetPublic

func (o *ConnectionIPs) SetPublic(v []string)

SetPublic sets field value

type Connections

type Connections struct {
	Dns        string        `json:"dns"`
	Port       int32         `json:"port"`
	Jdbc       string        `json:"jdbc"`
	Ips        ConnectionIPs `json:"ips"`
	DbUsername string        `json:"dbUsername"`
}

Connections struct for Connections

func NewConnections

func NewConnections(dns string, port int32, jdbc string, ips ConnectionIPs, dbUsername string) *Connections

NewConnections instantiates a new Connections 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 NewConnectionsWithDefaults

func NewConnectionsWithDefaults() *Connections

NewConnectionsWithDefaults instantiates a new Connections 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 (*Connections) GetDbUsername

func (o *Connections) GetDbUsername() string

GetDbUsername returns the DbUsername field value

func (*Connections) GetDbUsernameOk

func (o *Connections) GetDbUsernameOk() (*string, bool)

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

func (*Connections) GetDns

func (o *Connections) GetDns() string

GetDns returns the Dns field value

func (*Connections) GetDnsOk

func (o *Connections) GetDnsOk() (*string, bool)

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

func (*Connections) GetIps

func (o *Connections) GetIps() ConnectionIPs

GetIps returns the Ips field value

func (*Connections) GetIpsOk

func (o *Connections) GetIpsOk() (*ConnectionIPs, bool)

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

func (*Connections) GetJdbc

func (o *Connections) GetJdbc() string

GetJdbc returns the Jdbc field value

func (*Connections) GetJdbcOk

func (o *Connections) GetJdbcOk() (*string, bool)

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

func (*Connections) GetPort

func (o *Connections) GetPort() int32

GetPort returns the Port field value

func (*Connections) GetPortOk

func (o *Connections) GetPortOk() (*int32, bool)

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

func (Connections) MarshalJSON

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

func (*Connections) SetDbUsername

func (o *Connections) SetDbUsername(v string)

SetDbUsername sets field value

func (*Connections) SetDns

func (o *Connections) SetDns(v string)

SetDns sets field value

func (*Connections) SetIps

func (o *Connections) SetIps(v ConnectionIPs)

SetIps sets field value

func (*Connections) SetJdbc

func (o *Connections) SetJdbc(v string)

SetJdbc sets field value

func (*Connections) SetPort

func (o *Connections) SetPort(v int32)

SetPort sets field value

type CreateAllowedIP

type CreateAllowedIP struct {
	Name   string `json:"name"`
	CidrIp string `json:"cidrIp"`
}

CreateAllowedIP struct for CreateAllowedIP

func NewCreateAllowedIP

func NewCreateAllowedIP(name string, cidrIp string) *CreateAllowedIP

NewCreateAllowedIP instantiates a new CreateAllowedIP 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 NewCreateAllowedIPWithDefaults

func NewCreateAllowedIPWithDefaults() *CreateAllowedIP

NewCreateAllowedIPWithDefaults instantiates a new CreateAllowedIP 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 (*CreateAllowedIP) GetCidrIp

func (o *CreateAllowedIP) GetCidrIp() string

GetCidrIp returns the CidrIp field value

func (*CreateAllowedIP) GetCidrIpOk

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

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

func (*CreateAllowedIP) GetName

func (o *CreateAllowedIP) GetName() string

GetName returns the Name field value

func (*CreateAllowedIP) GetNameOk

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

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

func (CreateAllowedIP) MarshalJSON

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

func (*CreateAllowedIP) SetCidrIp

func (o *CreateAllowedIP) SetCidrIp(v string)

SetCidrIp sets field value

func (*CreateAllowedIP) SetName

func (o *CreateAllowedIP) SetName(v string)

SetName sets field value

type CreateCluster

type CreateCluster struct {
	Name     string    `json:"name"`
	Size     string    `json:"size"`
	AutoStop *AutoStop `json:"autoStop,omitempty"`
}

CreateCluster struct for CreateCluster

func NewCreateCluster

func NewCreateCluster(name string, size string) *CreateCluster

NewCreateCluster instantiates a new CreateCluster 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 NewCreateClusterWithDefaults

func NewCreateClusterWithDefaults() *CreateCluster

NewCreateClusterWithDefaults instantiates a new CreateCluster 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 (*CreateCluster) GetAutoStop

func (o *CreateCluster) GetAutoStop() AutoStop

GetAutoStop returns the AutoStop field value if set, zero value otherwise.

func (*CreateCluster) GetAutoStopOk

func (o *CreateCluster) GetAutoStopOk() (*AutoStop, bool)

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

func (*CreateCluster) GetName

func (o *CreateCluster) GetName() string

GetName returns the Name field value

func (*CreateCluster) GetNameOk

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

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

func (*CreateCluster) GetSize

func (o *CreateCluster) GetSize() string

GetSize returns the Size field value

func (*CreateCluster) GetSizeOk

func (o *CreateCluster) GetSizeOk() (*string, bool)

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

func (*CreateCluster) HasAutoStop

func (o *CreateCluster) HasAutoStop() bool

HasAutoStop returns a boolean if a field has been set.

func (CreateCluster) MarshalJSON

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

func (*CreateCluster) SetAutoStop

func (o *CreateCluster) SetAutoStop(v AutoStop)

SetAutoStop gets a reference to the given AutoStop and assigns it to the AutoStop field.

func (*CreateCluster) SetName

func (o *CreateCluster) SetName(v string)

SetName sets field value

func (*CreateCluster) SetSize

func (o *CreateCluster) SetSize(v string)

SetSize sets field value

type CreateDatabase

type CreateDatabase struct {
	Name           string        `json:"name"`
	InitialCluster CreateCluster `json:"initialCluster"`
	Provider       string        `json:"provider"`
	Region         string        `json:"region"`
}

CreateDatabase struct for CreateDatabase

func NewCreateDatabase

func NewCreateDatabase(name string, initialCluster CreateCluster, provider string, region string) *CreateDatabase

NewCreateDatabase instantiates a new CreateDatabase 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 NewCreateDatabaseWithDefaults

func NewCreateDatabaseWithDefaults() *CreateDatabase

NewCreateDatabaseWithDefaults instantiates a new CreateDatabase 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 (*CreateDatabase) GetInitialCluster

func (o *CreateDatabase) GetInitialCluster() CreateCluster

GetInitialCluster returns the InitialCluster field value

func (*CreateDatabase) GetInitialClusterOk

func (o *CreateDatabase) GetInitialClusterOk() (*CreateCluster, bool)

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

func (*CreateDatabase) GetName

func (o *CreateDatabase) GetName() string

GetName returns the Name field value

func (*CreateDatabase) GetNameOk

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

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

func (*CreateDatabase) GetProvider

func (o *CreateDatabase) GetProvider() string

GetProvider returns the Provider field value

func (*CreateDatabase) GetProviderOk

func (o *CreateDatabase) GetProviderOk() (*string, bool)

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

func (*CreateDatabase) GetRegion

func (o *CreateDatabase) GetRegion() string

GetRegion returns the Region field value

func (*CreateDatabase) GetRegionOk

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

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

func (CreateDatabase) MarshalJSON

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

func (*CreateDatabase) SetInitialCluster

func (o *CreateDatabase) SetInitialCluster(v CreateCluster)

SetInitialCluster sets field value

func (*CreateDatabase) SetName

func (o *CreateDatabase) SetName(v string)

SetName sets field value

func (*CreateDatabase) SetProvider

func (o *CreateDatabase) SetProvider(v string)

SetProvider sets field value

func (*CreateDatabase) SetRegion

func (o *CreateDatabase) SetRegion(v string)

SetRegion sets field value

type Database

type Database struct {
	Status       Status          `json:"status"`
	Id           string          `json:"id"`
	Name         string          `json:"name"`
	Clusters     ClusterOverview `json:"clusters"`
	Integrations []Integrations  `json:"integrations,omitempty"`
	Provider     string          `json:"provider"`
	Region       string          `json:"region"`
	CreatedAt    string          `json:"createdAt"`
	CreatedBy    string          `json:"createdBy"`
	DeletedBy    *string         `json:"deletedBy,omitempty"`
	DeletedAt    *string         `json:"deletedAt,omitempty"`
}

Database struct for Database

func NewDatabase

func NewDatabase(status Status, id string, name string, clusters ClusterOverview, provider string, region string, createdAt string, createdBy string) *Database

NewDatabase instantiates a new Database 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 NewDatabaseWithDefaults

func NewDatabaseWithDefaults() *Database

NewDatabaseWithDefaults instantiates a new Database 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 (*Database) GetClusters

func (o *Database) GetClusters() ClusterOverview

GetClusters returns the Clusters field value

func (*Database) GetClustersOk

func (o *Database) GetClustersOk() (*ClusterOverview, bool)

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

func (*Database) GetCreatedAt

func (o *Database) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*Database) GetCreatedAtOk

func (o *Database) GetCreatedAtOk() (*string, bool)

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

func (*Database) GetCreatedBy

func (o *Database) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Database) GetCreatedByOk

func (o *Database) GetCreatedByOk() (*string, bool)

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

func (*Database) GetDeletedAt

func (o *Database) GetDeletedAt() string

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

func (*Database) GetDeletedAtOk

func (o *Database) GetDeletedAtOk() (*string, 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 (*Database) GetDeletedBy

func (o *Database) GetDeletedBy() string

GetDeletedBy returns the DeletedBy field value if set, zero value otherwise.

func (*Database) GetDeletedByOk

func (o *Database) GetDeletedByOk() (*string, bool)

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

func (*Database) GetId

func (o *Database) GetId() string

GetId returns the Id field value

func (*Database) GetIdOk

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

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

func (*Database) GetIntegrations

func (o *Database) GetIntegrations() []Integrations

GetIntegrations returns the Integrations field value if set, zero value otherwise.

func (*Database) GetIntegrationsOk

func (o *Database) GetIntegrationsOk() ([]Integrations, bool)

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

func (*Database) GetName

func (o *Database) GetName() string

GetName returns the Name field value

func (*Database) GetNameOk

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

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

func (*Database) GetProvider

func (o *Database) GetProvider() string

GetProvider returns the Provider field value

func (*Database) GetProviderOk

func (o *Database) GetProviderOk() (*string, bool)

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

func (*Database) GetRegion

func (o *Database) GetRegion() string

GetRegion returns the Region field value

func (*Database) GetRegionOk

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

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

func (*Database) GetStatus

func (o *Database) GetStatus() Status

GetStatus returns the Status field value

func (*Database) GetStatusOk

func (o *Database) GetStatusOk() (*Status, bool)

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

func (*Database) HasDeletedAt

func (o *Database) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Database) HasDeletedBy

func (o *Database) HasDeletedBy() bool

HasDeletedBy returns a boolean if a field has been set.

func (*Database) HasIntegrations

func (o *Database) HasIntegrations() bool

HasIntegrations returns a boolean if a field has been set.

func (Database) MarshalJSON

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

func (*Database) SetClusters

func (o *Database) SetClusters(v ClusterOverview)

SetClusters sets field value

func (*Database) SetCreatedAt

func (o *Database) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*Database) SetCreatedBy

func (o *Database) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Database) SetDeletedAt

func (o *Database) SetDeletedAt(v string)

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

func (*Database) SetDeletedBy

func (o *Database) SetDeletedBy(v string)

SetDeletedBy gets a reference to the given string and assigns it to the DeletedBy field.

func (*Database) SetId

func (o *Database) SetId(v string)

SetId sets field value

func (*Database) SetIntegrations

func (o *Database) SetIntegrations(v []Integrations)

SetIntegrations gets a reference to the given []Integrations and assigns it to the Integrations field.

func (*Database) SetName

func (o *Database) SetName(v string)

SetName sets field value

func (*Database) SetProvider

func (o *Database) SetProvider(v string)

SetProvider sets field value

func (*Database) SetRegion

func (o *Database) SetRegion(v string)

SetRegion sets field value

func (*Database) SetStatus

func (o *Database) SetStatus(v Status)

SetStatus sets field value

type DatabasesApiService

type DatabasesApiService service

DatabasesApiService DatabasesApi service

func (*DatabasesApiService) CreateDatabase

func (a *DatabasesApiService) CreateDatabase(ctx context.Context, accountID string) ApiCreateDatabaseRequest

CreateDatabase Create database

Create a new database

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

func (*DatabasesApiService) CreateDatabaseExecute

func (a *DatabasesApiService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*Database, *http.Response, error)

Execute executes the request

@return Database

func (*DatabasesApiService) DeleteDatabase

func (a *DatabasesApiService) DeleteDatabase(ctx context.Context, accountID string, databaseID string) ApiDeleteDatabaseRequest

DeleteDatabase Delete database

Delete the database and all cluster

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@return ApiDeleteDatabaseRequest

func (*DatabasesApiService) DeleteDatabaseExecute

func (a *DatabasesApiService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) (*http.Response, error)

Execute executes the request

func (*DatabasesApiService) GetDatabase

func (a *DatabasesApiService) GetDatabase(ctx context.Context, accountID string, databaseID string) ApiGetDatabaseRequest

GetDatabase Get database

Get the database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@return ApiGetDatabaseRequest

func (*DatabasesApiService) GetDatabaseExecute

func (a *DatabasesApiService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*Database, *http.Response, error)

Execute executes the request

@return Database

func (*DatabasesApiService) ListDatabases

func (a *DatabasesApiService) ListDatabases(ctx context.Context, accountID string) ApiListDatabasesRequest

ListDatabases List databases

List databases

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

func (*DatabasesApiService) ListDatabasesExecute

func (a *DatabasesApiService) ListDatabasesExecute(r ApiListDatabasesRequest) ([]Database, *http.Response, error)

Execute executes the request

@return []Database

func (*DatabasesApiService) StartDatabase

func (a *DatabasesApiService) StartDatabase(ctx context.Context, accountID string, databaseID string) ApiStartDatabaseRequest

StartDatabase Start database

Start database If database is from type main, workers will be also started

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@return ApiStartDatabaseRequest

func (*DatabasesApiService) StartDatabaseExecute

func (a *DatabasesApiService) StartDatabaseExecute(r ApiStartDatabaseRequest) (*http.Response, error)

Execute executes the request

func (*DatabasesApiService) StopDatabase

func (a *DatabasesApiService) StopDatabase(ctx context.Context, accountID string, databaseID string) ApiStopDatabaseRequest

StopDatabase Stop database

Stop database If database is from type main, workers will be also stopped

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@return ApiStopDatabaseRequest

func (*DatabasesApiService) StopDatabaseExecute

func (a *DatabasesApiService) StopDatabaseExecute(r ApiStopDatabaseRequest) (*http.Response, error)

Execute executes the request

func (*DatabasesApiService) UpdateDatabase

func (a *DatabasesApiService) UpdateDatabase(ctx context.Context, accountID string, databaseID string) ApiUpdateDatabaseRequest

UpdateDatabase Update database

Update database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param databaseID Database ID
@return ApiUpdateDatabaseRequest

func (*DatabasesApiService) UpdateDatabaseExecute

func (a *DatabasesApiService) UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) (*http.Response, error)

Execute executes the request

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 Integrations

type Integrations struct {
	Id   string  `json:"id"`
	Name string  `json:"name"`
	Url  *string `json:"url,omitempty"`
}

Integrations struct for Integrations

func NewIntegrations

func NewIntegrations(id string, name string) *Integrations

NewIntegrations instantiates a new Integrations 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 NewIntegrationsWithDefaults

func NewIntegrationsWithDefaults() *Integrations

NewIntegrationsWithDefaults instantiates a new Integrations 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 (*Integrations) GetId

func (o *Integrations) GetId() string

GetId returns the Id field value

func (*Integrations) GetIdOk

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

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

func (*Integrations) GetName

func (o *Integrations) GetName() string

GetName returns the Name field value

func (*Integrations) GetNameOk

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

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

func (*Integrations) GetUrl

func (o *Integrations) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Integrations) GetUrlOk

func (o *Integrations) GetUrlOk() (*string, bool)

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

func (*Integrations) HasUrl

func (o *Integrations) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Integrations) MarshalJSON

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

func (*Integrations) SetId

func (o *Integrations) SetId(v string)

SetId sets field value

func (*Integrations) SetName

func (o *Integrations) SetName(v string)

SetName sets field value

func (*Integrations) SetUrl

func (o *Integrations) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type NullableAPIError

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

func NewNullableAPIError

func NewNullableAPIError(val *APIError) *NullableAPIError

func (NullableAPIError) Get

func (v NullableAPIError) Get() *APIError

func (NullableAPIError) IsSet

func (v NullableAPIError) IsSet() bool

func (NullableAPIError) MarshalJSON

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

func (*NullableAPIError) Set

func (v *NullableAPIError) Set(val *APIError)

func (*NullableAPIError) UnmarshalJSON

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

func (*NullableAPIError) Unset

func (v *NullableAPIError) Unset()

type NullableAllowedIP

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

func NewNullableAllowedIP

func NewNullableAllowedIP(val *AllowedIP) *NullableAllowedIP

func (NullableAllowedIP) Get

func (v NullableAllowedIP) Get() *AllowedIP

func (NullableAllowedIP) IsSet

func (v NullableAllowedIP) IsSet() bool

func (NullableAllowedIP) MarshalJSON

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

func (*NullableAllowedIP) Set

func (v *NullableAllowedIP) Set(val *AllowedIP)

func (*NullableAllowedIP) UnmarshalJSON

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

func (*NullableAllowedIP) Unset

func (v *NullableAllowedIP) Unset()

type NullableAutoStop

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

func NewNullableAutoStop

func NewNullableAutoStop(val *AutoStop) *NullableAutoStop

func (NullableAutoStop) Get

func (v NullableAutoStop) Get() *AutoStop

func (NullableAutoStop) IsSet

func (v NullableAutoStop) IsSet() bool

func (NullableAutoStop) MarshalJSON

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

func (*NullableAutoStop) Set

func (v *NullableAutoStop) Set(val *AutoStop)

func (*NullableAutoStop) UnmarshalJSON

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

func (*NullableAutoStop) Unset

func (v *NullableAutoStop) 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 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 NullableClusterOverview

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

func NewNullableClusterOverview

func NewNullableClusterOverview(val *ClusterOverview) *NullableClusterOverview

func (NullableClusterOverview) Get

func (NullableClusterOverview) IsSet

func (v NullableClusterOverview) IsSet() bool

func (NullableClusterOverview) MarshalJSON

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

func (*NullableClusterOverview) Set

func (*NullableClusterOverview) UnmarshalJSON

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

func (*NullableClusterOverview) Unset

func (v *NullableClusterOverview) Unset()

type NullableClusterSize

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

func NewNullableClusterSize

func NewNullableClusterSize(val *ClusterSize) *NullableClusterSize

func (NullableClusterSize) Get

func (NullableClusterSize) IsSet

func (v NullableClusterSize) IsSet() bool

func (NullableClusterSize) MarshalJSON

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

func (*NullableClusterSize) Set

func (v *NullableClusterSize) Set(val *ClusterSize)

func (*NullableClusterSize) UnmarshalJSON

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

func (*NullableClusterSize) Unset

func (v *NullableClusterSize) Unset()

type NullableConnectionIPs

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

func NewNullableConnectionIPs

func NewNullableConnectionIPs(val *ConnectionIPs) *NullableConnectionIPs

func (NullableConnectionIPs) Get

func (NullableConnectionIPs) IsSet

func (v NullableConnectionIPs) IsSet() bool

func (NullableConnectionIPs) MarshalJSON

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

func (*NullableConnectionIPs) Set

func (v *NullableConnectionIPs) Set(val *ConnectionIPs)

func (*NullableConnectionIPs) UnmarshalJSON

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

func (*NullableConnectionIPs) Unset

func (v *NullableConnectionIPs) Unset()

type NullableConnections

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

func NewNullableConnections

func NewNullableConnections(val *Connections) *NullableConnections

func (NullableConnections) Get

func (NullableConnections) IsSet

func (v NullableConnections) IsSet() bool

func (NullableConnections) MarshalJSON

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

func (*NullableConnections) Set

func (v *NullableConnections) Set(val *Connections)

func (*NullableConnections) UnmarshalJSON

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

func (*NullableConnections) Unset

func (v *NullableConnections) Unset()

type NullableCreateAllowedIP

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

func NewNullableCreateAllowedIP

func NewNullableCreateAllowedIP(val *CreateAllowedIP) *NullableCreateAllowedIP

func (NullableCreateAllowedIP) Get

func (NullableCreateAllowedIP) IsSet

func (v NullableCreateAllowedIP) IsSet() bool

func (NullableCreateAllowedIP) MarshalJSON

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

func (*NullableCreateAllowedIP) Set

func (*NullableCreateAllowedIP) UnmarshalJSON

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

func (*NullableCreateAllowedIP) Unset

func (v *NullableCreateAllowedIP) Unset()

type NullableCreateCluster

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

func NewNullableCreateCluster

func NewNullableCreateCluster(val *CreateCluster) *NullableCreateCluster

func (NullableCreateCluster) Get

func (NullableCreateCluster) IsSet

func (v NullableCreateCluster) IsSet() bool

func (NullableCreateCluster) MarshalJSON

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

func (*NullableCreateCluster) Set

func (v *NullableCreateCluster) Set(val *CreateCluster)

func (*NullableCreateCluster) UnmarshalJSON

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

func (*NullableCreateCluster) Unset

func (v *NullableCreateCluster) Unset()

type NullableCreateDatabase

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

func NewNullableCreateDatabase

func NewNullableCreateDatabase(val *CreateDatabase) *NullableCreateDatabase

func (NullableCreateDatabase) Get

func (NullableCreateDatabase) IsSet

func (v NullableCreateDatabase) IsSet() bool

func (NullableCreateDatabase) MarshalJSON

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

func (*NullableCreateDatabase) Set

func (*NullableCreateDatabase) UnmarshalJSON

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

func (*NullableCreateDatabase) Unset

func (v *NullableCreateDatabase) Unset()

type NullableDatabase

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

func NewNullableDatabase

func NewNullableDatabase(val *Database) *NullableDatabase

func (NullableDatabase) Get

func (v NullableDatabase) Get() *Database

func (NullableDatabase) IsSet

func (v NullableDatabase) IsSet() bool

func (NullableDatabase) MarshalJSON

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

func (*NullableDatabase) Set

func (v *NullableDatabase) Set(val *Database)

func (*NullableDatabase) UnmarshalJSON

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

func (*NullableDatabase) Unset

func (v *NullableDatabase) 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 NullableIntegrations

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

func NewNullableIntegrations

func NewNullableIntegrations(val *Integrations) *NullableIntegrations

func (NullableIntegrations) Get

func (NullableIntegrations) IsSet

func (v NullableIntegrations) IsSet() bool

func (NullableIntegrations) MarshalJSON

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

func (*NullableIntegrations) Set

func (v *NullableIntegrations) Set(val *Integrations)

func (*NullableIntegrations) UnmarshalJSON

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

func (*NullableIntegrations) Unset

func (v *NullableIntegrations) Unset()

type NullablePatchDatabases

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

func NewNullablePatchDatabases

func NewNullablePatchDatabases(val *PatchDatabases) *NullablePatchDatabases

func (NullablePatchDatabases) Get

func (NullablePatchDatabases) IsSet

func (v NullablePatchDatabases) IsSet() bool

func (NullablePatchDatabases) MarshalJSON

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

func (*NullablePatchDatabases) Set

func (*NullablePatchDatabases) UnmarshalJSON

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

func (*NullablePatchDatabases) Unset

func (v *NullablePatchDatabases) Unset()

type NullablePatchUser

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

func NewNullablePatchUser

func NewNullablePatchUser(val *PatchUser) *NullablePatchUser

func (NullablePatchUser) Get

func (v NullablePatchUser) Get() *PatchUser

func (NullablePatchUser) IsSet

func (v NullablePatchUser) IsSet() bool

func (NullablePatchUser) MarshalJSON

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

func (*NullablePatchUser) Set

func (v *NullablePatchUser) Set(val *PatchUser)

func (*NullablePatchUser) UnmarshalJSON

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

func (*NullablePatchUser) Unset

func (v *NullablePatchUser) Unset()

type NullablePlatform

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

func NewNullablePlatform

func NewNullablePlatform(val *Platform) *NullablePlatform

func (NullablePlatform) Get

func (v NullablePlatform) Get() *Platform

func (NullablePlatform) IsSet

func (v NullablePlatform) IsSet() bool

func (NullablePlatform) MarshalJSON

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

func (*NullablePlatform) Set

func (v *NullablePlatform) Set(val *Platform)

func (*NullablePlatform) UnmarshalJSON

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

func (*NullablePlatform) Unset

func (v *NullablePlatform) Unset()

type NullableProfile

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

func NewNullableProfile

func NewNullableProfile(val *Profile) *NullableProfile

func (NullableProfile) Get

func (v NullableProfile) Get() *Profile

func (NullableProfile) IsSet

func (v NullableProfile) IsSet() bool

func (NullableProfile) MarshalJSON

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

func (*NullableProfile) Set

func (v *NullableProfile) Set(val *Profile)

func (*NullableProfile) UnmarshalJSON

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

func (*NullableProfile) Unset

func (v *NullableProfile) 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 NullableScaleCluster

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

func NewNullableScaleCluster

func NewNullableScaleCluster(val *ScaleCluster) *NullableScaleCluster

func (NullableScaleCluster) Get

func (NullableScaleCluster) IsSet

func (v NullableScaleCluster) IsSet() bool

func (NullableScaleCluster) MarshalJSON

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

func (*NullableScaleCluster) Set

func (v *NullableScaleCluster) Set(val *ScaleCluster)

func (*NullableScaleCluster) UnmarshalJSON

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

func (*NullableScaleCluster) Unset

func (v *NullableScaleCluster) 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 NullableUpdateAllowedIP

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

func NewNullableUpdateAllowedIP

func NewNullableUpdateAllowedIP(val *UpdateAllowedIP) *NullableUpdateAllowedIP

func (NullableUpdateAllowedIP) Get

func (NullableUpdateAllowedIP) IsSet

func (v NullableUpdateAllowedIP) IsSet() bool

func (NullableUpdateAllowedIP) MarshalJSON

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

func (*NullableUpdateAllowedIP) Set

func (*NullableUpdateAllowedIP) UnmarshalJSON

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

func (*NullableUpdateAllowedIP) Unset

func (v *NullableUpdateAllowedIP) Unset()

type NullableUpdateCluster

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

func NewNullableUpdateCluster

func NewNullableUpdateCluster(val *UpdateCluster) *NullableUpdateCluster

func (NullableUpdateCluster) Get

func (NullableUpdateCluster) IsSet

func (v NullableUpdateCluster) IsSet() bool

func (NullableUpdateCluster) MarshalJSON

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

func (*NullableUpdateCluster) Set

func (v *NullableUpdateCluster) Set(val *UpdateCluster)

func (*NullableUpdateCluster) UnmarshalJSON

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

func (*NullableUpdateCluster) Unset

func (v *NullableUpdateCluster) Unset()

type NullableUpdateDatabase

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

func NewNullableUpdateDatabase

func NewNullableUpdateDatabase(val *UpdateDatabase) *NullableUpdateDatabase

func (NullableUpdateDatabase) Get

func (NullableUpdateDatabase) IsSet

func (v NullableUpdateDatabase) IsSet() bool

func (NullableUpdateDatabase) MarshalJSON

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

func (*NullableUpdateDatabase) Set

func (*NullableUpdateDatabase) UnmarshalJSON

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

func (*NullableUpdateDatabase) Unset

func (v *NullableUpdateDatabase) Unset()

type NullableUpdateUser

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

func NewNullableUpdateUser

func NewNullableUpdateUser(val *UpdateUser) *NullableUpdateUser

func (NullableUpdateUser) Get

func (v NullableUpdateUser) Get() *UpdateUser

func (NullableUpdateUser) IsSet

func (v NullableUpdateUser) IsSet() bool

func (NullableUpdateUser) MarshalJSON

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

func (*NullableUpdateUser) Set

func (v *NullableUpdateUser) Set(val *UpdateUser)

func (*NullableUpdateUser) UnmarshalJSON

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

func (*NullableUpdateUser) Unset

func (v *NullableUpdateUser) Unset()

type NullableUsageCluster

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

func NewNullableUsageCluster

func NewNullableUsageCluster(val *UsageCluster) *NullableUsageCluster

func (NullableUsageCluster) Get

func (NullableUsageCluster) IsSet

func (v NullableUsageCluster) IsSet() bool

func (NullableUsageCluster) MarshalJSON

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

func (*NullableUsageCluster) Set

func (v *NullableUsageCluster) Set(val *UsageCluster)

func (*NullableUsageCluster) UnmarshalJSON

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

func (*NullableUsageCluster) Unset

func (v *NullableUsageCluster) Unset()

type NullableUsageDatabase

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

func NewNullableUsageDatabase

func NewNullableUsageDatabase(val *UsageDatabase) *NullableUsageDatabase

func (NullableUsageDatabase) Get

func (NullableUsageDatabase) IsSet

func (v NullableUsageDatabase) IsSet() bool

func (NullableUsageDatabase) MarshalJSON

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

func (*NullableUsageDatabase) Set

func (v *NullableUsageDatabase) Set(val *UsageDatabase)

func (*NullableUsageDatabase) UnmarshalJSON

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

func (*NullableUsageDatabase) Unset

func (v *NullableUsageDatabase) Unset()

type NullableUserDatabase

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

func NewNullableUserDatabase

func NewNullableUserDatabase(val *UserDatabase) *NullableUserDatabase

func (NullableUserDatabase) Get

func (NullableUserDatabase) IsSet

func (v NullableUserDatabase) IsSet() bool

func (NullableUserDatabase) MarshalJSON

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

func (*NullableUserDatabase) Set

func (v *NullableUserDatabase) Set(val *UserDatabase)

func (*NullableUserDatabase) UnmarshalJSON

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

func (*NullableUserDatabase) Unset

func (v *NullableUserDatabase) Unset()

type NullableUserRole

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

func NewNullableUserRole

func NewNullableUserRole(val *UserRole) *NullableUserRole

func (NullableUserRole) Get

func (v NullableUserRole) Get() *UserRole

func (NullableUserRole) IsSet

func (v NullableUserRole) IsSet() bool

func (NullableUserRole) MarshalJSON

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

func (*NullableUserRole) Set

func (v *NullableUserRole) Set(val *UserRole)

func (*NullableUserRole) UnmarshalJSON

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

func (*NullableUserRole) Unset

func (v *NullableUserRole) Unset()

type NullableUserStatus

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

func NewNullableUserStatus

func NewNullableUserStatus(val *UserStatus) *NullableUserStatus

func (NullableUserStatus) Get

func (v NullableUserStatus) Get() *UserStatus

func (NullableUserStatus) IsSet

func (v NullableUserStatus) IsSet() bool

func (NullableUserStatus) MarshalJSON

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

func (*NullableUserStatus) Set

func (v *NullableUserStatus) Set(val *UserStatus)

func (*NullableUserStatus) UnmarshalJSON

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

func (*NullableUserStatus) Unset

func (v *NullableUserStatus) Unset()

type PatchDatabases

type PatchDatabases struct {
	Delete []string `json:"delete"`
	Add    []string `json:"add"`
}

PatchDatabases struct for PatchDatabases

func NewPatchDatabases

func NewPatchDatabases(delete []string, add []string) *PatchDatabases

NewPatchDatabases instantiates a new PatchDatabases 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 NewPatchDatabasesWithDefaults

func NewPatchDatabasesWithDefaults() *PatchDatabases

NewPatchDatabasesWithDefaults instantiates a new PatchDatabases 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 (*PatchDatabases) GetAdd

func (o *PatchDatabases) GetAdd() []string

GetAdd returns the Add field value

func (*PatchDatabases) GetAddOk

func (o *PatchDatabases) GetAddOk() ([]string, bool)

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

func (*PatchDatabases) GetDelete

func (o *PatchDatabases) GetDelete() []string

GetDelete returns the Delete field value

func (*PatchDatabases) GetDeleteOk

func (o *PatchDatabases) GetDeleteOk() ([]string, bool)

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

func (PatchDatabases) MarshalJSON

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

func (*PatchDatabases) SetAdd

func (o *PatchDatabases) SetAdd(v []string)

SetAdd sets field value

func (*PatchDatabases) SetDelete

func (o *PatchDatabases) SetDelete(v []string)

SetDelete sets field value

type PatchUser

type PatchUser struct {
	RoleID     *string         `json:"roleID,omitempty"`
	Databases  *PatchDatabases `json:"databases,omitempty"`
	DbUsername *string         `json:"dbUsername,omitempty"`
}

PatchUser struct for PatchUser

func NewPatchUser

func NewPatchUser() *PatchUser

NewPatchUser instantiates a new PatchUser 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 NewPatchUserWithDefaults

func NewPatchUserWithDefaults() *PatchUser

NewPatchUserWithDefaults instantiates a new PatchUser 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 (*PatchUser) GetDatabases

func (o *PatchUser) GetDatabases() PatchDatabases

GetDatabases returns the Databases field value if set, zero value otherwise.

func (*PatchUser) GetDatabasesOk

func (o *PatchUser) GetDatabasesOk() (*PatchDatabases, bool)

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

func (*PatchUser) GetDbUsername

func (o *PatchUser) GetDbUsername() string

GetDbUsername returns the DbUsername field value if set, zero value otherwise.

func (*PatchUser) GetDbUsernameOk

func (o *PatchUser) GetDbUsernameOk() (*string, bool)

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

func (*PatchUser) GetRoleID

func (o *PatchUser) GetRoleID() string

GetRoleID returns the RoleID field value if set, zero value otherwise.

func (*PatchUser) GetRoleIDOk

func (o *PatchUser) GetRoleIDOk() (*string, bool)

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

func (*PatchUser) HasDatabases

func (o *PatchUser) HasDatabases() bool

HasDatabases returns a boolean if a field has been set.

func (*PatchUser) HasDbUsername

func (o *PatchUser) HasDbUsername() bool

HasDbUsername returns a boolean if a field has been set.

func (*PatchUser) HasRoleID

func (o *PatchUser) HasRoleID() bool

HasRoleID returns a boolean if a field has been set.

func (PatchUser) MarshalJSON

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

func (*PatchUser) SetDatabases

func (o *PatchUser) SetDatabases(v PatchDatabases)

SetDatabases gets a reference to the given PatchDatabases and assigns it to the Databases field.

func (*PatchUser) SetDbUsername

func (o *PatchUser) SetDbUsername(v string)

SetDbUsername gets a reference to the given string and assigns it to the DbUsername field.

func (*PatchUser) SetRoleID

func (o *PatchUser) SetRoleID(v string)

SetRoleID gets a reference to the given string and assigns it to the RoleID field.

type Platform

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

Platform struct for Platform

func NewPlatform

func NewPlatform(id string, name string) *Platform

NewPlatform instantiates a new Platform 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 NewPlatformWithDefaults

func NewPlatformWithDefaults() *Platform

NewPlatformWithDefaults instantiates a new Platform 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 (*Platform) GetId

func (o *Platform) GetId() string

GetId returns the Id field value

func (*Platform) GetIdOk

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

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

func (*Platform) GetName

func (o *Platform) GetName() string

GetName returns the Name field value

func (*Platform) GetNameOk

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

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

func (Platform) MarshalJSON

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

func (*Platform) SetId

func (o *Platform) SetId(v string)

SetId sets field value

func (*Platform) SetName

func (o *Platform) SetName(v string)

SetName sets field value

type PlatformApiService

type PlatformApiService service

PlatformApiService PlatformApi service

func (*PlatformApiService) ListClusterSizes

func (a *PlatformApiService) ListClusterSizes(ctx context.Context, platform string) ApiListClusterSizesRequest

ListClusterSizes Get cluster sizes for platform

Get available cluster sizes for platform

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

func (*PlatformApiService) ListClusterSizesExecute

func (a *PlatformApiService) ListClusterSizesExecute(r ApiListClusterSizesRequest) ([]ClusterSize, *http.Response, error)

Execute executes the request

@return []ClusterSize

func (*PlatformApiService) ListPlatforms

ListPlatforms List platforms

Get available platforms

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

func (*PlatformApiService) ListPlatformsExecute

func (a *PlatformApiService) ListPlatformsExecute(r ApiListPlatformsRequest) ([]Platform, *http.Response, error)

Execute executes the request

@return []Platform

func (*PlatformApiService) ListRegions

func (a *PlatformApiService) ListRegions(ctx context.Context, platform string) ApiListRegionsRequest

ListRegions Get regions for platform

Get available regions for platform

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

func (*PlatformApiService) ListRegionsExecute

func (a *PlatformApiService) ListRegionsExecute(r ApiListRegionsRequest) ([]Region, *http.Response, error)

Execute executes the request

@return []Region

type Profile

type Profile struct {
	Email       string         `json:"email"`
	FirstName   *string        `json:"firstName,omitempty"`
	LastName    *string        `json:"lastName,omitempty"`
	Id          string         `json:"id"`
	CreatedAt   string         `json:"createdAt"`
	CreatedBy   string         `json:"createdBy"`
	Status      UserStatus     `json:"status"`
	Databases   []UserDatabase `json:"databases,omitempty"`
	Role        UserRole       `json:"role"`
	DbUsername  *string        `json:"dbUsername,omitempty"`
	IsDeletable bool           `json:"isDeletable"`
}

Profile struct for Profile

func NewProfile

func NewProfile(email string, id string, createdAt string, createdBy string, status UserStatus, role UserRole, isDeletable bool) *Profile

NewProfile instantiates a new Profile 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 NewProfileWithDefaults

func NewProfileWithDefaults() *Profile

NewProfileWithDefaults instantiates a new Profile 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 (*Profile) GetCreatedAt

func (o *Profile) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*Profile) GetCreatedAtOk

func (o *Profile) GetCreatedAtOk() (*string, bool)

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

func (*Profile) GetCreatedBy

func (o *Profile) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Profile) GetCreatedByOk

func (o *Profile) GetCreatedByOk() (*string, bool)

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

func (*Profile) GetDatabases

func (o *Profile) GetDatabases() []UserDatabase

GetDatabases returns the Databases field value if set, zero value otherwise.

func (*Profile) GetDatabasesOk

func (o *Profile) GetDatabasesOk() ([]UserDatabase, bool)

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

func (*Profile) GetDbUsername

func (o *Profile) GetDbUsername() string

GetDbUsername returns the DbUsername field value if set, zero value otherwise.

func (*Profile) GetDbUsernameOk

func (o *Profile) GetDbUsernameOk() (*string, bool)

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

func (*Profile) GetEmail

func (o *Profile) GetEmail() string

GetEmail returns the Email field value

func (*Profile) GetEmailOk

func (o *Profile) GetEmailOk() (*string, bool)

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

func (*Profile) GetFirstName

func (o *Profile) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*Profile) GetFirstNameOk

func (o *Profile) GetFirstNameOk() (*string, bool)

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

func (*Profile) GetId

func (o *Profile) GetId() string

GetId returns the Id field value

func (*Profile) GetIdOk

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

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

func (*Profile) GetIsDeletable

func (o *Profile) GetIsDeletable() bool

GetIsDeletable returns the IsDeletable field value

func (*Profile) GetIsDeletableOk

func (o *Profile) GetIsDeletableOk() (*bool, bool)

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

func (*Profile) GetLastName

func (o *Profile) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*Profile) GetLastNameOk

func (o *Profile) GetLastNameOk() (*string, bool)

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

func (*Profile) GetRole

func (o *Profile) GetRole() UserRole

GetRole returns the Role field value

func (*Profile) GetRoleOk

func (o *Profile) GetRoleOk() (*UserRole, bool)

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

func (*Profile) GetStatus

func (o *Profile) GetStatus() UserStatus

GetStatus returns the Status field value

func (*Profile) GetStatusOk

func (o *Profile) GetStatusOk() (*UserStatus, bool)

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

func (*Profile) HasDatabases

func (o *Profile) HasDatabases() bool

HasDatabases returns a boolean if a field has been set.

func (*Profile) HasDbUsername

func (o *Profile) HasDbUsername() bool

HasDbUsername returns a boolean if a field has been set.

func (*Profile) HasFirstName

func (o *Profile) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*Profile) HasLastName

func (o *Profile) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (Profile) MarshalJSON

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

func (*Profile) SetCreatedAt

func (o *Profile) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*Profile) SetCreatedBy

func (o *Profile) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Profile) SetDatabases

func (o *Profile) SetDatabases(v []UserDatabase)

SetDatabases gets a reference to the given []UserDatabase and assigns it to the Databases field.

func (*Profile) SetDbUsername

func (o *Profile) SetDbUsername(v string)

SetDbUsername gets a reference to the given string and assigns it to the DbUsername field.

func (*Profile) SetEmail

func (o *Profile) SetEmail(v string)

SetEmail sets field value

func (*Profile) SetFirstName

func (o *Profile) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*Profile) SetId

func (o *Profile) SetId(v string)

SetId sets field value

func (*Profile) SetIsDeletable

func (o *Profile) SetIsDeletable(v bool)

SetIsDeletable sets field value

func (*Profile) SetLastName

func (o *Profile) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*Profile) SetRole

func (o *Profile) SetRole(v UserRole)

SetRole sets field value

func (*Profile) SetStatus

func (o *Profile) SetStatus(v UserStatus)

SetStatus sets field value

type Region

type Region struct {
	Id              string  `json:"id"`
	Name            string  `json:"name"`
	PriceMultiplier float32 `json:"priceMultiplier"`
	StoragePrice    float32 `json:"storagePrice"`
}

Region struct for Region

func NewRegion

func NewRegion(id string, name string, priceMultiplier float32, storagePrice float32) *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) GetId

func (o *Region) GetId() string

GetId returns the Id field value

func (*Region) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been 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) GetPriceMultiplier

func (o *Region) GetPriceMultiplier() float32

GetPriceMultiplier returns the PriceMultiplier field value

func (*Region) GetPriceMultiplierOk

func (o *Region) GetPriceMultiplierOk() (*float32, bool)

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

func (*Region) GetStoragePrice

func (o *Region) GetStoragePrice() float32

GetStoragePrice returns the StoragePrice field value

func (*Region) GetStoragePriceOk

func (o *Region) GetStoragePriceOk() (*float32, bool)

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

func (Region) MarshalJSON

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

func (*Region) SetId

func (o *Region) SetId(v string)

SetId sets field value

func (*Region) SetName

func (o *Region) SetName(v string)

SetName sets field value

func (*Region) SetPriceMultiplier

func (o *Region) SetPriceMultiplier(v float32)

SetPriceMultiplier sets field value

func (*Region) SetStoragePrice

func (o *Region) SetStoragePrice(v float32)

SetStoragePrice sets field value

type ScaleCluster

type ScaleCluster struct {
	Size string `json:"size"`
}

ScaleCluster struct for ScaleCluster

func NewScaleCluster

func NewScaleCluster(size string) *ScaleCluster

NewScaleCluster instantiates a new ScaleCluster 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 NewScaleClusterWithDefaults

func NewScaleClusterWithDefaults() *ScaleCluster

NewScaleClusterWithDefaults instantiates a new ScaleCluster 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 (*ScaleCluster) GetSize

func (o *ScaleCluster) GetSize() string

GetSize returns the Size field value

func (*ScaleCluster) GetSizeOk

func (o *ScaleCluster) GetSizeOk() (*string, bool)

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

func (ScaleCluster) MarshalJSON

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

func (*ScaleCluster) SetSize

func (o *ScaleCluster) SetSize(v string)

SetSize sets field value

type SecurityApiService

type SecurityApiService service

SecurityApiService SecurityApi service

func (*SecurityApiService) AddAllowedIP

func (a *SecurityApiService) AddAllowedIP(ctx context.Context, accountID string) ApiAddAllowedIPRequest

AddAllowedIP Add security rule (CIDR)

Add security rule to allow access from CIDR

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

func (*SecurityApiService) AddAllowedIPExecute

func (a *SecurityApiService) AddAllowedIPExecute(r ApiAddAllowedIPRequest) (*AllowedIP, *http.Response, error)

Execute executes the request

@return AllowedIP

func (*SecurityApiService) DeleteAllowedIP

func (a *SecurityApiService) DeleteAllowedIP(ctx context.Context, accountID string, iD string) ApiDeleteAllowedIPRequest

DeleteAllowedIP Delete security rule (CIDR)

Delete security rule (CIDR). No access to database possible after deletion from CIDR

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param iD ID of rule
@return ApiDeleteAllowedIPRequest

func (*SecurityApiService) DeleteAllowedIPExecute

func (a *SecurityApiService) DeleteAllowedIPExecute(r ApiDeleteAllowedIPRequest) (*http.Response, error)

Execute executes the request

func (*SecurityApiService) GetAllowedIP

func (a *SecurityApiService) GetAllowedIP(ctx context.Context, accountID string, iD string) ApiGetAllowedIPRequest

GetAllowedIP Get security rule (CIDR)

Get security rule (CIDR)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param iD ID of rule
@return ApiGetAllowedIPRequest

func (*SecurityApiService) GetAllowedIPExecute

func (a *SecurityApiService) GetAllowedIPExecute(r ApiGetAllowedIPRequest) (*AllowedIP, *http.Response, error)

Execute executes the request

@return AllowedIP

func (*SecurityApiService) ListAllowedIPs

func (a *SecurityApiService) ListAllowedIPs(ctx context.Context, accountID string) ApiListAllowedIPsRequest

ListAllowedIPs List security rules (CIDR)

List security rules (CIDR)

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

func (*SecurityApiService) ListAllowedIPsExecute

func (a *SecurityApiService) ListAllowedIPsExecute(r ApiListAllowedIPsRequest) ([]AllowedIP, *http.Response, error)

Execute executes the request

@return []AllowedIP

func (*SecurityApiService) UpdateAllowedIP

func (a *SecurityApiService) UpdateAllowedIP(ctx context.Context, accountID string, iD string) ApiUpdateAllowedIPRequest

UpdateAllowedIP Update security rule (CIDR)

Update security rule (CIDR)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param iD ID of rule
@return ApiUpdateAllowedIPRequest

func (*SecurityApiService) UpdateAllowedIPExecute

func (a *SecurityApiService) UpdateAllowedIPExecute(r ApiUpdateAllowedIPRequest) (*http.Response, error)

Execute executes the request

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 Status

type Status string

Status the model 'Status'

const (
	TODELETE    Status = "todelete"
	TOSTART     Status = "tostart"
	TOCREATE    Status = "tocreate"
	TOSTOP      Status = "tostop"
	CREATING    Status = "creating"
	STARTING    Status = "starting"
	RUNNING     Status = "running"
	STOPPING    Status = "stopping"
	STOPPED     Status = "stopped"
	ERROR       Status = "error"
	MAINTENANCE Status = "maintenance"
	DELETING    Status = "deleting"
	DELETED     Status = "deleted"
)

List of Status

func NewStatusFromValue

func NewStatusFromValue(v string) (*Status, error)

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

func (Status) IsValid

func (v Status) IsValid() bool

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

func (Status) Ptr

func (v Status) Ptr() *Status

Ptr returns reference to Status value

func (*Status) UnmarshalJSON

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

type UpdateAllowedIP

type UpdateAllowedIP struct {
	Name   string `json:"name"`
	CidrIp string `json:"cidrIp"`
}

UpdateAllowedIP struct for UpdateAllowedIP

func NewUpdateAllowedIP

func NewUpdateAllowedIP(name string, cidrIp string) *UpdateAllowedIP

NewUpdateAllowedIP instantiates a new UpdateAllowedIP 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 NewUpdateAllowedIPWithDefaults

func NewUpdateAllowedIPWithDefaults() *UpdateAllowedIP

NewUpdateAllowedIPWithDefaults instantiates a new UpdateAllowedIP 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 (*UpdateAllowedIP) GetCidrIp

func (o *UpdateAllowedIP) GetCidrIp() string

GetCidrIp returns the CidrIp field value

func (*UpdateAllowedIP) GetCidrIpOk

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

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

func (*UpdateAllowedIP) GetName

func (o *UpdateAllowedIP) GetName() string

GetName returns the Name field value

func (*UpdateAllowedIP) GetNameOk

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

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

func (UpdateAllowedIP) MarshalJSON

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

func (*UpdateAllowedIP) SetCidrIp

func (o *UpdateAllowedIP) SetCidrIp(v string)

SetCidrIp sets field value

func (*UpdateAllowedIP) SetName

func (o *UpdateAllowedIP) SetName(v string)

SetName sets field value

type UpdateCluster

type UpdateCluster struct {
	Name     string    `json:"name"`
	AutoStop *AutoStop `json:"autoStop,omitempty"`
}

UpdateCluster struct for UpdateCluster

func NewUpdateCluster

func NewUpdateCluster(name string) *UpdateCluster

NewUpdateCluster instantiates a new UpdateCluster 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 NewUpdateClusterWithDefaults

func NewUpdateClusterWithDefaults() *UpdateCluster

NewUpdateClusterWithDefaults instantiates a new UpdateCluster 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 (*UpdateCluster) GetAutoStop

func (o *UpdateCluster) GetAutoStop() AutoStop

GetAutoStop returns the AutoStop field value if set, zero value otherwise.

func (*UpdateCluster) GetAutoStopOk

func (o *UpdateCluster) GetAutoStopOk() (*AutoStop, bool)

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

func (*UpdateCluster) GetName

func (o *UpdateCluster) GetName() string

GetName returns the Name field value

func (*UpdateCluster) GetNameOk

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

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

func (*UpdateCluster) HasAutoStop

func (o *UpdateCluster) HasAutoStop() bool

HasAutoStop returns a boolean if a field has been set.

func (UpdateCluster) MarshalJSON

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

func (*UpdateCluster) SetAutoStop

func (o *UpdateCluster) SetAutoStop(v AutoStop)

SetAutoStop gets a reference to the given AutoStop and assigns it to the AutoStop field.

func (*UpdateCluster) SetName

func (o *UpdateCluster) SetName(v string)

SetName sets field value

type UpdateDatabase

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

UpdateDatabase struct for UpdateDatabase

func NewUpdateDatabase

func NewUpdateDatabase(name string) *UpdateDatabase

NewUpdateDatabase instantiates a new UpdateDatabase 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 NewUpdateDatabaseWithDefaults

func NewUpdateDatabaseWithDefaults() *UpdateDatabase

NewUpdateDatabaseWithDefaults instantiates a new UpdateDatabase 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 (*UpdateDatabase) GetName

func (o *UpdateDatabase) GetName() string

GetName returns the Name field value

func (*UpdateDatabase) GetNameOk

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

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

func (UpdateDatabase) MarshalJSON

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

func (*UpdateDatabase) SetName

func (o *UpdateDatabase) SetName(v string)

SetName sets field value

type UpdateUser

type UpdateUser struct {
	RoleID     *string  `json:"roleID,omitempty"`
	Databases  []string `json:"databases,omitempty"`
	DbUsername string   `json:"dbUsername"`
}

UpdateUser struct for UpdateUser

func NewUpdateUser

func NewUpdateUser(dbUsername string) *UpdateUser

NewUpdateUser instantiates a new UpdateUser 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 NewUpdateUserWithDefaults

func NewUpdateUserWithDefaults() *UpdateUser

NewUpdateUserWithDefaults instantiates a new UpdateUser 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 (*UpdateUser) GetDatabases

func (o *UpdateUser) GetDatabases() []string

GetDatabases returns the Databases field value if set, zero value otherwise.

func (*UpdateUser) GetDatabasesOk

func (o *UpdateUser) GetDatabasesOk() ([]string, bool)

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

func (*UpdateUser) GetDbUsername

func (o *UpdateUser) GetDbUsername() string

GetDbUsername returns the DbUsername field value

func (*UpdateUser) GetDbUsernameOk

func (o *UpdateUser) GetDbUsernameOk() (*string, bool)

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

func (*UpdateUser) GetRoleID

func (o *UpdateUser) GetRoleID() string

GetRoleID returns the RoleID field value if set, zero value otherwise.

func (*UpdateUser) GetRoleIDOk

func (o *UpdateUser) GetRoleIDOk() (*string, bool)

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

func (*UpdateUser) HasDatabases

func (o *UpdateUser) HasDatabases() bool

HasDatabases returns a boolean if a field has been set.

func (*UpdateUser) HasRoleID

func (o *UpdateUser) HasRoleID() bool

HasRoleID returns a boolean if a field has been set.

func (UpdateUser) MarshalJSON

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

func (*UpdateUser) SetDatabases

func (o *UpdateUser) SetDatabases(v []string)

SetDatabases gets a reference to the given []string and assigns it to the Databases field.

func (*UpdateUser) SetDbUsername

func (o *UpdateUser) SetDbUsername(v string)

SetDbUsername sets field value

func (*UpdateUser) SetRoleID

func (o *UpdateUser) SetRoleID(v string)

SetRoleID gets a reference to the given string and assigns it to the RoleID field.

type UsageApiService

type UsageApiService service

UsageApiService UsageApi service

func (*UsageApiService) GetUsage

func (a *UsageApiService) GetUsage(ctx context.Context, accountID string) ApiGetUsageRequest

GetUsage Get usage

Show usage for one month

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

func (*UsageApiService) GetUsageExecute

func (a *UsageApiService) GetUsageExecute(r ApiGetUsageRequest) (*map[string][]UsageDatabase, *http.Response, error)

Execute executes the request

@return map[string][]UsageDatabase

type UsageCluster

type UsageCluster struct {
	Id                 string   `json:"id"`
	Size               string   `json:"size"`
	Name               string   `json:"name"`
	Compute            *float32 `json:"compute,omitempty"`
	OutSameRegion      *float32 `json:"outSameRegion,omitempty"`
	OutDifferentRegion *float32 `json:"outDifferentRegion,omitempty"`
	OutInternet        *float32 `json:"outInternet,omitempty"`
}

UsageCluster struct for UsageCluster

func NewUsageCluster

func NewUsageCluster(id string, size string, name string) *UsageCluster

NewUsageCluster instantiates a new UsageCluster 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 NewUsageClusterWithDefaults

func NewUsageClusterWithDefaults() *UsageCluster

NewUsageClusterWithDefaults instantiates a new UsageCluster 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 (*UsageCluster) GetCompute

func (o *UsageCluster) GetCompute() float32

GetCompute returns the Compute field value if set, zero value otherwise.

func (*UsageCluster) GetComputeOk

func (o *UsageCluster) GetComputeOk() (*float32, bool)

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

func (*UsageCluster) GetId

func (o *UsageCluster) GetId() string

GetId returns the Id field value

func (*UsageCluster) GetIdOk

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

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

func (*UsageCluster) GetName

func (o *UsageCluster) GetName() string

GetName returns the Name field value

func (*UsageCluster) GetNameOk

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

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

func (*UsageCluster) GetOutDifferentRegion

func (o *UsageCluster) GetOutDifferentRegion() float32

GetOutDifferentRegion returns the OutDifferentRegion field value if set, zero value otherwise.

func (*UsageCluster) GetOutDifferentRegionOk

func (o *UsageCluster) GetOutDifferentRegionOk() (*float32, bool)

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

func (*UsageCluster) GetOutInternet

func (o *UsageCluster) GetOutInternet() float32

GetOutInternet returns the OutInternet field value if set, zero value otherwise.

func (*UsageCluster) GetOutInternetOk

func (o *UsageCluster) GetOutInternetOk() (*float32, bool)

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

func (*UsageCluster) GetOutSameRegion

func (o *UsageCluster) GetOutSameRegion() float32

GetOutSameRegion returns the OutSameRegion field value if set, zero value otherwise.

func (*UsageCluster) GetOutSameRegionOk

func (o *UsageCluster) GetOutSameRegionOk() (*float32, bool)

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

func (*UsageCluster) GetSize

func (o *UsageCluster) GetSize() string

GetSize returns the Size field value

func (*UsageCluster) GetSizeOk

func (o *UsageCluster) GetSizeOk() (*string, bool)

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

func (*UsageCluster) HasCompute

func (o *UsageCluster) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*UsageCluster) HasOutDifferentRegion

func (o *UsageCluster) HasOutDifferentRegion() bool

HasOutDifferentRegion returns a boolean if a field has been set.

func (*UsageCluster) HasOutInternet

func (o *UsageCluster) HasOutInternet() bool

HasOutInternet returns a boolean if a field has been set.

func (*UsageCluster) HasOutSameRegion

func (o *UsageCluster) HasOutSameRegion() bool

HasOutSameRegion returns a boolean if a field has been set.

func (UsageCluster) MarshalJSON

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

func (*UsageCluster) SetCompute

func (o *UsageCluster) SetCompute(v float32)

SetCompute gets a reference to the given float32 and assigns it to the Compute field.

func (*UsageCluster) SetId

func (o *UsageCluster) SetId(v string)

SetId sets field value

func (*UsageCluster) SetName

func (o *UsageCluster) SetName(v string)

SetName sets field value

func (*UsageCluster) SetOutDifferentRegion

func (o *UsageCluster) SetOutDifferentRegion(v float32)

SetOutDifferentRegion gets a reference to the given float32 and assigns it to the OutDifferentRegion field.

func (*UsageCluster) SetOutInternet

func (o *UsageCluster) SetOutInternet(v float32)

SetOutInternet gets a reference to the given float32 and assigns it to the OutInternet field.

func (*UsageCluster) SetOutSameRegion

func (o *UsageCluster) SetOutSameRegion(v float32)

SetOutSameRegion gets a reference to the given float32 and assigns it to the OutSameRegion field.

func (*UsageCluster) SetSize

func (o *UsageCluster) SetSize(v string)

SetSize sets field value

type UsageDatabase

type UsageDatabase struct {
	Id          string         `json:"id"`
	Name        string         `json:"name"`
	UsedStorage *float32       `json:"usedStorage,omitempty"`
	Clusters    []UsageCluster `json:"clusters"`
}

UsageDatabase struct for UsageDatabase

func NewUsageDatabase

func NewUsageDatabase(id string, name string, clusters []UsageCluster) *UsageDatabase

NewUsageDatabase instantiates a new UsageDatabase 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 NewUsageDatabaseWithDefaults

func NewUsageDatabaseWithDefaults() *UsageDatabase

NewUsageDatabaseWithDefaults instantiates a new UsageDatabase 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 (*UsageDatabase) GetClusters

func (o *UsageDatabase) GetClusters() []UsageCluster

GetClusters returns the Clusters field value

func (*UsageDatabase) GetClustersOk

func (o *UsageDatabase) GetClustersOk() ([]UsageCluster, bool)

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

func (*UsageDatabase) GetId

func (o *UsageDatabase) GetId() string

GetId returns the Id field value

func (*UsageDatabase) GetIdOk

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

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

func (*UsageDatabase) GetName

func (o *UsageDatabase) GetName() string

GetName returns the Name field value

func (*UsageDatabase) GetNameOk

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

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

func (*UsageDatabase) GetUsedStorage

func (o *UsageDatabase) GetUsedStorage() float32

GetUsedStorage returns the UsedStorage field value if set, zero value otherwise.

func (*UsageDatabase) GetUsedStorageOk

func (o *UsageDatabase) GetUsedStorageOk() (*float32, bool)

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

func (*UsageDatabase) HasUsedStorage

func (o *UsageDatabase) HasUsedStorage() bool

HasUsedStorage returns a boolean if a field has been set.

func (UsageDatabase) MarshalJSON

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

func (*UsageDatabase) SetClusters

func (o *UsageDatabase) SetClusters(v []UsageCluster)

SetClusters sets field value

func (*UsageDatabase) SetId

func (o *UsageDatabase) SetId(v string)

SetId sets field value

func (*UsageDatabase) SetName

func (o *UsageDatabase) SetName(v string)

SetName sets field value

func (*UsageDatabase) SetUsedStorage

func (o *UsageDatabase) SetUsedStorage(v float32)

SetUsedStorage gets a reference to the given float32 and assigns it to the UsedStorage field.

type UserDatabase

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

UserDatabase struct for UserDatabase

func NewUserDatabase

func NewUserDatabase(id string, name string) *UserDatabase

NewUserDatabase instantiates a new UserDatabase 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 NewUserDatabaseWithDefaults

func NewUserDatabaseWithDefaults() *UserDatabase

NewUserDatabaseWithDefaults instantiates a new UserDatabase 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 (*UserDatabase) GetId

func (o *UserDatabase) GetId() string

GetId returns the Id field value

func (*UserDatabase) GetIdOk

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

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

func (*UserDatabase) GetName

func (o *UserDatabase) GetName() string

GetName returns the Name field value

func (*UserDatabase) GetNameOk

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

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

func (UserDatabase) MarshalJSON

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

func (*UserDatabase) SetId

func (o *UserDatabase) SetId(v string)

SetId sets field value

func (*UserDatabase) SetName

func (o *UserDatabase) SetName(v string)

SetName sets field value

type UserRole

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

UserRole struct for UserRole

func NewUserRole

func NewUserRole(id string, name string) *UserRole

NewUserRole instantiates a new UserRole 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 NewUserRoleWithDefaults

func NewUserRoleWithDefaults() *UserRole

NewUserRoleWithDefaults instantiates a new UserRole 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 (*UserRole) GetId

func (o *UserRole) GetId() string

GetId returns the Id field value

func (*UserRole) GetIdOk

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

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

func (*UserRole) GetName

func (o *UserRole) GetName() string

GetName returns the Name field value

func (*UserRole) GetNameOk

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

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

func (UserRole) MarshalJSON

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

func (*UserRole) SetId

func (o *UserRole) SetId(v string)

SetId sets field value

func (*UserRole) SetName

func (o *UserRole) SetName(v string)

SetName sets field value

type UserStatus

type UserStatus string

UserStatus the model 'UserStatus'

const (
	ACTIVE      UserStatus = "active"
	DEACTIVATED UserStatus = "deactivated"
	PENDING     UserStatus = "pending"
)

List of UserStatus

func NewUserStatusFromValue

func NewUserStatusFromValue(v string) (*UserStatus, error)

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

func (UserStatus) IsValid

func (v UserStatus) IsValid() bool

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

func (UserStatus) Ptr

func (v UserStatus) Ptr() *UserStatus

Ptr returns reference to UserStatus value

func (*UserStatus) UnmarshalJSON

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

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) DeleteUser

func (a *UsersApiService) DeleteUser(ctx context.Context, accountID string, userID string) ApiDeleteUserRequest

DeleteUser Remove user

Remove user from account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param userID User ID
@return ApiDeleteUserRequest

func (*UsersApiService) DeleteUserExecute

func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) ListUsers

func (a *UsersApiService) ListUsers(ctx context.Context, accountID string) ApiListUsersRequest

ListUsers List users

List users for account

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

func (*UsersApiService) ListUsersExecute

func (a *UsersApiService) ListUsersExecute(r ApiListUsersRequest) ([]Profile, *http.Response, error)

Execute executes the request

@return []Profile

func (*UsersApiService) PatchUser

func (a *UsersApiService) PatchUser(ctx context.Context, accountID string, userID string) ApiPatchUserRequest

PatchUser Patch user

Patch user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param userID User ID
@return ApiPatchUserRequest

func (*UsersApiService) PatchUserExecute

func (a *UsersApiService) PatchUserExecute(r ApiPatchUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) UpdateUser

func (a *UsersApiService) UpdateUser(ctx context.Context, accountID string, userID string) ApiUpdateUserRequest

UpdateUser Update user

Update user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountID Account ID
@param userID User ID
@return ApiUpdateUserRequest

func (*UsersApiService) UpdateUserExecute

func (a *UsersApiService) UpdateUserExecute(r ApiUpdateUserRequest) (*http.Response, error)

Execute executes the request

Jump to

Keyboard shortcuts

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