sqlserver

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 19 Imported by: 2

README

Go API client for sqlserver

OSSCP Scp-dbaas Project

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: 0.0.1.dev2181
  • Package version: 1.0.0
  • Generator version: 7.10.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/net/context

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

import sqlserver "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 sqlserver.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), sqlserver.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 sqlserver.ContextOperationServerIndices and sqlserver.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
SqlserverV1SqlserverAuditlogApiAPI SqlserverSetAuditLog Put /v1/clusters/{cluster_id}/audit-log Set Audit Log
SqlserverV1SqlserverBackupApiAPI SqlserverListBackupHistories Get /v1/clusters/{cluster_id}/backup-histories List Backup Histories
SqlserverV1SqlserverBackupApiAPI SqlserverRemoveBackupHistories Put /v1/clusters/{cluster_id}/backup-histories Remove Backup Histories
SqlserverV1SqlserverBackupApiAPI SqlserverSetBackup Post /v1/clusters/{cluster_id}/backups Set Backup
SqlserverV1SqlserverBackupApiAPI SqlserverUnsetBackup Delete /v1/clusters/{cluster_id}/backups Unset Backup
SqlserverV1SqlserverClustersApiAPI SqlserverAddSecondary Post /v1/clusters/{cluster_id}/add-secondary Add Secondary
SqlserverV1SqlserverClustersApiAPI SqlserverCreateCluster Post /v1/clusters Create Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverCreateRestore Post /v1/clusters/{cluster_id}/restore Create Restore Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverDeleteCluster Delete /v1/clusters/{cluster_id} Terminate Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverListClusters Get /v1/clusters List Clusters
SqlserverV1SqlserverClustersApiAPI SqlserverRestartCluster Post /v1/clusters/{cluster_id}/restart Restart Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverShowCluster Get /v1/clusters/{cluster_id} Show Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverStartCluster Post /v1/clusters/{cluster_id}/start Start Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverStopCluster Post /v1/clusters/{cluster_id}/stop Stop Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverSwitchoverCluster Post /v1/clusters/{cluster_id}/switchover Switchover Cluster
SqlserverV1SqlserverClustersApiAPI SqlserverSyncClusterState Post /v1/clusters/{cluster_id}/sync-state Synchronize Cluster State
SqlserverV1SqlserverConsoleApiAPI SqlserverListDatabaseUsers Get /v1/console/clusters/{cluster_id}/database-users List DataBase Users
SqlserverV1SqlserverConsoleApiAPI SqlserverSetDatabaseUsers Put /v1/console/clusters/{cluster_id}/database-users Set DataBase Users
SqlserverV1SqlserverConsoleApiAPI SqlserverSyncDatabaseUsers Post /v1/console/clusters/{cluster_id}/database-users/sync Synchronize DataBase Users
SqlserverV1SqlserverDatabasesApiAPI SqlserverSetDatabases Post /v1/clusters/{cluster_id}/databases Add/Remove Databases
SqlserverV1SqlserverInstancesApiAPI SqlserverAddBlockStorages Post /v1/instance-groups/{instance_group_id}/block-storage-groups Add Block Storages
SqlserverV1SqlserverInstancesApiAPI SqlserverSetBlockStorageSize Post /v1/block-storage-groups/{block_storage_group_id}/resize Set Block Storage Size
SqlserverV1SqlserverInstancesApiAPI SqlserverSetSecurityGroupRules Post /v1/clusters/{cluster_id}/security-group-rules Set Security Group Rules
SqlserverV1SqlserverInstancesApiAPI SqlserverSetServerType Post /v1/instance-groups/{instance_group_id}/resize Set Server Type
SqlserverV1SqlserverLogExportApiAPI SqlserverExportLog Post /v1/clusters/{cluster_id}/log-export-configs/{log_type}/export Export Log
SqlserverV1SqlserverLogExportApiAPI SqlserverListLogExportConfigs Get /v1/clusters/{cluster_id}/log-export-configs List Log Export Configs
SqlserverV1SqlserverLogExportApiAPI SqlserverRegisterLogExportConfig Post /v1/clusters/{cluster_id}/log-export-configs Register Log Export Config
SqlserverV1SqlserverLogExportApiAPI SqlserverSetLogExportConfig Put /v1/clusters/{cluster_id}/log-export-configs/{log_type} Set Log Export Config
SqlserverV1SqlserverLogExportApiAPI SqlserverUnregisterLogExportConfig Delete /v1/clusters/{cluster_id}/log-export-configs/{log_type} Unregister Log Export Config
SqlserverV1SqlserverMaintenanceApiAPI SqlserverSetMaintenance Post /v1/clusters/{cluster_id}/maintenance Set Maintenance
SqlserverV1SqlserverMaintenanceApiAPI SqlserverUnsetMaintenance Delete /v1/clusters/{cluster_id}/maintenance Unset Maintenance
SqlserverV1SqlserverMasterDataApiAPI SqlserverListEngineVersionProperties Get /v1/engine-versions/{dbaas_engine_version_id}/properties List Engine Version Properties
SqlserverV1SqlserverMasterDataApiAPI SqlserverListEngineVersions Get /v1/engine-versions List Engine Versions
SqlserverV1SqlserverMasterDataApiAPI SqlserverListParameterGroups Get /v1/parameter-groups List Parameter Groups
SqlserverV1SqlserverMasterDataApiAPI SqlserverListParameters Get /v1/parameters List Parameters
SqlserverV1SqlserverMasterDataApiAPI SqlserverListServerTypes Get /v1/server-types List Server Types
SqlserverV1SqlserverMasterDataApiAPI SqlserverShowRequest Get /v1/requests/{request_id} Show Request
SqlserverV1SqlserverMinorPatchApiAPI SqlserverPatchMinorVersion Put /v1/clusters/{cluster_id}/patch Patch Minor Version
SqlserverV1SqlserverParametersApiAPI SqlserverListParameterValues Get /v1/clusters/{cluster_id}/parameters List Parameter Values
SqlserverV1SqlserverParametersApiAPI SqlserverSetParameterValues Put /v1/clusters/{cluster_id}/parameters Set Parameter Values
SqlserverV1SqlserverParametersApiAPI SqlserverSyncParameterValues Post /v1/clusters/{cluster_id}/parameters/sync Synchronize Parameter Values

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

X-Auth-Token
  • Type: API key
  • API key parameter name: X-Auth-Token
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-Auth-Token and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sqlserver.ContextAPIKeys,
		map[string]sqlserver.APIKey{
			"X-Auth-Token": {Key: "API_KEY_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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextSCP takes an Access Key and a Secret Key for signing SCP
	ContextSCP = contextKey("scpCredential")

	// 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 AllowedBlockStorageGroupRoleTypeEnumValues = []BlockStorageGroupRoleType{
	"OS",
	"DATA",
	"ARCHIVE",
	"TEMP",
	"BACKUP",
}

All allowed values of BlockStorageGroupRoleType enum

View Source
var AllowedClusterRoleTypeEnumValues = []ClusterRoleType{
	"ORIGIN",
	"REPLICA",
	"RECOVERY",
	"SECONDARY",
	"MIGRATION",
}

All allowed values of ClusterRoleType enum

View Source
var AllowedDatabaseUserStateEnumValues = []DatabaseUserState{
	"Lock",
	"UnLock",
}

All allowed values of DatabaseUserState enum

View Source
var AllowedDayOfWeekEnumValues = []DayOfWeek{
	"MON",
	"TUE",
	"WED",
	"THU",
	"FRI",
	"SAT",
	"SUN",
}

All allowed values of DayOfWeek enum

View Source
var AllowedDbCollationEnumValues = []DbCollation{
	"SQL_Latin1_General_CP1_CI_AS",
	"Korean_Wansung_CS_AS",
	"Chinese_PRC_CI_AS",
}

All allowed values of DbCollation enum

View Source
var AllowedInstanceGroupRoleTypeEnumValues = []InstanceGroupRoleType{
	"ACTIVE",
	"ACTIVE_STANDBY",
	"PRIMARY_SECONDARY",
	"MASTER",
	"MASTER_REPLICA",
	"REPLICA",
	"SENTINEL",
	"MASTER_DATA",
	"DATA",
	"KIBANA",
	"DASHBOARDS",
	"ZOOKEEPER_BROKER",
	"BROKER",
	"ZOOKEEPER",
	"AKHQ",
	"CONSOLE",
}

All allowed values of InstanceGroupRoleType enum

View Source
var AllowedInstanceRoleTypeEnumValues = []InstanceRoleType{
	"ACTIVE",
	"STANDBY",
	"PRIMARY",
	"SECONDARY",
	"MASTER",
	"REPLICA",
	"SENTINEL",
	"MASTER_DATA",
	"DATA",
	"KIBANA",
	"DASHBOARDS",
	"ZOOKEEPER_BROKER",
	"BROKER",
	"ZOOKEEPER",
	"AKHQ",
	"CONSOLE",
}

All allowed values of InstanceRoleType enum

View Source
var AllowedLogTypeEnumValues = []LogType{
	"alert",
	"audit",
	"slow",
}

All allowed values of LogType enum

View Source
var AllowedProductImageTypeEnumValues = []ProductImageType{
	"PostgreSQL Community",
	"MariaDB Community",
	"MySQL Community",
	"EPAS",
	"Microsoft SQL Server Enterprise",
	"Microsoft SQL Server Standard",
	"Redis OSS Sentinel",
	"Valkey Sentinel",
	"Kafka",
	"Elasticsearch Enterprise",
	"OpenSearch",
	"Vertica Enterprise",
	"Vertica Community",
}

All allowed values of ProductImageType enum

View Source
var AllowedProductTypeEnumValues = []ProductType{
	"QOS",
	"PostgreSQL Community",
	"EPAS",
	"MariaDB",
	"MySQL",
	"Redis",
	"Microsoft SQL Server",
	"Search Engine",
	"Event Streams",
	"Vertica",
}

All allowed values of ProductType enum

View Source
var AllowedServiceStateEnumValues = []ServiceState{
	"RUNNING",
	"STOPPED",
	"UNKNOWN",
	"ERROR",
	"FAILED",
	"TERMINATED",
	"CREATING",
	"STOPPING",
	"STARTING",
	"RESTARTING",
	"EDITING",
	"SYNCHRONIZING",
	"UPGRADING",
	"TERMINATING",
	"MIGRATING",
}

All allowed values of ServiceState enum

View Source
var AllowedVolumeTypeEnumValues = []VolumeType{
	"SSD",
	"SSD_KMS",
	"HDD",
	"HDD_KMS",
}

All allowed values of VolumeType enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	SqlserverV1SqlserverAuditlogApiAPI *SqlserverV1SqlserverAuditlogApiAPIService

	SqlserverV1SqlserverBackupApiAPI *SqlserverV1SqlserverBackupApiAPIService

	SqlserverV1SqlserverClustersApiAPI *SqlserverV1SqlserverClustersApiAPIService

	SqlserverV1SqlserverConsoleApiAPI *SqlserverV1SqlserverConsoleApiAPIService

	SqlserverV1SqlserverDatabasesApiAPI *SqlserverV1SqlserverDatabasesApiAPIService

	SqlserverV1SqlserverInstancesApiAPI *SqlserverV1SqlserverInstancesApiAPIService

	SqlserverV1SqlserverLogExportApiAPI *SqlserverV1SqlserverLogExportApiAPIService

	SqlserverV1SqlserverMaintenanceApiAPI *SqlserverV1SqlserverMaintenanceApiAPIService

	SqlserverV1SqlserverMasterDataApiAPI *SqlserverV1SqlserverMasterDataApiAPIService

	SqlserverV1SqlserverMinorPatchApiAPI *SqlserverV1SqlserverMinorPatchApiAPIService

	SqlserverV1SqlserverParametersApiAPI *SqlserverV1SqlserverParametersApiAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the OSSCP Scp-dbaas Project API v0.0.1.dev2181 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *scpsdk.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() *scpsdk.Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AsyncResponse

type AsyncResponse struct {
	// Request ID
	RequestId string `json:"request_id"`
	// Resource
	Resource ResourceInfo `json:"resource"`
}

AsyncResponse struct for AsyncResponse

func NewAsyncResponse

func NewAsyncResponse(requestId string, resource ResourceInfo) *AsyncResponse

NewAsyncResponse instantiates a new AsyncResponse 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 NewAsyncResponseWithDefaults

func NewAsyncResponseWithDefaults() *AsyncResponse

NewAsyncResponseWithDefaults instantiates a new AsyncResponse 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 (*AsyncResponse) GetRequestId

func (o *AsyncResponse) GetRequestId() string

GetRequestId returns the RequestId field value

func (*AsyncResponse) GetRequestIdOk

func (o *AsyncResponse) GetRequestIdOk() (*string, bool)

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

func (*AsyncResponse) GetResource

func (o *AsyncResponse) GetResource() ResourceInfo

GetResource returns the Resource field value

func (*AsyncResponse) GetResourceOk

func (o *AsyncResponse) GetResourceOk() (*ResourceInfo, bool)

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

func (AsyncResponse) MarshalJSON

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

func (*AsyncResponse) SetRequestId

func (o *AsyncResponse) SetRequestId(v string)

SetRequestId sets field value

func (*AsyncResponse) SetResource

func (o *AsyncResponse) SetResource(v ResourceInfo)

SetResource sets field value

func (AsyncResponse) ToMap

func (o AsyncResponse) ToMap() (map[string]interface{}, error)

func (*AsyncResponse) UnmarshalJSON

func (o *AsyncResponse) UnmarshalJSON(data []byte) (err error)

type AuditLogRequest

type AuditLogRequest struct {
	// use_audit_log
	UseAuditLog bool `json:"use_audit_log"`
}

AuditLogRequest struct for AuditLogRequest

func NewAuditLogRequest

func NewAuditLogRequest(useAuditLog bool) *AuditLogRequest

NewAuditLogRequest instantiates a new AuditLogRequest 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 NewAuditLogRequestWithDefaults

func NewAuditLogRequestWithDefaults() *AuditLogRequest

NewAuditLogRequestWithDefaults instantiates a new AuditLogRequest 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 (*AuditLogRequest) GetUseAuditLog

func (o *AuditLogRequest) GetUseAuditLog() bool

GetUseAuditLog returns the UseAuditLog field value

func (*AuditLogRequest) GetUseAuditLogOk

func (o *AuditLogRequest) GetUseAuditLogOk() (*bool, bool)

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

func (AuditLogRequest) MarshalJSON

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

func (*AuditLogRequest) SetUseAuditLog

func (o *AuditLogRequest) SetUseAuditLog(v bool)

SetUseAuditLog sets field value

func (AuditLogRequest) ToMap

func (o AuditLogRequest) ToMap() (map[string]interface{}, error)

func (*AuditLogRequest) UnmarshalJSON

func (o *AuditLogRequest) UnmarshalJSON(data []byte) (err error)

type BackupHistoryApiItem

type BackupHistoryApiItem struct {
	// Backup end time
	BackupEndAt string `json:"backup_end_at"`
	// Backup id
	BackupHistoryNumber string `json:"backup_history_number"`
	// Backup amount(GB)
	BackupSizeGb float32 `json:"backup_size_gb"`
	// Backup start time
	BackupStartAt string `json:"backup_start_at"`
	// Backup state
	BackupState       string         `json:"backup_state"`
	BackupStateDetail NullableString `json:"backup_state_detail,omitempty"`
	// Software version
	SoftwareVersion string `json:"software_version"`
}

BackupHistoryApiItem struct for BackupHistoryApiItem

func NewBackupHistoryApiItem

func NewBackupHistoryApiItem(backupEndAt string, backupHistoryNumber string, backupSizeGb float32, backupStartAt string, backupState string, softwareVersion string) *BackupHistoryApiItem

NewBackupHistoryApiItem instantiates a new BackupHistoryApiItem 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 NewBackupHistoryApiItemWithDefaults

func NewBackupHistoryApiItemWithDefaults() *BackupHistoryApiItem

NewBackupHistoryApiItemWithDefaults instantiates a new BackupHistoryApiItem 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 (*BackupHistoryApiItem) GetBackupEndAt

func (o *BackupHistoryApiItem) GetBackupEndAt() string

GetBackupEndAt returns the BackupEndAt field value

func (*BackupHistoryApiItem) GetBackupEndAtOk

func (o *BackupHistoryApiItem) GetBackupEndAtOk() (*string, bool)

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

func (*BackupHistoryApiItem) GetBackupHistoryNumber

func (o *BackupHistoryApiItem) GetBackupHistoryNumber() string

GetBackupHistoryNumber returns the BackupHistoryNumber field value

func (*BackupHistoryApiItem) GetBackupHistoryNumberOk

func (o *BackupHistoryApiItem) GetBackupHistoryNumberOk() (*string, bool)

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

func (*BackupHistoryApiItem) GetBackupSizeGb

func (o *BackupHistoryApiItem) GetBackupSizeGb() float32

GetBackupSizeGb returns the BackupSizeGb field value

func (*BackupHistoryApiItem) GetBackupSizeGbOk

func (o *BackupHistoryApiItem) GetBackupSizeGbOk() (*float32, bool)

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

func (*BackupHistoryApiItem) GetBackupStartAt

func (o *BackupHistoryApiItem) GetBackupStartAt() string

GetBackupStartAt returns the BackupStartAt field value

func (*BackupHistoryApiItem) GetBackupStartAtOk

func (o *BackupHistoryApiItem) GetBackupStartAtOk() (*string, bool)

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

func (*BackupHistoryApiItem) GetBackupState

func (o *BackupHistoryApiItem) GetBackupState() string

GetBackupState returns the BackupState field value

func (*BackupHistoryApiItem) GetBackupStateDetail

func (o *BackupHistoryApiItem) GetBackupStateDetail() string

GetBackupStateDetail returns the BackupStateDetail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupHistoryApiItem) GetBackupStateDetailOk

func (o *BackupHistoryApiItem) GetBackupStateDetailOk() (*string, bool)

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

func (*BackupHistoryApiItem) GetBackupStateOk

func (o *BackupHistoryApiItem) GetBackupStateOk() (*string, bool)

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

func (*BackupHistoryApiItem) GetSoftwareVersion

func (o *BackupHistoryApiItem) GetSoftwareVersion() string

GetSoftwareVersion returns the SoftwareVersion field value

func (*BackupHistoryApiItem) GetSoftwareVersionOk

func (o *BackupHistoryApiItem) GetSoftwareVersionOk() (*string, bool)

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

func (*BackupHistoryApiItem) HasBackupStateDetail

func (o *BackupHistoryApiItem) HasBackupStateDetail() bool

HasBackupStateDetail returns a boolean if a field has been set.

func (BackupHistoryApiItem) MarshalJSON

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

func (*BackupHistoryApiItem) SetBackupEndAt

func (o *BackupHistoryApiItem) SetBackupEndAt(v string)

SetBackupEndAt sets field value

func (*BackupHistoryApiItem) SetBackupHistoryNumber

func (o *BackupHistoryApiItem) SetBackupHistoryNumber(v string)

SetBackupHistoryNumber sets field value

func (*BackupHistoryApiItem) SetBackupSizeGb

func (o *BackupHistoryApiItem) SetBackupSizeGb(v float32)

SetBackupSizeGb sets field value

func (*BackupHistoryApiItem) SetBackupStartAt

func (o *BackupHistoryApiItem) SetBackupStartAt(v string)

SetBackupStartAt sets field value

func (*BackupHistoryApiItem) SetBackupState

func (o *BackupHistoryApiItem) SetBackupState(v string)

SetBackupState sets field value

func (*BackupHistoryApiItem) SetBackupStateDetail

func (o *BackupHistoryApiItem) SetBackupStateDetail(v string)

SetBackupStateDetail gets a reference to the given NullableString and assigns it to the BackupStateDetail field.

func (*BackupHistoryApiItem) SetBackupStateDetailNil

func (o *BackupHistoryApiItem) SetBackupStateDetailNil()

SetBackupStateDetailNil sets the value for BackupStateDetail to be an explicit nil

func (*BackupHistoryApiItem) SetSoftwareVersion

func (o *BackupHistoryApiItem) SetSoftwareVersion(v string)

SetSoftwareVersion sets field value

func (BackupHistoryApiItem) ToMap

func (o BackupHistoryApiItem) ToMap() (map[string]interface{}, error)

func (*BackupHistoryApiItem) UnmarshalJSON

func (o *BackupHistoryApiItem) UnmarshalJSON(data []byte) (err error)

func (*BackupHistoryApiItem) UnsetBackupStateDetail

func (o *BackupHistoryApiItem) UnsetBackupStateDetail()

UnsetBackupStateDetail ensures that no value is present for BackupStateDetail, not even an explicit nil

type BackupHistoryListApiResponse

type BackupHistoryListApiResponse struct {
	// backup list information
	Contents []BackupHistoryApiItem `json:"contents"`
	// total number of backup history
	TotalCount int32 `json:"total_count"`
}

BackupHistoryListApiResponse struct for BackupHistoryListApiResponse

func NewBackupHistoryListApiResponse

func NewBackupHistoryListApiResponse(contents []BackupHistoryApiItem, totalCount int32) *BackupHistoryListApiResponse

NewBackupHistoryListApiResponse instantiates a new BackupHistoryListApiResponse 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 NewBackupHistoryListApiResponseWithDefaults

func NewBackupHistoryListApiResponseWithDefaults() *BackupHistoryListApiResponse

NewBackupHistoryListApiResponseWithDefaults instantiates a new BackupHistoryListApiResponse 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 (*BackupHistoryListApiResponse) GetContents

GetContents returns the Contents field value

func (*BackupHistoryListApiResponse) GetContentsOk

func (o *BackupHistoryListApiResponse) GetContentsOk() ([]BackupHistoryApiItem, bool)

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

func (*BackupHistoryListApiResponse) GetTotalCount

func (o *BackupHistoryListApiResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*BackupHistoryListApiResponse) GetTotalCountOk

func (o *BackupHistoryListApiResponse) GetTotalCountOk() (*int32, bool)

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

func (BackupHistoryListApiResponse) MarshalJSON

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

func (*BackupHistoryListApiResponse) SetContents

SetContents sets field value

func (*BackupHistoryListApiResponse) SetTotalCount

func (o *BackupHistoryListApiResponse) SetTotalCount(v int32)

SetTotalCount sets field value

func (BackupHistoryListApiResponse) ToMap

func (o BackupHistoryListApiResponse) ToMap() (map[string]interface{}, error)

func (*BackupHistoryListApiResponse) UnmarshalJSON

func (o *BackupHistoryListApiResponse) UnmarshalJSON(data []byte) (err error)

type BackupHistoryNumberRequest

type BackupHistoryNumberRequest struct {
	// Backup id
	BackupHistoryNumber []string `json:"backup_history_number"`
}

BackupHistoryNumberRequest struct for BackupHistoryNumberRequest

func NewBackupHistoryNumberRequest

func NewBackupHistoryNumberRequest(backupHistoryNumber []string) *BackupHistoryNumberRequest

NewBackupHistoryNumberRequest instantiates a new BackupHistoryNumberRequest 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 NewBackupHistoryNumberRequestWithDefaults

func NewBackupHistoryNumberRequestWithDefaults() *BackupHistoryNumberRequest

NewBackupHistoryNumberRequestWithDefaults instantiates a new BackupHistoryNumberRequest 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 (*BackupHistoryNumberRequest) GetBackupHistoryNumber

func (o *BackupHistoryNumberRequest) GetBackupHistoryNumber() []string

GetBackupHistoryNumber returns the BackupHistoryNumber field value

func (*BackupHistoryNumberRequest) GetBackupHistoryNumberOk

func (o *BackupHistoryNumberRequest) GetBackupHistoryNumberOk() ([]string, bool)

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

func (BackupHistoryNumberRequest) MarshalJSON

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

func (*BackupHistoryNumberRequest) SetBackupHistoryNumber

func (o *BackupHistoryNumberRequest) SetBackupHistoryNumber(v []string)

SetBackupHistoryNumber sets field value

func (BackupHistoryNumberRequest) ToMap

func (o BackupHistoryNumberRequest) ToMap() (map[string]interface{}, error)

func (*BackupHistoryNumberRequest) UnmarshalJSON

func (o *BackupHistoryNumberRequest) UnmarshalJSON(data []byte) (err error)

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 BlockStorageGroupRequest

type BlockStorageGroupRequest struct {
	// Role type
	RoleType BlockStorageGroupRoleType `json:"role_type"`
	// Size in GB
	SizeGb int32 `json:"size_gb"`
	// Volume type
	VolumeType *VolumeType `json:"volume_type,omitempty"`
}

BlockStorageGroupRequest struct for BlockStorageGroupRequest

func NewBlockStorageGroupRequest

func NewBlockStorageGroupRequest(roleType BlockStorageGroupRoleType, sizeGb int32) *BlockStorageGroupRequest

NewBlockStorageGroupRequest instantiates a new BlockStorageGroupRequest 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 NewBlockStorageGroupRequestWithDefaults

func NewBlockStorageGroupRequestWithDefaults() *BlockStorageGroupRequest

NewBlockStorageGroupRequestWithDefaults instantiates a new BlockStorageGroupRequest 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 (*BlockStorageGroupRequest) GetRoleType

GetRoleType returns the RoleType field value

func (*BlockStorageGroupRequest) GetRoleTypeOk

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

func (*BlockStorageGroupRequest) GetSizeGb

func (o *BlockStorageGroupRequest) GetSizeGb() int32

GetSizeGb returns the SizeGb field value

func (*BlockStorageGroupRequest) GetSizeGbOk

func (o *BlockStorageGroupRequest) GetSizeGbOk() (*int32, bool)

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

func (*BlockStorageGroupRequest) GetVolumeType

func (o *BlockStorageGroupRequest) GetVolumeType() VolumeType

GetVolumeType returns the VolumeType field value if set, zero value otherwise.

func (*BlockStorageGroupRequest) GetVolumeTypeOk

func (o *BlockStorageGroupRequest) GetVolumeTypeOk() (*VolumeType, bool)

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

func (*BlockStorageGroupRequest) HasVolumeType

func (o *BlockStorageGroupRequest) HasVolumeType() bool

HasVolumeType returns a boolean if a field has been set.

func (BlockStorageGroupRequest) MarshalJSON

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

func (*BlockStorageGroupRequest) SetRoleType

SetRoleType sets field value

func (*BlockStorageGroupRequest) SetSizeGb

func (o *BlockStorageGroupRequest) SetSizeGb(v int32)

SetSizeGb sets field value

func (*BlockStorageGroupRequest) SetVolumeType

func (o *BlockStorageGroupRequest) SetVolumeType(v VolumeType)

SetVolumeType gets a reference to the given VolumeType and assigns it to the VolumeType field.

func (BlockStorageGroupRequest) ToMap

func (o BlockStorageGroupRequest) ToMap() (map[string]interface{}, error)

func (*BlockStorageGroupRequest) UnmarshalJSON

func (o *BlockStorageGroupRequest) UnmarshalJSON(data []byte) (err error)

type BlockStorageGroupRoleType

type BlockStorageGroupRoleType string

BlockStorageGroupRoleType the model 'BlockStorageGroupRoleType'

const (
	BLOCKSTORAGEGROUPROLETYPE_OS      BlockStorageGroupRoleType = "OS"
	BLOCKSTORAGEGROUPROLETYPE_DATA    BlockStorageGroupRoleType = "DATA"
	BLOCKSTORAGEGROUPROLETYPE_ARCHIVE BlockStorageGroupRoleType = "ARCHIVE"
	BLOCKSTORAGEGROUPROLETYPE_TEMP    BlockStorageGroupRoleType = "TEMP"
	BLOCKSTORAGEGROUPROLETYPE_BACKUP  BlockStorageGroupRoleType = "BACKUP"
)

List of BlockStorageGroupRoleType

func NewBlockStorageGroupRoleTypeFromValue

func NewBlockStorageGroupRoleTypeFromValue(v string) (*BlockStorageGroupRoleType, error)

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

func (BlockStorageGroupRoleType) IsValid

func (v BlockStorageGroupRoleType) IsValid() bool

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

func (BlockStorageGroupRoleType) Ptr

Ptr returns reference to BlockStorageGroupRoleType value

func (*BlockStorageGroupRoleType) UnmarshalJSON

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

type ClusterRestoreRequest

type ClusterRestoreRequest struct {
	// Allowed IP addresses list
	AllowableIpAddresses []string                   `json:"allowable_ip_addresses,omitempty"`
	BackupHistoryNumber  NullableString             `json:"backup_history_number,omitempty"`
	BackupRecoveryTime   NullableTime               `json:"backup_recovery_time,omitempty"`
	BlockStorageGroups   []BlockStorageGroupRequest `json:"block_storage_groups,omitempty"`
	// Instance name prefix
	InstanceNamePrefix string                    `json:"instance_name_prefix" validate:"regexp=^[a-z][a-zA-Z0-9\\\\-]*$"`
	MaintenanceOption  NullableMaintenanceOption `json:"maintenance_option,omitempty"`
	// Cluster name
	Name string `json:"name" validate:"regexp=^[a-zA-Z]*$"`
	// Server type name
	ServerTypeName string `json:"server_type_name"`
	Tags           []Tag  `json:"tags,omitempty"`
}

ClusterRestoreRequest struct for ClusterRestoreRequest

func NewClusterRestoreRequest

func NewClusterRestoreRequest(instanceNamePrefix string, name string, serverTypeName string) *ClusterRestoreRequest

NewClusterRestoreRequest instantiates a new ClusterRestoreRequest 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 NewClusterRestoreRequestWithDefaults

func NewClusterRestoreRequestWithDefaults() *ClusterRestoreRequest

NewClusterRestoreRequestWithDefaults instantiates a new ClusterRestoreRequest 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 (*ClusterRestoreRequest) GetAllowableIpAddresses

func (o *ClusterRestoreRequest) GetAllowableIpAddresses() []string

GetAllowableIpAddresses returns the AllowableIpAddresses field value if set, zero value otherwise.

func (*ClusterRestoreRequest) GetAllowableIpAddressesOk

func (o *ClusterRestoreRequest) GetAllowableIpAddressesOk() ([]string, bool)

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

func (*ClusterRestoreRequest) GetBackupHistoryNumber

func (o *ClusterRestoreRequest) GetBackupHistoryNumber() string

GetBackupHistoryNumber returns the BackupHistoryNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ClusterRestoreRequest) GetBackupHistoryNumberOk

func (o *ClusterRestoreRequest) GetBackupHistoryNumberOk() (*string, bool)

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

func (*ClusterRestoreRequest) GetBackupRecoveryTime

func (o *ClusterRestoreRequest) GetBackupRecoveryTime() time.Time

GetBackupRecoveryTime returns the BackupRecoveryTime field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ClusterRestoreRequest) GetBackupRecoveryTimeOk

func (o *ClusterRestoreRequest) GetBackupRecoveryTimeOk() (*time.Time, bool)

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

func (*ClusterRestoreRequest) GetBlockStorageGroups

func (o *ClusterRestoreRequest) GetBlockStorageGroups() []BlockStorageGroupRequest

GetBlockStorageGroups returns the BlockStorageGroups field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ClusterRestoreRequest) GetBlockStorageGroupsOk

func (o *ClusterRestoreRequest) GetBlockStorageGroupsOk() ([]BlockStorageGroupRequest, bool)

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

func (*ClusterRestoreRequest) GetInstanceNamePrefix

func (o *ClusterRestoreRequest) GetInstanceNamePrefix() string

GetInstanceNamePrefix returns the InstanceNamePrefix field value

func (*ClusterRestoreRequest) GetInstanceNamePrefixOk

func (o *ClusterRestoreRequest) GetInstanceNamePrefixOk() (*string, bool)

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

func (*ClusterRestoreRequest) GetMaintenanceOption

func (o *ClusterRestoreRequest) GetMaintenanceOption() MaintenanceOption

GetMaintenanceOption returns the MaintenanceOption field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ClusterRestoreRequest) GetMaintenanceOptionOk

func (o *ClusterRestoreRequest) GetMaintenanceOptionOk() (*MaintenanceOption, bool)

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

func (*ClusterRestoreRequest) GetName

func (o *ClusterRestoreRequest) GetName() string

GetName returns the Name field value

func (*ClusterRestoreRequest) GetNameOk

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

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

func (*ClusterRestoreRequest) GetServerTypeName

func (o *ClusterRestoreRequest) GetServerTypeName() string

GetServerTypeName returns the ServerTypeName field value

func (*ClusterRestoreRequest) GetServerTypeNameOk

func (o *ClusterRestoreRequest) GetServerTypeNameOk() (*string, bool)

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

func (*ClusterRestoreRequest) GetTags

func (o *ClusterRestoreRequest) GetTags() []Tag

GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ClusterRestoreRequest) GetTagsOk

func (o *ClusterRestoreRequest) GetTagsOk() ([]Tag, bool)

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

func (*ClusterRestoreRequest) HasAllowableIpAddresses

func (o *ClusterRestoreRequest) HasAllowableIpAddresses() bool

HasAllowableIpAddresses returns a boolean if a field has been set.

func (*ClusterRestoreRequest) HasBackupHistoryNumber

func (o *ClusterRestoreRequest) HasBackupHistoryNumber() bool

HasBackupHistoryNumber returns a boolean if a field has been set.

func (*ClusterRestoreRequest) HasBackupRecoveryTime

func (o *ClusterRestoreRequest) HasBackupRecoveryTime() bool

HasBackupRecoveryTime returns a boolean if a field has been set.

func (*ClusterRestoreRequest) HasBlockStorageGroups

func (o *ClusterRestoreRequest) HasBlockStorageGroups() bool

HasBlockStorageGroups returns a boolean if a field has been set.

func (*ClusterRestoreRequest) HasMaintenanceOption

func (o *ClusterRestoreRequest) HasMaintenanceOption() bool

HasMaintenanceOption returns a boolean if a field has been set.

func (*ClusterRestoreRequest) HasTags

func (o *ClusterRestoreRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ClusterRestoreRequest) MarshalJSON

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

func (*ClusterRestoreRequest) SetAllowableIpAddresses

func (o *ClusterRestoreRequest) SetAllowableIpAddresses(v []string)

SetAllowableIpAddresses gets a reference to the given []string and assigns it to the AllowableIpAddresses field.

func (*ClusterRestoreRequest) SetBackupHistoryNumber

func (o *ClusterRestoreRequest) SetBackupHistoryNumber(v string)

SetBackupHistoryNumber gets a reference to the given NullableString and assigns it to the BackupHistoryNumber field.

func (*ClusterRestoreRequest) SetBackupHistoryNumberNil

func (o *ClusterRestoreRequest) SetBackupHistoryNumberNil()

SetBackupHistoryNumberNil sets the value for BackupHistoryNumber to be an explicit nil

func (*ClusterRestoreRequest) SetBackupRecoveryTime

func (o *ClusterRestoreRequest) SetBackupRecoveryTime(v time.Time)

SetBackupRecoveryTime gets a reference to the given NullableTime and assigns it to the BackupRecoveryTime field.

func (*ClusterRestoreRequest) SetBackupRecoveryTimeNil

func (o *ClusterRestoreRequest) SetBackupRecoveryTimeNil()

SetBackupRecoveryTimeNil sets the value for BackupRecoveryTime to be an explicit nil

func (*ClusterRestoreRequest) SetBlockStorageGroups

func (o *ClusterRestoreRequest) SetBlockStorageGroups(v []BlockStorageGroupRequest)

SetBlockStorageGroups gets a reference to the given []BlockStorageGroupRequest and assigns it to the BlockStorageGroups field.

func (*ClusterRestoreRequest) SetInstanceNamePrefix

func (o *ClusterRestoreRequest) SetInstanceNamePrefix(v string)

SetInstanceNamePrefix sets field value

func (*ClusterRestoreRequest) SetMaintenanceOption

func (o *ClusterRestoreRequest) SetMaintenanceOption(v MaintenanceOption)

SetMaintenanceOption gets a reference to the given NullableMaintenanceOption and assigns it to the MaintenanceOption field.

func (*ClusterRestoreRequest) SetMaintenanceOptionNil

func (o *ClusterRestoreRequest) SetMaintenanceOptionNil()

SetMaintenanceOptionNil sets the value for MaintenanceOption to be an explicit nil

func (*ClusterRestoreRequest) SetName

func (o *ClusterRestoreRequest) SetName(v string)

SetName sets field value

func (*ClusterRestoreRequest) SetServerTypeName

func (o *ClusterRestoreRequest) SetServerTypeName(v string)

SetServerTypeName sets field value

func (*ClusterRestoreRequest) SetTags

func (o *ClusterRestoreRequest) SetTags(v []Tag)

SetTags gets a reference to the given []Tag and assigns it to the Tags field.

func (ClusterRestoreRequest) ToMap

func (o ClusterRestoreRequest) ToMap() (map[string]interface{}, error)

func (*ClusterRestoreRequest) UnmarshalJSON

func (o *ClusterRestoreRequest) UnmarshalJSON(data []byte) (err error)

func (*ClusterRestoreRequest) UnsetBackupHistoryNumber

func (o *ClusterRestoreRequest) UnsetBackupHistoryNumber()

UnsetBackupHistoryNumber ensures that no value is present for BackupHistoryNumber, not even an explicit nil

func (*ClusterRestoreRequest) UnsetBackupRecoveryTime

func (o *ClusterRestoreRequest) UnsetBackupRecoveryTime()

UnsetBackupRecoveryTime ensures that no value is present for BackupRecoveryTime, not even an explicit nil

func (*ClusterRestoreRequest) UnsetMaintenanceOption

func (o *ClusterRestoreRequest) UnsetMaintenanceOption()

UnsetMaintenanceOption ensures that no value is present for MaintenanceOption, not even an explicit nil

type ClusterRoleType

type ClusterRoleType string

ClusterRoleType the model 'ClusterRoleType'

const (
	CLUSTERROLETYPE_ORIGIN    ClusterRoleType = "ORIGIN"
	CLUSTERROLETYPE_REPLICA   ClusterRoleType = "REPLICA"
	CLUSTERROLETYPE_RECOVERY  ClusterRoleType = "RECOVERY"
	CLUSTERROLETYPE_SECONDARY ClusterRoleType = "SECONDARY"
	CLUSTERROLETYPE_MIGRATION ClusterRoleType = "MIGRATION"
)

List of ClusterRoleType

func NewClusterRoleTypeFromValue

func NewClusterRoleTypeFromValue(v string) (*ClusterRoleType, error)

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

func (ClusterRoleType) IsValid

func (v ClusterRoleType) IsValid() bool

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

func (ClusterRoleType) Ptr

Ptr returns reference to ClusterRoleType value

func (*ClusterRoleType) UnmarshalJSON

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

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 DatabaseUserRequest

type DatabaseUserRequest struct {
	Description NullableString `json:"description,omitempty"`
	// Database User Name
	Name  string                    `json:"name"`
	State NullableDatabaseUserState `json:"state,omitempty"`
}

DatabaseUserRequest struct for DatabaseUserRequest

func NewDatabaseUserRequest

func NewDatabaseUserRequest(name string) *DatabaseUserRequest

NewDatabaseUserRequest instantiates a new DatabaseUserRequest 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 NewDatabaseUserRequestWithDefaults

func NewDatabaseUserRequestWithDefaults() *DatabaseUserRequest

NewDatabaseUserRequestWithDefaults instantiates a new DatabaseUserRequest 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 (*DatabaseUserRequest) GetDescription

func (o *DatabaseUserRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DatabaseUserRequest) GetDescriptionOk

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

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

func (*DatabaseUserRequest) GetName

func (o *DatabaseUserRequest) GetName() string

GetName returns the Name field value

func (*DatabaseUserRequest) GetNameOk

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

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

func (*DatabaseUserRequest) GetState

func (o *DatabaseUserRequest) GetState() DatabaseUserState

GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DatabaseUserRequest) GetStateOk

func (o *DatabaseUserRequest) GetStateOk() (*DatabaseUserState, bool)

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

func (*DatabaseUserRequest) HasDescription

func (o *DatabaseUserRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DatabaseUserRequest) HasState

func (o *DatabaseUserRequest) HasState() bool

HasState returns a boolean if a field has been set.

func (DatabaseUserRequest) MarshalJSON

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

func (*DatabaseUserRequest) SetDescription

func (o *DatabaseUserRequest) SetDescription(v string)

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

func (*DatabaseUserRequest) SetDescriptionNil

func (o *DatabaseUserRequest) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*DatabaseUserRequest) SetName

func (o *DatabaseUserRequest) SetName(v string)

SetName sets field value

func (*DatabaseUserRequest) SetState

func (o *DatabaseUserRequest) SetState(v DatabaseUserState)

SetState gets a reference to the given NullableDatabaseUserState and assigns it to the State field.

func (*DatabaseUserRequest) SetStateNil

func (o *DatabaseUserRequest) SetStateNil()

SetStateNil sets the value for State to be an explicit nil

func (DatabaseUserRequest) ToMap

func (o DatabaseUserRequest) ToMap() (map[string]interface{}, error)

func (*DatabaseUserRequest) UnmarshalJSON

func (o *DatabaseUserRequest) UnmarshalJSON(data []byte) (err error)

func (*DatabaseUserRequest) UnsetDescription

func (o *DatabaseUserRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*DatabaseUserRequest) UnsetState

func (o *DatabaseUserRequest) UnsetState()

UnsetState ensures that no value is present for State, not even an explicit nil

type DatabaseUserState

type DatabaseUserState string

DatabaseUserState the model 'DatabaseUserState'

const (
	DATABASEUSERSTATE_LOCK    DatabaseUserState = "Lock"
	DATABASEUSERSTATE_UN_LOCK DatabaseUserState = "UnLock"
)

List of DatabaseUserState

func NewDatabaseUserStateFromValue

func NewDatabaseUserStateFromValue(v string) (*DatabaseUserState, error)

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

func (DatabaseUserState) IsValid

func (v DatabaseUserState) IsValid() bool

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

func (DatabaseUserState) Ptr

Ptr returns reference to DatabaseUserState value

func (*DatabaseUserState) UnmarshalJSON

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

type DatabaseUsersSetRequest

type DatabaseUsersSetRequest struct {
	// Database User Request List
	DatabaseUsers []DatabaseUserRequest `json:"database_users"`
}

DatabaseUsersSetRequest struct for DatabaseUsersSetRequest

func NewDatabaseUsersSetRequest

func NewDatabaseUsersSetRequest(databaseUsers []DatabaseUserRequest) *DatabaseUsersSetRequest

NewDatabaseUsersSetRequest instantiates a new DatabaseUsersSetRequest 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 NewDatabaseUsersSetRequestWithDefaults

func NewDatabaseUsersSetRequestWithDefaults() *DatabaseUsersSetRequest

NewDatabaseUsersSetRequestWithDefaults instantiates a new DatabaseUsersSetRequest 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 (*DatabaseUsersSetRequest) GetDatabaseUsers

func (o *DatabaseUsersSetRequest) GetDatabaseUsers() []DatabaseUserRequest

GetDatabaseUsers returns the DatabaseUsers field value

func (*DatabaseUsersSetRequest) GetDatabaseUsersOk

func (o *DatabaseUsersSetRequest) GetDatabaseUsersOk() ([]DatabaseUserRequest, bool)

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

func (DatabaseUsersSetRequest) MarshalJSON

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

func (*DatabaseUsersSetRequest) SetDatabaseUsers

func (o *DatabaseUsersSetRequest) SetDatabaseUsers(v []DatabaseUserRequest)

SetDatabaseUsers sets field value

func (DatabaseUsersSetRequest) ToMap

func (o DatabaseUsersSetRequest) ToMap() (map[string]interface{}, error)

func (*DatabaseUsersSetRequest) UnmarshalJSON

func (o *DatabaseUsersSetRequest) UnmarshalJSON(data []byte) (err error)

type DayOfWeek

type DayOfWeek string

DayOfWeek the model 'DayOfWeek'

const (
	DAYOFWEEK_MON DayOfWeek = "MON"
	DAYOFWEEK_TUE DayOfWeek = "TUE"
	DAYOFWEEK_WED DayOfWeek = "WED"
	DAYOFWEEK_THU DayOfWeek = "THU"
	DAYOFWEEK_FRI DayOfWeek = "FRI"
	DAYOFWEEK_SAT DayOfWeek = "SAT"
	DAYOFWEEK_SUN DayOfWeek = "SUN"
)

List of DayOfWeek

func NewDayOfWeekFromValue

func NewDayOfWeekFromValue(v string) (*DayOfWeek, error)

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

func (DayOfWeek) IsValid

func (v DayOfWeek) IsValid() bool

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

func (DayOfWeek) Ptr

func (v DayOfWeek) Ptr() *DayOfWeek

Ptr returns reference to DayOfWeek value

func (*DayOfWeek) UnmarshalJSON

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

type DbCollation

type DbCollation string

DbCollation the model 'DbCollation'

const (
	DBCOLLATION_SQL_LATIN1_GENERAL_CP1_CI_AS DbCollation = "SQL_Latin1_General_CP1_CI_AS"
	DBCOLLATION_KOREAN_WANSUNG_CS_AS         DbCollation = "Korean_Wansung_CS_AS"
	DBCOLLATION_CHINESE_PRC_CI_AS            DbCollation = "Chinese_PRC_CI_AS"
)

List of DbCollation

func NewDbCollationFromValue

func NewDbCollationFromValue(v string) (*DbCollation, error)

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

func (DbCollation) IsValid

func (v DbCollation) IsValid() bool

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

func (DbCollation) Ptr

func (v DbCollation) Ptr() *DbCollation

Ptr returns reference to DbCollation value

func (*DbCollation) UnmarshalJSON

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

type Engine

type Engine struct {
	// End of Service
	EndOfService *bool `json:"end_of_service,omitempty"`
	// ID
	Id string `json:"id"`
	// Software major version
	MajorVersion string `json:"major_version"`
	// DBaaS engine version name
	Name string `json:"name"`
	// OS type
	OsType string `json:"os_type"`
	// OS version
	OsVersion        string         `json:"os_version"`
	ProductImageType NullableString `json:"product_image_type,omitempty"`
	// Software version
	SoftwareVersion string `json:"software_version"`
}

Engine struct for Engine

func NewEngine

func NewEngine(id string, majorVersion string, name string, osType string, osVersion string, softwareVersion string) *Engine

NewEngine instantiates a new Engine 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 NewEngineWithDefaults

func NewEngineWithDefaults() *Engine

NewEngineWithDefaults instantiates a new Engine 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 (*Engine) GetEndOfService

func (o *Engine) GetEndOfService() bool

GetEndOfService returns the EndOfService field value if set, zero value otherwise.

func (*Engine) GetEndOfServiceOk

func (o *Engine) GetEndOfServiceOk() (*bool, bool)

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

func (*Engine) GetId

func (o *Engine) GetId() string

GetId returns the Id field value

func (*Engine) GetIdOk

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

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

func (*Engine) GetMajorVersion

func (o *Engine) GetMajorVersion() string

GetMajorVersion returns the MajorVersion field value

func (*Engine) GetMajorVersionOk

func (o *Engine) GetMajorVersionOk() (*string, bool)

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

func (*Engine) GetName

func (o *Engine) GetName() string

GetName returns the Name field value

func (*Engine) GetNameOk

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

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

func (*Engine) GetOsType

func (o *Engine) GetOsType() string

GetOsType returns the OsType field value

func (*Engine) GetOsTypeOk

func (o *Engine) GetOsTypeOk() (*string, bool)

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

func (*Engine) GetOsVersion

func (o *Engine) GetOsVersion() string

GetOsVersion returns the OsVersion field value

func (*Engine) GetOsVersionOk

func (o *Engine) GetOsVersionOk() (*string, bool)

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

func (*Engine) GetProductImageType

func (o *Engine) GetProductImageType() string

GetProductImageType returns the ProductImageType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Engine) GetProductImageTypeOk

func (o *Engine) GetProductImageTypeOk() (*string, bool)

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

func (*Engine) GetSoftwareVersion

func (o *Engine) GetSoftwareVersion() string

GetSoftwareVersion returns the SoftwareVersion field value

func (*Engine) GetSoftwareVersionOk

func (o *Engine) GetSoftwareVersionOk() (*string, bool)

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

func (*Engine) HasEndOfService

func (o *Engine) HasEndOfService() bool

HasEndOfService returns a boolean if a field has been set.

func (*Engine) HasProductImageType

func (o *Engine) HasProductImageType() bool

HasProductImageType returns a boolean if a field has been set.

func (Engine) MarshalJSON

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

func (*Engine) SetEndOfService

func (o *Engine) SetEndOfService(v bool)

SetEndOfService gets a reference to the given bool and assigns it to the EndOfService field.

func (*Engine) SetId

func (o *Engine) SetId(v string)

SetId sets field value

func (*Engine) SetMajorVersion

func (o *Engine) SetMajorVersion(v string)

SetMajorVersion sets field value

func (*Engine) SetName

func (o *Engine) SetName(v string)

SetName sets field value

func (*Engine) SetOsType

func (o *Engine) SetOsType(v string)

SetOsType sets field value

func (*Engine) SetOsVersion

func (o *Engine) SetOsVersion(v string)

SetOsVersion sets field value

func (*Engine) SetProductImageType

func (o *Engine) SetProductImageType(v string)

SetProductImageType gets a reference to the given NullableString and assigns it to the ProductImageType field.

func (*Engine) SetProductImageTypeNil

func (o *Engine) SetProductImageTypeNil()

SetProductImageTypeNil sets the value for ProductImageType to be an explicit nil

func (*Engine) SetSoftwareVersion

func (o *Engine) SetSoftwareVersion(v string)

SetSoftwareVersion sets field value

func (Engine) ToMap

func (o Engine) ToMap() (map[string]interface{}, error)

func (*Engine) UnmarshalJSON

func (o *Engine) UnmarshalJSON(data []byte) (err error)

func (*Engine) UnsetProductImageType

func (o *Engine) UnsetProductImageType()

UnsetProductImageType ensures that no value is present for ProductImageType, not even an explicit nil

type EngineListResponse

type EngineListResponse struct {
	// DBaaS engine list
	Contents []Engine `json:"contents"`
}

EngineListResponse struct for EngineListResponse

func NewEngineListResponse

func NewEngineListResponse(contents []Engine) *EngineListResponse

NewEngineListResponse instantiates a new EngineListResponse 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 NewEngineListResponseWithDefaults

func NewEngineListResponseWithDefaults() *EngineListResponse

NewEngineListResponseWithDefaults instantiates a new EngineListResponse 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 (*EngineListResponse) GetContents

func (o *EngineListResponse) GetContents() []Engine

GetContents returns the Contents field value

func (*EngineListResponse) GetContentsOk

func (o *EngineListResponse) GetContentsOk() ([]Engine, bool)

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

func (EngineListResponse) MarshalJSON

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

func (*EngineListResponse) SetContents

func (o *EngineListResponse) SetContents(v []Engine)

SetContents sets field value

func (EngineListResponse) ToMap

func (o EngineListResponse) ToMap() (map[string]interface{}, error)

func (*EngineListResponse) UnmarshalJSON

func (o *EngineListResponse) UnmarshalJSON(data []byte) (err error)

type EngineProperty

type EngineProperty struct {
	// DBaas engine property name
	Name string `json:"name"`
	// DBaas engine property value
	Value string `json:"value"`
}

EngineProperty struct for EngineProperty

func NewEngineProperty

func NewEngineProperty(name string, value string) *EngineProperty

NewEngineProperty instantiates a new EngineProperty 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 NewEnginePropertyWithDefaults

func NewEnginePropertyWithDefaults() *EngineProperty

NewEnginePropertyWithDefaults instantiates a new EngineProperty 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 (*EngineProperty) GetName

func (o *EngineProperty) GetName() string

GetName returns the Name field value

func (*EngineProperty) GetNameOk

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

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

func (*EngineProperty) GetValue

func (o *EngineProperty) GetValue() string

GetValue returns the Value field value

func (*EngineProperty) GetValueOk

func (o *EngineProperty) GetValueOk() (*string, bool)

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

func (EngineProperty) MarshalJSON

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

func (*EngineProperty) SetName

func (o *EngineProperty) SetName(v string)

SetName sets field value

func (*EngineProperty) SetValue

func (o *EngineProperty) SetValue(v string)

SetValue sets field value

func (EngineProperty) ToMap

func (o EngineProperty) ToMap() (map[string]interface{}, error)

func (*EngineProperty) UnmarshalJSON

func (o *EngineProperty) UnmarshalJSON(data []byte) (err error)

type EnginePropertyListResponse

type EnginePropertyListResponse struct {
	// DBaas engine property list
	Contents []EngineProperty `json:"contents"`
}

EnginePropertyListResponse struct for EnginePropertyListResponse

func NewEnginePropertyListResponse

func NewEnginePropertyListResponse(contents []EngineProperty) *EnginePropertyListResponse

NewEnginePropertyListResponse instantiates a new EnginePropertyListResponse 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 NewEnginePropertyListResponseWithDefaults

func NewEnginePropertyListResponseWithDefaults() *EnginePropertyListResponse

NewEnginePropertyListResponseWithDefaults instantiates a new EnginePropertyListResponse 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 (*EnginePropertyListResponse) GetContents

func (o *EnginePropertyListResponse) GetContents() []EngineProperty

GetContents returns the Contents field value

func (*EnginePropertyListResponse) GetContentsOk

func (o *EnginePropertyListResponse) GetContentsOk() ([]EngineProperty, bool)

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

func (EnginePropertyListResponse) MarshalJSON

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

func (*EnginePropertyListResponse) SetContents

func (o *EnginePropertyListResponse) SetContents(v []EngineProperty)

SetContents sets field value

func (EnginePropertyListResponse) ToMap

func (o EnginePropertyListResponse) ToMap() (map[string]interface{}, error)

func (*EnginePropertyListResponse) UnmarshalJSON

func (o *EnginePropertyListResponse) UnmarshalJSON(data []byte) (err error)

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 InstanceGroupResizeRequest

type InstanceGroupResizeRequest struct {
	// Server type name
	ServerTypeName string `json:"server_type_name"`
}

InstanceGroupResizeRequest struct for InstanceGroupResizeRequest

func NewInstanceGroupResizeRequest

func NewInstanceGroupResizeRequest(serverTypeName string) *InstanceGroupResizeRequest

NewInstanceGroupResizeRequest instantiates a new InstanceGroupResizeRequest 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 NewInstanceGroupResizeRequestWithDefaults

func NewInstanceGroupResizeRequestWithDefaults() *InstanceGroupResizeRequest

NewInstanceGroupResizeRequestWithDefaults instantiates a new InstanceGroupResizeRequest 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 (*InstanceGroupResizeRequest) GetServerTypeName

func (o *InstanceGroupResizeRequest) GetServerTypeName() string

GetServerTypeName returns the ServerTypeName field value

func (*InstanceGroupResizeRequest) GetServerTypeNameOk

func (o *InstanceGroupResizeRequest) GetServerTypeNameOk() (*string, bool)

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

func (InstanceGroupResizeRequest) MarshalJSON

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

func (*InstanceGroupResizeRequest) SetServerTypeName

func (o *InstanceGroupResizeRequest) SetServerTypeName(v string)

SetServerTypeName sets field value

func (InstanceGroupResizeRequest) ToMap

func (o InstanceGroupResizeRequest) ToMap() (map[string]interface{}, error)

func (*InstanceGroupResizeRequest) UnmarshalJSON

func (o *InstanceGroupResizeRequest) UnmarshalJSON(data []byte) (err error)

type InstanceGroupRoleType

type InstanceGroupRoleType string

InstanceGroupRoleType the model 'InstanceGroupRoleType'

const (
	INSTANCEGROUPROLETYPE_ACTIVE            InstanceGroupRoleType = "ACTIVE"
	INSTANCEGROUPROLETYPE_ACTIVE_STANDBY    InstanceGroupRoleType = "ACTIVE_STANDBY"
	INSTANCEGROUPROLETYPE_PRIMARY_SECONDARY InstanceGroupRoleType = "PRIMARY_SECONDARY"
	INSTANCEGROUPROLETYPE_MASTER            InstanceGroupRoleType = "MASTER"
	INSTANCEGROUPROLETYPE_MASTER_REPLICA    InstanceGroupRoleType = "MASTER_REPLICA"
	INSTANCEGROUPROLETYPE_REPLICA           InstanceGroupRoleType = "REPLICA"
	INSTANCEGROUPROLETYPE_SENTINEL          InstanceGroupRoleType = "SENTINEL"
	INSTANCEGROUPROLETYPE_MASTER_DATA       InstanceGroupRoleType = "MASTER_DATA"
	INSTANCEGROUPROLETYPE_DATA              InstanceGroupRoleType = "DATA"
	INSTANCEGROUPROLETYPE_KIBANA            InstanceGroupRoleType = "KIBANA"
	INSTANCEGROUPROLETYPE_DASHBOARDS        InstanceGroupRoleType = "DASHBOARDS"
	INSTANCEGROUPROLETYPE_ZOOKEEPER_BROKER  InstanceGroupRoleType = "ZOOKEEPER_BROKER"
	INSTANCEGROUPROLETYPE_BROKER            InstanceGroupRoleType = "BROKER"
	INSTANCEGROUPROLETYPE_ZOOKEEPER         InstanceGroupRoleType = "ZOOKEEPER"
	INSTANCEGROUPROLETYPE_AKHQ              InstanceGroupRoleType = "AKHQ"
	INSTANCEGROUPROLETYPE_CONSOLE           InstanceGroupRoleType = "CONSOLE"
)

List of InstanceGroupRoleType

func NewInstanceGroupRoleTypeFromValue

func NewInstanceGroupRoleTypeFromValue(v string) (*InstanceGroupRoleType, error)

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

func (InstanceGroupRoleType) IsValid

func (v InstanceGroupRoleType) IsValid() bool

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

func (InstanceGroupRoleType) Ptr

Ptr returns reference to InstanceGroupRoleType value

func (*InstanceGroupRoleType) UnmarshalJSON

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

type InstanceResponse

type InstanceResponse struct {
	// Name
	Name            string         `json:"name"`
	PublicIpAddress NullableString `json:"public_ip_address,omitempty"`
	PublicIpId      NullableString `json:"public_ip_id,omitempty"`
	// Role type
	RoleType         InstanceRoleType `json:"role_type"`
	ServiceIpAddress NullableString   `json:"service_ip_address,omitempty"`
	// Service state
	ServiceState ServiceState `json:"service_state"`
}

InstanceResponse struct for InstanceResponse

func NewInstanceResponse

func NewInstanceResponse(name string, roleType InstanceRoleType, serviceState ServiceState) *InstanceResponse

NewInstanceResponse instantiates a new InstanceResponse 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 NewInstanceResponseWithDefaults

func NewInstanceResponseWithDefaults() *InstanceResponse

NewInstanceResponseWithDefaults instantiates a new InstanceResponse 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 (*InstanceResponse) GetName

func (o *InstanceResponse) GetName() string

GetName returns the Name field value

func (*InstanceResponse) GetNameOk

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

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

func (*InstanceResponse) GetPublicIpAddress

func (o *InstanceResponse) GetPublicIpAddress() string

GetPublicIpAddress returns the PublicIpAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*InstanceResponse) GetPublicIpAddressOk

func (o *InstanceResponse) GetPublicIpAddressOk() (*string, bool)

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

func (*InstanceResponse) GetPublicIpId

func (o *InstanceResponse) GetPublicIpId() string

GetPublicIpId returns the PublicIpId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*InstanceResponse) GetPublicIpIdOk

func (o *InstanceResponse) GetPublicIpIdOk() (*string, bool)

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

func (*InstanceResponse) GetRoleType

func (o *InstanceResponse) GetRoleType() InstanceRoleType

GetRoleType returns the RoleType field value

func (*InstanceResponse) GetRoleTypeOk

func (o *InstanceResponse) GetRoleTypeOk() (*InstanceRoleType, bool)

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

func (*InstanceResponse) GetServiceIpAddress

func (o *InstanceResponse) GetServiceIpAddress() string

GetServiceIpAddress returns the ServiceIpAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*InstanceResponse) GetServiceIpAddressOk

func (o *InstanceResponse) GetServiceIpAddressOk() (*string, bool)

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

func (*InstanceResponse) GetServiceState

func (o *InstanceResponse) GetServiceState() ServiceState

GetServiceState returns the ServiceState field value

func (*InstanceResponse) GetServiceStateOk

func (o *InstanceResponse) GetServiceStateOk() (*ServiceState, bool)

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

func (*InstanceResponse) HasPublicIpAddress

func (o *InstanceResponse) HasPublicIpAddress() bool

HasPublicIpAddress returns a boolean if a field has been set.

func (*InstanceResponse) HasPublicIpId

func (o *InstanceResponse) HasPublicIpId() bool

HasPublicIpId returns a boolean if a field has been set.

func (*InstanceResponse) HasServiceIpAddress

func (o *InstanceResponse) HasServiceIpAddress() bool

HasServiceIpAddress returns a boolean if a field has been set.

func (InstanceResponse) MarshalJSON

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

func (*InstanceResponse) SetName

func (o *InstanceResponse) SetName(v string)

SetName sets field value

func (*InstanceResponse) SetPublicIpAddress

func (o *InstanceResponse) SetPublicIpAddress(v string)

SetPublicIpAddress gets a reference to the given NullableString and assigns it to the PublicIpAddress field.

func (*InstanceResponse) SetPublicIpAddressNil

func (o *InstanceResponse) SetPublicIpAddressNil()

SetPublicIpAddressNil sets the value for PublicIpAddress to be an explicit nil

func (*InstanceResponse) SetPublicIpId

func (o *InstanceResponse) SetPublicIpId(v string)

SetPublicIpId gets a reference to the given NullableString and assigns it to the PublicIpId field.

func (*InstanceResponse) SetPublicIpIdNil

func (o *InstanceResponse) SetPublicIpIdNil()

SetPublicIpIdNil sets the value for PublicIpId to be an explicit nil

func (*InstanceResponse) SetRoleType

func (o *InstanceResponse) SetRoleType(v InstanceRoleType)

SetRoleType sets field value

func (*InstanceResponse) SetServiceIpAddress

func (o *InstanceResponse) SetServiceIpAddress(v string)

SetServiceIpAddress gets a reference to the given NullableString and assigns it to the ServiceIpAddress field.

func (*InstanceResponse) SetServiceIpAddressNil

func (o *InstanceResponse) SetServiceIpAddressNil()

SetServiceIpAddressNil sets the value for ServiceIpAddress to be an explicit nil

func (*InstanceResponse) SetServiceState

func (o *InstanceResponse) SetServiceState(v ServiceState)

SetServiceState sets field value

func (InstanceResponse) ToMap

func (o InstanceResponse) ToMap() (map[string]interface{}, error)

func (*InstanceResponse) UnmarshalJSON

func (o *InstanceResponse) UnmarshalJSON(data []byte) (err error)

func (*InstanceResponse) UnsetPublicIpAddress

func (o *InstanceResponse) UnsetPublicIpAddress()

UnsetPublicIpAddress ensures that no value is present for PublicIpAddress, not even an explicit nil

func (*InstanceResponse) UnsetPublicIpId

func (o *InstanceResponse) UnsetPublicIpId()

UnsetPublicIpId ensures that no value is present for PublicIpId, not even an explicit nil

func (*InstanceResponse) UnsetServiceIpAddress

func (o *InstanceResponse) UnsetServiceIpAddress()

UnsetServiceIpAddress ensures that no value is present for ServiceIpAddress, not even an explicit nil

type InstanceRoleType

type InstanceRoleType string

InstanceRoleType the model 'InstanceRoleType'

const (
	INSTANCEROLETYPE_ACTIVE           InstanceRoleType = "ACTIVE"
	INSTANCEROLETYPE_STANDBY          InstanceRoleType = "STANDBY"
	INSTANCEROLETYPE_PRIMARY          InstanceRoleType = "PRIMARY"
	INSTANCEROLETYPE_SECONDARY        InstanceRoleType = "SECONDARY"
	INSTANCEROLETYPE_MASTER           InstanceRoleType = "MASTER"
	INSTANCEROLETYPE_REPLICA          InstanceRoleType = "REPLICA"
	INSTANCEROLETYPE_SENTINEL         InstanceRoleType = "SENTINEL"
	INSTANCEROLETYPE_MASTER_DATA      InstanceRoleType = "MASTER_DATA"
	INSTANCEROLETYPE_DATA             InstanceRoleType = "DATA"
	INSTANCEROLETYPE_KIBANA           InstanceRoleType = "KIBANA"
	INSTANCEROLETYPE_DASHBOARDS       InstanceRoleType = "DASHBOARDS"
	INSTANCEROLETYPE_ZOOKEEPER_BROKER InstanceRoleType = "ZOOKEEPER_BROKER"
	INSTANCEROLETYPE_BROKER           InstanceRoleType = "BROKER"
	INSTANCEROLETYPE_ZOOKEEPER        InstanceRoleType = "ZOOKEEPER"
	INSTANCEROLETYPE_AKHQ             InstanceRoleType = "AKHQ"
	INSTANCEROLETYPE_CONSOLE          InstanceRoleType = "CONSOLE"
)

List of InstanceRoleType

func NewInstanceRoleTypeFromValue

func NewInstanceRoleTypeFromValue(v string) (*InstanceRoleType, error)

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

func (InstanceRoleType) IsValid

func (v InstanceRoleType) IsValid() bool

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

func (InstanceRoleType) Ptr

Ptr returns reference to InstanceRoleType value

func (*InstanceRoleType) UnmarshalJSON

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

type LogExportConfig

type LogExportConfig struct {
	BucketName      NullableString `json:"bucket_name"`
	DeleteOnExport  NullableBool   `json:"delete_on_export"`
	IsBucketDeleted NullableBool   `json:"is_bucket_deleted"`
	// Log type registration state
	IsRegistered bool `json:"is_registered"`
	// Log label
	LogLabel string `json:"log_label"`
	// Log type
	LogType               string            `json:"log_type"`
	ScheduleDayOfMonth    NullableString    `json:"schedule_day_of_month"`
	ScheduleDayOfWeek     NullableDayOfWeek `json:"schedule_day_of_week"`
	ScheduleFrequencyType NullableString    `json:"schedule_frequency_type"`
	ScheduleHour          NullableString    `json:"schedule_hour"`
}

LogExportConfig struct for LogExportConfig

func NewLogExportConfig

func NewLogExportConfig(bucketName NullableString, deleteOnExport NullableBool, isBucketDeleted NullableBool, isRegistered bool, logLabel string, logType string, scheduleDayOfMonth NullableString, scheduleDayOfWeek NullableDayOfWeek, scheduleFrequencyType NullableString, scheduleHour NullableString) *LogExportConfig

NewLogExportConfig instantiates a new LogExportConfig 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 NewLogExportConfigWithDefaults

func NewLogExportConfigWithDefaults() *LogExportConfig

NewLogExportConfigWithDefaults instantiates a new LogExportConfig 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 (*LogExportConfig) GetBucketName

func (o *LogExportConfig) GetBucketName() string

GetBucketName returns the BucketName field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfig) GetBucketNameOk

func (o *LogExportConfig) GetBucketNameOk() (*string, bool)

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

func (*LogExportConfig) GetDeleteOnExport

func (o *LogExportConfig) GetDeleteOnExport() bool

GetDeleteOnExport returns the DeleteOnExport field value If the value is explicit nil, the zero value for bool will be returned

func (*LogExportConfig) GetDeleteOnExportOk

func (o *LogExportConfig) GetDeleteOnExportOk() (*bool, bool)

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

func (*LogExportConfig) GetIsBucketDeleted

func (o *LogExportConfig) GetIsBucketDeleted() bool

GetIsBucketDeleted returns the IsBucketDeleted field value If the value is explicit nil, the zero value for bool will be returned

func (*LogExportConfig) GetIsBucketDeletedOk

func (o *LogExportConfig) GetIsBucketDeletedOk() (*bool, bool)

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

func (*LogExportConfig) GetIsRegistered

func (o *LogExportConfig) GetIsRegistered() bool

GetIsRegistered returns the IsRegistered field value

func (*LogExportConfig) GetIsRegisteredOk

func (o *LogExportConfig) GetIsRegisteredOk() (*bool, bool)

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

func (*LogExportConfig) GetLogLabel

func (o *LogExportConfig) GetLogLabel() string

GetLogLabel returns the LogLabel field value

func (*LogExportConfig) GetLogLabelOk

func (o *LogExportConfig) GetLogLabelOk() (*string, bool)

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

func (*LogExportConfig) GetLogType

func (o *LogExportConfig) GetLogType() string

GetLogType returns the LogType field value

func (*LogExportConfig) GetLogTypeOk

func (o *LogExportConfig) GetLogTypeOk() (*string, bool)

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

func (*LogExportConfig) GetScheduleDayOfMonth

func (o *LogExportConfig) GetScheduleDayOfMonth() string

GetScheduleDayOfMonth returns the ScheduleDayOfMonth field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfig) GetScheduleDayOfMonthOk

func (o *LogExportConfig) GetScheduleDayOfMonthOk() (*string, bool)

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

func (*LogExportConfig) GetScheduleDayOfWeek

func (o *LogExportConfig) GetScheduleDayOfWeek() DayOfWeek

GetScheduleDayOfWeek returns the ScheduleDayOfWeek field value If the value is explicit nil, the zero value for DayOfWeek will be returned

func (*LogExportConfig) GetScheduleDayOfWeekOk

func (o *LogExportConfig) GetScheduleDayOfWeekOk() (*DayOfWeek, bool)

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

func (*LogExportConfig) GetScheduleFrequencyType

func (o *LogExportConfig) GetScheduleFrequencyType() string

GetScheduleFrequencyType returns the ScheduleFrequencyType field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfig) GetScheduleFrequencyTypeOk

func (o *LogExportConfig) GetScheduleFrequencyTypeOk() (*string, bool)

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

func (*LogExportConfig) GetScheduleHour

func (o *LogExportConfig) GetScheduleHour() string

GetScheduleHour returns the ScheduleHour field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfig) GetScheduleHourOk

func (o *LogExportConfig) GetScheduleHourOk() (*string, bool)

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

func (LogExportConfig) MarshalJSON

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

func (*LogExportConfig) SetBucketName

func (o *LogExportConfig) SetBucketName(v string)

SetBucketName sets field value

func (*LogExportConfig) SetDeleteOnExport

func (o *LogExportConfig) SetDeleteOnExport(v bool)

SetDeleteOnExport sets field value

func (*LogExportConfig) SetIsBucketDeleted

func (o *LogExportConfig) SetIsBucketDeleted(v bool)

SetIsBucketDeleted sets field value

func (*LogExportConfig) SetIsRegistered

func (o *LogExportConfig) SetIsRegistered(v bool)

SetIsRegistered sets field value

func (*LogExportConfig) SetLogLabel

func (o *LogExportConfig) SetLogLabel(v string)

SetLogLabel sets field value

func (*LogExportConfig) SetLogType

func (o *LogExportConfig) SetLogType(v string)

SetLogType sets field value

func (*LogExportConfig) SetScheduleDayOfMonth

func (o *LogExportConfig) SetScheduleDayOfMonth(v string)

SetScheduleDayOfMonth sets field value

func (*LogExportConfig) SetScheduleDayOfWeek

func (o *LogExportConfig) SetScheduleDayOfWeek(v DayOfWeek)

SetScheduleDayOfWeek sets field value

func (*LogExportConfig) SetScheduleFrequencyType

func (o *LogExportConfig) SetScheduleFrequencyType(v string)

SetScheduleFrequencyType sets field value

func (*LogExportConfig) SetScheduleHour

func (o *LogExportConfig) SetScheduleHour(v string)

SetScheduleHour sets field value

func (LogExportConfig) ToMap

func (o LogExportConfig) ToMap() (map[string]interface{}, error)

func (*LogExportConfig) UnmarshalJSON

func (o *LogExportConfig) UnmarshalJSON(data []byte) (err error)

type LogExportConfigCreateRequest

type LogExportConfigCreateRequest struct {
	AccessKey NullableString `json:"access_key"`
	// Bucket name
	BucketName     string       `json:"bucket_name"`
	DeleteOnExport NullableBool `json:"delete_on_export"`
	// Log type
	LogType               string            `json:"log_type"`
	ScheduleDayOfMonth    NullableString    `json:"schedule_day_of_month" validate:"regexp=^(-1|[1-9]|1[0-9]|2[0-9]|3[0-1])$"`
	ScheduleDayOfWeek     NullableDayOfWeek `json:"schedule_day_of_week"`
	ScheduleFrequencyType NullableString    `json:"schedule_frequency_type"`
	ScheduleHour          NullableString    `json:"schedule_hour" validate:"regexp=^(\\\\d|1\\\\d|2[0-3])$"`
	SecretKey             NullableString    `json:"secret_key"`
}

LogExportConfigCreateRequest struct for LogExportConfigCreateRequest

func NewLogExportConfigCreateRequest

func NewLogExportConfigCreateRequest(accessKey NullableString, bucketName string, deleteOnExport NullableBool, logType string, scheduleDayOfMonth NullableString, scheduleDayOfWeek NullableDayOfWeek, scheduleFrequencyType NullableString, scheduleHour NullableString, secretKey NullableString) *LogExportConfigCreateRequest

NewLogExportConfigCreateRequest instantiates a new LogExportConfigCreateRequest 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 NewLogExportConfigCreateRequestWithDefaults

func NewLogExportConfigCreateRequestWithDefaults() *LogExportConfigCreateRequest

NewLogExportConfigCreateRequestWithDefaults instantiates a new LogExportConfigCreateRequest 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 (*LogExportConfigCreateRequest) GetAccessKey

func (o *LogExportConfigCreateRequest) GetAccessKey() string

GetAccessKey returns the AccessKey field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigCreateRequest) GetAccessKeyOk

func (o *LogExportConfigCreateRequest) GetAccessKeyOk() (*string, bool)

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

func (*LogExportConfigCreateRequest) GetBucketName

func (o *LogExportConfigCreateRequest) GetBucketName() string

GetBucketName returns the BucketName field value

func (*LogExportConfigCreateRequest) GetBucketNameOk

func (o *LogExportConfigCreateRequest) GetBucketNameOk() (*string, bool)

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

func (*LogExportConfigCreateRequest) GetDeleteOnExport

func (o *LogExportConfigCreateRequest) GetDeleteOnExport() bool

GetDeleteOnExport returns the DeleteOnExport field value If the value is explicit nil, the zero value for bool will be returned

func (*LogExportConfigCreateRequest) GetDeleteOnExportOk

func (o *LogExportConfigCreateRequest) GetDeleteOnExportOk() (*bool, bool)

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

func (*LogExportConfigCreateRequest) GetLogType

func (o *LogExportConfigCreateRequest) GetLogType() string

GetLogType returns the LogType field value

func (*LogExportConfigCreateRequest) GetLogTypeOk

func (o *LogExportConfigCreateRequest) GetLogTypeOk() (*string, bool)

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

func (*LogExportConfigCreateRequest) GetScheduleDayOfMonth

func (o *LogExportConfigCreateRequest) GetScheduleDayOfMonth() string

GetScheduleDayOfMonth returns the ScheduleDayOfMonth field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigCreateRequest) GetScheduleDayOfMonthOk

func (o *LogExportConfigCreateRequest) GetScheduleDayOfMonthOk() (*string, bool)

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

func (*LogExportConfigCreateRequest) GetScheduleDayOfWeek

func (o *LogExportConfigCreateRequest) GetScheduleDayOfWeek() DayOfWeek

GetScheduleDayOfWeek returns the ScheduleDayOfWeek field value If the value is explicit nil, the zero value for DayOfWeek will be returned

func (*LogExportConfigCreateRequest) GetScheduleDayOfWeekOk

func (o *LogExportConfigCreateRequest) GetScheduleDayOfWeekOk() (*DayOfWeek, bool)

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

func (*LogExportConfigCreateRequest) GetScheduleFrequencyType

func (o *LogExportConfigCreateRequest) GetScheduleFrequencyType() string

GetScheduleFrequencyType returns the ScheduleFrequencyType field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigCreateRequest) GetScheduleFrequencyTypeOk

func (o *LogExportConfigCreateRequest) GetScheduleFrequencyTypeOk() (*string, bool)

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

func (*LogExportConfigCreateRequest) GetScheduleHour

func (o *LogExportConfigCreateRequest) GetScheduleHour() string

GetScheduleHour returns the ScheduleHour field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigCreateRequest) GetScheduleHourOk

func (o *LogExportConfigCreateRequest) GetScheduleHourOk() (*string, bool)

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

func (*LogExportConfigCreateRequest) GetSecretKey

func (o *LogExportConfigCreateRequest) GetSecretKey() string

GetSecretKey returns the SecretKey field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigCreateRequest) GetSecretKeyOk

func (o *LogExportConfigCreateRequest) GetSecretKeyOk() (*string, bool)

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

func (LogExportConfigCreateRequest) MarshalJSON

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

func (*LogExportConfigCreateRequest) SetAccessKey

func (o *LogExportConfigCreateRequest) SetAccessKey(v string)

SetAccessKey sets field value

func (*LogExportConfigCreateRequest) SetBucketName

func (o *LogExportConfigCreateRequest) SetBucketName(v string)

SetBucketName sets field value

func (*LogExportConfigCreateRequest) SetDeleteOnExport

func (o *LogExportConfigCreateRequest) SetDeleteOnExport(v bool)

SetDeleteOnExport sets field value

func (*LogExportConfigCreateRequest) SetLogType

func (o *LogExportConfigCreateRequest) SetLogType(v string)

SetLogType sets field value

func (*LogExportConfigCreateRequest) SetScheduleDayOfMonth

func (o *LogExportConfigCreateRequest) SetScheduleDayOfMonth(v string)

SetScheduleDayOfMonth sets field value

func (*LogExportConfigCreateRequest) SetScheduleDayOfWeek

func (o *LogExportConfigCreateRequest) SetScheduleDayOfWeek(v DayOfWeek)

SetScheduleDayOfWeek sets field value

func (*LogExportConfigCreateRequest) SetScheduleFrequencyType

func (o *LogExportConfigCreateRequest) SetScheduleFrequencyType(v string)

SetScheduleFrequencyType sets field value

func (*LogExportConfigCreateRequest) SetScheduleHour

func (o *LogExportConfigCreateRequest) SetScheduleHour(v string)

SetScheduleHour sets field value

func (*LogExportConfigCreateRequest) SetSecretKey

func (o *LogExportConfigCreateRequest) SetSecretKey(v string)

SetSecretKey sets field value

func (LogExportConfigCreateRequest) ToMap

func (o LogExportConfigCreateRequest) ToMap() (map[string]interface{}, error)

func (*LogExportConfigCreateRequest) UnmarshalJSON

func (o *LogExportConfigCreateRequest) UnmarshalJSON(data []byte) (err error)

type LogExportConfigListResponse

type LogExportConfigListResponse struct {
	// Log export config contents
	Contents []LogExportConfig `json:"contents"`
	// Log export config count
	Count int32 `json:"count"`
}

LogExportConfigListResponse struct for LogExportConfigListResponse

func NewLogExportConfigListResponse

func NewLogExportConfigListResponse(contents []LogExportConfig, count int32) *LogExportConfigListResponse

NewLogExportConfigListResponse instantiates a new LogExportConfigListResponse 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 NewLogExportConfigListResponseWithDefaults

func NewLogExportConfigListResponseWithDefaults() *LogExportConfigListResponse

NewLogExportConfigListResponseWithDefaults instantiates a new LogExportConfigListResponse 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 (*LogExportConfigListResponse) GetContents

func (o *LogExportConfigListResponse) GetContents() []LogExportConfig

GetContents returns the Contents field value

func (*LogExportConfigListResponse) GetContentsOk

func (o *LogExportConfigListResponse) GetContentsOk() ([]LogExportConfig, bool)

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

func (*LogExportConfigListResponse) GetCount

func (o *LogExportConfigListResponse) GetCount() int32

GetCount returns the Count field value

func (*LogExportConfigListResponse) GetCountOk

func (o *LogExportConfigListResponse) GetCountOk() (*int32, bool)

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

func (LogExportConfigListResponse) MarshalJSON

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

func (*LogExportConfigListResponse) SetContents

func (o *LogExportConfigListResponse) SetContents(v []LogExportConfig)

SetContents sets field value

func (*LogExportConfigListResponse) SetCount

func (o *LogExportConfigListResponse) SetCount(v int32)

SetCount sets field value

func (LogExportConfigListResponse) ToMap

func (o LogExportConfigListResponse) ToMap() (map[string]interface{}, error)

func (*LogExportConfigListResponse) UnmarshalJSON

func (o *LogExportConfigListResponse) UnmarshalJSON(data []byte) (err error)

type LogExportConfigModifyRequest

type LogExportConfigModifyRequest struct {
	AccessKey             NullableString    `json:"access_key"`
	DeleteOnExport        NullableBool      `json:"delete_on_export"`
	ScheduleDayOfMonth    NullableString    `json:"schedule_day_of_month" validate:"regexp=^(-1|[1-9]|1[0-9]|2[0-9]|3[0-1])$"`
	ScheduleDayOfWeek     NullableDayOfWeek `json:"schedule_day_of_week"`
	ScheduleFrequencyType NullableString    `json:"schedule_frequency_type"`
	ScheduleHour          NullableString    `json:"schedule_hour" validate:"regexp=^(\\\\d|1\\\\d|2[0-3])$"`
	SecretKey             NullableString    `json:"secret_key"`
}

LogExportConfigModifyRequest struct for LogExportConfigModifyRequest

func NewLogExportConfigModifyRequest

func NewLogExportConfigModifyRequest(accessKey NullableString, deleteOnExport NullableBool, scheduleDayOfMonth NullableString, scheduleDayOfWeek NullableDayOfWeek, scheduleFrequencyType NullableString, scheduleHour NullableString, secretKey NullableString) *LogExportConfigModifyRequest

NewLogExportConfigModifyRequest instantiates a new LogExportConfigModifyRequest 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 NewLogExportConfigModifyRequestWithDefaults

func NewLogExportConfigModifyRequestWithDefaults() *LogExportConfigModifyRequest

NewLogExportConfigModifyRequestWithDefaults instantiates a new LogExportConfigModifyRequest 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 (*LogExportConfigModifyRequest) GetAccessKey

func (o *LogExportConfigModifyRequest) GetAccessKey() string

GetAccessKey returns the AccessKey field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigModifyRequest) GetAccessKeyOk

func (o *LogExportConfigModifyRequest) GetAccessKeyOk() (*string, bool)

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

func (*LogExportConfigModifyRequest) GetDeleteOnExport

func (o *LogExportConfigModifyRequest) GetDeleteOnExport() bool

GetDeleteOnExport returns the DeleteOnExport field value If the value is explicit nil, the zero value for bool will be returned

func (*LogExportConfigModifyRequest) GetDeleteOnExportOk

func (o *LogExportConfigModifyRequest) GetDeleteOnExportOk() (*bool, bool)

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

func (*LogExportConfigModifyRequest) GetScheduleDayOfMonth

func (o *LogExportConfigModifyRequest) GetScheduleDayOfMonth() string

GetScheduleDayOfMonth returns the ScheduleDayOfMonth field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigModifyRequest) GetScheduleDayOfMonthOk

func (o *LogExportConfigModifyRequest) GetScheduleDayOfMonthOk() (*string, bool)

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

func (*LogExportConfigModifyRequest) GetScheduleDayOfWeek

func (o *LogExportConfigModifyRequest) GetScheduleDayOfWeek() DayOfWeek

GetScheduleDayOfWeek returns the ScheduleDayOfWeek field value If the value is explicit nil, the zero value for DayOfWeek will be returned

func (*LogExportConfigModifyRequest) GetScheduleDayOfWeekOk

func (o *LogExportConfigModifyRequest) GetScheduleDayOfWeekOk() (*DayOfWeek, bool)

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

func (*LogExportConfigModifyRequest) GetScheduleFrequencyType

func (o *LogExportConfigModifyRequest) GetScheduleFrequencyType() string

GetScheduleFrequencyType returns the ScheduleFrequencyType field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigModifyRequest) GetScheduleFrequencyTypeOk

func (o *LogExportConfigModifyRequest) GetScheduleFrequencyTypeOk() (*string, bool)

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

func (*LogExportConfigModifyRequest) GetScheduleHour

func (o *LogExportConfigModifyRequest) GetScheduleHour() string

GetScheduleHour returns the ScheduleHour field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigModifyRequest) GetScheduleHourOk

func (o *LogExportConfigModifyRequest) GetScheduleHourOk() (*string, bool)

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

func (*LogExportConfigModifyRequest) GetSecretKey

func (o *LogExportConfigModifyRequest) GetSecretKey() string

GetSecretKey returns the SecretKey field value If the value is explicit nil, the zero value for string will be returned

func (*LogExportConfigModifyRequest) GetSecretKeyOk

func (o *LogExportConfigModifyRequest) GetSecretKeyOk() (*string, bool)

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

func (LogExportConfigModifyRequest) MarshalJSON

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

func (*LogExportConfigModifyRequest) SetAccessKey

func (o *LogExportConfigModifyRequest) SetAccessKey(v string)

SetAccessKey sets field value

func (*LogExportConfigModifyRequest) SetDeleteOnExport

func (o *LogExportConfigModifyRequest) SetDeleteOnExport(v bool)

SetDeleteOnExport sets field value

func (*LogExportConfigModifyRequest) SetScheduleDayOfMonth

func (o *LogExportConfigModifyRequest) SetScheduleDayOfMonth(v string)

SetScheduleDayOfMonth sets field value

func (*LogExportConfigModifyRequest) SetScheduleDayOfWeek

func (o *LogExportConfigModifyRequest) SetScheduleDayOfWeek(v DayOfWeek)

SetScheduleDayOfWeek sets field value

func (*LogExportConfigModifyRequest) SetScheduleFrequencyType

func (o *LogExportConfigModifyRequest) SetScheduleFrequencyType(v string)

SetScheduleFrequencyType sets field value

func (*LogExportConfigModifyRequest) SetScheduleHour

func (o *LogExportConfigModifyRequest) SetScheduleHour(v string)

SetScheduleHour sets field value

func (*LogExportConfigModifyRequest) SetSecretKey

func (o *LogExportConfigModifyRequest) SetSecretKey(v string)

SetSecretKey sets field value

func (LogExportConfigModifyRequest) ToMap

func (o LogExportConfigModifyRequest) ToMap() (map[string]interface{}, error)

func (*LogExportConfigModifyRequest) UnmarshalJSON

func (o *LogExportConfigModifyRequest) UnmarshalJSON(data []byte) (err error)

type LogType

type LogType string

LogType the model 'LogType'

const (
	LOGTYPE_ALERT LogType = "alert"
	LOGTYPE_AUDIT LogType = "audit"
	LOGTYPE_SLOW  LogType = "slow"
)

List of LogType

func NewLogTypeFromValue

func NewLogTypeFromValue(v string) (*LogType, error)

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

func (LogType) IsValid

func (v LogType) IsValid() bool

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

func (LogType) Ptr

func (v LogType) Ptr() *LogType

Ptr returns reference to LogType value

func (*LogType) UnmarshalJSON

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

type MaintenanceOption

type MaintenanceOption struct {
	// Period in hours
	PeriodHour *string `json:"period_hour,omitempty" validate:"regexp=^(0\\\\.5|[1-5]\\\\.5|[1-9]|1[0-9]|2[0-4])$"`
	// Starting day of week
	StartingDayOfWeek *DayOfWeek `json:"starting_day_of_week,omitempty"`
	// Starting time
	StartingTime *string `json:"starting_time,omitempty"`
}

MaintenanceOption struct for MaintenanceOption

func NewMaintenanceOption

func NewMaintenanceOption() *MaintenanceOption

NewMaintenanceOption instantiates a new MaintenanceOption 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 NewMaintenanceOptionWithDefaults

func NewMaintenanceOptionWithDefaults() *MaintenanceOption

NewMaintenanceOptionWithDefaults instantiates a new MaintenanceOption 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 (*MaintenanceOption) GetPeriodHour

func (o *MaintenanceOption) GetPeriodHour() string

GetPeriodHour returns the PeriodHour field value if set, zero value otherwise.

func (*MaintenanceOption) GetPeriodHourOk

func (o *MaintenanceOption) GetPeriodHourOk() (*string, bool)

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

func (*MaintenanceOption) GetStartingDayOfWeek

func (o *MaintenanceOption) GetStartingDayOfWeek() DayOfWeek

GetStartingDayOfWeek returns the StartingDayOfWeek field value if set, zero value otherwise.

func (*MaintenanceOption) GetStartingDayOfWeekOk

func (o *MaintenanceOption) GetStartingDayOfWeekOk() (*DayOfWeek, bool)

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

func (*MaintenanceOption) GetStartingTime

func (o *MaintenanceOption) GetStartingTime() string

GetStartingTime returns the StartingTime field value if set, zero value otherwise.

func (*MaintenanceOption) GetStartingTimeOk

func (o *MaintenanceOption) GetStartingTimeOk() (*string, bool)

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

func (*MaintenanceOption) HasPeriodHour

func (o *MaintenanceOption) HasPeriodHour() bool

HasPeriodHour returns a boolean if a field has been set.

func (*MaintenanceOption) HasStartingDayOfWeek

func (o *MaintenanceOption) HasStartingDayOfWeek() bool

HasStartingDayOfWeek returns a boolean if a field has been set.

func (*MaintenanceOption) HasStartingTime

func (o *MaintenanceOption) HasStartingTime() bool

HasStartingTime returns a boolean if a field has been set.

func (MaintenanceOption) MarshalJSON

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

func (*MaintenanceOption) SetPeriodHour

func (o *MaintenanceOption) SetPeriodHour(v string)

SetPeriodHour gets a reference to the given string and assigns it to the PeriodHour field.

func (*MaintenanceOption) SetStartingDayOfWeek

func (o *MaintenanceOption) SetStartingDayOfWeek(v DayOfWeek)

SetStartingDayOfWeek gets a reference to the given DayOfWeek and assigns it to the StartingDayOfWeek field.

func (*MaintenanceOption) SetStartingTime

func (o *MaintenanceOption) SetStartingTime(v string)

SetStartingTime gets a reference to the given string and assigns it to the StartingTime field.

func (MaintenanceOption) ToMap

func (o MaintenanceOption) ToMap() (map[string]interface{}, error)

type MaintenanceRequest

type MaintenanceRequest struct {
	// start_day_of_week
	StartDayOfWeek DayOfWeek `json:"start_day_of_week"`
	// start_minute
	StartMinute string `json:"start_minute"`
	// start_time
	StartTime string `json:"start_time"`
	// term_hour
	TermHour string `json:"term_hour" validate:"regexp=^(0\\\\.5|[1-5]\\\\.5|[1-9]|1[0-9]|2[0-4])$"`
}

MaintenanceRequest struct for MaintenanceRequest

func NewMaintenanceRequest

func NewMaintenanceRequest(startDayOfWeek DayOfWeek, startMinute string, startTime string, termHour string) *MaintenanceRequest

NewMaintenanceRequest instantiates a new MaintenanceRequest 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 NewMaintenanceRequestWithDefaults

func NewMaintenanceRequestWithDefaults() *MaintenanceRequest

NewMaintenanceRequestWithDefaults instantiates a new MaintenanceRequest 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 (*MaintenanceRequest) GetStartDayOfWeek

func (o *MaintenanceRequest) GetStartDayOfWeek() DayOfWeek

GetStartDayOfWeek returns the StartDayOfWeek field value

func (*MaintenanceRequest) GetStartDayOfWeekOk

func (o *MaintenanceRequest) GetStartDayOfWeekOk() (*DayOfWeek, bool)

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

func (*MaintenanceRequest) GetStartMinute

func (o *MaintenanceRequest) GetStartMinute() string

GetStartMinute returns the StartMinute field value

func (*MaintenanceRequest) GetStartMinuteOk

func (o *MaintenanceRequest) GetStartMinuteOk() (*string, bool)

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

func (*MaintenanceRequest) GetStartTime

func (o *MaintenanceRequest) GetStartTime() string

GetStartTime returns the StartTime field value

func (*MaintenanceRequest) GetStartTimeOk

func (o *MaintenanceRequest) GetStartTimeOk() (*string, bool)

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

func (*MaintenanceRequest) GetTermHour

func (o *MaintenanceRequest) GetTermHour() string

GetTermHour returns the TermHour field value

func (*MaintenanceRequest) GetTermHourOk

func (o *MaintenanceRequest) GetTermHourOk() (*string, bool)

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

func (MaintenanceRequest) MarshalJSON

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

func (*MaintenanceRequest) SetStartDayOfWeek

func (o *MaintenanceRequest) SetStartDayOfWeek(v DayOfWeek)

SetStartDayOfWeek sets field value

func (*MaintenanceRequest) SetStartMinute

func (o *MaintenanceRequest) SetStartMinute(v string)

SetStartMinute sets field value

func (*MaintenanceRequest) SetStartTime

func (o *MaintenanceRequest) SetStartTime(v string)

SetStartTime sets field value

func (*MaintenanceRequest) SetTermHour

func (o *MaintenanceRequest) SetTermHour(v string)

SetTermHour sets field value

func (MaintenanceRequest) ToMap

func (o MaintenanceRequest) ToMap() (map[string]interface{}, error)

func (*MaintenanceRequest) UnmarshalJSON

func (o *MaintenanceRequest) UnmarshalJSON(data []byte) (err error)

type MaintenanceResponseOption

type MaintenanceResponseOption struct {
	PeriodHour        NullableString    `json:"period_hour,omitempty"`
	StartingDayOfWeek NullableDayOfWeek `json:"starting_day_of_week,omitempty"`
	StartingTime      NullableString    `json:"starting_time,omitempty"`
	// Maintenance period usage state
	UseMaintenanceOption *bool `json:"use_maintenance_option,omitempty"`
}

MaintenanceResponseOption struct for MaintenanceResponseOption

func NewMaintenanceResponseOption

func NewMaintenanceResponseOption() *MaintenanceResponseOption

NewMaintenanceResponseOption instantiates a new MaintenanceResponseOption 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 NewMaintenanceResponseOptionWithDefaults

func NewMaintenanceResponseOptionWithDefaults() *MaintenanceResponseOption

NewMaintenanceResponseOptionWithDefaults instantiates a new MaintenanceResponseOption 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 (*MaintenanceResponseOption) GetPeriodHour

func (o *MaintenanceResponseOption) GetPeriodHour() string

GetPeriodHour returns the PeriodHour field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MaintenanceResponseOption) GetPeriodHourOk

func (o *MaintenanceResponseOption) GetPeriodHourOk() (*string, bool)

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

func (*MaintenanceResponseOption) GetStartingDayOfWeek

func (o *MaintenanceResponseOption) GetStartingDayOfWeek() DayOfWeek

GetStartingDayOfWeek returns the StartingDayOfWeek field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MaintenanceResponseOption) GetStartingDayOfWeekOk

func (o *MaintenanceResponseOption) GetStartingDayOfWeekOk() (*DayOfWeek, bool)

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

func (*MaintenanceResponseOption) GetStartingTime

func (o *MaintenanceResponseOption) GetStartingTime() string

GetStartingTime returns the StartingTime field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MaintenanceResponseOption) GetStartingTimeOk

func (o *MaintenanceResponseOption) GetStartingTimeOk() (*string, bool)

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

func (*MaintenanceResponseOption) GetUseMaintenanceOption

func (o *MaintenanceResponseOption) GetUseMaintenanceOption() bool

GetUseMaintenanceOption returns the UseMaintenanceOption field value if set, zero value otherwise.

func (*MaintenanceResponseOption) GetUseMaintenanceOptionOk

func (o *MaintenanceResponseOption) GetUseMaintenanceOptionOk() (*bool, bool)

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

func (*MaintenanceResponseOption) HasPeriodHour

func (o *MaintenanceResponseOption) HasPeriodHour() bool

HasPeriodHour returns a boolean if a field has been set.

func (*MaintenanceResponseOption) HasStartingDayOfWeek

func (o *MaintenanceResponseOption) HasStartingDayOfWeek() bool

HasStartingDayOfWeek returns a boolean if a field has been set.

func (*MaintenanceResponseOption) HasStartingTime

func (o *MaintenanceResponseOption) HasStartingTime() bool

HasStartingTime returns a boolean if a field has been set.

func (*MaintenanceResponseOption) HasUseMaintenanceOption

func (o *MaintenanceResponseOption) HasUseMaintenanceOption() bool

HasUseMaintenanceOption returns a boolean if a field has been set.

func (MaintenanceResponseOption) MarshalJSON

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

func (*MaintenanceResponseOption) SetPeriodHour

func (o *MaintenanceResponseOption) SetPeriodHour(v string)

SetPeriodHour gets a reference to the given NullableString and assigns it to the PeriodHour field.

func (*MaintenanceResponseOption) SetPeriodHourNil

func (o *MaintenanceResponseOption) SetPeriodHourNil()

SetPeriodHourNil sets the value for PeriodHour to be an explicit nil

func (*MaintenanceResponseOption) SetStartingDayOfWeek

func (o *MaintenanceResponseOption) SetStartingDayOfWeek(v DayOfWeek)

SetStartingDayOfWeek gets a reference to the given NullableDayOfWeek and assigns it to the StartingDayOfWeek field.

func (*MaintenanceResponseOption) SetStartingDayOfWeekNil

func (o *MaintenanceResponseOption) SetStartingDayOfWeekNil()

SetStartingDayOfWeekNil sets the value for StartingDayOfWeek to be an explicit nil

func (*MaintenanceResponseOption) SetStartingTime

func (o *MaintenanceResponseOption) SetStartingTime(v string)

SetStartingTime gets a reference to the given NullableString and assigns it to the StartingTime field.

func (*MaintenanceResponseOption) SetStartingTimeNil

func (o *MaintenanceResponseOption) SetStartingTimeNil()

SetStartingTimeNil sets the value for StartingTime to be an explicit nil

func (*MaintenanceResponseOption) SetUseMaintenanceOption

func (o *MaintenanceResponseOption) SetUseMaintenanceOption(v bool)

SetUseMaintenanceOption gets a reference to the given bool and assigns it to the UseMaintenanceOption field.

func (MaintenanceResponseOption) ToMap

func (o MaintenanceResponseOption) ToMap() (map[string]interface{}, error)

func (*MaintenanceResponseOption) UnsetPeriodHour

func (o *MaintenanceResponseOption) UnsetPeriodHour()

UnsetPeriodHour ensures that no value is present for PeriodHour, not even an explicit nil

func (*MaintenanceResponseOption) UnsetStartingDayOfWeek

func (o *MaintenanceResponseOption) UnsetStartingDayOfWeek()

UnsetStartingDayOfWeek ensures that no value is present for StartingDayOfWeek, not even an explicit nil

func (*MaintenanceResponseOption) UnsetStartingTime

func (o *MaintenanceResponseOption) UnsetStartingTime()

UnsetStartingTime ensures that no value is present for StartingTime, not even an explicit nil

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MinorPatchRequest

type MinorPatchRequest struct {
	// backup_before_upgrade
	BackupBeforeUpgrade bool `json:"backup_before_upgrade"`
	// software_version
	SoftwareVersion string `json:"software_version"`
}

MinorPatchRequest struct for MinorPatchRequest

func NewMinorPatchRequest

func NewMinorPatchRequest(backupBeforeUpgrade bool, softwareVersion string) *MinorPatchRequest

NewMinorPatchRequest instantiates a new MinorPatchRequest 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 NewMinorPatchRequestWithDefaults

func NewMinorPatchRequestWithDefaults() *MinorPatchRequest

NewMinorPatchRequestWithDefaults instantiates a new MinorPatchRequest 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 (*MinorPatchRequest) GetBackupBeforeUpgrade

func (o *MinorPatchRequest) GetBackupBeforeUpgrade() bool

GetBackupBeforeUpgrade returns the BackupBeforeUpgrade field value

func (*MinorPatchRequest) GetBackupBeforeUpgradeOk

func (o *MinorPatchRequest) GetBackupBeforeUpgradeOk() (*bool, bool)

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

func (*MinorPatchRequest) GetSoftwareVersion

func (o *MinorPatchRequest) GetSoftwareVersion() string

GetSoftwareVersion returns the SoftwareVersion field value

func (*MinorPatchRequest) GetSoftwareVersionOk

func (o *MinorPatchRequest) GetSoftwareVersionOk() (*string, bool)

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

func (MinorPatchRequest) MarshalJSON

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

func (*MinorPatchRequest) SetBackupBeforeUpgrade

func (o *MinorPatchRequest) SetBackupBeforeUpgrade(v bool)

SetBackupBeforeUpgrade sets field value

func (*MinorPatchRequest) SetSoftwareVersion

func (o *MinorPatchRequest) SetSoftwareVersion(v string)

SetSoftwareVersion sets field value

func (MinorPatchRequest) ToMap

func (o MinorPatchRequest) ToMap() (map[string]interface{}, error)

func (*MinorPatchRequest) UnmarshalJSON

func (o *MinorPatchRequest) UnmarshalJSON(data []byte) (err error)

type NullableAsyncResponse

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

func NewNullableAsyncResponse

func NewNullableAsyncResponse(val *AsyncResponse) *NullableAsyncResponse

func (NullableAsyncResponse) Get

func (NullableAsyncResponse) IsSet

func (v NullableAsyncResponse) IsSet() bool

func (NullableAsyncResponse) MarshalJSON

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

func (*NullableAsyncResponse) Set

func (v *NullableAsyncResponse) Set(val *AsyncResponse)

func (*NullableAsyncResponse) UnmarshalJSON

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

func (*NullableAsyncResponse) Unset

func (v *NullableAsyncResponse) Unset()

type NullableAuditLogRequest

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

func NewNullableAuditLogRequest

func NewNullableAuditLogRequest(val *AuditLogRequest) *NullableAuditLogRequest

func (NullableAuditLogRequest) Get

func (NullableAuditLogRequest) IsSet

func (v NullableAuditLogRequest) IsSet() bool

func (NullableAuditLogRequest) MarshalJSON

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

func (*NullableAuditLogRequest) Set

func (*NullableAuditLogRequest) UnmarshalJSON

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

func (*NullableAuditLogRequest) Unset

func (v *NullableAuditLogRequest) Unset()

type NullableBackupHistoryApiItem

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

func NewNullableBackupHistoryApiItem

func NewNullableBackupHistoryApiItem(val *BackupHistoryApiItem) *NullableBackupHistoryApiItem

func (NullableBackupHistoryApiItem) Get

func (NullableBackupHistoryApiItem) IsSet

func (NullableBackupHistoryApiItem) MarshalJSON

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

func (*NullableBackupHistoryApiItem) Set

func (*NullableBackupHistoryApiItem) UnmarshalJSON

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

func (*NullableBackupHistoryApiItem) Unset

func (v *NullableBackupHistoryApiItem) Unset()

type NullableBackupHistoryListApiResponse

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

func (NullableBackupHistoryListApiResponse) Get

func (NullableBackupHistoryListApiResponse) IsSet

func (NullableBackupHistoryListApiResponse) MarshalJSON

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

func (*NullableBackupHistoryListApiResponse) Set

func (*NullableBackupHistoryListApiResponse) UnmarshalJSON

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

func (*NullableBackupHistoryListApiResponse) Unset

type NullableBackupHistoryNumberRequest

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

func (NullableBackupHistoryNumberRequest) Get

func (NullableBackupHistoryNumberRequest) IsSet

func (NullableBackupHistoryNumberRequest) MarshalJSON

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

func (*NullableBackupHistoryNumberRequest) Set

func (*NullableBackupHistoryNumberRequest) UnmarshalJSON

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

func (*NullableBackupHistoryNumberRequest) Unset

type NullableBlockStorageGroupRequest

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

func (NullableBlockStorageGroupRequest) Get

func (NullableBlockStorageGroupRequest) IsSet

func (NullableBlockStorageGroupRequest) MarshalJSON

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

func (*NullableBlockStorageGroupRequest) Set

func (*NullableBlockStorageGroupRequest) UnmarshalJSON

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

func (*NullableBlockStorageGroupRequest) Unset

type NullableBlockStorageGroupRoleType

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

func (NullableBlockStorageGroupRoleType) Get

func (NullableBlockStorageGroupRoleType) IsSet

func (NullableBlockStorageGroupRoleType) MarshalJSON

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

func (*NullableBlockStorageGroupRoleType) Set

func (*NullableBlockStorageGroupRoleType) UnmarshalJSON

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

func (*NullableBlockStorageGroupRoleType) 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 NullableClusterRestoreRequest

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

func (NullableClusterRestoreRequest) Get

func (NullableClusterRestoreRequest) IsSet

func (NullableClusterRestoreRequest) MarshalJSON

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

func (*NullableClusterRestoreRequest) Set

func (*NullableClusterRestoreRequest) UnmarshalJSON

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

func (*NullableClusterRestoreRequest) Unset

func (v *NullableClusterRestoreRequest) Unset()

type NullableClusterRoleType

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

func NewNullableClusterRoleType

func NewNullableClusterRoleType(val *ClusterRoleType) *NullableClusterRoleType

func (NullableClusterRoleType) Get

func (NullableClusterRoleType) IsSet

func (v NullableClusterRoleType) IsSet() bool

func (NullableClusterRoleType) MarshalJSON

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

func (*NullableClusterRoleType) Set

func (*NullableClusterRoleType) UnmarshalJSON

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

func (*NullableClusterRoleType) Unset

func (v *NullableClusterRoleType) Unset()

type NullableDatabaseUserRequest

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

func NewNullableDatabaseUserRequest

func NewNullableDatabaseUserRequest(val *DatabaseUserRequest) *NullableDatabaseUserRequest

func (NullableDatabaseUserRequest) Get

func (NullableDatabaseUserRequest) IsSet

func (NullableDatabaseUserRequest) MarshalJSON

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

func (*NullableDatabaseUserRequest) Set

func (*NullableDatabaseUserRequest) UnmarshalJSON

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

func (*NullableDatabaseUserRequest) Unset

func (v *NullableDatabaseUserRequest) Unset()

type NullableDatabaseUserState

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

func NewNullableDatabaseUserState

func NewNullableDatabaseUserState(val *DatabaseUserState) *NullableDatabaseUserState

func (NullableDatabaseUserState) Get

func (NullableDatabaseUserState) IsSet

func (v NullableDatabaseUserState) IsSet() bool

func (NullableDatabaseUserState) MarshalJSON

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

func (*NullableDatabaseUserState) Set

func (*NullableDatabaseUserState) UnmarshalJSON

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

func (*NullableDatabaseUserState) Unset

func (v *NullableDatabaseUserState) Unset()

type NullableDatabaseUsersSetRequest

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

func (NullableDatabaseUsersSetRequest) Get

func (NullableDatabaseUsersSetRequest) IsSet

func (NullableDatabaseUsersSetRequest) MarshalJSON

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

func (*NullableDatabaseUsersSetRequest) Set

func (*NullableDatabaseUsersSetRequest) UnmarshalJSON

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

func (*NullableDatabaseUsersSetRequest) Unset

type NullableDayOfWeek

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

func NewNullableDayOfWeek

func NewNullableDayOfWeek(val *DayOfWeek) *NullableDayOfWeek

func (NullableDayOfWeek) Get

func (v NullableDayOfWeek) Get() *DayOfWeek

func (NullableDayOfWeek) IsSet

func (v NullableDayOfWeek) IsSet() bool

func (NullableDayOfWeek) MarshalJSON

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

func (*NullableDayOfWeek) Set

func (v *NullableDayOfWeek) Set(val *DayOfWeek)

func (*NullableDayOfWeek) UnmarshalJSON

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

func (*NullableDayOfWeek) Unset

func (v *NullableDayOfWeek) Unset()

type NullableDbCollation

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

func NewNullableDbCollation

func NewNullableDbCollation(val *DbCollation) *NullableDbCollation

func (NullableDbCollation) Get

func (NullableDbCollation) IsSet

func (v NullableDbCollation) IsSet() bool

func (NullableDbCollation) MarshalJSON

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

func (*NullableDbCollation) Set

func (v *NullableDbCollation) Set(val *DbCollation)

func (*NullableDbCollation) UnmarshalJSON

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

func (*NullableDbCollation) Unset

func (v *NullableDbCollation) Unset()

type NullableEngine

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

func NewNullableEngine

func NewNullableEngine(val *Engine) *NullableEngine

func (NullableEngine) Get

func (v NullableEngine) Get() *Engine

func (NullableEngine) IsSet

func (v NullableEngine) IsSet() bool

func (NullableEngine) MarshalJSON

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

func (*NullableEngine) Set

func (v *NullableEngine) Set(val *Engine)

func (*NullableEngine) UnmarshalJSON

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

func (*NullableEngine) Unset

func (v *NullableEngine) Unset()

type NullableEngineListResponse

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

func NewNullableEngineListResponse

func NewNullableEngineListResponse(val *EngineListResponse) *NullableEngineListResponse

func (NullableEngineListResponse) Get

func (NullableEngineListResponse) IsSet

func (v NullableEngineListResponse) IsSet() bool

func (NullableEngineListResponse) MarshalJSON

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

func (*NullableEngineListResponse) Set

func (*NullableEngineListResponse) UnmarshalJSON

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

func (*NullableEngineListResponse) Unset

func (v *NullableEngineListResponse) Unset()

type NullableEngineProperty

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

func NewNullableEngineProperty

func NewNullableEngineProperty(val *EngineProperty) *NullableEngineProperty

func (NullableEngineProperty) Get

func (NullableEngineProperty) IsSet

func (v NullableEngineProperty) IsSet() bool

func (NullableEngineProperty) MarshalJSON

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

func (*NullableEngineProperty) Set

func (*NullableEngineProperty) UnmarshalJSON

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

func (*NullableEngineProperty) Unset

func (v *NullableEngineProperty) Unset()

type NullableEnginePropertyListResponse

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

func (NullableEnginePropertyListResponse) Get

func (NullableEnginePropertyListResponse) IsSet

func (NullableEnginePropertyListResponse) MarshalJSON

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

func (*NullableEnginePropertyListResponse) Set

func (*NullableEnginePropertyListResponse) UnmarshalJSON

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

func (*NullableEnginePropertyListResponse) 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 NullableInstanceGroupResizeRequest

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

func (NullableInstanceGroupResizeRequest) Get

func (NullableInstanceGroupResizeRequest) IsSet

func (NullableInstanceGroupResizeRequest) MarshalJSON

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

func (*NullableInstanceGroupResizeRequest) Set

func (*NullableInstanceGroupResizeRequest) UnmarshalJSON

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

func (*NullableInstanceGroupResizeRequest) Unset

type NullableInstanceGroupRoleType

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

func (NullableInstanceGroupRoleType) Get

func (NullableInstanceGroupRoleType) IsSet

func (NullableInstanceGroupRoleType) MarshalJSON

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

func (*NullableInstanceGroupRoleType) Set

func (*NullableInstanceGroupRoleType) UnmarshalJSON

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

func (*NullableInstanceGroupRoleType) Unset

func (v *NullableInstanceGroupRoleType) Unset()

type NullableInstanceResponse

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

func NewNullableInstanceResponse

func NewNullableInstanceResponse(val *InstanceResponse) *NullableInstanceResponse

func (NullableInstanceResponse) Get

func (NullableInstanceResponse) IsSet

func (v NullableInstanceResponse) IsSet() bool

func (NullableInstanceResponse) MarshalJSON

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

func (*NullableInstanceResponse) Set

func (*NullableInstanceResponse) UnmarshalJSON

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

func (*NullableInstanceResponse) Unset

func (v *NullableInstanceResponse) Unset()

type NullableInstanceRoleType

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

func NewNullableInstanceRoleType

func NewNullableInstanceRoleType(val *InstanceRoleType) *NullableInstanceRoleType

func (NullableInstanceRoleType) Get

func (NullableInstanceRoleType) IsSet

func (v NullableInstanceRoleType) IsSet() bool

func (NullableInstanceRoleType) MarshalJSON

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

func (*NullableInstanceRoleType) Set

func (*NullableInstanceRoleType) UnmarshalJSON

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

func (*NullableInstanceRoleType) Unset

func (v *NullableInstanceRoleType) 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 NullableLogExportConfig

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

func NewNullableLogExportConfig

func NewNullableLogExportConfig(val *LogExportConfig) *NullableLogExportConfig

func (NullableLogExportConfig) Get

func (NullableLogExportConfig) IsSet

func (v NullableLogExportConfig) IsSet() bool

func (NullableLogExportConfig) MarshalJSON

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

func (*NullableLogExportConfig) Set

func (*NullableLogExportConfig) UnmarshalJSON

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

func (*NullableLogExportConfig) Unset

func (v *NullableLogExportConfig) Unset()

type NullableLogExportConfigCreateRequest

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

func (NullableLogExportConfigCreateRequest) Get

func (NullableLogExportConfigCreateRequest) IsSet

func (NullableLogExportConfigCreateRequest) MarshalJSON

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

func (*NullableLogExportConfigCreateRequest) Set

func (*NullableLogExportConfigCreateRequest) UnmarshalJSON

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

func (*NullableLogExportConfigCreateRequest) Unset

type NullableLogExportConfigListResponse

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

func (NullableLogExportConfigListResponse) Get

func (NullableLogExportConfigListResponse) IsSet

func (NullableLogExportConfigListResponse) MarshalJSON

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

func (*NullableLogExportConfigListResponse) Set

func (*NullableLogExportConfigListResponse) UnmarshalJSON

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

func (*NullableLogExportConfigListResponse) Unset

type NullableLogExportConfigModifyRequest

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

func (NullableLogExportConfigModifyRequest) Get

func (NullableLogExportConfigModifyRequest) IsSet

func (NullableLogExportConfigModifyRequest) MarshalJSON

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

func (*NullableLogExportConfigModifyRequest) Set

func (*NullableLogExportConfigModifyRequest) UnmarshalJSON

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

func (*NullableLogExportConfigModifyRequest) Unset

type NullableLogType

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

func NewNullableLogType

func NewNullableLogType(val *LogType) *NullableLogType

func (NullableLogType) Get

func (v NullableLogType) Get() *LogType

func (NullableLogType) IsSet

func (v NullableLogType) IsSet() bool

func (NullableLogType) MarshalJSON

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

func (*NullableLogType) Set

func (v *NullableLogType) Set(val *LogType)

func (*NullableLogType) UnmarshalJSON

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

func (*NullableLogType) Unset

func (v *NullableLogType) Unset()

type NullableMaintenanceOption

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

func NewNullableMaintenanceOption

func NewNullableMaintenanceOption(val *MaintenanceOption) *NullableMaintenanceOption

func (NullableMaintenanceOption) Get

func (NullableMaintenanceOption) IsSet

func (v NullableMaintenanceOption) IsSet() bool

func (NullableMaintenanceOption) MarshalJSON

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

func (*NullableMaintenanceOption) Set

func (*NullableMaintenanceOption) UnmarshalJSON

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

func (*NullableMaintenanceOption) Unset

func (v *NullableMaintenanceOption) Unset()

type NullableMaintenanceRequest

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

func NewNullableMaintenanceRequest

func NewNullableMaintenanceRequest(val *MaintenanceRequest) *NullableMaintenanceRequest

func (NullableMaintenanceRequest) Get

func (NullableMaintenanceRequest) IsSet

func (v NullableMaintenanceRequest) IsSet() bool

func (NullableMaintenanceRequest) MarshalJSON

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

func (*NullableMaintenanceRequest) Set

func (*NullableMaintenanceRequest) UnmarshalJSON

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

func (*NullableMaintenanceRequest) Unset

func (v *NullableMaintenanceRequest) Unset()

type NullableMaintenanceResponseOption

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

func (NullableMaintenanceResponseOption) Get

func (NullableMaintenanceResponseOption) IsSet

func (NullableMaintenanceResponseOption) MarshalJSON

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

func (*NullableMaintenanceResponseOption) Set

func (*NullableMaintenanceResponseOption) UnmarshalJSON

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

func (*NullableMaintenanceResponseOption) Unset

type NullableMinorPatchRequest

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

func NewNullableMinorPatchRequest

func NewNullableMinorPatchRequest(val *MinorPatchRequest) *NullableMinorPatchRequest

func (NullableMinorPatchRequest) Get

func (NullableMinorPatchRequest) IsSet

func (v NullableMinorPatchRequest) IsSet() bool

func (NullableMinorPatchRequest) MarshalJSON

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

func (*NullableMinorPatchRequest) Set

func (*NullableMinorPatchRequest) UnmarshalJSON

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

func (*NullableMinorPatchRequest) Unset

func (v *NullableMinorPatchRequest) Unset()

type NullableParameterDTO

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

func NewNullableParameterDTO

func NewNullableParameterDTO(val *ParameterDTO) *NullableParameterDTO

func (NullableParameterDTO) Get

func (NullableParameterDTO) IsSet

func (v NullableParameterDTO) IsSet() bool

func (NullableParameterDTO) MarshalJSON

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

func (*NullableParameterDTO) Set

func (v *NullableParameterDTO) Set(val *ParameterDTO)

func (*NullableParameterDTO) UnmarshalJSON

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

func (*NullableParameterDTO) Unset

func (v *NullableParameterDTO) Unset()

type NullableParameterGroup

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

func NewNullableParameterGroup

func NewNullableParameterGroup(val *ParameterGroup) *NullableParameterGroup

func (NullableParameterGroup) Get

func (NullableParameterGroup) IsSet

func (v NullableParameterGroup) IsSet() bool

func (NullableParameterGroup) MarshalJSON

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

func (*NullableParameterGroup) Set

func (*NullableParameterGroup) UnmarshalJSON

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

func (*NullableParameterGroup) Unset

func (v *NullableParameterGroup) Unset()

type NullableParameterGroupListResponse

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

func (NullableParameterGroupListResponse) Get

func (NullableParameterGroupListResponse) IsSet

func (NullableParameterGroupListResponse) MarshalJSON

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

func (*NullableParameterGroupListResponse) Set

func (*NullableParameterGroupListResponse) UnmarshalJSON

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

func (*NullableParameterGroupListResponse) Unset

type NullableParameterPageResponse

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

func (NullableParameterPageResponse) Get

func (NullableParameterPageResponse) IsSet

func (NullableParameterPageResponse) MarshalJSON

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

func (*NullableParameterPageResponse) Set

func (*NullableParameterPageResponse) UnmarshalJSON

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

func (*NullableParameterPageResponse) Unset

func (v *NullableParameterPageResponse) Unset()

type NullableParameterRequest

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

func NewNullableParameterRequest

func NewNullableParameterRequest(val *ParameterRequest) *NullableParameterRequest

func (NullableParameterRequest) Get

func (NullableParameterRequest) IsSet

func (v NullableParameterRequest) IsSet() bool

func (NullableParameterRequest) MarshalJSON

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

func (*NullableParameterRequest) Set

func (*NullableParameterRequest) UnmarshalJSON

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

func (*NullableParameterRequest) Unset

func (v *NullableParameterRequest) Unset()

type NullableParameters

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

func NewNullableParameters

func NewNullableParameters(val *Parameters) *NullableParameters

func (NullableParameters) Get

func (v NullableParameters) Get() *Parameters

func (NullableParameters) IsSet

func (v NullableParameters) IsSet() bool

func (NullableParameters) MarshalJSON

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

func (*NullableParameters) Set

func (v *NullableParameters) Set(val *Parameters)

func (*NullableParameters) UnmarshalJSON

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

func (*NullableParameters) Unset

func (v *NullableParameters) Unset()

type NullableParametersRequest

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

func NewNullableParametersRequest

func NewNullableParametersRequest(val *ParametersRequest) *NullableParametersRequest

func (NullableParametersRequest) Get

func (NullableParametersRequest) IsSet

func (v NullableParametersRequest) IsSet() bool

func (NullableParametersRequest) MarshalJSON

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

func (*NullableParametersRequest) Set

func (*NullableParametersRequest) UnmarshalJSON

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

func (*NullableParametersRequest) Unset

func (v *NullableParametersRequest) Unset()

type NullableParametersResponse

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

func NewNullableParametersResponse

func NewNullableParametersResponse(val *ParametersResponse) *NullableParametersResponse

func (NullableParametersResponse) Get

func (NullableParametersResponse) IsSet

func (v NullableParametersResponse) IsSet() bool

func (NullableParametersResponse) MarshalJSON

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

func (*NullableParametersResponse) Set

func (*NullableParametersResponse) UnmarshalJSON

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

func (*NullableParametersResponse) Unset

func (v *NullableParametersResponse) Unset()

type NullableProductImageType

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

func NewNullableProductImageType

func NewNullableProductImageType(val *ProductImageType) *NullableProductImageType

func (NullableProductImageType) Get

func (NullableProductImageType) IsSet

func (v NullableProductImageType) IsSet() bool

func (NullableProductImageType) MarshalJSON

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

func (*NullableProductImageType) Set

func (*NullableProductImageType) UnmarshalJSON

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

func (*NullableProductImageType) Unset

func (v *NullableProductImageType) Unset()

type NullableProductType

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

func NewNullableProductType

func NewNullableProductType(val *ProductType) *NullableProductType

func (NullableProductType) Get

func (NullableProductType) IsSet

func (v NullableProductType) IsSet() bool

func (NullableProductType) MarshalJSON

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

func (*NullableProductType) Set

func (v *NullableProductType) Set(val *ProductType)

func (*NullableProductType) UnmarshalJSON

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

func (*NullableProductType) Unset

func (v *NullableProductType) Unset()

type NullableRdbClusterPageResponse

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

func (NullableRdbClusterPageResponse) Get

func (NullableRdbClusterPageResponse) IsSet

func (NullableRdbClusterPageResponse) MarshalJSON

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

func (*NullableRdbClusterPageResponse) Set

func (*NullableRdbClusterPageResponse) UnmarshalJSON

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

func (*NullableRdbClusterPageResponse) Unset

func (v *NullableRdbClusterPageResponse) Unset()

type NullableRdbClusterResponse

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

func NewNullableRdbClusterResponse

func NewNullableRdbClusterResponse(val *RdbClusterResponse) *NullableRdbClusterResponse

func (NullableRdbClusterResponse) Get

func (NullableRdbClusterResponse) IsSet

func (v NullableRdbClusterResponse) IsSet() bool

func (NullableRdbClusterResponse) MarshalJSON

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

func (*NullableRdbClusterResponse) Set

func (*NullableRdbClusterResponse) UnmarshalJSON

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

func (*NullableRdbClusterResponse) Unset

func (v *NullableRdbClusterResponse) Unset()

type NullableRequestStateResponse

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

func NewNullableRequestStateResponse

func NewNullableRequestStateResponse(val *RequestStateResponse) *NullableRequestStateResponse

func (NullableRequestStateResponse) Get

func (NullableRequestStateResponse) IsSet

func (NullableRequestStateResponse) MarshalJSON

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

func (*NullableRequestStateResponse) Set

func (*NullableRequestStateResponse) UnmarshalJSON

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

func (*NullableRequestStateResponse) Unset

func (v *NullableRequestStateResponse) Unset()

type NullableResizeBlockStorageGroupRequest

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

func (NullableResizeBlockStorageGroupRequest) Get

func (NullableResizeBlockStorageGroupRequest) IsSet

func (NullableResizeBlockStorageGroupRequest) MarshalJSON

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

func (*NullableResizeBlockStorageGroupRequest) Set

func (*NullableResizeBlockStorageGroupRequest) UnmarshalJSON

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

func (*NullableResizeBlockStorageGroupRequest) Unset

type NullableResourceInfo

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

func NewNullableResourceInfo

func NewNullableResourceInfo(val *ResourceInfo) *NullableResourceInfo

func (NullableResourceInfo) Get

func (NullableResourceInfo) IsSet

func (v NullableResourceInfo) IsSet() bool

func (NullableResourceInfo) MarshalJSON

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

func (*NullableResourceInfo) Set

func (v *NullableResourceInfo) Set(val *ResourceInfo)

func (*NullableResourceInfo) UnmarshalJSON

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

func (*NullableResourceInfo) Unset

func (v *NullableResourceInfo) Unset()

type NullableServerType

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

func NewNullableServerType

func NewNullableServerType(val *ServerType) *NullableServerType

func (NullableServerType) Get

func (v NullableServerType) Get() *ServerType

func (NullableServerType) IsSet

func (v NullableServerType) IsSet() bool

func (NullableServerType) MarshalJSON

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

func (*NullableServerType) Set

func (v *NullableServerType) Set(val *ServerType)

func (*NullableServerType) UnmarshalJSON

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

func (*NullableServerType) Unset

func (v *NullableServerType) Unset()

type NullableServerTypeListResponse

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

func (NullableServerTypeListResponse) Get

func (NullableServerTypeListResponse) IsSet

func (NullableServerTypeListResponse) MarshalJSON

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

func (*NullableServerTypeListResponse) Set

func (*NullableServerTypeListResponse) UnmarshalJSON

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

func (*NullableServerTypeListResponse) Unset

func (v *NullableServerTypeListResponse) Unset()

type NullableServiceState

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

func NewNullableServiceState

func NewNullableServiceState(val *ServiceState) *NullableServiceState

func (NullableServiceState) Get

func (NullableServiceState) IsSet

func (v NullableServiceState) IsSet() bool

func (NullableServiceState) MarshalJSON

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

func (*NullableServiceState) Set

func (v *NullableServiceState) Set(val *ServiceState)

func (*NullableServiceState) UnmarshalJSON

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

func (*NullableServiceState) Unset

func (v *NullableServiceState) Unset()

type NullableSqlserverAddBlockStoragesRequest

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

func (NullableSqlserverAddBlockStoragesRequest) Get

func (NullableSqlserverAddBlockStoragesRequest) IsSet

func (NullableSqlserverAddBlockStoragesRequest) MarshalJSON

func (*NullableSqlserverAddBlockStoragesRequest) Set

func (*NullableSqlserverAddBlockStoragesRequest) UnmarshalJSON

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

func (*NullableSqlserverAddBlockStoragesRequest) Unset

type NullableSqlserverAddSecondaryRequest

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

func (NullableSqlserverAddSecondaryRequest) Get

func (NullableSqlserverAddSecondaryRequest) IsSet

func (NullableSqlserverAddSecondaryRequest) MarshalJSON

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

func (*NullableSqlserverAddSecondaryRequest) Set

func (*NullableSqlserverAddSecondaryRequest) UnmarshalJSON

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

func (*NullableSqlserverAddSecondaryRequest) Unset

type NullableSqlserverBackupOption

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

func (NullableSqlserverBackupOption) Get

func (NullableSqlserverBackupOption) IsSet

func (NullableSqlserverBackupOption) MarshalJSON

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

func (*NullableSqlserverBackupOption) Set

func (*NullableSqlserverBackupOption) UnmarshalJSON

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

func (*NullableSqlserverBackupOption) Unset

func (v *NullableSqlserverBackupOption) Unset()

type NullableSqlserverBackupSettingRequest

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

func (NullableSqlserverBackupSettingRequest) Get

func (NullableSqlserverBackupSettingRequest) IsSet

func (NullableSqlserverBackupSettingRequest) MarshalJSON

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

func (*NullableSqlserverBackupSettingRequest) Set

func (*NullableSqlserverBackupSettingRequest) UnmarshalJSON

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

func (*NullableSqlserverBackupSettingRequest) Unset

type NullableSqlserverBlockStorageGroupResponse

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

func (NullableSqlserverBlockStorageGroupResponse) Get

func (NullableSqlserverBlockStorageGroupResponse) IsSet

func (NullableSqlserverBlockStorageGroupResponse) MarshalJSON

func (*NullableSqlserverBlockStorageGroupResponse) Set

func (*NullableSqlserverBlockStorageGroupResponse) UnmarshalJSON

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

func (*NullableSqlserverBlockStorageGroupResponse) Unset

type NullableSqlserverClusterCreateRequest

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

func (NullableSqlserverClusterCreateRequest) Get

func (NullableSqlserverClusterCreateRequest) IsSet

func (NullableSqlserverClusterCreateRequest) MarshalJSON

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

func (*NullableSqlserverClusterCreateRequest) Set

func (*NullableSqlserverClusterCreateRequest) UnmarshalJSON

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

func (*NullableSqlserverClusterCreateRequest) Unset

type NullableSqlserverClusterDetailResponse

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

func (NullableSqlserverClusterDetailResponse) Get

func (NullableSqlserverClusterDetailResponse) IsSet

func (NullableSqlserverClusterDetailResponse) MarshalJSON

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

func (*NullableSqlserverClusterDetailResponse) Set

func (*NullableSqlserverClusterDetailResponse) UnmarshalJSON

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

func (*NullableSqlserverClusterDetailResponse) Unset

type NullableSqlserverDatabaseOption

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

func (NullableSqlserverDatabaseOption) Get

func (NullableSqlserverDatabaseOption) IsSet

func (NullableSqlserverDatabaseOption) MarshalJSON

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

func (*NullableSqlserverDatabaseOption) Set

func (*NullableSqlserverDatabaseOption) UnmarshalJSON

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

func (*NullableSqlserverDatabaseOption) Unset

type NullableSqlserverInitConfigOptionRequest

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

func (NullableSqlserverInitConfigOptionRequest) Get

func (NullableSqlserverInitConfigOptionRequest) IsSet

func (NullableSqlserverInitConfigOptionRequest) MarshalJSON

func (*NullableSqlserverInitConfigOptionRequest) Set

func (*NullableSqlserverInitConfigOptionRequest) UnmarshalJSON

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

func (*NullableSqlserverInitConfigOptionRequest) Unset

type NullableSqlserverInitConfigOptionResponse

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

func (NullableSqlserverInitConfigOptionResponse) Get

func (NullableSqlserverInitConfigOptionResponse) IsSet

func (NullableSqlserverInitConfigOptionResponse) MarshalJSON

func (*NullableSqlserverInitConfigOptionResponse) Set

func (*NullableSqlserverInitConfigOptionResponse) UnmarshalJSON

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

func (*NullableSqlserverInitConfigOptionResponse) Unset

type NullableSqlserverInstanceGroupRequest

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

func (NullableSqlserverInstanceGroupRequest) Get

func (NullableSqlserverInstanceGroupRequest) IsSet

func (NullableSqlserverInstanceGroupRequest) MarshalJSON

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

func (*NullableSqlserverInstanceGroupRequest) Set

func (*NullableSqlserverInstanceGroupRequest) UnmarshalJSON

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

func (*NullableSqlserverInstanceGroupRequest) Unset

type NullableSqlserverInstanceGroupResponse

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

func (NullableSqlserverInstanceGroupResponse) Get

func (NullableSqlserverInstanceGroupResponse) IsSet

func (NullableSqlserverInstanceGroupResponse) MarshalJSON

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

func (*NullableSqlserverInstanceGroupResponse) Set

func (*NullableSqlserverInstanceGroupResponse) UnmarshalJSON

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

func (*NullableSqlserverInstanceGroupResponse) Unset

type NullableSqlserverInstanceRequest

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

func (NullableSqlserverInstanceRequest) Get

func (NullableSqlserverInstanceRequest) IsSet

func (NullableSqlserverInstanceRequest) MarshalJSON

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

func (*NullableSqlserverInstanceRequest) Set

func (*NullableSqlserverInstanceRequest) UnmarshalJSON

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

func (*NullableSqlserverInstanceRequest) Unset

type NullableSqlserverUpdateDatabasesRequest

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

func (NullableSqlserverUpdateDatabasesRequest) Get

func (NullableSqlserverUpdateDatabasesRequest) IsSet

func (NullableSqlserverUpdateDatabasesRequest) MarshalJSON

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

func (*NullableSqlserverUpdateDatabasesRequest) Set

func (*NullableSqlserverUpdateDatabasesRequest) UnmarshalJSON

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

func (*NullableSqlserverUpdateDatabasesRequest) 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 NullableTag

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

func NewNullableTag

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON

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

func (*NullableTag) Set

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON

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

func (*NullableTag) Unset

func (v *NullableTag) 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 NullableUpdateSecurityGroupRulesRequest

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

func (NullableUpdateSecurityGroupRulesRequest) Get

func (NullableUpdateSecurityGroupRulesRequest) IsSet

func (NullableUpdateSecurityGroupRulesRequest) MarshalJSON

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

func (*NullableUpdateSecurityGroupRulesRequest) Set

func (*NullableUpdateSecurityGroupRulesRequest) UnmarshalJSON

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

func (*NullableUpdateSecurityGroupRulesRequest) Unset

type NullableValidationErrorModel

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

func NewNullableValidationErrorModel

func NewNullableValidationErrorModel(val *ValidationErrorModel) *NullableValidationErrorModel

func (NullableValidationErrorModel) Get

func (NullableValidationErrorModel) IsSet

func (NullableValidationErrorModel) MarshalJSON

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

func (*NullableValidationErrorModel) Set

func (*NullableValidationErrorModel) UnmarshalJSON

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

func (*NullableValidationErrorModel) Unset

func (v *NullableValidationErrorModel) Unset()

type NullableVolumeType

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

func NewNullableVolumeType

func NewNullableVolumeType(val *VolumeType) *NullableVolumeType

func (NullableVolumeType) Get

func (v NullableVolumeType) Get() *VolumeType

func (NullableVolumeType) IsSet

func (v NullableVolumeType) IsSet() bool

func (NullableVolumeType) MarshalJSON

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

func (*NullableVolumeType) Set

func (v *NullableVolumeType) Set(val *VolumeType)

func (*NullableVolumeType) UnmarshalJSON

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

func (*NullableVolumeType) Unset

func (v *NullableVolumeType) Unset()

type ParameterDTO

type ParameterDTO struct {
	// Parameter allows value
	AllowsValue string `json:"allows_value"`
	// Parameter applied value
	AppliedValue string `json:"applied_value"`
	// Parameter apply type
	ApplyType string `json:"apply_type"`
	// Parameter data type
	DataType string `json:"data_type"`
	// Parameter default value
	DefaultValue string         `json:"default_value"`
	Description  NullableString `json:"description"`
	// Parameter id
	Id string `json:"id"`
	// Parameter is_modifiable
	IsModifiable bool `json:"is_modifiable"`
	// Parameter name
	Name         string         `json:"name"`
	SoftwareType NullableString `json:"software_type"`
}

ParameterDTO struct for ParameterDTO

func NewParameterDTO

func NewParameterDTO(allowsValue string, appliedValue string, applyType string, dataType string, defaultValue string, description NullableString, id string, isModifiable bool, name string, softwareType NullableString) *ParameterDTO

NewParameterDTO instantiates a new ParameterDTO 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 NewParameterDTOWithDefaults

func NewParameterDTOWithDefaults() *ParameterDTO

NewParameterDTOWithDefaults instantiates a new ParameterDTO 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 (*ParameterDTO) GetAllowsValue

func (o *ParameterDTO) GetAllowsValue() string

GetAllowsValue returns the AllowsValue field value

func (*ParameterDTO) GetAllowsValueOk

func (o *ParameterDTO) GetAllowsValueOk() (*string, bool)

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

func (*ParameterDTO) GetAppliedValue

func (o *ParameterDTO) GetAppliedValue() string

GetAppliedValue returns the AppliedValue field value

func (*ParameterDTO) GetAppliedValueOk

func (o *ParameterDTO) GetAppliedValueOk() (*string, bool)

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

func (*ParameterDTO) GetApplyType

func (o *ParameterDTO) GetApplyType() string

GetApplyType returns the ApplyType field value

func (*ParameterDTO) GetApplyTypeOk

func (o *ParameterDTO) GetApplyTypeOk() (*string, bool)

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

func (*ParameterDTO) GetDataType

func (o *ParameterDTO) GetDataType() string

GetDataType returns the DataType field value

func (*ParameterDTO) GetDataTypeOk

func (o *ParameterDTO) GetDataTypeOk() (*string, bool)

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

func (*ParameterDTO) GetDefaultValue

func (o *ParameterDTO) GetDefaultValue() string

GetDefaultValue returns the DefaultValue field value

func (*ParameterDTO) GetDefaultValueOk

func (o *ParameterDTO) GetDefaultValueOk() (*string, bool)

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

func (*ParameterDTO) GetDescription

func (o *ParameterDTO) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*ParameterDTO) GetDescriptionOk

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

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

func (*ParameterDTO) GetId

func (o *ParameterDTO) GetId() string

GetId returns the Id field value

func (*ParameterDTO) GetIdOk

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

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

func (*ParameterDTO) GetIsModifiable

func (o *ParameterDTO) GetIsModifiable() bool

GetIsModifiable returns the IsModifiable field value

func (*ParameterDTO) GetIsModifiableOk

func (o *ParameterDTO) GetIsModifiableOk() (*bool, bool)

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

func (*ParameterDTO) GetName

func (o *ParameterDTO) GetName() string

GetName returns the Name field value

func (*ParameterDTO) GetNameOk

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

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

func (*ParameterDTO) GetSoftwareType

func (o *ParameterDTO) GetSoftwareType() string

GetSoftwareType returns the SoftwareType field value If the value is explicit nil, the zero value for string will be returned

func (*ParameterDTO) GetSoftwareTypeOk

func (o *ParameterDTO) GetSoftwareTypeOk() (*string, bool)

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

func (ParameterDTO) MarshalJSON

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

func (*ParameterDTO) SetAllowsValue

func (o *ParameterDTO) SetAllowsValue(v string)

SetAllowsValue sets field value

func (*ParameterDTO) SetAppliedValue

func (o *ParameterDTO) SetAppliedValue(v string)

SetAppliedValue sets field value

func (*ParameterDTO) SetApplyType

func (o *ParameterDTO) SetApplyType(v string)

SetApplyType sets field value

func (*ParameterDTO) SetDataType

func (o *ParameterDTO) SetDataType(v string)

SetDataType sets field value

func (*ParameterDTO) SetDefaultValue

func (o *ParameterDTO) SetDefaultValue(v string)

SetDefaultValue sets field value

func (*ParameterDTO) SetDescription

func (o *ParameterDTO) SetDescription(v string)

SetDescription sets field value

func (*ParameterDTO) SetId

func (o *ParameterDTO) SetId(v string)

SetId sets field value

func (*ParameterDTO) SetIsModifiable

func (o *ParameterDTO) SetIsModifiable(v bool)

SetIsModifiable sets field value

func (*ParameterDTO) SetName

func (o *ParameterDTO) SetName(v string)

SetName sets field value

func (*ParameterDTO) SetSoftwareType

func (o *ParameterDTO) SetSoftwareType(v string)

SetSoftwareType sets field value

func (ParameterDTO) ToMap

func (o ParameterDTO) ToMap() (map[string]interface{}, error)

func (*ParameterDTO) UnmarshalJSON

func (o *ParameterDTO) UnmarshalJSON(data []byte) (err error)

type ParameterGroup

type ParameterGroup struct {
	// Parameter group ID
	Id string `json:"id"`
	// Software major version
	MajorVersion string `json:"major_version"`
	// Parameter group name
	Name string `json:"name"`
	// Product image type
	ProductImageType string `json:"product_image_type"`
	// Product type
	ProductType string `json:"product_type"`
}

ParameterGroup struct for ParameterGroup

func NewParameterGroup

func NewParameterGroup(id string, majorVersion string, name string, productImageType string, productType string) *ParameterGroup

NewParameterGroup instantiates a new ParameterGroup 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 NewParameterGroupWithDefaults

func NewParameterGroupWithDefaults() *ParameterGroup

NewParameterGroupWithDefaults instantiates a new ParameterGroup 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 (*ParameterGroup) GetId

func (o *ParameterGroup) GetId() string

GetId returns the Id field value

func (*ParameterGroup) GetIdOk

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

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

func (*ParameterGroup) GetMajorVersion

func (o *ParameterGroup) GetMajorVersion() string

GetMajorVersion returns the MajorVersion field value

func (*ParameterGroup) GetMajorVersionOk

func (o *ParameterGroup) GetMajorVersionOk() (*string, bool)

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

func (*ParameterGroup) GetName

func (o *ParameterGroup) GetName() string

GetName returns the Name field value

func (*ParameterGroup) GetNameOk

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

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

func (*ParameterGroup) GetProductImageType

func (o *ParameterGroup) GetProductImageType() string

GetProductImageType returns the ProductImageType field value

func (*ParameterGroup) GetProductImageTypeOk

func (o *ParameterGroup) GetProductImageTypeOk() (*string, bool)

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

func (*ParameterGroup) GetProductType

func (o *ParameterGroup) GetProductType() string

GetProductType returns the ProductType field value

func (*ParameterGroup) GetProductTypeOk

func (o *ParameterGroup) GetProductTypeOk() (*string, bool)

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

func (ParameterGroup) MarshalJSON

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

func (*ParameterGroup) SetId

func (o *ParameterGroup) SetId(v string)

SetId sets field value

func (*ParameterGroup) SetMajorVersion

func (o *ParameterGroup) SetMajorVersion(v string)

SetMajorVersion sets field value

func (*ParameterGroup) SetName

func (o *ParameterGroup) SetName(v string)

SetName sets field value

func (*ParameterGroup) SetProductImageType

func (o *ParameterGroup) SetProductImageType(v string)

SetProductImageType sets field value

func (*ParameterGroup) SetProductType

func (o *ParameterGroup) SetProductType(v string)

SetProductType sets field value

func (ParameterGroup) ToMap

func (o ParameterGroup) ToMap() (map[string]interface{}, error)

func (*ParameterGroup) UnmarshalJSON

func (o *ParameterGroup) UnmarshalJSON(data []byte) (err error)

type ParameterGroupListResponse

type ParameterGroupListResponse struct {
	// Parameter group list
	Contents []ParameterGroup `json:"contents"`
	Sort     []string         `json:"sort,omitempty"`
}

ParameterGroupListResponse struct for ParameterGroupListResponse

func NewParameterGroupListResponse

func NewParameterGroupListResponse(contents []ParameterGroup) *ParameterGroupListResponse

NewParameterGroupListResponse instantiates a new ParameterGroupListResponse 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 NewParameterGroupListResponseWithDefaults

func NewParameterGroupListResponseWithDefaults() *ParameterGroupListResponse

NewParameterGroupListResponseWithDefaults instantiates a new ParameterGroupListResponse 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 (*ParameterGroupListResponse) GetContents

func (o *ParameterGroupListResponse) GetContents() []ParameterGroup

GetContents returns the Contents field value

func (*ParameterGroupListResponse) GetContentsOk

func (o *ParameterGroupListResponse) GetContentsOk() ([]ParameterGroup, bool)

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

func (*ParameterGroupListResponse) GetSort

func (o *ParameterGroupListResponse) GetSort() []string

GetSort returns the Sort field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParameterGroupListResponse) GetSortOk

func (o *ParameterGroupListResponse) GetSortOk() ([]string, bool)

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

func (*ParameterGroupListResponse) HasSort

func (o *ParameterGroupListResponse) HasSort() bool

HasSort returns a boolean if a field has been set.

func (ParameterGroupListResponse) MarshalJSON

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

func (*ParameterGroupListResponse) SetContents

func (o *ParameterGroupListResponse) SetContents(v []ParameterGroup)

SetContents sets field value

func (*ParameterGroupListResponse) SetSort

func (o *ParameterGroupListResponse) SetSort(v []string)

SetSort gets a reference to the given []string and assigns it to the Sort field.

func (ParameterGroupListResponse) ToMap

func (o ParameterGroupListResponse) ToMap() (map[string]interface{}, error)

func (*ParameterGroupListResponse) UnmarshalJSON

func (o *ParameterGroupListResponse) UnmarshalJSON(data []byte) (err error)

type ParameterPageResponse

type ParameterPageResponse struct {
	// Parameter list
	Contents []Parameters `json:"contents"`
	// count
	Count int32 `json:"count"`
	// page
	Page int32 `json:"page"`
	// size
	Size int32    `json:"size"`
	Sort []string `json:"sort,omitempty"`
}

ParameterPageResponse struct for ParameterPageResponse

func NewParameterPageResponse

func NewParameterPageResponse(contents []Parameters, count int32, page int32, size int32) *ParameterPageResponse

NewParameterPageResponse instantiates a new ParameterPageResponse 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 NewParameterPageResponseWithDefaults

func NewParameterPageResponseWithDefaults() *ParameterPageResponse

NewParameterPageResponseWithDefaults instantiates a new ParameterPageResponse 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 (*ParameterPageResponse) GetContents

func (o *ParameterPageResponse) GetContents() []Parameters

GetContents returns the Contents field value

func (*ParameterPageResponse) GetContentsOk

func (o *ParameterPageResponse) GetContentsOk() ([]Parameters, bool)

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

func (*ParameterPageResponse) GetCount

func (o *ParameterPageResponse) GetCount() int32

GetCount returns the Count field value

func (*ParameterPageResponse) GetCountOk

func (o *ParameterPageResponse) GetCountOk() (*int32, bool)

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

func (*ParameterPageResponse) GetPage

func (o *ParameterPageResponse) GetPage() int32

GetPage returns the Page field value

func (*ParameterPageResponse) GetPageOk

func (o *ParameterPageResponse) GetPageOk() (*int32, bool)

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

func (*ParameterPageResponse) GetSize

func (o *ParameterPageResponse) GetSize() int32

GetSize returns the Size field value

func (*ParameterPageResponse) GetSizeOk

func (o *ParameterPageResponse) GetSizeOk() (*int32, bool)

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

func (*ParameterPageResponse) GetSort

func (o *ParameterPageResponse) GetSort() []string

GetSort returns the Sort field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParameterPageResponse) GetSortOk

func (o *ParameterPageResponse) GetSortOk() ([]string, bool)

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

func (*ParameterPageResponse) HasSort

func (o *ParameterPageResponse) HasSort() bool

HasSort returns a boolean if a field has been set.

func (ParameterPageResponse) MarshalJSON

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

func (*ParameterPageResponse) SetContents

func (o *ParameterPageResponse) SetContents(v []Parameters)

SetContents sets field value

func (*ParameterPageResponse) SetCount

func (o *ParameterPageResponse) SetCount(v int32)

SetCount sets field value

func (*ParameterPageResponse) SetPage

func (o *ParameterPageResponse) SetPage(v int32)

SetPage sets field value

func (*ParameterPageResponse) SetSize

func (o *ParameterPageResponse) SetSize(v int32)

SetSize sets field value

func (*ParameterPageResponse) SetSort

func (o *ParameterPageResponse) SetSort(v []string)

SetSort gets a reference to the given []string and assigns it to the Sort field.

func (ParameterPageResponse) ToMap

func (o ParameterPageResponse) ToMap() (map[string]interface{}, error)

func (*ParameterPageResponse) UnmarshalJSON

func (o *ParameterPageResponse) UnmarshalJSON(data []byte) (err error)

type ParameterRequest

type ParameterRequest struct {
	// Parameter id
	Id string `json:"id"`
	// Parameter new value
	NewValue string `json:"new_value"`
	// Parameter old value
	OldValue string `json:"old_value"`
}

ParameterRequest struct for ParameterRequest

func NewParameterRequest

func NewParameterRequest(id string, newValue string, oldValue string) *ParameterRequest

NewParameterRequest instantiates a new ParameterRequest 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 NewParameterRequestWithDefaults

func NewParameterRequestWithDefaults() *ParameterRequest

NewParameterRequestWithDefaults instantiates a new ParameterRequest 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 (*ParameterRequest) GetId

func (o *ParameterRequest) GetId() string

GetId returns the Id field value

func (*ParameterRequest) GetIdOk

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

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

func (*ParameterRequest) GetNewValue

func (o *ParameterRequest) GetNewValue() string

GetNewValue returns the NewValue field value

func (*ParameterRequest) GetNewValueOk

func (o *ParameterRequest) GetNewValueOk() (*string, bool)

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

func (*ParameterRequest) GetOldValue

func (o *ParameterRequest) GetOldValue() string

GetOldValue returns the OldValue field value

func (*ParameterRequest) GetOldValueOk

func (o *ParameterRequest) GetOldValueOk() (*string, bool)

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

func (ParameterRequest) MarshalJSON

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

func (*ParameterRequest) SetId

func (o *ParameterRequest) SetId(v string)

SetId sets field value

func (*ParameterRequest) SetNewValue

func (o *ParameterRequest) SetNewValue(v string)

SetNewValue sets field value

func (*ParameterRequest) SetOldValue

func (o *ParameterRequest) SetOldValue(v string)

SetOldValue sets field value

func (ParameterRequest) ToMap

func (o ParameterRequest) ToMap() (map[string]interface{}, error)

func (*ParameterRequest) UnmarshalJSON

func (o *ParameterRequest) UnmarshalJSON(data []byte) (err error)

type Parameters

type Parameters struct {
	// Parameter id
	DbaasParameterGroupId string `json:"dbaas_parameter_group_id"`
	// Parameter default value
	DefaultValue string `json:"default_value"`
	// Parameter description
	Description string `json:"description"`
	// Parameter id
	Id string `json:"id"`
	// Parameter name
	Name         string         `json:"name"`
	SoftwareType NullableString `json:"software_type"`
}

Parameters struct for Parameters

func NewParameters

func NewParameters(dbaasParameterGroupId string, defaultValue string, description string, id string, name string, softwareType NullableString) *Parameters

NewParameters instantiates a new Parameters 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 NewParametersWithDefaults

func NewParametersWithDefaults() *Parameters

NewParametersWithDefaults instantiates a new Parameters 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 (*Parameters) GetDbaasParameterGroupId

func (o *Parameters) GetDbaasParameterGroupId() string

GetDbaasParameterGroupId returns the DbaasParameterGroupId field value

func (*Parameters) GetDbaasParameterGroupIdOk

func (o *Parameters) GetDbaasParameterGroupIdOk() (*string, bool)

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

func (*Parameters) GetDefaultValue

func (o *Parameters) GetDefaultValue() string

GetDefaultValue returns the DefaultValue field value

func (*Parameters) GetDefaultValueOk

func (o *Parameters) GetDefaultValueOk() (*string, bool)

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

func (*Parameters) GetDescription

func (o *Parameters) GetDescription() string

GetDescription returns the Description field value

func (*Parameters) GetDescriptionOk

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

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

func (*Parameters) GetId

func (o *Parameters) GetId() string

GetId returns the Id field value

func (*Parameters) GetIdOk

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

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

func (*Parameters) GetName

func (o *Parameters) GetName() string

GetName returns the Name field value

func (*Parameters) GetNameOk

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

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

func (*Parameters) GetSoftwareType

func (o *Parameters) GetSoftwareType() string

GetSoftwareType returns the SoftwareType field value If the value is explicit nil, the zero value for string will be returned

func (*Parameters) GetSoftwareTypeOk

func (o *Parameters) GetSoftwareTypeOk() (*string, bool)

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

func (Parameters) MarshalJSON

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

func (*Parameters) SetDbaasParameterGroupId

func (o *Parameters) SetDbaasParameterGroupId(v string)

SetDbaasParameterGroupId sets field value

func (*Parameters) SetDefaultValue

func (o *Parameters) SetDefaultValue(v string)

SetDefaultValue sets field value

func (*Parameters) SetDescription

func (o *Parameters) SetDescription(v string)

SetDescription sets field value

func (*Parameters) SetId

func (o *Parameters) SetId(v string)

SetId sets field value

func (*Parameters) SetName

func (o *Parameters) SetName(v string)

SetName sets field value

func (*Parameters) SetSoftwareType

func (o *Parameters) SetSoftwareType(v string)

SetSoftwareType sets field value

func (Parameters) ToMap

func (o Parameters) ToMap() (map[string]interface{}, error)

func (*Parameters) UnmarshalJSON

func (o *Parameters) UnmarshalJSON(data []byte) (err error)

type ParametersRequest

type ParametersRequest struct {
	// Parameter request list
	Parameters []ParameterRequest `json:"parameters"`
}

ParametersRequest struct for ParametersRequest

func NewParametersRequest

func NewParametersRequest(parameters []ParameterRequest) *ParametersRequest

NewParametersRequest instantiates a new ParametersRequest 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 NewParametersRequestWithDefaults

func NewParametersRequestWithDefaults() *ParametersRequest

NewParametersRequestWithDefaults instantiates a new ParametersRequest 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 (*ParametersRequest) GetParameters

func (o *ParametersRequest) GetParameters() []ParameterRequest

GetParameters returns the Parameters field value

func (*ParametersRequest) GetParametersOk

func (o *ParametersRequest) GetParametersOk() ([]ParameterRequest, bool)

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

func (ParametersRequest) MarshalJSON

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

func (*ParametersRequest) SetParameters

func (o *ParametersRequest) SetParameters(v []ParameterRequest)

SetParameters sets field value

func (ParametersRequest) ToMap

func (o ParametersRequest) ToMap() (map[string]interface{}, error)

func (*ParametersRequest) UnmarshalJSON

func (o *ParametersRequest) UnmarshalJSON(data []byte) (err error)

type ParametersResponse

type ParametersResponse struct {
	// Parameter contents
	Contents []ParameterDTO `json:"contents"`
	// Parameter count
	Count int32 `json:"count"`
	// Modification time
	ModifiedAt string `json:"modified_at"`
}

ParametersResponse struct for ParametersResponse

func NewParametersResponse

func NewParametersResponse(contents []ParameterDTO, count int32, modifiedAt string) *ParametersResponse

NewParametersResponse instantiates a new ParametersResponse 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 NewParametersResponseWithDefaults

func NewParametersResponseWithDefaults() *ParametersResponse

NewParametersResponseWithDefaults instantiates a new ParametersResponse 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 (*ParametersResponse) GetContents

func (o *ParametersResponse) GetContents() []ParameterDTO

GetContents returns the Contents field value

func (*ParametersResponse) GetContentsOk

func (o *ParametersResponse) GetContentsOk() ([]ParameterDTO, bool)

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

func (*ParametersResponse) GetCount

func (o *ParametersResponse) GetCount() int32

GetCount returns the Count field value

func (*ParametersResponse) GetCountOk

func (o *ParametersResponse) GetCountOk() (*int32, bool)

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

func (*ParametersResponse) GetModifiedAt

func (o *ParametersResponse) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field value

func (*ParametersResponse) GetModifiedAtOk

func (o *ParametersResponse) GetModifiedAtOk() (*string, bool)

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

func (ParametersResponse) MarshalJSON

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

func (*ParametersResponse) SetContents

func (o *ParametersResponse) SetContents(v []ParameterDTO)

SetContents sets field value

func (*ParametersResponse) SetCount

func (o *ParametersResponse) SetCount(v int32)

SetCount sets field value

func (*ParametersResponse) SetModifiedAt

func (o *ParametersResponse) SetModifiedAt(v string)

SetModifiedAt sets field value

func (ParametersResponse) ToMap

func (o ParametersResponse) ToMap() (map[string]interface{}, error)

func (*ParametersResponse) UnmarshalJSON

func (o *ParametersResponse) UnmarshalJSON(data []byte) (err error)

type ProductImageType

type ProductImageType string

ProductImageType the model 'ProductImageType'

const (
	PRODUCTIMAGETYPE_POSTGRE_SQL_COMMUNITY           ProductImageType = "PostgreSQL Community"
	PRODUCTIMAGETYPE_MARIA_DB_COMMUNITY              ProductImageType = "MariaDB Community"
	PRODUCTIMAGETYPE_MY_SQL_COMMUNITY                ProductImageType = "MySQL Community"
	PRODUCTIMAGETYPE_EPAS                            ProductImageType = "EPAS"
	PRODUCTIMAGETYPE_MICROSOFT_SQL_SERVER_ENTERPRISE ProductImageType = "Microsoft SQL Server Enterprise"
	PRODUCTIMAGETYPE_MICROSOFT_SQL_SERVER_STANDARD   ProductImageType = "Microsoft SQL Server Standard"
	PRODUCTIMAGETYPE_REDIS_OSS_SENTINEL              ProductImageType = "Redis OSS Sentinel"
	PRODUCTIMAGETYPE_VALKEY_SENTINEL                 ProductImageType = "Valkey Sentinel"
	PRODUCTIMAGETYPE_KAFKA                           ProductImageType = "Kafka"
	PRODUCTIMAGETYPE_ELASTICSEARCH_ENTERPRISE        ProductImageType = "Elasticsearch Enterprise"
	PRODUCTIMAGETYPE_OPEN_SEARCH                     ProductImageType = "OpenSearch"
	PRODUCTIMAGETYPE_VERTICA_ENTERPRISE              ProductImageType = "Vertica Enterprise"
	PRODUCTIMAGETYPE_VERTICA_COMMUNITY               ProductImageType = "Vertica Community"
)

List of ProductImageType

func NewProductImageTypeFromValue

func NewProductImageTypeFromValue(v string) (*ProductImageType, error)

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

func (ProductImageType) IsValid

func (v ProductImageType) IsValid() bool

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

func (ProductImageType) Ptr

Ptr returns reference to ProductImageType value

func (*ProductImageType) UnmarshalJSON

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

type ProductType

type ProductType string

ProductType the model 'ProductType'

const (
	PRODUCTTYPE_QOS                   ProductType = "QOS"
	PRODUCTTYPE_POSTGRE_SQL_COMMUNITY ProductType = "PostgreSQL Community"
	PRODUCTTYPE_EPAS                  ProductType = "EPAS"
	PRODUCTTYPE_MARIA_DB              ProductType = "MariaDB"
	PRODUCTTYPE_MY_SQL                ProductType = "MySQL"
	PRODUCTTYPE_REDIS                 ProductType = "Redis"
	PRODUCTTYPE_MICROSOFT_SQL_SERVER  ProductType = "Microsoft SQL Server"
	PRODUCTTYPE_SEARCH_ENGINE         ProductType = "Search Engine"
	PRODUCTTYPE_EVENT_STREAMS         ProductType = "Event Streams"
	PRODUCTTYPE_VERTICA               ProductType = "Vertica"
)

List of ProductType

func NewProductTypeFromValue

func NewProductTypeFromValue(v string) (*ProductType, error)

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

func (ProductType) IsValid

func (v ProductType) IsValid() bool

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

func (ProductType) Ptr

func (v ProductType) Ptr() *ProductType

Ptr returns reference to ProductType value

func (*ProductType) UnmarshalJSON

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

type RdbClusterPageResponse

type RdbClusterPageResponse struct {
	Contents []RdbClusterResponse `json:"contents"`
	// count
	Count int32 `json:"count"`
	// page
	Page int32 `json:"page"`
	// size
	Size int32    `json:"size"`
	Sort []string `json:"sort,omitempty"`
}

RdbClusterPageResponse struct for RdbClusterPageResponse

func NewRdbClusterPageResponse

func NewRdbClusterPageResponse(contents []RdbClusterResponse, count int32, page int32, size int32) *RdbClusterPageResponse

NewRdbClusterPageResponse instantiates a new RdbClusterPageResponse 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 NewRdbClusterPageResponseWithDefaults

func NewRdbClusterPageResponseWithDefaults() *RdbClusterPageResponse

NewRdbClusterPageResponseWithDefaults instantiates a new RdbClusterPageResponse 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 (*RdbClusterPageResponse) GetContents

func (o *RdbClusterPageResponse) GetContents() []RdbClusterResponse

GetContents returns the Contents field value If the value is explicit nil, the zero value for []RdbClusterResponse will be returned

func (*RdbClusterPageResponse) GetContentsOk

func (o *RdbClusterPageResponse) GetContentsOk() ([]RdbClusterResponse, bool)

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

func (*RdbClusterPageResponse) GetCount

func (o *RdbClusterPageResponse) GetCount() int32

GetCount returns the Count field value

func (*RdbClusterPageResponse) GetCountOk

func (o *RdbClusterPageResponse) GetCountOk() (*int32, bool)

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

func (*RdbClusterPageResponse) GetPage

func (o *RdbClusterPageResponse) GetPage() int32

GetPage returns the Page field value

func (*RdbClusterPageResponse) GetPageOk

func (o *RdbClusterPageResponse) GetPageOk() (*int32, bool)

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

func (*RdbClusterPageResponse) GetSize

func (o *RdbClusterPageResponse) GetSize() int32

GetSize returns the Size field value

func (*RdbClusterPageResponse) GetSizeOk

func (o *RdbClusterPageResponse) GetSizeOk() (*int32, bool)

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

func (*RdbClusterPageResponse) GetSort

func (o *RdbClusterPageResponse) GetSort() []string

GetSort returns the Sort field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RdbClusterPageResponse) GetSortOk

func (o *RdbClusterPageResponse) GetSortOk() ([]string, bool)

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

func (*RdbClusterPageResponse) HasSort

func (o *RdbClusterPageResponse) HasSort() bool

HasSort returns a boolean if a field has been set.

func (RdbClusterPageResponse) MarshalJSON

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

func (*RdbClusterPageResponse) SetContents

func (o *RdbClusterPageResponse) SetContents(v []RdbClusterResponse)

SetContents sets field value

func (*RdbClusterPageResponse) SetCount

func (o *RdbClusterPageResponse) SetCount(v int32)

SetCount sets field value

func (*RdbClusterPageResponse) SetPage

func (o *RdbClusterPageResponse) SetPage(v int32)

SetPage sets field value

func (*RdbClusterPageResponse) SetSize

func (o *RdbClusterPageResponse) SetSize(v int32)

SetSize sets field value

func (*RdbClusterPageResponse) SetSort

func (o *RdbClusterPageResponse) SetSort(v []string)

SetSort gets a reference to the given []string and assigns it to the Sort field.

func (RdbClusterPageResponse) ToMap

func (o RdbClusterPageResponse) ToMap() (map[string]interface{}, error)

func (*RdbClusterPageResponse) UnmarshalJSON

func (o *RdbClusterPageResponse) UnmarshalJSON(data []byte) (err error)

type RdbClusterResponse

type RdbClusterResponse struct {
	// Account ID
	AccountId string `json:"account_id"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy    string         `json:"created_by"`
	DatabaseName NullableString `json:"database_name"`
	// HA availability
	HaEnabled *bool `json:"ha_enabled,omitempty"`
	// ID
	Id string `json:"id"`
	// Instance Count
	InstanceCount *int32 `json:"instance_count,omitempty"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string `json:"modified_by"`
	// Cluster name
	Name     string                  `json:"name"`
	RoleType NullableClusterRoleType `json:"role_type"`
	// Service state
	ServiceState ServiceState `json:"service_state"`
}

RdbClusterResponse struct for RdbClusterResponse

func NewRdbClusterResponse

func NewRdbClusterResponse(accountId string, createdAt time.Time, createdBy string, databaseName NullableString, id string, modifiedAt time.Time, modifiedBy string, name string, roleType NullableClusterRoleType, serviceState ServiceState) *RdbClusterResponse

NewRdbClusterResponse instantiates a new RdbClusterResponse 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 NewRdbClusterResponseWithDefaults

func NewRdbClusterResponseWithDefaults() *RdbClusterResponse

NewRdbClusterResponseWithDefaults instantiates a new RdbClusterResponse 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 (*RdbClusterResponse) GetAccountId

func (o *RdbClusterResponse) GetAccountId() string

GetAccountId returns the AccountId field value

func (*RdbClusterResponse) GetAccountIdOk

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

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

func (*RdbClusterResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*RdbClusterResponse) GetCreatedAtOk

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

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

func (*RdbClusterResponse) GetCreatedBy

func (o *RdbClusterResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*RdbClusterResponse) GetCreatedByOk

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

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

func (*RdbClusterResponse) GetDatabaseName

func (o *RdbClusterResponse) GetDatabaseName() string

GetDatabaseName returns the DatabaseName field value If the value is explicit nil, the zero value for string will be returned

func (*RdbClusterResponse) GetDatabaseNameOk

func (o *RdbClusterResponse) GetDatabaseNameOk() (*string, bool)

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

func (*RdbClusterResponse) GetHaEnabled

func (o *RdbClusterResponse) GetHaEnabled() bool

GetHaEnabled returns the HaEnabled field value if set, zero value otherwise.

func (*RdbClusterResponse) GetHaEnabledOk

func (o *RdbClusterResponse) GetHaEnabledOk() (*bool, bool)

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

func (*RdbClusterResponse) GetId

func (o *RdbClusterResponse) GetId() string

GetId returns the Id field value

func (*RdbClusterResponse) GetIdOk

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

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

func (*RdbClusterResponse) GetInstanceCount

func (o *RdbClusterResponse) GetInstanceCount() int32

GetInstanceCount returns the InstanceCount field value if set, zero value otherwise.

func (*RdbClusterResponse) GetInstanceCountOk

func (o *RdbClusterResponse) GetInstanceCountOk() (*int32, bool)

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

func (*RdbClusterResponse) GetModifiedAt

func (o *RdbClusterResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*RdbClusterResponse) GetModifiedAtOk

func (o *RdbClusterResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*RdbClusterResponse) GetModifiedBy

func (o *RdbClusterResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*RdbClusterResponse) GetModifiedByOk

func (o *RdbClusterResponse) GetModifiedByOk() (*string, bool)

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

func (*RdbClusterResponse) GetName

func (o *RdbClusterResponse) GetName() string

GetName returns the Name field value

func (*RdbClusterResponse) GetNameOk

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

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

func (*RdbClusterResponse) GetRoleType

func (o *RdbClusterResponse) GetRoleType() ClusterRoleType

GetRoleType returns the RoleType field value If the value is explicit nil, the zero value for ClusterRoleType will be returned

func (*RdbClusterResponse) GetRoleTypeOk

func (o *RdbClusterResponse) GetRoleTypeOk() (*ClusterRoleType, bool)

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

func (*RdbClusterResponse) GetServiceState

func (o *RdbClusterResponse) GetServiceState() ServiceState

GetServiceState returns the ServiceState field value

func (*RdbClusterResponse) GetServiceStateOk

func (o *RdbClusterResponse) GetServiceStateOk() (*ServiceState, bool)

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

func (*RdbClusterResponse) HasHaEnabled

func (o *RdbClusterResponse) HasHaEnabled() bool

HasHaEnabled returns a boolean if a field has been set.

func (*RdbClusterResponse) HasInstanceCount

func (o *RdbClusterResponse) HasInstanceCount() bool

HasInstanceCount returns a boolean if a field has been set.

func (RdbClusterResponse) MarshalJSON

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

func (*RdbClusterResponse) SetAccountId

func (o *RdbClusterResponse) SetAccountId(v string)

SetAccountId sets field value

func (*RdbClusterResponse) SetCreatedAt

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

SetCreatedAt sets field value

func (*RdbClusterResponse) SetCreatedBy

func (o *RdbClusterResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*RdbClusterResponse) SetDatabaseName

func (o *RdbClusterResponse) SetDatabaseName(v string)

SetDatabaseName sets field value

func (*RdbClusterResponse) SetHaEnabled

func (o *RdbClusterResponse) SetHaEnabled(v bool)

SetHaEnabled gets a reference to the given bool and assigns it to the HaEnabled field.

func (*RdbClusterResponse) SetId

func (o *RdbClusterResponse) SetId(v string)

SetId sets field value

func (*RdbClusterResponse) SetInstanceCount

func (o *RdbClusterResponse) SetInstanceCount(v int32)

SetInstanceCount gets a reference to the given int32 and assigns it to the InstanceCount field.

func (*RdbClusterResponse) SetModifiedAt

func (o *RdbClusterResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*RdbClusterResponse) SetModifiedBy

func (o *RdbClusterResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*RdbClusterResponse) SetName

func (o *RdbClusterResponse) SetName(v string)

SetName sets field value

func (*RdbClusterResponse) SetRoleType

func (o *RdbClusterResponse) SetRoleType(v ClusterRoleType)

SetRoleType sets field value

func (*RdbClusterResponse) SetServiceState

func (o *RdbClusterResponse) SetServiceState(v ServiceState)

SetServiceState sets field value

func (RdbClusterResponse) ToMap

func (o RdbClusterResponse) ToMap() (map[string]interface{}, error)

func (*RdbClusterResponse) UnmarshalJSON

func (o *RdbClusterResponse) UnmarshalJSON(data []byte) (err error)

type RequestStateResponse

type RequestStateResponse struct {
	// Request ID
	RequestId string `json:"request_id"`
	// Request state
	State string `json:"state"`
}

RequestStateResponse struct for RequestStateResponse

func NewRequestStateResponse

func NewRequestStateResponse(requestId string, state string) *RequestStateResponse

NewRequestStateResponse instantiates a new RequestStateResponse 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 NewRequestStateResponseWithDefaults

func NewRequestStateResponseWithDefaults() *RequestStateResponse

NewRequestStateResponseWithDefaults instantiates a new RequestStateResponse 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 (*RequestStateResponse) GetRequestId

func (o *RequestStateResponse) GetRequestId() string

GetRequestId returns the RequestId field value

func (*RequestStateResponse) GetRequestIdOk

func (o *RequestStateResponse) GetRequestIdOk() (*string, bool)

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

func (*RequestStateResponse) GetState

func (o *RequestStateResponse) GetState() string

GetState returns the State field value

func (*RequestStateResponse) GetStateOk

func (o *RequestStateResponse) GetStateOk() (*string, bool)

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

func (RequestStateResponse) MarshalJSON

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

func (*RequestStateResponse) SetRequestId

func (o *RequestStateResponse) SetRequestId(v string)

SetRequestId sets field value

func (*RequestStateResponse) SetState

func (o *RequestStateResponse) SetState(v string)

SetState sets field value

func (RequestStateResponse) ToMap

func (o RequestStateResponse) ToMap() (map[string]interface{}, error)

func (*RequestStateResponse) UnmarshalJSON

func (o *RequestStateResponse) UnmarshalJSON(data []byte) (err error)

type ResizeBlockStorageGroupRequest

type ResizeBlockStorageGroupRequest struct {
	// Size in GB
	SizeGb int32 `json:"size_gb"`
}

ResizeBlockStorageGroupRequest struct for ResizeBlockStorageGroupRequest

func NewResizeBlockStorageGroupRequest

func NewResizeBlockStorageGroupRequest(sizeGb int32) *ResizeBlockStorageGroupRequest

NewResizeBlockStorageGroupRequest instantiates a new ResizeBlockStorageGroupRequest 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 NewResizeBlockStorageGroupRequestWithDefaults

func NewResizeBlockStorageGroupRequestWithDefaults() *ResizeBlockStorageGroupRequest

NewResizeBlockStorageGroupRequestWithDefaults instantiates a new ResizeBlockStorageGroupRequest 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 (*ResizeBlockStorageGroupRequest) GetSizeGb

func (o *ResizeBlockStorageGroupRequest) GetSizeGb() int32

GetSizeGb returns the SizeGb field value

func (*ResizeBlockStorageGroupRequest) GetSizeGbOk

func (o *ResizeBlockStorageGroupRequest) GetSizeGbOk() (*int32, bool)

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

func (ResizeBlockStorageGroupRequest) MarshalJSON

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

func (*ResizeBlockStorageGroupRequest) SetSizeGb

func (o *ResizeBlockStorageGroupRequest) SetSizeGb(v int32)

SetSizeGb sets field value

func (ResizeBlockStorageGroupRequest) ToMap

func (o ResizeBlockStorageGroupRequest) ToMap() (map[string]interface{}, error)

func (*ResizeBlockStorageGroupRequest) UnmarshalJSON

func (o *ResizeBlockStorageGroupRequest) UnmarshalJSON(data []byte) (err error)

type ResourceInfo

type ResourceInfo struct {
	// request resource id
	Id string `json:"id"`
}

ResourceInfo struct for ResourceInfo

func NewResourceInfo

func NewResourceInfo(id string) *ResourceInfo

NewResourceInfo instantiates a new ResourceInfo 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 NewResourceInfoWithDefaults

func NewResourceInfoWithDefaults() *ResourceInfo

NewResourceInfoWithDefaults instantiates a new ResourceInfo 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 (*ResourceInfo) GetId

func (o *ResourceInfo) GetId() string

GetId returns the Id field value

func (*ResourceInfo) GetIdOk

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

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

func (ResourceInfo) MarshalJSON

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

func (*ResourceInfo) SetId

func (o *ResourceInfo) SetId(v string)

SetId sets field value

func (ResourceInfo) ToMap

func (o ResourceInfo) ToMap() (map[string]interface{}, error)

func (*ResourceInfo) UnmarshalJSON

func (o *ResourceInfo) UnmarshalJSON(data []byte) (err error)

type SCPCredential

type SCPCredential struct {
	AccessKey string
	SecretKey string
}

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 ServerType

type ServerType struct {
	// Server type cpu core
	CpuCore int32 `json:"cpu_core"`
	// Server type description
	Description string `json:"description"`
	// Server type memory
	MemoryGb int32 `json:"memory_gb"`
	// Server type name
	Name string `json:"name"`
	// Product image type
	ProductImageType string `json:"product_image_type"`
	// Product type
	ProductType string `json:"product_type"`
	// Server type purpose
	Purpose string `json:"purpose"`
	// Server type class
	Type string `json:"type"`
}

ServerType struct for ServerType

func NewServerType

func NewServerType(cpuCore int32, description string, memoryGb int32, name string, productImageType string, productType string, purpose string, type_ string) *ServerType

NewServerType instantiates a new ServerType 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 NewServerTypeWithDefaults

func NewServerTypeWithDefaults() *ServerType

NewServerTypeWithDefaults instantiates a new ServerType 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 (*ServerType) GetCpuCore

func (o *ServerType) GetCpuCore() int32

GetCpuCore returns the CpuCore field value

func (*ServerType) GetCpuCoreOk

func (o *ServerType) GetCpuCoreOk() (*int32, bool)

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

func (*ServerType) GetDescription

func (o *ServerType) GetDescription() string

GetDescription returns the Description field value

func (*ServerType) GetDescriptionOk

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

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

func (*ServerType) GetMemoryGb

func (o *ServerType) GetMemoryGb() int32

GetMemoryGb returns the MemoryGb field value

func (*ServerType) GetMemoryGbOk

func (o *ServerType) GetMemoryGbOk() (*int32, bool)

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

func (*ServerType) GetName

func (o *ServerType) GetName() string

GetName returns the Name field value

func (*ServerType) GetNameOk

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

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

func (*ServerType) GetProductImageType

func (o *ServerType) GetProductImageType() string

GetProductImageType returns the ProductImageType field value

func (*ServerType) GetProductImageTypeOk

func (o *ServerType) GetProductImageTypeOk() (*string, bool)

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

func (*ServerType) GetProductType

func (o *ServerType) GetProductType() string

GetProductType returns the ProductType field value

func (*ServerType) GetProductTypeOk

func (o *ServerType) GetProductTypeOk() (*string, bool)

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

func (*ServerType) GetPurpose

func (o *ServerType) GetPurpose() string

GetPurpose returns the Purpose field value

func (*ServerType) GetPurposeOk

func (o *ServerType) GetPurposeOk() (*string, bool)

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

func (*ServerType) GetType

func (o *ServerType) GetType() string

GetType returns the Type field value

func (*ServerType) GetTypeOk

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

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

func (ServerType) MarshalJSON

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

func (*ServerType) SetCpuCore

func (o *ServerType) SetCpuCore(v int32)

SetCpuCore sets field value

func (*ServerType) SetDescription

func (o *ServerType) SetDescription(v string)

SetDescription sets field value

func (*ServerType) SetMemoryGb

func (o *ServerType) SetMemoryGb(v int32)

SetMemoryGb sets field value

func (*ServerType) SetName

func (o *ServerType) SetName(v string)

SetName sets field value

func (*ServerType) SetProductImageType

func (o *ServerType) SetProductImageType(v string)

SetProductImageType sets field value

func (*ServerType) SetProductType

func (o *ServerType) SetProductType(v string)

SetProductType sets field value

func (*ServerType) SetPurpose

func (o *ServerType) SetPurpose(v string)

SetPurpose sets field value

func (*ServerType) SetType

func (o *ServerType) SetType(v string)

SetType sets field value

func (ServerType) ToMap

func (o ServerType) ToMap() (map[string]interface{}, error)

func (*ServerType) UnmarshalJSON

func (o *ServerType) UnmarshalJSON(data []byte) (err error)

type ServerTypeListResponse

type ServerTypeListResponse struct {
	// Server type list
	Contents []ServerType `json:"contents"`
}

ServerTypeListResponse struct for ServerTypeListResponse

func NewServerTypeListResponse

func NewServerTypeListResponse(contents []ServerType) *ServerTypeListResponse

NewServerTypeListResponse instantiates a new ServerTypeListResponse 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 NewServerTypeListResponseWithDefaults

func NewServerTypeListResponseWithDefaults() *ServerTypeListResponse

NewServerTypeListResponseWithDefaults instantiates a new ServerTypeListResponse 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 (*ServerTypeListResponse) GetContents

func (o *ServerTypeListResponse) GetContents() []ServerType

GetContents returns the Contents field value

func (*ServerTypeListResponse) GetContentsOk

func (o *ServerTypeListResponse) GetContentsOk() ([]ServerType, bool)

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

func (ServerTypeListResponse) MarshalJSON

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

func (*ServerTypeListResponse) SetContents

func (o *ServerTypeListResponse) SetContents(v []ServerType)

SetContents sets field value

func (ServerTypeListResponse) ToMap

func (o ServerTypeListResponse) ToMap() (map[string]interface{}, error)

func (*ServerTypeListResponse) UnmarshalJSON

func (o *ServerTypeListResponse) UnmarshalJSON(data []byte) (err error)

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ServiceState

type ServiceState string

ServiceState the model 'ServiceState'

const (
	SERVICESTATE_RUNNING       ServiceState = "RUNNING"
	SERVICESTATE_STOPPED       ServiceState = "STOPPED"
	SERVICESTATE_UNKNOWN       ServiceState = "UNKNOWN"
	SERVICESTATE_ERROR         ServiceState = "ERROR"
	SERVICESTATE_FAILED        ServiceState = "FAILED"
	SERVICESTATE_TERMINATED    ServiceState = "TERMINATED"
	SERVICESTATE_CREATING      ServiceState = "CREATING"
	SERVICESTATE_STOPPING      ServiceState = "STOPPING"
	SERVICESTATE_STARTING      ServiceState = "STARTING"
	SERVICESTATE_RESTARTING    ServiceState = "RESTARTING"
	SERVICESTATE_EDITING       ServiceState = "EDITING"
	SERVICESTATE_SYNCHRONIZING ServiceState = "SYNCHRONIZING"
	SERVICESTATE_UPGRADING     ServiceState = "UPGRADING"
	SERVICESTATE_TERMINATING   ServiceState = "TERMINATING"
	SERVICESTATE_MIGRATING     ServiceState = "MIGRATING"
)

List of ServiceState

func NewServiceStateFromValue

func NewServiceStateFromValue(v string) (*ServiceState, error)

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

func (ServiceState) IsValid

func (v ServiceState) IsValid() bool

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

func (ServiceState) Ptr

func (v ServiceState) Ptr() *ServiceState

Ptr returns reference to ServiceState value

func (*ServiceState) UnmarshalJSON

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

type SqlserverAddBlockStoragesRequest

type SqlserverAddBlockStoragesRequest struct {
	// Role type
	RoleType BlockStorageGroupRoleType `json:"role_type"`
	// Size in GB
	SizeGb int32 `json:"size_gb"`
	// Volume type
	VolumeType *VolumeType `json:"volume_type,omitempty"`
}

SqlserverAddBlockStoragesRequest struct for SqlserverAddBlockStoragesRequest

func NewSqlserverAddBlockStoragesRequest

func NewSqlserverAddBlockStoragesRequest(roleType BlockStorageGroupRoleType, sizeGb int32) *SqlserverAddBlockStoragesRequest

NewSqlserverAddBlockStoragesRequest instantiates a new SqlserverAddBlockStoragesRequest 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 NewSqlserverAddBlockStoragesRequestWithDefaults

func NewSqlserverAddBlockStoragesRequestWithDefaults() *SqlserverAddBlockStoragesRequest

NewSqlserverAddBlockStoragesRequestWithDefaults instantiates a new SqlserverAddBlockStoragesRequest 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 (*SqlserverAddBlockStoragesRequest) GetRoleType

GetRoleType returns the RoleType field value

func (*SqlserverAddBlockStoragesRequest) GetRoleTypeOk

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

func (*SqlserverAddBlockStoragesRequest) GetSizeGb

func (o *SqlserverAddBlockStoragesRequest) GetSizeGb() int32

GetSizeGb returns the SizeGb field value

func (*SqlserverAddBlockStoragesRequest) GetSizeGbOk

func (o *SqlserverAddBlockStoragesRequest) GetSizeGbOk() (*int32, bool)

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

func (*SqlserverAddBlockStoragesRequest) GetVolumeType

func (o *SqlserverAddBlockStoragesRequest) GetVolumeType() VolumeType

GetVolumeType returns the VolumeType field value if set, zero value otherwise.

func (*SqlserverAddBlockStoragesRequest) GetVolumeTypeOk

func (o *SqlserverAddBlockStoragesRequest) GetVolumeTypeOk() (*VolumeType, bool)

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

func (*SqlserverAddBlockStoragesRequest) HasVolumeType

func (o *SqlserverAddBlockStoragesRequest) HasVolumeType() bool

HasVolumeType returns a boolean if a field has been set.

func (SqlserverAddBlockStoragesRequest) MarshalJSON

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

func (*SqlserverAddBlockStoragesRequest) SetRoleType

SetRoleType sets field value

func (*SqlserverAddBlockStoragesRequest) SetSizeGb

func (o *SqlserverAddBlockStoragesRequest) SetSizeGb(v int32)

SetSizeGb sets field value

func (*SqlserverAddBlockStoragesRequest) SetVolumeType

func (o *SqlserverAddBlockStoragesRequest) SetVolumeType(v VolumeType)

SetVolumeType gets a reference to the given VolumeType and assigns it to the VolumeType field.

func (SqlserverAddBlockStoragesRequest) ToMap

func (o SqlserverAddBlockStoragesRequest) ToMap() (map[string]interface{}, error)

func (*SqlserverAddBlockStoragesRequest) UnmarshalJSON

func (o *SqlserverAddBlockStoragesRequest) UnmarshalJSON(data []byte) (err error)

type SqlserverAddSecondaryRequest

type SqlserverAddSecondaryRequest struct {
	// license
	License string `json:"license"`
	// Secondary Name
	Name             string         `json:"name" validate:"regexp=^[a-z][a-z0-9\\\\-]*[a-z0-9]$"`
	ServiceIpAddress NullableString `json:"service_ip_address,omitempty"`
}

SqlserverAddSecondaryRequest struct for SqlserverAddSecondaryRequest

func NewSqlserverAddSecondaryRequest

func NewSqlserverAddSecondaryRequest(license string, name string) *SqlserverAddSecondaryRequest

NewSqlserverAddSecondaryRequest instantiates a new SqlserverAddSecondaryRequest 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 NewSqlserverAddSecondaryRequestWithDefaults

func NewSqlserverAddSecondaryRequestWithDefaults() *SqlserverAddSecondaryRequest

NewSqlserverAddSecondaryRequestWithDefaults instantiates a new SqlserverAddSecondaryRequest 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 (*SqlserverAddSecondaryRequest) GetLicense

func (o *SqlserverAddSecondaryRequest) GetLicense() string

GetLicense returns the License field value

func (*SqlserverAddSecondaryRequest) GetLicenseOk

func (o *SqlserverAddSecondaryRequest) GetLicenseOk() (*string, bool)

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

func (*SqlserverAddSecondaryRequest) GetName

func (o *SqlserverAddSecondaryRequest) GetName() string

GetName returns the Name field value

func (*SqlserverAddSecondaryRequest) GetNameOk

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

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

func (*SqlserverAddSecondaryRequest) GetServiceIpAddress

func (o *SqlserverAddSecondaryRequest) GetServiceIpAddress() string

GetServiceIpAddress returns the ServiceIpAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverAddSecondaryRequest) GetServiceIpAddressOk

func (o *SqlserverAddSecondaryRequest) GetServiceIpAddressOk() (*string, bool)

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

func (*SqlserverAddSecondaryRequest) HasServiceIpAddress

func (o *SqlserverAddSecondaryRequest) HasServiceIpAddress() bool

HasServiceIpAddress returns a boolean if a field has been set.

func (SqlserverAddSecondaryRequest) MarshalJSON

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

func (*SqlserverAddSecondaryRequest) SetLicense

func (o *SqlserverAddSecondaryRequest) SetLicense(v string)

SetLicense sets field value

func (*SqlserverAddSecondaryRequest) SetName

func (o *SqlserverAddSecondaryRequest) SetName(v string)

SetName sets field value

func (*SqlserverAddSecondaryRequest) SetServiceIpAddress

func (o *SqlserverAddSecondaryRequest) SetServiceIpAddress(v string)

SetServiceIpAddress gets a reference to the given NullableString and assigns it to the ServiceIpAddress field.

func (*SqlserverAddSecondaryRequest) SetServiceIpAddressNil

func (o *SqlserverAddSecondaryRequest) SetServiceIpAddressNil()

SetServiceIpAddressNil sets the value for ServiceIpAddress to be an explicit nil

func (SqlserverAddSecondaryRequest) ToMap

func (o SqlserverAddSecondaryRequest) ToMap() (map[string]interface{}, error)

func (*SqlserverAddSecondaryRequest) UnmarshalJSON

func (o *SqlserverAddSecondaryRequest) UnmarshalJSON(data []byte) (err error)

func (*SqlserverAddSecondaryRequest) UnsetServiceIpAddress

func (o *SqlserverAddSecondaryRequest) UnsetServiceIpAddress()

UnsetServiceIpAddress ensures that no value is present for ServiceIpAddress, not even an explicit nil

type SqlserverBackupOption

type SqlserverBackupOption struct {
	// Backup starting time (minute)
	ArchiveFrequencyMinute string `json:"archive_frequency_minute" validate:"regexp=^(5|10|30|60)$"`
	// Full backup day of week
	FullBackupDayOfWeek *DayOfWeek     `json:"full_backup_day_of_week,omitempty"`
	RetentionPeriodDay  NullableString `json:"retention_period_day,omitempty"`
	StartingTimeHour    NullableString `json:"starting_time_hour,omitempty"`
}

SqlserverBackupOption struct for SqlserverBackupOption

func NewSqlserverBackupOption

func NewSqlserverBackupOption(archiveFrequencyMinute string) *SqlserverBackupOption

NewSqlserverBackupOption instantiates a new SqlserverBackupOption 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 NewSqlserverBackupOptionWithDefaults

func NewSqlserverBackupOptionWithDefaults() *SqlserverBackupOption

NewSqlserverBackupOptionWithDefaults instantiates a new SqlserverBackupOption 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 (*SqlserverBackupOption) GetArchiveFrequencyMinute

func (o *SqlserverBackupOption) GetArchiveFrequencyMinute() string

GetArchiveFrequencyMinute returns the ArchiveFrequencyMinute field value

func (*SqlserverBackupOption) GetArchiveFrequencyMinuteOk

func (o *SqlserverBackupOption) GetArchiveFrequencyMinuteOk() (*string, bool)

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

func (*SqlserverBackupOption) GetFullBackupDayOfWeek

func (o *SqlserverBackupOption) GetFullBackupDayOfWeek() DayOfWeek

GetFullBackupDayOfWeek returns the FullBackupDayOfWeek field value if set, zero value otherwise.

func (*SqlserverBackupOption) GetFullBackupDayOfWeekOk

func (o *SqlserverBackupOption) GetFullBackupDayOfWeekOk() (*DayOfWeek, bool)

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

func (*SqlserverBackupOption) GetRetentionPeriodDay

func (o *SqlserverBackupOption) GetRetentionPeriodDay() string

GetRetentionPeriodDay returns the RetentionPeriodDay field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverBackupOption) GetRetentionPeriodDayOk

func (o *SqlserverBackupOption) GetRetentionPeriodDayOk() (*string, bool)

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

func (*SqlserverBackupOption) GetStartingTimeHour

func (o *SqlserverBackupOption) GetStartingTimeHour() string

GetStartingTimeHour returns the StartingTimeHour field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverBackupOption) GetStartingTimeHourOk

func (o *SqlserverBackupOption) GetStartingTimeHourOk() (*string, bool)

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

func (*SqlserverBackupOption) HasFullBackupDayOfWeek

func (o *SqlserverBackupOption) HasFullBackupDayOfWeek() bool

HasFullBackupDayOfWeek returns a boolean if a field has been set.

func (*SqlserverBackupOption) HasRetentionPeriodDay

func (o *SqlserverBackupOption) HasRetentionPeriodDay() bool

HasRetentionPeriodDay returns a boolean if a field has been set.

func (*SqlserverBackupOption) HasStartingTimeHour

func (o *SqlserverBackupOption) HasStartingTimeHour() bool

HasStartingTimeHour returns a boolean if a field has been set.

func (SqlserverBackupOption) MarshalJSON

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

func (*SqlserverBackupOption) SetArchiveFrequencyMinute

func (o *SqlserverBackupOption) SetArchiveFrequencyMinute(v string)

SetArchiveFrequencyMinute sets field value

func (*SqlserverBackupOption) SetFullBackupDayOfWeek

func (o *SqlserverBackupOption) SetFullBackupDayOfWeek(v DayOfWeek)

SetFullBackupDayOfWeek gets a reference to the given DayOfWeek and assigns it to the FullBackupDayOfWeek field.

func (*SqlserverBackupOption) SetRetentionPeriodDay

func (o *SqlserverBackupOption) SetRetentionPeriodDay(v string)

SetRetentionPeriodDay gets a reference to the given NullableString and assigns it to the RetentionPeriodDay field.

func (*SqlserverBackupOption) SetRetentionPeriodDayNil

func (o *SqlserverBackupOption) SetRetentionPeriodDayNil()

SetRetentionPeriodDayNil sets the value for RetentionPeriodDay to be an explicit nil

func (*SqlserverBackupOption) SetStartingTimeHour

func (o *SqlserverBackupOption) SetStartingTimeHour(v string)

SetStartingTimeHour gets a reference to the given NullableString and assigns it to the StartingTimeHour field.

func (*SqlserverBackupOption) SetStartingTimeHourNil

func (o *SqlserverBackupOption) SetStartingTimeHourNil()

SetStartingTimeHourNil sets the value for StartingTimeHour to be an explicit nil

func (SqlserverBackupOption) ToMap

func (o SqlserverBackupOption) ToMap() (map[string]interface{}, error)

func (*SqlserverBackupOption) UnmarshalJSON

func (o *SqlserverBackupOption) UnmarshalJSON(data []byte) (err error)

func (*SqlserverBackupOption) UnsetRetentionPeriodDay

func (o *SqlserverBackupOption) UnsetRetentionPeriodDay()

UnsetRetentionPeriodDay ensures that no value is present for RetentionPeriodDay, not even an explicit nil

func (*SqlserverBackupOption) UnsetStartingTimeHour

func (o *SqlserverBackupOption) UnsetStartingTimeHour()

UnsetStartingTimeHour ensures that no value is present for StartingTimeHour, not even an explicit nil

type SqlserverBackupSettingRequest

type SqlserverBackupSettingRequest struct {
	// Backup starting time (minute)
	ArchiveFrequencyMinute string `json:"archive_frequency_minute" validate:"regexp=^(5|10|30|60)$"`
	// Full backup day of week
	FullBackupDayOfWeek *DayOfWeek `json:"full_backup_day_of_week,omitempty"`
	// Backup retention period (day)
	RetentionPeriodDay string `json:"retention_period_day" validate:"regexp=^([7-9]|^[1-2]\\\\d|^3[0-5])$"`
	// Backup starting time (hour)
	StartingTimeHour string `json:"starting_time_hour" validate:"regexp=^(\\\\d|1\\\\d|2[0-3])$"`
}

SqlserverBackupSettingRequest struct for SqlserverBackupSettingRequest

func NewSqlserverBackupSettingRequest

func NewSqlserverBackupSettingRequest(archiveFrequencyMinute string, retentionPeriodDay string, startingTimeHour string) *SqlserverBackupSettingRequest

NewSqlserverBackupSettingRequest instantiates a new SqlserverBackupSettingRequest 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 NewSqlserverBackupSettingRequestWithDefaults

func NewSqlserverBackupSettingRequestWithDefaults() *SqlserverBackupSettingRequest

NewSqlserverBackupSettingRequestWithDefaults instantiates a new SqlserverBackupSettingRequest 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 (*SqlserverBackupSettingRequest) GetArchiveFrequencyMinute

func (o *SqlserverBackupSettingRequest) GetArchiveFrequencyMinute() string

GetArchiveFrequencyMinute returns the ArchiveFrequencyMinute field value

func (*SqlserverBackupSettingRequest) GetArchiveFrequencyMinuteOk

func (o *SqlserverBackupSettingRequest) GetArchiveFrequencyMinuteOk() (*string, bool)

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

func (*SqlserverBackupSettingRequest) GetFullBackupDayOfWeek

func (o *SqlserverBackupSettingRequest) GetFullBackupDayOfWeek() DayOfWeek

GetFullBackupDayOfWeek returns the FullBackupDayOfWeek field value if set, zero value otherwise.

func (*SqlserverBackupSettingRequest) GetFullBackupDayOfWeekOk

func (o *SqlserverBackupSettingRequest) GetFullBackupDayOfWeekOk() (*DayOfWeek, bool)

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

func (*SqlserverBackupSettingRequest) GetRetentionPeriodDay

func (o *SqlserverBackupSettingRequest) GetRetentionPeriodDay() string

GetRetentionPeriodDay returns the RetentionPeriodDay field value

func (*SqlserverBackupSettingRequest) GetRetentionPeriodDayOk

func (o *SqlserverBackupSettingRequest) GetRetentionPeriodDayOk() (*string, bool)

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

func (*SqlserverBackupSettingRequest) GetStartingTimeHour

func (o *SqlserverBackupSettingRequest) GetStartingTimeHour() string

GetStartingTimeHour returns the StartingTimeHour field value

func (*SqlserverBackupSettingRequest) GetStartingTimeHourOk

func (o *SqlserverBackupSettingRequest) GetStartingTimeHourOk() (*string, bool)

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

func (*SqlserverBackupSettingRequest) HasFullBackupDayOfWeek

func (o *SqlserverBackupSettingRequest) HasFullBackupDayOfWeek() bool

HasFullBackupDayOfWeek returns a boolean if a field has been set.

func (SqlserverBackupSettingRequest) MarshalJSON

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

func (*SqlserverBackupSettingRequest) SetArchiveFrequencyMinute

func (o *SqlserverBackupSettingRequest) SetArchiveFrequencyMinute(v string)

SetArchiveFrequencyMinute sets field value

func (*SqlserverBackupSettingRequest) SetFullBackupDayOfWeek

func (o *SqlserverBackupSettingRequest) SetFullBackupDayOfWeek(v DayOfWeek)

SetFullBackupDayOfWeek gets a reference to the given DayOfWeek and assigns it to the FullBackupDayOfWeek field.

func (*SqlserverBackupSettingRequest) SetRetentionPeriodDay

func (o *SqlserverBackupSettingRequest) SetRetentionPeriodDay(v string)

SetRetentionPeriodDay sets field value

func (*SqlserverBackupSettingRequest) SetStartingTimeHour

func (o *SqlserverBackupSettingRequest) SetStartingTimeHour(v string)

SetStartingTimeHour sets field value

func (SqlserverBackupSettingRequest) ToMap

func (o SqlserverBackupSettingRequest) ToMap() (map[string]interface{}, error)

func (*SqlserverBackupSettingRequest) UnmarshalJSON

func (o *SqlserverBackupSettingRequest) UnmarshalJSON(data []byte) (err error)

type SqlserverBlockStorageGroupResponse

type SqlserverBlockStorageGroupResponse struct {
	// Drive letter
	DriveLetter string `json:"drive_letter"`
	// ID
	Id string `json:"id"`
	// Name
	Name string `json:"name"`
	// Role type
	RoleType BlockStorageGroupRoleType `json:"role_type"`
	// Size in GB
	SizeGb int32 `json:"size_gb"`
	// Volume type
	VolumeType VolumeType `json:"volume_type"`
}

SqlserverBlockStorageGroupResponse struct for SqlserverBlockStorageGroupResponse

func NewSqlserverBlockStorageGroupResponse

func NewSqlserverBlockStorageGroupResponse(driveLetter string, id string, name string, roleType BlockStorageGroupRoleType, sizeGb int32, volumeType VolumeType) *SqlserverBlockStorageGroupResponse

NewSqlserverBlockStorageGroupResponse instantiates a new SqlserverBlockStorageGroupResponse 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 NewSqlserverBlockStorageGroupResponseWithDefaults

func NewSqlserverBlockStorageGroupResponseWithDefaults() *SqlserverBlockStorageGroupResponse

NewSqlserverBlockStorageGroupResponseWithDefaults instantiates a new SqlserverBlockStorageGroupResponse 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 (*SqlserverBlockStorageGroupResponse) GetDriveLetter

func (o *SqlserverBlockStorageGroupResponse) GetDriveLetter() string

GetDriveLetter returns the DriveLetter field value

func (*SqlserverBlockStorageGroupResponse) GetDriveLetterOk

func (o *SqlserverBlockStorageGroupResponse) GetDriveLetterOk() (*string, bool)

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

func (*SqlserverBlockStorageGroupResponse) GetId

GetId returns the Id field value

func (*SqlserverBlockStorageGroupResponse) GetIdOk

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

func (*SqlserverBlockStorageGroupResponse) GetName

GetName returns the Name field value

func (*SqlserverBlockStorageGroupResponse) GetNameOk

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

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

func (*SqlserverBlockStorageGroupResponse) GetRoleType

GetRoleType returns the RoleType field value

func (*SqlserverBlockStorageGroupResponse) GetRoleTypeOk

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

func (*SqlserverBlockStorageGroupResponse) GetSizeGb

GetSizeGb returns the SizeGb field value

func (*SqlserverBlockStorageGroupResponse) GetSizeGbOk

func (o *SqlserverBlockStorageGroupResponse) GetSizeGbOk() (*int32, bool)

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

func (*SqlserverBlockStorageGroupResponse) GetVolumeType

GetVolumeType returns the VolumeType field value

func (*SqlserverBlockStorageGroupResponse) GetVolumeTypeOk

func (o *SqlserverBlockStorageGroupResponse) GetVolumeTypeOk() (*VolumeType, bool)

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

func (SqlserverBlockStorageGroupResponse) MarshalJSON

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

func (*SqlserverBlockStorageGroupResponse) SetDriveLetter

func (o *SqlserverBlockStorageGroupResponse) SetDriveLetter(v string)

SetDriveLetter sets field value

func (*SqlserverBlockStorageGroupResponse) SetId

SetId sets field value

func (*SqlserverBlockStorageGroupResponse) SetName

SetName sets field value

func (*SqlserverBlockStorageGroupResponse) SetRoleType

SetRoleType sets field value

func (*SqlserverBlockStorageGroupResponse) SetSizeGb

func (o *SqlserverBlockStorageGroupResponse) SetSizeGb(v int32)

SetSizeGb sets field value

func (*SqlserverBlockStorageGroupResponse) SetVolumeType

func (o *SqlserverBlockStorageGroupResponse) SetVolumeType(v VolumeType)

SetVolumeType sets field value

func (SqlserverBlockStorageGroupResponse) ToMap

func (o SqlserverBlockStorageGroupResponse) ToMap() (map[string]interface{}, error)

func (*SqlserverBlockStorageGroupResponse) UnmarshalJSON

func (o *SqlserverBlockStorageGroupResponse) UnmarshalJSON(data []byte) (err error)

type SqlserverClusterCreateRequest

type SqlserverClusterCreateRequest struct {
	// Allowed IP addresses list
	AllowableIpAddresses []string `json:"allowable_ip_addresses,omitempty"`
	// DBaaS engine version ID
	DbaasEngineVersionId string `json:"dbaas_engine_version_id"`
	// HA availability
	HaEnabled *bool `json:"ha_enabled,omitempty"`
	// DB initial configuration option
	InitConfigOption SqlserverInitConfigOptionRequest `json:"init_config_option"`
	// Instance groups list
	InstanceGroups []SqlserverInstanceGroupRequest `json:"instance_groups"`
	// Instance name prefix
	InstanceNamePrefix string                    `json:"instance_name_prefix" validate:"regexp=^[a-z][a-zA-Z0-9\\\\-]*$"`
	MaintenanceOption  NullableMaintenanceOption `json:"maintenance_option,omitempty"`
	// Cluster name
	Name string `json:"name" validate:"regexp=^[a-zA-Z]*$"`
	// NAT availability
	NatEnabled *bool `json:"nat_enabled,omitempty"`
	// Subnet ID
	SubnetId string `json:"subnet_id"`
	Tags     []Tag  `json:"tags,omitempty"`
	// Timezone
	Timezone         string         `json:"timezone"`
	VipPublicIpId    NullableString `json:"vip_public_ip_id,omitempty"`
	VirtualIpAddress NullableString `json:"virtual_ip_address,omitempty"`
}

SqlserverClusterCreateRequest struct for SqlserverClusterCreateRequest

func NewSqlserverClusterCreateRequest

func NewSqlserverClusterCreateRequest(dbaasEngineVersionId string, initConfigOption SqlserverInitConfigOptionRequest, instanceGroups []SqlserverInstanceGroupRequest, instanceNamePrefix string, name string, subnetId string, timezone string) *SqlserverClusterCreateRequest

NewSqlserverClusterCreateRequest instantiates a new SqlserverClusterCreateRequest 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 NewSqlserverClusterCreateRequestWithDefaults

func NewSqlserverClusterCreateRequestWithDefaults() *SqlserverClusterCreateRequest

NewSqlserverClusterCreateRequestWithDefaults instantiates a new SqlserverClusterCreateRequest 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 (*SqlserverClusterCreateRequest) GetAllowableIpAddresses

func (o *SqlserverClusterCreateRequest) GetAllowableIpAddresses() []string

GetAllowableIpAddresses returns the AllowableIpAddresses field value if set, zero value otherwise.

func (*SqlserverClusterCreateRequest) GetAllowableIpAddressesOk

func (o *SqlserverClusterCreateRequest) GetAllowableIpAddressesOk() ([]string, bool)

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

func (*SqlserverClusterCreateRequest) GetDbaasEngineVersionId

func (o *SqlserverClusterCreateRequest) GetDbaasEngineVersionId() string

GetDbaasEngineVersionId returns the DbaasEngineVersionId field value

func (*SqlserverClusterCreateRequest) GetDbaasEngineVersionIdOk

func (o *SqlserverClusterCreateRequest) GetDbaasEngineVersionIdOk() (*string, bool)

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

func (*SqlserverClusterCreateRequest) GetHaEnabled

func (o *SqlserverClusterCreateRequest) GetHaEnabled() bool

GetHaEnabled returns the HaEnabled field value if set, zero value otherwise.

func (*SqlserverClusterCreateRequest) GetHaEnabledOk

func (o *SqlserverClusterCreateRequest) GetHaEnabledOk() (*bool, bool)

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

func (*SqlserverClusterCreateRequest) GetInitConfigOption

GetInitConfigOption returns the InitConfigOption field value

func (*SqlserverClusterCreateRequest) GetInitConfigOptionOk

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

func (*SqlserverClusterCreateRequest) GetInstanceGroups

GetInstanceGroups returns the InstanceGroups field value

func (*SqlserverClusterCreateRequest) GetInstanceGroupsOk

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

func (*SqlserverClusterCreateRequest) GetInstanceNamePrefix

func (o *SqlserverClusterCreateRequest) GetInstanceNamePrefix() string

GetInstanceNamePrefix returns the InstanceNamePrefix field value

func (*SqlserverClusterCreateRequest) GetInstanceNamePrefixOk

func (o *SqlserverClusterCreateRequest) GetInstanceNamePrefixOk() (*string, bool)

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

func (*SqlserverClusterCreateRequest) GetMaintenanceOption

func (o *SqlserverClusterCreateRequest) GetMaintenanceOption() MaintenanceOption

GetMaintenanceOption returns the MaintenanceOption field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterCreateRequest) GetMaintenanceOptionOk

func (o *SqlserverClusterCreateRequest) GetMaintenanceOptionOk() (*MaintenanceOption, bool)

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

func (*SqlserverClusterCreateRequest) GetName

GetName returns the Name field value

func (*SqlserverClusterCreateRequest) GetNameOk

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

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

func (*SqlserverClusterCreateRequest) GetNatEnabled

func (o *SqlserverClusterCreateRequest) GetNatEnabled() bool

GetNatEnabled returns the NatEnabled field value if set, zero value otherwise.

func (*SqlserverClusterCreateRequest) GetNatEnabledOk

func (o *SqlserverClusterCreateRequest) GetNatEnabledOk() (*bool, bool)

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

func (*SqlserverClusterCreateRequest) GetSubnetId

func (o *SqlserverClusterCreateRequest) GetSubnetId() string

GetSubnetId returns the SubnetId field value

func (*SqlserverClusterCreateRequest) GetSubnetIdOk

func (o *SqlserverClusterCreateRequest) GetSubnetIdOk() (*string, bool)

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

func (*SqlserverClusterCreateRequest) GetTags

func (o *SqlserverClusterCreateRequest) GetTags() []Tag

GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterCreateRequest) GetTagsOk

func (o *SqlserverClusterCreateRequest) GetTagsOk() ([]Tag, bool)

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

func (*SqlserverClusterCreateRequest) GetTimezone

func (o *SqlserverClusterCreateRequest) GetTimezone() string

GetTimezone returns the Timezone field value

func (*SqlserverClusterCreateRequest) GetTimezoneOk

func (o *SqlserverClusterCreateRequest) GetTimezoneOk() (*string, bool)

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

func (*SqlserverClusterCreateRequest) GetVipPublicIpId

func (o *SqlserverClusterCreateRequest) GetVipPublicIpId() string

GetVipPublicIpId returns the VipPublicIpId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterCreateRequest) GetVipPublicIpIdOk

func (o *SqlserverClusterCreateRequest) GetVipPublicIpIdOk() (*string, bool)

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

func (*SqlserverClusterCreateRequest) GetVirtualIpAddress

func (o *SqlserverClusterCreateRequest) GetVirtualIpAddress() string

GetVirtualIpAddress returns the VirtualIpAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterCreateRequest) GetVirtualIpAddressOk

func (o *SqlserverClusterCreateRequest) GetVirtualIpAddressOk() (*string, bool)

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

func (*SqlserverClusterCreateRequest) HasAllowableIpAddresses

func (o *SqlserverClusterCreateRequest) HasAllowableIpAddresses() bool

HasAllowableIpAddresses returns a boolean if a field has been set.

func (*SqlserverClusterCreateRequest) HasHaEnabled

func (o *SqlserverClusterCreateRequest) HasHaEnabled() bool

HasHaEnabled returns a boolean if a field has been set.

func (*SqlserverClusterCreateRequest) HasMaintenanceOption

func (o *SqlserverClusterCreateRequest) HasMaintenanceOption() bool

HasMaintenanceOption returns a boolean if a field has been set.

func (*SqlserverClusterCreateRequest) HasNatEnabled

func (o *SqlserverClusterCreateRequest) HasNatEnabled() bool

HasNatEnabled returns a boolean if a field has been set.

func (*SqlserverClusterCreateRequest) HasTags

func (o *SqlserverClusterCreateRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SqlserverClusterCreateRequest) HasVipPublicIpId

func (o *SqlserverClusterCreateRequest) HasVipPublicIpId() bool

HasVipPublicIpId returns a boolean if a field has been set.

func (*SqlserverClusterCreateRequest) HasVirtualIpAddress

func (o *SqlserverClusterCreateRequest) HasVirtualIpAddress() bool

HasVirtualIpAddress returns a boolean if a field has been set.

func (SqlserverClusterCreateRequest) MarshalJSON

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

func (*SqlserverClusterCreateRequest) SetAllowableIpAddresses

func (o *SqlserverClusterCreateRequest) SetAllowableIpAddresses(v []string)

SetAllowableIpAddresses gets a reference to the given []string and assigns it to the AllowableIpAddresses field.

func (*SqlserverClusterCreateRequest) SetDbaasEngineVersionId

func (o *SqlserverClusterCreateRequest) SetDbaasEngineVersionId(v string)

SetDbaasEngineVersionId sets field value

func (*SqlserverClusterCreateRequest) SetHaEnabled

func (o *SqlserverClusterCreateRequest) SetHaEnabled(v bool)

SetHaEnabled gets a reference to the given bool and assigns it to the HaEnabled field.

func (*SqlserverClusterCreateRequest) SetInitConfigOption

SetInitConfigOption sets field value

func (*SqlserverClusterCreateRequest) SetInstanceGroups

SetInstanceGroups sets field value

func (*SqlserverClusterCreateRequest) SetInstanceNamePrefix

func (o *SqlserverClusterCreateRequest) SetInstanceNamePrefix(v string)

SetInstanceNamePrefix sets field value

func (*SqlserverClusterCreateRequest) SetMaintenanceOption

func (o *SqlserverClusterCreateRequest) SetMaintenanceOption(v MaintenanceOption)

SetMaintenanceOption gets a reference to the given NullableMaintenanceOption and assigns it to the MaintenanceOption field.

func (*SqlserverClusterCreateRequest) SetMaintenanceOptionNil

func (o *SqlserverClusterCreateRequest) SetMaintenanceOptionNil()

SetMaintenanceOptionNil sets the value for MaintenanceOption to be an explicit nil

func (*SqlserverClusterCreateRequest) SetName

func (o *SqlserverClusterCreateRequest) SetName(v string)

SetName sets field value

func (*SqlserverClusterCreateRequest) SetNatEnabled

func (o *SqlserverClusterCreateRequest) SetNatEnabled(v bool)

SetNatEnabled gets a reference to the given bool and assigns it to the NatEnabled field.

func (*SqlserverClusterCreateRequest) SetSubnetId

func (o *SqlserverClusterCreateRequest) SetSubnetId(v string)

SetSubnetId sets field value

func (*SqlserverClusterCreateRequest) SetTags

func (o *SqlserverClusterCreateRequest) SetTags(v []Tag)

SetTags gets a reference to the given []Tag and assigns it to the Tags field.

func (*SqlserverClusterCreateRequest) SetTimezone

func (o *SqlserverClusterCreateRequest) SetTimezone(v string)

SetTimezone sets field value

func (*SqlserverClusterCreateRequest) SetVipPublicIpId

func (o *SqlserverClusterCreateRequest) SetVipPublicIpId(v string)

SetVipPublicIpId gets a reference to the given NullableString and assigns it to the VipPublicIpId field.

func (*SqlserverClusterCreateRequest) SetVipPublicIpIdNil

func (o *SqlserverClusterCreateRequest) SetVipPublicIpIdNil()

SetVipPublicIpIdNil sets the value for VipPublicIpId to be an explicit nil

func (*SqlserverClusterCreateRequest) SetVirtualIpAddress

func (o *SqlserverClusterCreateRequest) SetVirtualIpAddress(v string)

SetVirtualIpAddress gets a reference to the given NullableString and assigns it to the VirtualIpAddress field.

func (*SqlserverClusterCreateRequest) SetVirtualIpAddressNil

func (o *SqlserverClusterCreateRequest) SetVirtualIpAddressNil()

SetVirtualIpAddressNil sets the value for VirtualIpAddress to be an explicit nil

func (SqlserverClusterCreateRequest) ToMap

func (o SqlserverClusterCreateRequest) ToMap() (map[string]interface{}, error)

func (*SqlserverClusterCreateRequest) UnmarshalJSON

func (o *SqlserverClusterCreateRequest) UnmarshalJSON(data []byte) (err error)

func (*SqlserverClusterCreateRequest) UnsetMaintenanceOption

func (o *SqlserverClusterCreateRequest) UnsetMaintenanceOption()

UnsetMaintenanceOption ensures that no value is present for MaintenanceOption, not even an explicit nil

func (*SqlserverClusterCreateRequest) UnsetVipPublicIpId

func (o *SqlserverClusterCreateRequest) UnsetVipPublicIpId()

UnsetVipPublicIpId ensures that no value is present for VipPublicIpId, not even an explicit nil

func (*SqlserverClusterCreateRequest) UnsetVirtualIpAddress

func (o *SqlserverClusterCreateRequest) UnsetVirtualIpAddress()

UnsetVirtualIpAddress ensures that no value is present for VirtualIpAddress, not even an explicit nil

type SqlserverClusterDetailResponse

type SqlserverClusterDetailResponse struct {
	// Account ID
	AccountId string `json:"account_id"`
	// Allowed IP addresses list
	AllowableIpAddresses []string `json:"allowable_ip_addresses,omitempty"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy string `json:"created_by"`
	// DBaaS engine
	DbaasEngine string `json:"dbaas_engine"`
	// DBaaS engine version name
	DbaasEngineVersionName string `json:"dbaas_engine_version_name"`
	// HA availability
	HaEnabled *bool `json:"ha_enabled,omitempty"`
	// ID
	Id               string                            `json:"id"`
	InitConfigOption SqlserverInitConfigOptionResponse `json:"init_config_option"`
	// Instance Count
	InstanceCount     *int32                            `json:"instance_count,omitempty"`
	InstanceGroups    []SqlserverInstanceGroupResponse  `json:"instance_groups"`
	MaintenanceOption NullableMaintenanceResponseOption `json:"maintenance_option,omitempty"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string `json:"modified_by"`
	// Cluster name
	Name string `json:"name"`
	// NAT availability
	NatEnabled *bool `json:"nat_enabled,omitempty"`
	// Product image type
	ProductImageType string `json:"product_image_type"`
	// Product type
	ProductType ProductType             `json:"product_type"`
	RoleType    NullableClusterRoleType `json:"role_type"`
	// Service state
	ServiceState ServiceState `json:"service_state"`
	// Software version
	SoftwareVersion string `json:"software_version"`
	// Subnet ID
	SubnetId string `json:"subnet_id"`
	// Timezone
	Timezone           string         `json:"timezone"`
	VipPublicIpAddress NullableString `json:"vip_public_ip_address,omitempty"`
	VipPublicIpId      NullableString `json:"vip_public_ip_id,omitempty"`
	VirtualIpAddress   NullableString `json:"virtual_ip_address,omitempty"`
}

SqlserverClusterDetailResponse struct for SqlserverClusterDetailResponse

func NewSqlserverClusterDetailResponse

func NewSqlserverClusterDetailResponse(accountId string, createdAt time.Time, createdBy string, dbaasEngine string, dbaasEngineVersionName string, id string, initConfigOption SqlserverInitConfigOptionResponse, instanceGroups []SqlserverInstanceGroupResponse, modifiedAt time.Time, modifiedBy string, name string, productImageType string, productType ProductType, roleType NullableClusterRoleType, serviceState ServiceState, softwareVersion string, subnetId string, timezone string) *SqlserverClusterDetailResponse

NewSqlserverClusterDetailResponse instantiates a new SqlserverClusterDetailResponse 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 NewSqlserverClusterDetailResponseWithDefaults

func NewSqlserverClusterDetailResponseWithDefaults() *SqlserverClusterDetailResponse

NewSqlserverClusterDetailResponseWithDefaults instantiates a new SqlserverClusterDetailResponse 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 (*SqlserverClusterDetailResponse) GetAccountId

func (o *SqlserverClusterDetailResponse) GetAccountId() string

GetAccountId returns the AccountId field value

func (*SqlserverClusterDetailResponse) GetAccountIdOk

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

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

func (*SqlserverClusterDetailResponse) GetAllowableIpAddresses

func (o *SqlserverClusterDetailResponse) GetAllowableIpAddresses() []string

GetAllowableIpAddresses returns the AllowableIpAddresses field value if set, zero value otherwise.

func (*SqlserverClusterDetailResponse) GetAllowableIpAddressesOk

func (o *SqlserverClusterDetailResponse) GetAllowableIpAddressesOk() ([]string, bool)

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

func (*SqlserverClusterDetailResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*SqlserverClusterDetailResponse) GetCreatedAtOk

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

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

func (*SqlserverClusterDetailResponse) GetCreatedBy

func (o *SqlserverClusterDetailResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*SqlserverClusterDetailResponse) GetCreatedByOk

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

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

func (*SqlserverClusterDetailResponse) GetDbaasEngine

func (o *SqlserverClusterDetailResponse) GetDbaasEngine() string

GetDbaasEngine returns the DbaasEngine field value

func (*SqlserverClusterDetailResponse) GetDbaasEngineOk

func (o *SqlserverClusterDetailResponse) GetDbaasEngineOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetDbaasEngineVersionName

func (o *SqlserverClusterDetailResponse) GetDbaasEngineVersionName() string

GetDbaasEngineVersionName returns the DbaasEngineVersionName field value

func (*SqlserverClusterDetailResponse) GetDbaasEngineVersionNameOk

func (o *SqlserverClusterDetailResponse) GetDbaasEngineVersionNameOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetHaEnabled

func (o *SqlserverClusterDetailResponse) GetHaEnabled() bool

GetHaEnabled returns the HaEnabled field value if set, zero value otherwise.

func (*SqlserverClusterDetailResponse) GetHaEnabledOk

func (o *SqlserverClusterDetailResponse) GetHaEnabledOk() (*bool, bool)

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

func (*SqlserverClusterDetailResponse) GetId

GetId returns the Id field value

func (*SqlserverClusterDetailResponse) GetIdOk

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

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

func (*SqlserverClusterDetailResponse) GetInitConfigOption

GetInitConfigOption returns the InitConfigOption field value

func (*SqlserverClusterDetailResponse) GetInitConfigOptionOk

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

func (*SqlserverClusterDetailResponse) GetInstanceCount

func (o *SqlserverClusterDetailResponse) GetInstanceCount() int32

GetInstanceCount returns the InstanceCount field value if set, zero value otherwise.

func (*SqlserverClusterDetailResponse) GetInstanceCountOk

func (o *SqlserverClusterDetailResponse) GetInstanceCountOk() (*int32, bool)

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

func (*SqlserverClusterDetailResponse) GetInstanceGroups

GetInstanceGroups returns the InstanceGroups field value

func (*SqlserverClusterDetailResponse) GetInstanceGroupsOk

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

func (*SqlserverClusterDetailResponse) GetMaintenanceOption

GetMaintenanceOption returns the MaintenanceOption field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterDetailResponse) GetMaintenanceOptionOk

func (o *SqlserverClusterDetailResponse) GetMaintenanceOptionOk() (*MaintenanceResponseOption, bool)

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

func (*SqlserverClusterDetailResponse) GetModifiedAt

func (o *SqlserverClusterDetailResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*SqlserverClusterDetailResponse) GetModifiedAtOk

func (o *SqlserverClusterDetailResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*SqlserverClusterDetailResponse) GetModifiedBy

func (o *SqlserverClusterDetailResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*SqlserverClusterDetailResponse) GetModifiedByOk

func (o *SqlserverClusterDetailResponse) GetModifiedByOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetName

GetName returns the Name field value

func (*SqlserverClusterDetailResponse) GetNameOk

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

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

func (*SqlserverClusterDetailResponse) GetNatEnabled

func (o *SqlserverClusterDetailResponse) GetNatEnabled() bool

GetNatEnabled returns the NatEnabled field value if set, zero value otherwise.

func (*SqlserverClusterDetailResponse) GetNatEnabledOk

func (o *SqlserverClusterDetailResponse) GetNatEnabledOk() (*bool, bool)

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

func (*SqlserverClusterDetailResponse) GetProductImageType

func (o *SqlserverClusterDetailResponse) GetProductImageType() string

GetProductImageType returns the ProductImageType field value

func (*SqlserverClusterDetailResponse) GetProductImageTypeOk

func (o *SqlserverClusterDetailResponse) GetProductImageTypeOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetProductType

func (o *SqlserverClusterDetailResponse) GetProductType() ProductType

GetProductType returns the ProductType field value

func (*SqlserverClusterDetailResponse) GetProductTypeOk

func (o *SqlserverClusterDetailResponse) GetProductTypeOk() (*ProductType, bool)

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

func (*SqlserverClusterDetailResponse) GetRoleType

GetRoleType returns the RoleType field value If the value is explicit nil, the zero value for ClusterRoleType will be returned

func (*SqlserverClusterDetailResponse) GetRoleTypeOk

func (o *SqlserverClusterDetailResponse) GetRoleTypeOk() (*ClusterRoleType, bool)

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

func (*SqlserverClusterDetailResponse) GetServiceState

func (o *SqlserverClusterDetailResponse) GetServiceState() ServiceState

GetServiceState returns the ServiceState field value

func (*SqlserverClusterDetailResponse) GetServiceStateOk

func (o *SqlserverClusterDetailResponse) GetServiceStateOk() (*ServiceState, bool)

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

func (*SqlserverClusterDetailResponse) GetSoftwareVersion

func (o *SqlserverClusterDetailResponse) GetSoftwareVersion() string

GetSoftwareVersion returns the SoftwareVersion field value

func (*SqlserverClusterDetailResponse) GetSoftwareVersionOk

func (o *SqlserverClusterDetailResponse) GetSoftwareVersionOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetSubnetId

func (o *SqlserverClusterDetailResponse) GetSubnetId() string

GetSubnetId returns the SubnetId field value

func (*SqlserverClusterDetailResponse) GetSubnetIdOk

func (o *SqlserverClusterDetailResponse) GetSubnetIdOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetTimezone

func (o *SqlserverClusterDetailResponse) GetTimezone() string

GetTimezone returns the Timezone field value

func (*SqlserverClusterDetailResponse) GetTimezoneOk

func (o *SqlserverClusterDetailResponse) GetTimezoneOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetVipPublicIpAddress

func (o *SqlserverClusterDetailResponse) GetVipPublicIpAddress() string

GetVipPublicIpAddress returns the VipPublicIpAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterDetailResponse) GetVipPublicIpAddressOk

func (o *SqlserverClusterDetailResponse) GetVipPublicIpAddressOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetVipPublicIpId

func (o *SqlserverClusterDetailResponse) GetVipPublicIpId() string

GetVipPublicIpId returns the VipPublicIpId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterDetailResponse) GetVipPublicIpIdOk

func (o *SqlserverClusterDetailResponse) GetVipPublicIpIdOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) GetVirtualIpAddress

func (o *SqlserverClusterDetailResponse) GetVirtualIpAddress() string

GetVirtualIpAddress returns the VirtualIpAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverClusterDetailResponse) GetVirtualIpAddressOk

func (o *SqlserverClusterDetailResponse) GetVirtualIpAddressOk() (*string, bool)

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

func (*SqlserverClusterDetailResponse) HasAllowableIpAddresses

func (o *SqlserverClusterDetailResponse) HasAllowableIpAddresses() bool

HasAllowableIpAddresses returns a boolean if a field has been set.

func (*SqlserverClusterDetailResponse) HasHaEnabled

func (o *SqlserverClusterDetailResponse) HasHaEnabled() bool

HasHaEnabled returns a boolean if a field has been set.

func (*SqlserverClusterDetailResponse) HasInstanceCount

func (o *SqlserverClusterDetailResponse) HasInstanceCount() bool

HasInstanceCount returns a boolean if a field has been set.

func (*SqlserverClusterDetailResponse) HasMaintenanceOption

func (o *SqlserverClusterDetailResponse) HasMaintenanceOption() bool

HasMaintenanceOption returns a boolean if a field has been set.

func (*SqlserverClusterDetailResponse) HasNatEnabled

func (o *SqlserverClusterDetailResponse) HasNatEnabled() bool

HasNatEnabled returns a boolean if a field has been set.

func (*SqlserverClusterDetailResponse) HasVipPublicIpAddress

func (o *SqlserverClusterDetailResponse) HasVipPublicIpAddress() bool

HasVipPublicIpAddress returns a boolean if a field has been set.

func (*SqlserverClusterDetailResponse) HasVipPublicIpId

func (o *SqlserverClusterDetailResponse) HasVipPublicIpId() bool

HasVipPublicIpId returns a boolean if a field has been set.

func (*SqlserverClusterDetailResponse) HasVirtualIpAddress

func (o *SqlserverClusterDetailResponse) HasVirtualIpAddress() bool

HasVirtualIpAddress returns a boolean if a field has been set.

func (SqlserverClusterDetailResponse) MarshalJSON

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

func (*SqlserverClusterDetailResponse) SetAccountId

func (o *SqlserverClusterDetailResponse) SetAccountId(v string)

SetAccountId sets field value

func (*SqlserverClusterDetailResponse) SetAllowableIpAddresses

func (o *SqlserverClusterDetailResponse) SetAllowableIpAddresses(v []string)

SetAllowableIpAddresses gets a reference to the given []string and assigns it to the AllowableIpAddresses field.

func (*SqlserverClusterDetailResponse) SetCreatedAt

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

SetCreatedAt sets field value

func (*SqlserverClusterDetailResponse) SetCreatedBy

func (o *SqlserverClusterDetailResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*SqlserverClusterDetailResponse) SetDbaasEngine

func (o *SqlserverClusterDetailResponse) SetDbaasEngine(v string)

SetDbaasEngine sets field value

func (*SqlserverClusterDetailResponse) SetDbaasEngineVersionName

func (o *SqlserverClusterDetailResponse) SetDbaasEngineVersionName(v string)

SetDbaasEngineVersionName sets field value

func (*SqlserverClusterDetailResponse) SetHaEnabled

func (o *SqlserverClusterDetailResponse) SetHaEnabled(v bool)

SetHaEnabled gets a reference to the given bool and assigns it to the HaEnabled field.

func (*SqlserverClusterDetailResponse) SetId

SetId sets field value

func (*SqlserverClusterDetailResponse) SetInitConfigOption

SetInitConfigOption sets field value

func (*SqlserverClusterDetailResponse) SetInstanceCount

func (o *SqlserverClusterDetailResponse) SetInstanceCount(v int32)

SetInstanceCount gets a reference to the given int32 and assigns it to the InstanceCount field.

func (*SqlserverClusterDetailResponse) SetInstanceGroups

SetInstanceGroups sets field value

func (*SqlserverClusterDetailResponse) SetMaintenanceOption

func (o *SqlserverClusterDetailResponse) SetMaintenanceOption(v MaintenanceResponseOption)

SetMaintenanceOption gets a reference to the given NullableMaintenanceResponseOption and assigns it to the MaintenanceOption field.

func (*SqlserverClusterDetailResponse) SetMaintenanceOptionNil

func (o *SqlserverClusterDetailResponse) SetMaintenanceOptionNil()

SetMaintenanceOptionNil sets the value for MaintenanceOption to be an explicit nil

func (*SqlserverClusterDetailResponse) SetModifiedAt

func (o *SqlserverClusterDetailResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*SqlserverClusterDetailResponse) SetModifiedBy

func (o *SqlserverClusterDetailResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*SqlserverClusterDetailResponse) SetName

func (o *SqlserverClusterDetailResponse) SetName(v string)

SetName sets field value

func (*SqlserverClusterDetailResponse) SetNatEnabled

func (o *SqlserverClusterDetailResponse) SetNatEnabled(v bool)

SetNatEnabled gets a reference to the given bool and assigns it to the NatEnabled field.

func (*SqlserverClusterDetailResponse) SetProductImageType

func (o *SqlserverClusterDetailResponse) SetProductImageType(v string)

SetProductImageType sets field value

func (*SqlserverClusterDetailResponse) SetProductType

func (o *SqlserverClusterDetailResponse) SetProductType(v ProductType)

SetProductType sets field value

func (*SqlserverClusterDetailResponse) SetRoleType

SetRoleType sets field value

func (*SqlserverClusterDetailResponse) SetServiceState

func (o *SqlserverClusterDetailResponse) SetServiceState(v ServiceState)

SetServiceState sets field value

func (*SqlserverClusterDetailResponse) SetSoftwareVersion

func (o *SqlserverClusterDetailResponse) SetSoftwareVersion(v string)

SetSoftwareVersion sets field value

func (*SqlserverClusterDetailResponse) SetSubnetId

func (o *SqlserverClusterDetailResponse) SetSubnetId(v string)

SetSubnetId sets field value

func (*SqlserverClusterDetailResponse) SetTimezone

func (o *SqlserverClusterDetailResponse) SetTimezone(v string)

SetTimezone sets field value

func (*SqlserverClusterDetailResponse) SetVipPublicIpAddress

func (o *SqlserverClusterDetailResponse) SetVipPublicIpAddress(v string)

SetVipPublicIpAddress gets a reference to the given NullableString and assigns it to the VipPublicIpAddress field.

func (*SqlserverClusterDetailResponse) SetVipPublicIpAddressNil

func (o *SqlserverClusterDetailResponse) SetVipPublicIpAddressNil()

SetVipPublicIpAddressNil sets the value for VipPublicIpAddress to be an explicit nil

func (*SqlserverClusterDetailResponse) SetVipPublicIpId

func (o *SqlserverClusterDetailResponse) SetVipPublicIpId(v string)

SetVipPublicIpId gets a reference to the given NullableString and assigns it to the VipPublicIpId field.

func (*SqlserverClusterDetailResponse) SetVipPublicIpIdNil

func (o *SqlserverClusterDetailResponse) SetVipPublicIpIdNil()

SetVipPublicIpIdNil sets the value for VipPublicIpId to be an explicit nil

func (*SqlserverClusterDetailResponse) SetVirtualIpAddress

func (o *SqlserverClusterDetailResponse) SetVirtualIpAddress(v string)

SetVirtualIpAddress gets a reference to the given NullableString and assigns it to the VirtualIpAddress field.

func (*SqlserverClusterDetailResponse) SetVirtualIpAddressNil

func (o *SqlserverClusterDetailResponse) SetVirtualIpAddressNil()

SetVirtualIpAddressNil sets the value for VirtualIpAddress to be an explicit nil

func (SqlserverClusterDetailResponse) ToMap

func (o SqlserverClusterDetailResponse) ToMap() (map[string]interface{}, error)

func (*SqlserverClusterDetailResponse) UnmarshalJSON

func (o *SqlserverClusterDetailResponse) UnmarshalJSON(data []byte) (err error)

func (*SqlserverClusterDetailResponse) UnsetMaintenanceOption

func (o *SqlserverClusterDetailResponse) UnsetMaintenanceOption()

UnsetMaintenanceOption ensures that no value is present for MaintenanceOption, not even an explicit nil

func (*SqlserverClusterDetailResponse) UnsetVipPublicIpAddress

func (o *SqlserverClusterDetailResponse) UnsetVipPublicIpAddress()

UnsetVipPublicIpAddress ensures that no value is present for VipPublicIpAddress, not even an explicit nil

func (*SqlserverClusterDetailResponse) UnsetVipPublicIpId

func (o *SqlserverClusterDetailResponse) UnsetVipPublicIpId()

UnsetVipPublicIpId ensures that no value is present for VipPublicIpId, not even an explicit nil

func (*SqlserverClusterDetailResponse) UnsetVirtualIpAddress

func (o *SqlserverClusterDetailResponse) UnsetVirtualIpAddress()

UnsetVirtualIpAddress ensures that no value is present for VirtualIpAddress, not even an explicit nil

type SqlserverDatabaseOption

type SqlserverDatabaseOption struct {
	// Database Name
	DatabaseName string `json:"database_name" validate:"regexp=^[a-zA-Z][a-zA-Z0-9._]*$"`
	// Drive letter
	DriveLetter *string `json:"drive_letter,omitempty" validate:"regexp=[E-Z]"`
}

SqlserverDatabaseOption struct for SqlserverDatabaseOption

func NewSqlserverDatabaseOption

func NewSqlserverDatabaseOption(databaseName string) *SqlserverDatabaseOption

NewSqlserverDatabaseOption instantiates a new SqlserverDatabaseOption 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 NewSqlserverDatabaseOptionWithDefaults

func NewSqlserverDatabaseOptionWithDefaults() *SqlserverDatabaseOption

NewSqlserverDatabaseOptionWithDefaults instantiates a new SqlserverDatabaseOption 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 (*SqlserverDatabaseOption) GetDatabaseName

func (o *SqlserverDatabaseOption) GetDatabaseName() string

GetDatabaseName returns the DatabaseName field value

func (*SqlserverDatabaseOption) GetDatabaseNameOk

func (o *SqlserverDatabaseOption) GetDatabaseNameOk() (*string, bool)

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

func (*SqlserverDatabaseOption) GetDriveLetter

func (o *SqlserverDatabaseOption) GetDriveLetter() string

GetDriveLetter returns the DriveLetter field value if set, zero value otherwise.

func (*SqlserverDatabaseOption) GetDriveLetterOk

func (o *SqlserverDatabaseOption) GetDriveLetterOk() (*string, bool)

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

func (*SqlserverDatabaseOption) HasDriveLetter

func (o *SqlserverDatabaseOption) HasDriveLetter() bool

HasDriveLetter returns a boolean if a field has been set.

func (SqlserverDatabaseOption) MarshalJSON

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

func (*SqlserverDatabaseOption) SetDatabaseName

func (o *SqlserverDatabaseOption) SetDatabaseName(v string)

SetDatabaseName sets field value

func (*SqlserverDatabaseOption) SetDriveLetter

func (o *SqlserverDatabaseOption) SetDriveLetter(v string)

SetDriveLetter gets a reference to the given string and assigns it to the DriveLetter field.

func (SqlserverDatabaseOption) ToMap

func (o SqlserverDatabaseOption) ToMap() (map[string]interface{}, error)

func (*SqlserverDatabaseOption) UnmarshalJSON

func (o *SqlserverDatabaseOption) UnmarshalJSON(data []byte) (err error)

type SqlserverInitConfigOptionRequest

type SqlserverInitConfigOptionRequest struct {
	// Audit usage state
	AuditEnabled      *bool                         `json:"audit_enabled,omitempty"`
	BackupOption      NullableSqlserverBackupOption `json:"backup_option,omitempty"`
	DatabaseCollation *DbCollation                  `json:"database_collation,omitempty"`
	DatabaseName      interface{}                   `json:"database_name,omitempty"`
	// Database service port
	DatabasePort *int32 `json:"database_port,omitempty"`
	// Database Service Name
	DatabaseServiceName string `json:"database_service_name" validate:"regexp=^[A-Z][a-zA-Z]*$"`
	// Database User Name
	DatabaseUserName string `json:"database_user_name" validate:"regexp=^[a-z]*$"`
	// Database user password
	DatabaseUserPassword string `json:"database_user_password"`
	// Databases
	Databases []SqlserverDatabaseOption `json:"databases"`
	// license
	License string `json:"license"`
}

SqlserverInitConfigOptionRequest struct for SqlserverInitConfigOptionRequest

func NewSqlserverInitConfigOptionRequest

func NewSqlserverInitConfigOptionRequest(databaseServiceName string, databaseUserName string, databaseUserPassword string, databases []SqlserverDatabaseOption, license string) *SqlserverInitConfigOptionRequest

NewSqlserverInitConfigOptionRequest instantiates a new SqlserverInitConfigOptionRequest 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 NewSqlserverInitConfigOptionRequestWithDefaults

func NewSqlserverInitConfigOptionRequestWithDefaults() *SqlserverInitConfigOptionRequest

NewSqlserverInitConfigOptionRequestWithDefaults instantiates a new SqlserverInitConfigOptionRequest 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 (*SqlserverInitConfigOptionRequest) GetAuditEnabled

func (o *SqlserverInitConfigOptionRequest) GetAuditEnabled() bool

GetAuditEnabled returns the AuditEnabled field value if set, zero value otherwise.

func (*SqlserverInitConfigOptionRequest) GetAuditEnabledOk

func (o *SqlserverInitConfigOptionRequest) GetAuditEnabledOk() (*bool, bool)

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

func (*SqlserverInitConfigOptionRequest) GetBackupOption

GetBackupOption returns the BackupOption field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverInitConfigOptionRequest) GetBackupOptionOk

func (o *SqlserverInitConfigOptionRequest) GetBackupOptionOk() (*SqlserverBackupOption, bool)

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

func (*SqlserverInitConfigOptionRequest) GetDatabaseCollation

func (o *SqlserverInitConfigOptionRequest) GetDatabaseCollation() DbCollation

GetDatabaseCollation returns the DatabaseCollation field value if set, zero value otherwise.

func (*SqlserverInitConfigOptionRequest) GetDatabaseCollationOk

func (o *SqlserverInitConfigOptionRequest) GetDatabaseCollationOk() (*DbCollation, bool)

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

func (*SqlserverInitConfigOptionRequest) GetDatabaseName

func (o *SqlserverInitConfigOptionRequest) GetDatabaseName() interface{}

GetDatabaseName returns the DatabaseName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverInitConfigOptionRequest) GetDatabaseNameOk

func (o *SqlserverInitConfigOptionRequest) GetDatabaseNameOk() (*interface{}, bool)

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

func (*SqlserverInitConfigOptionRequest) GetDatabasePort

func (o *SqlserverInitConfigOptionRequest) GetDatabasePort() int32

GetDatabasePort returns the DatabasePort field value if set, zero value otherwise.

func (*SqlserverInitConfigOptionRequest) GetDatabasePortOk

func (o *SqlserverInitConfigOptionRequest) GetDatabasePortOk() (*int32, bool)

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

func (*SqlserverInitConfigOptionRequest) GetDatabaseServiceName

func (o *SqlserverInitConfigOptionRequest) GetDatabaseServiceName() string

GetDatabaseServiceName returns the DatabaseServiceName field value

func (*SqlserverInitConfigOptionRequest) GetDatabaseServiceNameOk

func (o *SqlserverInitConfigOptionRequest) GetDatabaseServiceNameOk() (*string, bool)

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

func (*SqlserverInitConfigOptionRequest) GetDatabaseUserName

func (o *SqlserverInitConfigOptionRequest) GetDatabaseUserName() string

GetDatabaseUserName returns the DatabaseUserName field value

func (*SqlserverInitConfigOptionRequest) GetDatabaseUserNameOk

func (o *SqlserverInitConfigOptionRequest) GetDatabaseUserNameOk() (*string, bool)

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

func (*SqlserverInitConfigOptionRequest) GetDatabaseUserPassword

func (o *SqlserverInitConfigOptionRequest) GetDatabaseUserPassword() string

GetDatabaseUserPassword returns the DatabaseUserPassword field value

func (*SqlserverInitConfigOptionRequest) GetDatabaseUserPasswordOk

func (o *SqlserverInitConfigOptionRequest) GetDatabaseUserPasswordOk() (*string, bool)

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

func (*SqlserverInitConfigOptionRequest) GetDatabases

GetDatabases returns the Databases field value

func (*SqlserverInitConfigOptionRequest) GetDatabasesOk

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

func (*SqlserverInitConfigOptionRequest) GetLicense

func (o *SqlserverInitConfigOptionRequest) GetLicense() string

GetLicense returns the License field value

func (*SqlserverInitConfigOptionRequest) GetLicenseOk

func (o *SqlserverInitConfigOptionRequest) GetLicenseOk() (*string, bool)

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

func (*SqlserverInitConfigOptionRequest) HasAuditEnabled

func (o *SqlserverInitConfigOptionRequest) HasAuditEnabled() bool

HasAuditEnabled returns a boolean if a field has been set.

func (*SqlserverInitConfigOptionRequest) HasBackupOption

func (o *SqlserverInitConfigOptionRequest) HasBackupOption() bool

HasBackupOption returns a boolean if a field has been set.

func (*SqlserverInitConfigOptionRequest) HasDatabaseCollation

func (o *SqlserverInitConfigOptionRequest) HasDatabaseCollation() bool

HasDatabaseCollation returns a boolean if a field has been set.

func (*SqlserverInitConfigOptionRequest) HasDatabaseName

func (o *SqlserverInitConfigOptionRequest) HasDatabaseName() bool

HasDatabaseName returns a boolean if a field has been set.

func (*SqlserverInitConfigOptionRequest) HasDatabasePort

func (o *SqlserverInitConfigOptionRequest) HasDatabasePort() bool

HasDatabasePort returns a boolean if a field has been set.

func (SqlserverInitConfigOptionRequest) MarshalJSON

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

func (*SqlserverInitConfigOptionRequest) SetAuditEnabled

func (o *SqlserverInitConfigOptionRequest) SetAuditEnabled(v bool)

SetAuditEnabled gets a reference to the given bool and assigns it to the AuditEnabled field.

func (*SqlserverInitConfigOptionRequest) SetBackupOption

SetBackupOption gets a reference to the given NullableSqlserverBackupOption and assigns it to the BackupOption field.

func (*SqlserverInitConfigOptionRequest) SetBackupOptionNil

func (o *SqlserverInitConfigOptionRequest) SetBackupOptionNil()

SetBackupOptionNil sets the value for BackupOption to be an explicit nil

func (*SqlserverInitConfigOptionRequest) SetDatabaseCollation

func (o *SqlserverInitConfigOptionRequest) SetDatabaseCollation(v DbCollation)

SetDatabaseCollation gets a reference to the given DbCollation and assigns it to the DatabaseCollation field.

func (*SqlserverInitConfigOptionRequest) SetDatabaseName

func (o *SqlserverInitConfigOptionRequest) SetDatabaseName(v interface{})

SetDatabaseName gets a reference to the given interface{} and assigns it to the DatabaseName field.

func (*SqlserverInitConfigOptionRequest) SetDatabasePort

func (o *SqlserverInitConfigOptionRequest) SetDatabasePort(v int32)

SetDatabasePort gets a reference to the given int32 and assigns it to the DatabasePort field.

func (*SqlserverInitConfigOptionRequest) SetDatabaseServiceName

func (o *SqlserverInitConfigOptionRequest) SetDatabaseServiceName(v string)

SetDatabaseServiceName sets field value

func (*SqlserverInitConfigOptionRequest) SetDatabaseUserName

func (o *SqlserverInitConfigOptionRequest) SetDatabaseUserName(v string)

SetDatabaseUserName sets field value

func (*SqlserverInitConfigOptionRequest) SetDatabaseUserPassword

func (o *SqlserverInitConfigOptionRequest) SetDatabaseUserPassword(v string)

SetDatabaseUserPassword sets field value

func (*SqlserverInitConfigOptionRequest) SetDatabases

SetDatabases sets field value

func (*SqlserverInitConfigOptionRequest) SetLicense

func (o *SqlserverInitConfigOptionRequest) SetLicense(v string)

SetLicense sets field value

func (SqlserverInitConfigOptionRequest) ToMap

func (o SqlserverInitConfigOptionRequest) ToMap() (map[string]interface{}, error)

func (*SqlserverInitConfigOptionRequest) UnmarshalJSON

func (o *SqlserverInitConfigOptionRequest) UnmarshalJSON(data []byte) (err error)

func (*SqlserverInitConfigOptionRequest) UnsetBackupOption

func (o *SqlserverInitConfigOptionRequest) UnsetBackupOption()

UnsetBackupOption ensures that no value is present for BackupOption, not even an explicit nil

type SqlserverInitConfigOptionResponse

type SqlserverInitConfigOptionResponse struct {
	// Audit usage state
	AuditEnabled      *bool                         `json:"audit_enabled,omitempty"`
	BackupOption      NullableSqlserverBackupOption `json:"backup_option,omitempty"`
	DatabaseCollation *DbCollation                  `json:"database_collation,omitempty"`
	// Database service port
	DatabasePort *int32 `json:"database_port,omitempty"`
	// Database Service Name
	DatabaseServiceName string `json:"database_service_name"`
	// Database User Name
	DatabaseUserName string `json:"database_user_name"`
	// Databases
	Databases []SqlserverDatabaseOption `json:"databases"`
}

SqlserverInitConfigOptionResponse struct for SqlserverInitConfigOptionResponse

func NewSqlserverInitConfigOptionResponse

func NewSqlserverInitConfigOptionResponse(databaseServiceName string, databaseUserName string, databases []SqlserverDatabaseOption) *SqlserverInitConfigOptionResponse

NewSqlserverInitConfigOptionResponse instantiates a new SqlserverInitConfigOptionResponse 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 NewSqlserverInitConfigOptionResponseWithDefaults

func NewSqlserverInitConfigOptionResponseWithDefaults() *SqlserverInitConfigOptionResponse

NewSqlserverInitConfigOptionResponseWithDefaults instantiates a new SqlserverInitConfigOptionResponse 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 (*SqlserverInitConfigOptionResponse) GetAuditEnabled

func (o *SqlserverInitConfigOptionResponse) GetAuditEnabled() bool

GetAuditEnabled returns the AuditEnabled field value if set, zero value otherwise.

func (*SqlserverInitConfigOptionResponse) GetAuditEnabledOk

func (o *SqlserverInitConfigOptionResponse) GetAuditEnabledOk() (*bool, bool)

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

func (*SqlserverInitConfigOptionResponse) GetBackupOption

GetBackupOption returns the BackupOption field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverInitConfigOptionResponse) GetBackupOptionOk

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

func (*SqlserverInitConfigOptionResponse) GetDatabaseCollation

func (o *SqlserverInitConfigOptionResponse) GetDatabaseCollation() DbCollation

GetDatabaseCollation returns the DatabaseCollation field value if set, zero value otherwise.

func (*SqlserverInitConfigOptionResponse) GetDatabaseCollationOk

func (o *SqlserverInitConfigOptionResponse) GetDatabaseCollationOk() (*DbCollation, bool)

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

func (*SqlserverInitConfigOptionResponse) GetDatabasePort

func (o *SqlserverInitConfigOptionResponse) GetDatabasePort() int32

GetDatabasePort returns the DatabasePort field value if set, zero value otherwise.

func (*SqlserverInitConfigOptionResponse) GetDatabasePortOk

func (o *SqlserverInitConfigOptionResponse) GetDatabasePortOk() (*int32, bool)

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

func (*SqlserverInitConfigOptionResponse) GetDatabaseServiceName

func (o *SqlserverInitConfigOptionResponse) GetDatabaseServiceName() string

GetDatabaseServiceName returns the DatabaseServiceName field value

func (*SqlserverInitConfigOptionResponse) GetDatabaseServiceNameOk

func (o *SqlserverInitConfigOptionResponse) GetDatabaseServiceNameOk() (*string, bool)

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

func (*SqlserverInitConfigOptionResponse) GetDatabaseUserName

func (o *SqlserverInitConfigOptionResponse) GetDatabaseUserName() string

GetDatabaseUserName returns the DatabaseUserName field value

func (*SqlserverInitConfigOptionResponse) GetDatabaseUserNameOk

func (o *SqlserverInitConfigOptionResponse) GetDatabaseUserNameOk() (*string, bool)

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

func (*SqlserverInitConfigOptionResponse) GetDatabases

GetDatabases returns the Databases field value

func (*SqlserverInitConfigOptionResponse) GetDatabasesOk

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

func (*SqlserverInitConfigOptionResponse) HasAuditEnabled

func (o *SqlserverInitConfigOptionResponse) HasAuditEnabled() bool

HasAuditEnabled returns a boolean if a field has been set.

func (*SqlserverInitConfigOptionResponse) HasBackupOption

func (o *SqlserverInitConfigOptionResponse) HasBackupOption() bool

HasBackupOption returns a boolean if a field has been set.

func (*SqlserverInitConfigOptionResponse) HasDatabaseCollation

func (o *SqlserverInitConfigOptionResponse) HasDatabaseCollation() bool

HasDatabaseCollation returns a boolean if a field has been set.

func (*SqlserverInitConfigOptionResponse) HasDatabasePort

func (o *SqlserverInitConfigOptionResponse) HasDatabasePort() bool

HasDatabasePort returns a boolean if a field has been set.

func (SqlserverInitConfigOptionResponse) MarshalJSON

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

func (*SqlserverInitConfigOptionResponse) SetAuditEnabled

func (o *SqlserverInitConfigOptionResponse) SetAuditEnabled(v bool)

SetAuditEnabled gets a reference to the given bool and assigns it to the AuditEnabled field.

func (*SqlserverInitConfigOptionResponse) SetBackupOption

SetBackupOption gets a reference to the given NullableSqlserverBackupOption and assigns it to the BackupOption field.

func (*SqlserverInitConfigOptionResponse) SetBackupOptionNil

func (o *SqlserverInitConfigOptionResponse) SetBackupOptionNil()

SetBackupOptionNil sets the value for BackupOption to be an explicit nil

func (*SqlserverInitConfigOptionResponse) SetDatabaseCollation

func (o *SqlserverInitConfigOptionResponse) SetDatabaseCollation(v DbCollation)

SetDatabaseCollation gets a reference to the given DbCollation and assigns it to the DatabaseCollation field.

func (*SqlserverInitConfigOptionResponse) SetDatabasePort

func (o *SqlserverInitConfigOptionResponse) SetDatabasePort(v int32)

SetDatabasePort gets a reference to the given int32 and assigns it to the DatabasePort field.

func (*SqlserverInitConfigOptionResponse) SetDatabaseServiceName

func (o *SqlserverInitConfigOptionResponse) SetDatabaseServiceName(v string)

SetDatabaseServiceName sets field value

func (*SqlserverInitConfigOptionResponse) SetDatabaseUserName

func (o *SqlserverInitConfigOptionResponse) SetDatabaseUserName(v string)

SetDatabaseUserName sets field value

func (*SqlserverInitConfigOptionResponse) SetDatabases

SetDatabases sets field value

func (SqlserverInitConfigOptionResponse) ToMap

func (o SqlserverInitConfigOptionResponse) ToMap() (map[string]interface{}, error)

func (*SqlserverInitConfigOptionResponse) UnmarshalJSON

func (o *SqlserverInitConfigOptionResponse) UnmarshalJSON(data []byte) (err error)

func (*SqlserverInitConfigOptionResponse) UnsetBackupOption

func (o *SqlserverInitConfigOptionResponse) UnsetBackupOption()

UnsetBackupOption ensures that no value is present for BackupOption, not even an explicit nil

type SqlserverInstanceGroupRequest

type SqlserverInstanceGroupRequest struct {
	// Block storage groups list
	BlockStorageGroups []BlockStorageGroupRequest `json:"block_storage_groups"`
	// Instances list
	Instances []SqlserverInstanceRequest `json:"instances"`
	RoleType  interface{}                `json:"role_type,omitempty"`
	// Server type name
	ServerTypeName string `json:"server_type_name"`
}

SqlserverInstanceGroupRequest struct for SqlserverInstanceGroupRequest

func NewSqlserverInstanceGroupRequest

func NewSqlserverInstanceGroupRequest(blockStorageGroups []BlockStorageGroupRequest, instances []SqlserverInstanceRequest, serverTypeName string) *SqlserverInstanceGroupRequest

NewSqlserverInstanceGroupRequest instantiates a new SqlserverInstanceGroupRequest 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 NewSqlserverInstanceGroupRequestWithDefaults

func NewSqlserverInstanceGroupRequestWithDefaults() *SqlserverInstanceGroupRequest

NewSqlserverInstanceGroupRequestWithDefaults instantiates a new SqlserverInstanceGroupRequest 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 (*SqlserverInstanceGroupRequest) GetBlockStorageGroups

func (o *SqlserverInstanceGroupRequest) GetBlockStorageGroups() []BlockStorageGroupRequest

GetBlockStorageGroups returns the BlockStorageGroups field value

func (*SqlserverInstanceGroupRequest) GetBlockStorageGroupsOk

func (o *SqlserverInstanceGroupRequest) GetBlockStorageGroupsOk() ([]BlockStorageGroupRequest, bool)

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

func (*SqlserverInstanceGroupRequest) GetInstances

GetInstances returns the Instances field value

func (*SqlserverInstanceGroupRequest) GetInstancesOk

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

func (*SqlserverInstanceGroupRequest) GetRoleType

func (o *SqlserverInstanceGroupRequest) GetRoleType() interface{}

GetRoleType returns the RoleType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverInstanceGroupRequest) GetRoleTypeOk

func (o *SqlserverInstanceGroupRequest) GetRoleTypeOk() (*interface{}, bool)

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

func (*SqlserverInstanceGroupRequest) GetServerTypeName

func (o *SqlserverInstanceGroupRequest) GetServerTypeName() string

GetServerTypeName returns the ServerTypeName field value

func (*SqlserverInstanceGroupRequest) GetServerTypeNameOk

func (o *SqlserverInstanceGroupRequest) GetServerTypeNameOk() (*string, bool)

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

func (*SqlserverInstanceGroupRequest) HasRoleType

func (o *SqlserverInstanceGroupRequest) HasRoleType() bool

HasRoleType returns a boolean if a field has been set.

func (SqlserverInstanceGroupRequest) MarshalJSON

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

func (*SqlserverInstanceGroupRequest) SetBlockStorageGroups

func (o *SqlserverInstanceGroupRequest) SetBlockStorageGroups(v []BlockStorageGroupRequest)

SetBlockStorageGroups sets field value

func (*SqlserverInstanceGroupRequest) SetInstances

SetInstances sets field value

func (*SqlserverInstanceGroupRequest) SetRoleType

func (o *SqlserverInstanceGroupRequest) SetRoleType(v interface{})

SetRoleType gets a reference to the given interface{} and assigns it to the RoleType field.

func (*SqlserverInstanceGroupRequest) SetServerTypeName

func (o *SqlserverInstanceGroupRequest) SetServerTypeName(v string)

SetServerTypeName sets field value

func (SqlserverInstanceGroupRequest) ToMap

func (o SqlserverInstanceGroupRequest) ToMap() (map[string]interface{}, error)

func (*SqlserverInstanceGroupRequest) UnmarshalJSON

func (o *SqlserverInstanceGroupRequest) UnmarshalJSON(data []byte) (err error)

type SqlserverInstanceGroupResponse

type SqlserverInstanceGroupResponse struct {
	BlockStorageGroups []SqlserverBlockStorageGroupResponse `json:"block_storage_groups"`
	// ID
	Id string `json:"id"`
	// Instances list
	Instances []InstanceResponse `json:"instances"`
	// Role type
	RoleType InstanceGroupRoleType `json:"role_type"`
	// Server type name
	ServerTypeName string `json:"server_type_name"`
}

SqlserverInstanceGroupResponse struct for SqlserverInstanceGroupResponse

func NewSqlserverInstanceGroupResponse

func NewSqlserverInstanceGroupResponse(blockStorageGroups []SqlserverBlockStorageGroupResponse, id string, instances []InstanceResponse, roleType InstanceGroupRoleType, serverTypeName string) *SqlserverInstanceGroupResponse

NewSqlserverInstanceGroupResponse instantiates a new SqlserverInstanceGroupResponse 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 NewSqlserverInstanceGroupResponseWithDefaults

func NewSqlserverInstanceGroupResponseWithDefaults() *SqlserverInstanceGroupResponse

NewSqlserverInstanceGroupResponseWithDefaults instantiates a new SqlserverInstanceGroupResponse 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 (*SqlserverInstanceGroupResponse) GetBlockStorageGroups

GetBlockStorageGroups returns the BlockStorageGroups field value

func (*SqlserverInstanceGroupResponse) GetBlockStorageGroupsOk

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

func (*SqlserverInstanceGroupResponse) GetId

GetId returns the Id field value

func (*SqlserverInstanceGroupResponse) GetIdOk

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

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

func (*SqlserverInstanceGroupResponse) GetInstances

GetInstances returns the Instances field value

func (*SqlserverInstanceGroupResponse) GetInstancesOk

func (o *SqlserverInstanceGroupResponse) GetInstancesOk() ([]InstanceResponse, bool)

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

func (*SqlserverInstanceGroupResponse) GetRoleType

GetRoleType returns the RoleType field value

func (*SqlserverInstanceGroupResponse) GetRoleTypeOk

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

func (*SqlserverInstanceGroupResponse) GetServerTypeName

func (o *SqlserverInstanceGroupResponse) GetServerTypeName() string

GetServerTypeName returns the ServerTypeName field value

func (*SqlserverInstanceGroupResponse) GetServerTypeNameOk

func (o *SqlserverInstanceGroupResponse) GetServerTypeNameOk() (*string, bool)

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

func (SqlserverInstanceGroupResponse) MarshalJSON

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

func (*SqlserverInstanceGroupResponse) SetBlockStorageGroups

SetBlockStorageGroups sets field value

func (*SqlserverInstanceGroupResponse) SetId

SetId sets field value

func (*SqlserverInstanceGroupResponse) SetInstances

func (o *SqlserverInstanceGroupResponse) SetInstances(v []InstanceResponse)

SetInstances sets field value

func (*SqlserverInstanceGroupResponse) SetRoleType

SetRoleType sets field value

func (*SqlserverInstanceGroupResponse) SetServerTypeName

func (o *SqlserverInstanceGroupResponse) SetServerTypeName(v string)

SetServerTypeName sets field value

func (SqlserverInstanceGroupResponse) ToMap

func (o SqlserverInstanceGroupResponse) ToMap() (map[string]interface{}, error)

func (*SqlserverInstanceGroupResponse) UnmarshalJSON

func (o *SqlserverInstanceGroupResponse) UnmarshalJSON(data []byte) (err error)

type SqlserverInstanceRequest

type SqlserverInstanceRequest struct {
	PublicIpId NullableString `json:"public_ip_id,omitempty"`
	// Role type
	RoleType         InstanceRoleType `json:"role_type"`
	ServiceIpAddress NullableString   `json:"service_ip_address,omitempty"`
}

SqlserverInstanceRequest struct for SqlserverInstanceRequest

func NewSqlserverInstanceRequest

func NewSqlserverInstanceRequest(roleType InstanceRoleType) *SqlserverInstanceRequest

NewSqlserverInstanceRequest instantiates a new SqlserverInstanceRequest 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 NewSqlserverInstanceRequestWithDefaults

func NewSqlserverInstanceRequestWithDefaults() *SqlserverInstanceRequest

NewSqlserverInstanceRequestWithDefaults instantiates a new SqlserverInstanceRequest 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 (*SqlserverInstanceRequest) GetPublicIpId

func (o *SqlserverInstanceRequest) GetPublicIpId() string

GetPublicIpId returns the PublicIpId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverInstanceRequest) GetPublicIpIdOk

func (o *SqlserverInstanceRequest) GetPublicIpIdOk() (*string, bool)

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

func (*SqlserverInstanceRequest) GetRoleType

func (o *SqlserverInstanceRequest) GetRoleType() InstanceRoleType

GetRoleType returns the RoleType field value

func (*SqlserverInstanceRequest) GetRoleTypeOk

func (o *SqlserverInstanceRequest) GetRoleTypeOk() (*InstanceRoleType, bool)

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

func (*SqlserverInstanceRequest) GetServiceIpAddress

func (o *SqlserverInstanceRequest) GetServiceIpAddress() string

GetServiceIpAddress returns the ServiceIpAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverInstanceRequest) GetServiceIpAddressOk

func (o *SqlserverInstanceRequest) GetServiceIpAddressOk() (*string, bool)

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

func (*SqlserverInstanceRequest) HasPublicIpId

func (o *SqlserverInstanceRequest) HasPublicIpId() bool

HasPublicIpId returns a boolean if a field has been set.

func (*SqlserverInstanceRequest) HasServiceIpAddress

func (o *SqlserverInstanceRequest) HasServiceIpAddress() bool

HasServiceIpAddress returns a boolean if a field has been set.

func (SqlserverInstanceRequest) MarshalJSON

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

func (*SqlserverInstanceRequest) SetPublicIpId

func (o *SqlserverInstanceRequest) SetPublicIpId(v string)

SetPublicIpId gets a reference to the given NullableString and assigns it to the PublicIpId field.

func (*SqlserverInstanceRequest) SetPublicIpIdNil

func (o *SqlserverInstanceRequest) SetPublicIpIdNil()

SetPublicIpIdNil sets the value for PublicIpId to be an explicit nil

func (*SqlserverInstanceRequest) SetRoleType

func (o *SqlserverInstanceRequest) SetRoleType(v InstanceRoleType)

SetRoleType sets field value

func (*SqlserverInstanceRequest) SetServiceIpAddress

func (o *SqlserverInstanceRequest) SetServiceIpAddress(v string)

SetServiceIpAddress gets a reference to the given NullableString and assigns it to the ServiceIpAddress field.

func (*SqlserverInstanceRequest) SetServiceIpAddressNil

func (o *SqlserverInstanceRequest) SetServiceIpAddressNil()

SetServiceIpAddressNil sets the value for ServiceIpAddress to be an explicit nil

func (SqlserverInstanceRequest) ToMap

func (o SqlserverInstanceRequest) ToMap() (map[string]interface{}, error)

func (*SqlserverInstanceRequest) UnmarshalJSON

func (o *SqlserverInstanceRequest) UnmarshalJSON(data []byte) (err error)

func (*SqlserverInstanceRequest) UnsetPublicIpId

func (o *SqlserverInstanceRequest) UnsetPublicIpId()

UnsetPublicIpId ensures that no value is present for PublicIpId, not even an explicit nil

func (*SqlserverInstanceRequest) UnsetServiceIpAddress

func (o *SqlserverInstanceRequest) UnsetServiceIpAddress()

UnsetServiceIpAddress ensures that no value is present for ServiceIpAddress, not even an explicit nil

type SqlserverUpdateDatabasesRequest

type SqlserverUpdateDatabasesRequest struct {
	AddDatabases []SqlserverDatabaseOption `json:"add_databases,omitempty"`
	DelDatabases []SqlserverDatabaseOption `json:"del_databases,omitempty"`
}

SqlserverUpdateDatabasesRequest struct for SqlserverUpdateDatabasesRequest

func NewSqlserverUpdateDatabasesRequest

func NewSqlserverUpdateDatabasesRequest() *SqlserverUpdateDatabasesRequest

NewSqlserverUpdateDatabasesRequest instantiates a new SqlserverUpdateDatabasesRequest 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 NewSqlserverUpdateDatabasesRequestWithDefaults

func NewSqlserverUpdateDatabasesRequestWithDefaults() *SqlserverUpdateDatabasesRequest

NewSqlserverUpdateDatabasesRequestWithDefaults instantiates a new SqlserverUpdateDatabasesRequest 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 (*SqlserverUpdateDatabasesRequest) GetAddDatabases

GetAddDatabases returns the AddDatabases field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverUpdateDatabasesRequest) GetAddDatabasesOk

func (o *SqlserverUpdateDatabasesRequest) GetAddDatabasesOk() ([]SqlserverDatabaseOption, bool)

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

func (*SqlserverUpdateDatabasesRequest) GetDelDatabases

GetDelDatabases returns the DelDatabases field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SqlserverUpdateDatabasesRequest) GetDelDatabasesOk

func (o *SqlserverUpdateDatabasesRequest) GetDelDatabasesOk() ([]SqlserverDatabaseOption, bool)

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

func (*SqlserverUpdateDatabasesRequest) HasAddDatabases

func (o *SqlserverUpdateDatabasesRequest) HasAddDatabases() bool

HasAddDatabases returns a boolean if a field has been set.

func (*SqlserverUpdateDatabasesRequest) HasDelDatabases

func (o *SqlserverUpdateDatabasesRequest) HasDelDatabases() bool

HasDelDatabases returns a boolean if a field has been set.

func (SqlserverUpdateDatabasesRequest) MarshalJSON

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

func (*SqlserverUpdateDatabasesRequest) SetAddDatabases

SetAddDatabases gets a reference to the given []SqlserverDatabaseOption and assigns it to the AddDatabases field.

func (*SqlserverUpdateDatabasesRequest) SetDelDatabases

SetDelDatabases gets a reference to the given []SqlserverDatabaseOption and assigns it to the DelDatabases field.

func (SqlserverUpdateDatabasesRequest) ToMap

func (o SqlserverUpdateDatabasesRequest) ToMap() (map[string]interface{}, error)

type SqlserverV1SqlserverAuditlogApiAPIService

type SqlserverV1SqlserverAuditlogApiAPIService service

SqlserverV1SqlserverAuditlogApiAPIService SqlserverV1SqlserverAuditlogApiAPI service

func (*SqlserverV1SqlserverAuditlogApiAPIService) SqlserverSetAuditLog

SqlserverSetAuditLog Set Audit Log

Set Audit Log.

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

func (*SqlserverV1SqlserverAuditlogApiAPIService) SqlserverSetAuditLogExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverAuditlogApiAPISqlserverSetAuditLogRequest

type SqlserverV1SqlserverAuditlogApiAPISqlserverSetAuditLogRequest struct {
	ApiService *SqlserverV1SqlserverAuditlogApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverAuditlogApiAPISqlserverSetAuditLogRequest) AuditLogRequest

func (SqlserverV1SqlserverAuditlogApiAPISqlserverSetAuditLogRequest) Execute

type SqlserverV1SqlserverBackupApiAPIService

type SqlserverV1SqlserverBackupApiAPIService service

SqlserverV1SqlserverBackupApiAPIService SqlserverV1SqlserverBackupApiAPI service

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverListBackupHistories

SqlserverListBackupHistories List Backup Histories

List Backup Histories.

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

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverListBackupHistoriesExecute

Execute executes the request

@return BackupHistoryListApiResponse

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverRemoveBackupHistories

SqlserverRemoveBackupHistories Remove Backup Histories

Remove Backup Histories.

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

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverRemoveBackupHistoriesExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverSetBackup

SqlserverSetBackup Set Backup

Set Backup.

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

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverSetBackupExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverUnsetBackup

SqlserverUnsetBackup Unset Backup

Unset Backup.

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

func (*SqlserverV1SqlserverBackupApiAPIService) SqlserverUnsetBackupExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverBackupApiAPISqlserverListBackupHistoriesRequest

type SqlserverV1SqlserverBackupApiAPISqlserverListBackupHistoriesRequest struct {
	ApiService *SqlserverV1SqlserverBackupApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverBackupApiAPISqlserverListBackupHistoriesRequest) Execute

func (SqlserverV1SqlserverBackupApiAPISqlserverListBackupHistoriesRequest) Limit

Number of backup lists

func (SqlserverV1SqlserverBackupApiAPISqlserverListBackupHistoriesRequest) Page

Backup list page

type SqlserverV1SqlserverBackupApiAPISqlserverRemoveBackupHistoriesRequest

type SqlserverV1SqlserverBackupApiAPISqlserverRemoveBackupHistoriesRequest struct {
	ApiService *SqlserverV1SqlserverBackupApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverBackupApiAPISqlserverRemoveBackupHistoriesRequest) BackupHistoryNumberRequest

func (SqlserverV1SqlserverBackupApiAPISqlserverRemoveBackupHistoriesRequest) Execute

type SqlserverV1SqlserverBackupApiAPISqlserverSetBackupRequest

type SqlserverV1SqlserverBackupApiAPISqlserverSetBackupRequest struct {
	ApiService *SqlserverV1SqlserverBackupApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverBackupApiAPISqlserverSetBackupRequest) Execute

func (SqlserverV1SqlserverBackupApiAPISqlserverSetBackupRequest) SqlserverBackupSettingRequest

type SqlserverV1SqlserverBackupApiAPISqlserverUnsetBackupRequest

type SqlserverV1SqlserverBackupApiAPISqlserverUnsetBackupRequest struct {
	ApiService *SqlserverV1SqlserverBackupApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverBackupApiAPISqlserverUnsetBackupRequest) Execute

type SqlserverV1SqlserverClustersApiAPIService

type SqlserverV1SqlserverClustersApiAPIService service

SqlserverV1SqlserverClustersApiAPIService SqlserverV1SqlserverClustersApiAPI service

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverAddSecondary

SqlserverAddSecondary Add Secondary

Add Secondary.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverAddSecondaryExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverCreateCluster

SqlserverCreateCluster Create Cluster

Create Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverCreateClusterExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverCreateRestore

SqlserverCreateRestore Create Restore Cluster

Create Restore Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverCreateRestoreExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverDeleteCluster

SqlserverDeleteCluster Terminate Cluster

Terminate Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverDeleteClusterExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverListClusters

SqlserverListClusters List Clusters

List Clusters.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverListClustersExecute

Execute executes the request

@return RdbClusterPageResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverRestartCluster

SqlserverRestartCluster Restart Cluster

Restart Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverRestartClusterExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverShowCluster

SqlserverShowCluster Show Cluster

Show Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverShowClusterExecute

Execute executes the request

@return SqlserverClusterDetailResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverStartCluster

SqlserverStartCluster Start Cluster

Start Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverStartClusterExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverStopCluster

SqlserverStopCluster Stop Cluster

Stop Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverStopClusterExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverSwitchoverCluster

SqlserverSwitchoverCluster Switchover Cluster

Switchover Cluster.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverSwitchoverClusterExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverSyncClusterState

SqlserverSyncClusterState Synchronize Cluster State

Synchronize Cluster State.

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

func (*SqlserverV1SqlserverClustersApiAPIService) SqlserverSyncClusterStateExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverClustersApiAPISqlserverAddSecondaryRequest

type SqlserverV1SqlserverClustersApiAPISqlserverAddSecondaryRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverAddSecondaryRequest) Execute

func (SqlserverV1SqlserverClustersApiAPISqlserverAddSecondaryRequest) SqlserverAddSecondaryRequest

type SqlserverV1SqlserverClustersApiAPISqlserverCreateClusterRequest

type SqlserverV1SqlserverClustersApiAPISqlserverCreateClusterRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverCreateClusterRequest) Execute

func (SqlserverV1SqlserverClustersApiAPISqlserverCreateClusterRequest) SqlserverClusterCreateRequest

type SqlserverV1SqlserverClustersApiAPISqlserverCreateRestoreRequest

type SqlserverV1SqlserverClustersApiAPISqlserverCreateRestoreRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverCreateRestoreRequest) ClusterRestoreRequest

func (SqlserverV1SqlserverClustersApiAPISqlserverCreateRestoreRequest) Execute

type SqlserverV1SqlserverClustersApiAPISqlserverDeleteClusterRequest

type SqlserverV1SqlserverClustersApiAPISqlserverDeleteClusterRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverDeleteClusterRequest) Execute

type SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest

type SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest) DatabaseName

Database Name

func (SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest) Execute

func (SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest) Name

Cluster name

func (SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest) Page

page

func (SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest) ServiceState

Service state

func (SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest) Size

size

func (SqlserverV1SqlserverClustersApiAPISqlserverListClustersRequest) Sort

sort

type SqlserverV1SqlserverClustersApiAPISqlserverRestartClusterRequest

type SqlserverV1SqlserverClustersApiAPISqlserverRestartClusterRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverRestartClusterRequest) Execute

type SqlserverV1SqlserverClustersApiAPISqlserverShowClusterRequest

type SqlserverV1SqlserverClustersApiAPISqlserverShowClusterRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverShowClusterRequest) Execute

type SqlserverV1SqlserverClustersApiAPISqlserverStartClusterRequest

type SqlserverV1SqlserverClustersApiAPISqlserverStartClusterRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverStartClusterRequest) Execute

type SqlserverV1SqlserverClustersApiAPISqlserverStopClusterRequest

type SqlserverV1SqlserverClustersApiAPISqlserverStopClusterRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverStopClusterRequest) Execute

type SqlserverV1SqlserverClustersApiAPISqlserverSwitchoverClusterRequest

type SqlserverV1SqlserverClustersApiAPISqlserverSwitchoverClusterRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverSwitchoverClusterRequest) Execute

type SqlserverV1SqlserverClustersApiAPISqlserverSyncClusterStateRequest

type SqlserverV1SqlserverClustersApiAPISqlserverSyncClusterStateRequest struct {
	ApiService *SqlserverV1SqlserverClustersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverClustersApiAPISqlserverSyncClusterStateRequest) Execute

type SqlserverV1SqlserverConsoleApiAPIService

type SqlserverV1SqlserverConsoleApiAPIService service

SqlserverV1SqlserverConsoleApiAPIService SqlserverV1SqlserverConsoleApiAPI service

func (*SqlserverV1SqlserverConsoleApiAPIService) SqlserverListDatabaseUsers

SqlserverListDatabaseUsers List DataBase Users

List DataBase Users.

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

func (*SqlserverV1SqlserverConsoleApiAPIService) SqlserverListDatabaseUsersExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverConsoleApiAPIService) SqlserverSetDatabaseUsers

SqlserverSetDatabaseUsers Set DataBase Users

Set DataBase Users.

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

func (*SqlserverV1SqlserverConsoleApiAPIService) SqlserverSetDatabaseUsersExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverConsoleApiAPIService) SqlserverSyncDatabaseUsers

SqlserverSyncDatabaseUsers Synchronize DataBase Users

Synchronize DataBase Users.

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

func (*SqlserverV1SqlserverConsoleApiAPIService) SqlserverSyncDatabaseUsersExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverConsoleApiAPISqlserverListDatabaseUsersRequest

type SqlserverV1SqlserverConsoleApiAPISqlserverListDatabaseUsersRequest struct {
	ApiService *SqlserverV1SqlserverConsoleApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverConsoleApiAPISqlserverListDatabaseUsersRequest) Execute

type SqlserverV1SqlserverConsoleApiAPISqlserverSetDatabaseUsersRequest

type SqlserverV1SqlserverConsoleApiAPISqlserverSetDatabaseUsersRequest struct {
	ApiService *SqlserverV1SqlserverConsoleApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverConsoleApiAPISqlserverSetDatabaseUsersRequest) DatabaseUsersSetRequest

func (SqlserverV1SqlserverConsoleApiAPISqlserverSetDatabaseUsersRequest) Execute

type SqlserverV1SqlserverConsoleApiAPISqlserverSyncDatabaseUsersRequest

type SqlserverV1SqlserverConsoleApiAPISqlserverSyncDatabaseUsersRequest struct {
	ApiService *SqlserverV1SqlserverConsoleApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverConsoleApiAPISqlserverSyncDatabaseUsersRequest) Execute

type SqlserverV1SqlserverDatabasesApiAPIService

type SqlserverV1SqlserverDatabasesApiAPIService service

SqlserverV1SqlserverDatabasesApiAPIService SqlserverV1SqlserverDatabasesApiAPI service

func (*SqlserverV1SqlserverDatabasesApiAPIService) SqlserverSetDatabases

SqlserverSetDatabases Add/Remove Databases

Add/Remove Databases.

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

func (*SqlserverV1SqlserverDatabasesApiAPIService) SqlserverSetDatabasesExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverDatabasesApiAPISqlserverSetDatabasesRequest

type SqlserverV1SqlserverDatabasesApiAPISqlserverSetDatabasesRequest struct {
	ApiService *SqlserverV1SqlserverDatabasesApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverDatabasesApiAPISqlserverSetDatabasesRequest) Execute

func (SqlserverV1SqlserverDatabasesApiAPISqlserverSetDatabasesRequest) SqlserverUpdateDatabasesRequest

type SqlserverV1SqlserverInstancesApiAPIService

type SqlserverV1SqlserverInstancesApiAPIService service

SqlserverV1SqlserverInstancesApiAPIService SqlserverV1SqlserverInstancesApiAPI service

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverAddBlockStorages

SqlserverAddBlockStorages Add Block Storages

Add Block Storages.

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

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverAddBlockStoragesExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverSetBlockStorageSize

SqlserverSetBlockStorageSize Set Block Storage Size

Set Block Storage Size.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param blockStorageGroupId Block storage group ID
@return SqlserverV1SqlserverInstancesApiAPISqlserverSetBlockStorageSizeRequest

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverSetBlockStorageSizeExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverSetSecurityGroupRules

SqlserverSetSecurityGroupRules Set Security Group Rules

Set Security Group Rules.

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

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverSetSecurityGroupRulesExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverSetServerType

SqlserverSetServerType Set Server Type

Set Server Type.

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

func (*SqlserverV1SqlserverInstancesApiAPIService) SqlserverSetServerTypeExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverInstancesApiAPISqlserverAddBlockStoragesRequest

type SqlserverV1SqlserverInstancesApiAPISqlserverAddBlockStoragesRequest struct {
	ApiService *SqlserverV1SqlserverInstancesApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverInstancesApiAPISqlserverAddBlockStoragesRequest) Execute

func (SqlserverV1SqlserverInstancesApiAPISqlserverAddBlockStoragesRequest) SqlserverAddBlockStoragesRequest

type SqlserverV1SqlserverInstancesApiAPISqlserverSetBlockStorageSizeRequest

type SqlserverV1SqlserverInstancesApiAPISqlserverSetBlockStorageSizeRequest struct {
	ApiService *SqlserverV1SqlserverInstancesApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverInstancesApiAPISqlserverSetBlockStorageSizeRequest) Execute

func (SqlserverV1SqlserverInstancesApiAPISqlserverSetBlockStorageSizeRequest) ResizeBlockStorageGroupRequest

type SqlserverV1SqlserverInstancesApiAPISqlserverSetSecurityGroupRulesRequest

type SqlserverV1SqlserverInstancesApiAPISqlserverSetSecurityGroupRulesRequest struct {
	ApiService *SqlserverV1SqlserverInstancesApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverInstancesApiAPISqlserverSetSecurityGroupRulesRequest) Execute

func (SqlserverV1SqlserverInstancesApiAPISqlserverSetSecurityGroupRulesRequest) UpdateSecurityGroupRulesRequest

type SqlserverV1SqlserverInstancesApiAPISqlserverSetServerTypeRequest

type SqlserverV1SqlserverInstancesApiAPISqlserverSetServerTypeRequest struct {
	ApiService *SqlserverV1SqlserverInstancesApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverInstancesApiAPISqlserverSetServerTypeRequest) Execute

func (SqlserverV1SqlserverInstancesApiAPISqlserverSetServerTypeRequest) InstanceGroupResizeRequest

type SqlserverV1SqlserverLogExportApiAPIService

type SqlserverV1SqlserverLogExportApiAPIService service

SqlserverV1SqlserverLogExportApiAPIService SqlserverV1SqlserverLogExportApiAPI service

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverExportLog

SqlserverExportLog Export Log

Export Log.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId Cluster ID
@param logType Log type
@return SqlserverV1SqlserverLogExportApiAPISqlserverExportLogRequest

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverExportLogExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverListLogExportConfigs

SqlserverListLogExportConfigs List Log Export Configs

List Log Export Configs.

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

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverListLogExportConfigsExecute

Execute executes the request

@return LogExportConfigListResponse

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverRegisterLogExportConfig

SqlserverRegisterLogExportConfig Register Log Export Config

Register Log Export Config.

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

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverRegisterLogExportConfigExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverSetLogExportConfig

SqlserverSetLogExportConfig Set Log Export Config

Set Log Export Config.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId Cluster ID
@param logType Log type
@return SqlserverV1SqlserverLogExportApiAPISqlserverSetLogExportConfigRequest

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverSetLogExportConfigExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverUnregisterLogExportConfig

SqlserverUnregisterLogExportConfig Unregister Log Export Config

Unregister Log Export Config.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clusterId Cluster ID
@param logType Log type
@return SqlserverV1SqlserverLogExportApiAPISqlserverUnregisterLogExportConfigRequest

func (*SqlserverV1SqlserverLogExportApiAPIService) SqlserverUnregisterLogExportConfigExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverLogExportApiAPISqlserverExportLogRequest

type SqlserverV1SqlserverLogExportApiAPISqlserverExportLogRequest struct {
	ApiService *SqlserverV1SqlserverLogExportApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverLogExportApiAPISqlserverExportLogRequest) Execute

type SqlserverV1SqlserverLogExportApiAPISqlserverListLogExportConfigsRequest

type SqlserverV1SqlserverLogExportApiAPISqlserverListLogExportConfigsRequest struct {
	ApiService *SqlserverV1SqlserverLogExportApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverLogExportApiAPISqlserverListLogExportConfigsRequest) Execute

type SqlserverV1SqlserverLogExportApiAPISqlserverRegisterLogExportConfigRequest

type SqlserverV1SqlserverLogExportApiAPISqlserverRegisterLogExportConfigRequest struct {
	ApiService *SqlserverV1SqlserverLogExportApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverLogExportApiAPISqlserverRegisterLogExportConfigRequest) Execute

func (SqlserverV1SqlserverLogExportApiAPISqlserverRegisterLogExportConfigRequest) LogExportConfigCreateRequest

type SqlserverV1SqlserverLogExportApiAPISqlserverSetLogExportConfigRequest

type SqlserverV1SqlserverLogExportApiAPISqlserverSetLogExportConfigRequest struct {
	ApiService *SqlserverV1SqlserverLogExportApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverLogExportApiAPISqlserverSetLogExportConfigRequest) Execute

func (SqlserverV1SqlserverLogExportApiAPISqlserverSetLogExportConfigRequest) LogExportConfigModifyRequest

type SqlserverV1SqlserverLogExportApiAPISqlserverUnregisterLogExportConfigRequest

type SqlserverV1SqlserverLogExportApiAPISqlserverUnregisterLogExportConfigRequest struct {
	ApiService *SqlserverV1SqlserverLogExportApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverLogExportApiAPISqlserverUnregisterLogExportConfigRequest) Execute

type SqlserverV1SqlserverMaintenanceApiAPIService

type SqlserverV1SqlserverMaintenanceApiAPIService service

SqlserverV1SqlserverMaintenanceApiAPIService SqlserverV1SqlserverMaintenanceApiAPI service

func (*SqlserverV1SqlserverMaintenanceApiAPIService) SqlserverSetMaintenance

SqlserverSetMaintenance Set Maintenance

Set Maintenance.

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

func (*SqlserverV1SqlserverMaintenanceApiAPIService) SqlserverSetMaintenanceExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverMaintenanceApiAPIService) SqlserverUnsetMaintenance

SqlserverUnsetMaintenance Unset Maintenance

Unset Maintenance.

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

func (*SqlserverV1SqlserverMaintenanceApiAPIService) SqlserverUnsetMaintenanceExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverMaintenanceApiAPISqlserverSetMaintenanceRequest

type SqlserverV1SqlserverMaintenanceApiAPISqlserverSetMaintenanceRequest struct {
	ApiService *SqlserverV1SqlserverMaintenanceApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMaintenanceApiAPISqlserverSetMaintenanceRequest) Execute

func (SqlserverV1SqlserverMaintenanceApiAPISqlserverSetMaintenanceRequest) MaintenanceRequest

type SqlserverV1SqlserverMaintenanceApiAPISqlserverUnsetMaintenanceRequest

type SqlserverV1SqlserverMaintenanceApiAPISqlserverUnsetMaintenanceRequest struct {
	ApiService *SqlserverV1SqlserverMaintenanceApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMaintenanceApiAPISqlserverUnsetMaintenanceRequest) Execute

type SqlserverV1SqlserverMasterDataApiAPIService

type SqlserverV1SqlserverMasterDataApiAPIService service

SqlserverV1SqlserverMasterDataApiAPIService SqlserverV1SqlserverMasterDataApiAPI service

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListEngineVersionProperties

SqlserverListEngineVersionProperties List Engine Version Properties

List Engine Version Properties.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dbaasEngineVersionId DBaaS engine version ID
@return SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionPropertiesRequest

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListEngineVersionPropertiesExecute

Execute executes the request

@return EnginePropertyListResponse

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListEngineVersions

SqlserverListEngineVersions List Engine Versions

List Engine Versions.

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

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListEngineVersionsExecute

Execute executes the request

@return EngineListResponse

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListParameterGroups

SqlserverListParameterGroups List Parameter Groups

List Parameter Groups.

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

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListParameterGroupsExecute

Execute executes the request

@return ParameterGroupListResponse

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListParameters

SqlserverListParameters List Parameters

List Parameters.

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

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListParametersExecute

Execute executes the request

@return ParameterPageResponse

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListServerTypes

SqlserverListServerTypes List Server Types

List Server Types.

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

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverListServerTypesExecute

Execute executes the request

@return ServerTypeListResponse

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverShowRequest

SqlserverShowRequest Show Request

Show Request.

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

func (*SqlserverV1SqlserverMasterDataApiAPIService) SqlserverShowRequestExecute

Execute executes the request

@return RequestStateResponse

type SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionPropertiesRequest

type SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionPropertiesRequest struct {
	ApiService *SqlserverV1SqlserverMasterDataApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionPropertiesRequest) Execute

type SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionsRequest

type SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionsRequest struct {
	ApiService *SqlserverV1SqlserverMasterDataApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionsRequest) EosIncluded

EoS included

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionsRequest) Execute

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionsRequest) Id

DBaaS engine version ID

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListEngineVersionsRequest) ProductImageType

Product image type

type SqlserverV1SqlserverMasterDataApiAPISqlserverListParameterGroupsRequest

type SqlserverV1SqlserverMasterDataApiAPISqlserverListParameterGroupsRequest struct {
	ApiService *SqlserverV1SqlserverMasterDataApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParameterGroupsRequest) Execute

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParameterGroupsRequest) MajorVersion

Software major version

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParameterGroupsRequest) ProductImageType

Product image type

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParameterGroupsRequest) Sort

sort

type SqlserverV1SqlserverMasterDataApiAPISqlserverListParametersRequest

type SqlserverV1SqlserverMasterDataApiAPISqlserverListParametersRequest struct {
	ApiService *SqlserverV1SqlserverMasterDataApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParametersRequest) DbaasParameterGroupId

Parameter group ID

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParametersRequest) Execute

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParametersRequest) Page

page

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParametersRequest) Size

size

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListParametersRequest) Sort

sort

type SqlserverV1SqlserverMasterDataApiAPISqlserverListServerTypesRequest

type SqlserverV1SqlserverMasterDataApiAPISqlserverListServerTypesRequest struct {
	ApiService *SqlserverV1SqlserverMasterDataApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListServerTypesRequest) Execute

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListServerTypesRequest) Name

Server type name

func (SqlserverV1SqlserverMasterDataApiAPISqlserverListServerTypesRequest) ProductImageType

Product image type

type SqlserverV1SqlserverMasterDataApiAPISqlserverShowRequestRequest

type SqlserverV1SqlserverMasterDataApiAPISqlserverShowRequestRequest struct {
	ApiService *SqlserverV1SqlserverMasterDataApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMasterDataApiAPISqlserverShowRequestRequest) Execute

type SqlserverV1SqlserverMinorPatchApiAPIService

type SqlserverV1SqlserverMinorPatchApiAPIService service

SqlserverV1SqlserverMinorPatchApiAPIService SqlserverV1SqlserverMinorPatchApiAPI service

func (*SqlserverV1SqlserverMinorPatchApiAPIService) SqlserverPatchMinorVersion

SqlserverPatchMinorVersion Patch Minor Version

Patch Minor Version.

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

func (*SqlserverV1SqlserverMinorPatchApiAPIService) SqlserverPatchMinorVersionExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverMinorPatchApiAPISqlserverPatchMinorVersionRequest

type SqlserverV1SqlserverMinorPatchApiAPISqlserverPatchMinorVersionRequest struct {
	ApiService *SqlserverV1SqlserverMinorPatchApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverMinorPatchApiAPISqlserverPatchMinorVersionRequest) Execute

func (SqlserverV1SqlserverMinorPatchApiAPISqlserverPatchMinorVersionRequest) MinorPatchRequest

type SqlserverV1SqlserverParametersApiAPIService

type SqlserverV1SqlserverParametersApiAPIService service

SqlserverV1SqlserverParametersApiAPIService SqlserverV1SqlserverParametersApiAPI service

func (*SqlserverV1SqlserverParametersApiAPIService) SqlserverListParameterValues

SqlserverListParameterValues List Parameter Values

List Parameter Values.

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

func (*SqlserverV1SqlserverParametersApiAPIService) SqlserverListParameterValuesExecute

Execute executes the request

@return ParametersResponse

func (*SqlserverV1SqlserverParametersApiAPIService) SqlserverSetParameterValues

SqlserverSetParameterValues Set Parameter Values

Set Parameter Values.

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

func (*SqlserverV1SqlserverParametersApiAPIService) SqlserverSetParameterValuesExecute

Execute executes the request

@return AsyncResponse

func (*SqlserverV1SqlserverParametersApiAPIService) SqlserverSyncParameterValues

SqlserverSyncParameterValues Synchronize Parameter Values

Synchronize Parameter Values.

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

func (*SqlserverV1SqlserverParametersApiAPIService) SqlserverSyncParameterValuesExecute

Execute executes the request

@return AsyncResponse

type SqlserverV1SqlserverParametersApiAPISqlserverListParameterValuesRequest

type SqlserverV1SqlserverParametersApiAPISqlserverListParameterValuesRequest struct {
	ApiService *SqlserverV1SqlserverParametersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverParametersApiAPISqlserverListParameterValuesRequest) Execute

type SqlserverV1SqlserverParametersApiAPISqlserverSetParameterValuesRequest

type SqlserverV1SqlserverParametersApiAPISqlserverSetParameterValuesRequest struct {
	ApiService *SqlserverV1SqlserverParametersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverParametersApiAPISqlserverSetParameterValuesRequest) Execute

func (SqlserverV1SqlserverParametersApiAPISqlserverSetParameterValuesRequest) ParametersRequest

type SqlserverV1SqlserverParametersApiAPISqlserverSyncParameterValuesRequest

type SqlserverV1SqlserverParametersApiAPISqlserverSyncParameterValuesRequest struct {
	ApiService *SqlserverV1SqlserverParametersApiAPIService
	// contains filtered or unexported fields
}

func (SqlserverV1SqlserverParametersApiAPISqlserverSyncParameterValuesRequest) Execute

type Tag

type Tag struct {
	Key   *string        `json:"key,omitempty"`
	Value NullableString `json:"value,omitempty"`
}

Tag struct for Tag

func NewTag

func NewTag() *Tag

NewTag instantiates a new Tag 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 NewTagWithDefaults

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag 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 (*Tag) GetKey

func (o *Tag) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Tag) GetKeyOk

func (o *Tag) GetKeyOk() (*string, bool)

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

func (*Tag) GetValue

func (o *Tag) GetValue() string

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Tag) GetValueOk

func (o *Tag) GetValueOk() (*string, bool)

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

func (*Tag) HasKey

func (o *Tag) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Tag) HasValue

func (o *Tag) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Tag) MarshalJSON

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

func (*Tag) SetKey

func (o *Tag) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*Tag) SetValue

func (o *Tag) SetValue(v string)

SetValue gets a reference to the given NullableString and assigns it to the Value field.

func (*Tag) SetValueNil

func (o *Tag) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil

func (Tag) ToMap

func (o Tag) ToMap() (map[string]interface{}, error)

func (*Tag) UnsetValue

func (o *Tag) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

type UpdateSecurityGroupRulesRequest

type UpdateSecurityGroupRulesRequest struct {
	// Allowed IP addresses list
	AddIpAddresses []string `json:"add_ip_addresses,omitempty"`
	// Allowed IP addresses list
	DelIpAddresses []string `json:"del_ip_addresses,omitempty"`
}

UpdateSecurityGroupRulesRequest struct for UpdateSecurityGroupRulesRequest

func NewUpdateSecurityGroupRulesRequest

func NewUpdateSecurityGroupRulesRequest() *UpdateSecurityGroupRulesRequest

NewUpdateSecurityGroupRulesRequest instantiates a new UpdateSecurityGroupRulesRequest 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 NewUpdateSecurityGroupRulesRequestWithDefaults

func NewUpdateSecurityGroupRulesRequestWithDefaults() *UpdateSecurityGroupRulesRequest

NewUpdateSecurityGroupRulesRequestWithDefaults instantiates a new UpdateSecurityGroupRulesRequest 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 (*UpdateSecurityGroupRulesRequest) GetAddIpAddresses

func (o *UpdateSecurityGroupRulesRequest) GetAddIpAddresses() []string

GetAddIpAddresses returns the AddIpAddresses field value if set, zero value otherwise.

func (*UpdateSecurityGroupRulesRequest) GetAddIpAddressesOk

func (o *UpdateSecurityGroupRulesRequest) GetAddIpAddressesOk() ([]string, bool)

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

func (*UpdateSecurityGroupRulesRequest) GetDelIpAddresses

func (o *UpdateSecurityGroupRulesRequest) GetDelIpAddresses() []string

GetDelIpAddresses returns the DelIpAddresses field value if set, zero value otherwise.

func (*UpdateSecurityGroupRulesRequest) GetDelIpAddressesOk

func (o *UpdateSecurityGroupRulesRequest) GetDelIpAddressesOk() ([]string, bool)

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

func (*UpdateSecurityGroupRulesRequest) HasAddIpAddresses

func (o *UpdateSecurityGroupRulesRequest) HasAddIpAddresses() bool

HasAddIpAddresses returns a boolean if a field has been set.

func (*UpdateSecurityGroupRulesRequest) HasDelIpAddresses

func (o *UpdateSecurityGroupRulesRequest) HasDelIpAddresses() bool

HasDelIpAddresses returns a boolean if a field has been set.

func (UpdateSecurityGroupRulesRequest) MarshalJSON

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

func (*UpdateSecurityGroupRulesRequest) SetAddIpAddresses

func (o *UpdateSecurityGroupRulesRequest) SetAddIpAddresses(v []string)

SetAddIpAddresses gets a reference to the given []string and assigns it to the AddIpAddresses field.

func (*UpdateSecurityGroupRulesRequest) SetDelIpAddresses

func (o *UpdateSecurityGroupRulesRequest) SetDelIpAddresses(v []string)

SetDelIpAddresses gets a reference to the given []string and assigns it to the DelIpAddresses field.

func (UpdateSecurityGroupRulesRequest) ToMap

func (o UpdateSecurityGroupRulesRequest) ToMap() (map[string]interface{}, error)

type ValidationErrorModel

type ValidationErrorModel struct {
	Ctx  map[string]interface{} `json:"ctx,omitempty"`
	Loc  []string               `json:"loc,omitempty"`
	Msg  NullableString         `json:"msg,omitempty"`
	Type NullableString         `json:"type_,omitempty"`
}

ValidationErrorModel struct for ValidationErrorModel

func NewValidationErrorModel

func NewValidationErrorModel() *ValidationErrorModel

NewValidationErrorModel instantiates a new ValidationErrorModel 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 NewValidationErrorModelWithDefaults

func NewValidationErrorModelWithDefaults() *ValidationErrorModel

NewValidationErrorModelWithDefaults instantiates a new ValidationErrorModel 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 (*ValidationErrorModel) GetCtx

func (o *ValidationErrorModel) GetCtx() map[string]interface{}

GetCtx returns the Ctx field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetCtxOk

func (o *ValidationErrorModel) GetCtxOk() (map[string]interface{}, bool)

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

func (*ValidationErrorModel) GetLoc

func (o *ValidationErrorModel) GetLoc() []string

GetLoc returns the Loc field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetLocOk

func (o *ValidationErrorModel) GetLocOk() ([]string, bool)

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

func (*ValidationErrorModel) GetMsg

func (o *ValidationErrorModel) GetMsg() string

GetMsg returns the Msg field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetMsgOk

func (o *ValidationErrorModel) GetMsgOk() (*string, bool)

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

func (*ValidationErrorModel) GetType

func (o *ValidationErrorModel) GetType() string

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetTypeOk

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

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

func (*ValidationErrorModel) HasCtx

func (o *ValidationErrorModel) HasCtx() bool

HasCtx returns a boolean if a field has been set.

func (*ValidationErrorModel) HasLoc

func (o *ValidationErrorModel) HasLoc() bool

HasLoc returns a boolean if a field has been set.

func (*ValidationErrorModel) HasMsg

func (o *ValidationErrorModel) HasMsg() bool

HasMsg returns a boolean if a field has been set.

func (*ValidationErrorModel) HasType

func (o *ValidationErrorModel) HasType() bool

HasType returns a boolean if a field has been set.

func (ValidationErrorModel) MarshalJSON

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

func (*ValidationErrorModel) SetCtx

func (o *ValidationErrorModel) SetCtx(v map[string]interface{})

SetCtx gets a reference to the given map[string]interface{} and assigns it to the Ctx field.

func (*ValidationErrorModel) SetLoc

func (o *ValidationErrorModel) SetLoc(v []string)

SetLoc gets a reference to the given []string and assigns it to the Loc field.

func (*ValidationErrorModel) SetMsg

func (o *ValidationErrorModel) SetMsg(v string)

SetMsg gets a reference to the given NullableString and assigns it to the Msg field.

func (*ValidationErrorModel) SetMsgNil

func (o *ValidationErrorModel) SetMsgNil()

SetMsgNil sets the value for Msg to be an explicit nil

func (*ValidationErrorModel) SetType

func (o *ValidationErrorModel) SetType(v string)

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

func (*ValidationErrorModel) SetTypeNil

func (o *ValidationErrorModel) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (ValidationErrorModel) ToMap

func (o ValidationErrorModel) ToMap() (map[string]interface{}, error)

func (*ValidationErrorModel) UnsetMsg

func (o *ValidationErrorModel) UnsetMsg()

UnsetMsg ensures that no value is present for Msg, not even an explicit nil

func (*ValidationErrorModel) UnsetType

func (o *ValidationErrorModel) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

type VolumeType

type VolumeType string

VolumeType the model 'VolumeType'

const (
	VOLUMETYPE_SSD     VolumeType = "SSD"
	VOLUMETYPE_SSD_KMS VolumeType = "SSD_KMS"
	VOLUMETYPE_HDD     VolumeType = "HDD"
	VOLUMETYPE_HDD_KMS VolumeType = "HDD_KMS"
)

List of VolumeType

func NewVolumeTypeFromValue

func NewVolumeTypeFromValue(v string) (*VolumeType, error)

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

func (VolumeType) IsValid

func (v VolumeType) IsValid() bool

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

func (VolumeType) Ptr

func (v VolumeType) Ptr() *VolumeType

Ptr returns reference to VolumeType value

func (*VolumeType) UnmarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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