Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Organization | ReferenceObject | ||
Name | string | name is case-insensitive | |
Description | Pointer to string | [optional] | |
Region | string | ||
CloudProvider | CloudProviderEnum | ||
MinRunningNodes | Pointer to int32 | [optional] [default to 1] | |
MaxRunningNodes | Pointer to int32 | [optional] [default to 1] | |
DiskSize | Pointer to int32 | Unit is in GB. The disk size to be used for the node configuration | [optional] [default to 20] |
InstanceType | Pointer to string | the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType | [optional] |
Kubernetes | Pointer to KubernetesEnum | [optional] [default to KUBERNETESENUM_MANAGED] | |
Cpu | Pointer to int32 | unit is millicores (m). 1000m = 1 cpu | [optional] |
Memory | Pointer to int32 | unit is MB. 1024 MB = 1GB | [optional] |
EstimatedCloudProviderCost | Pointer to int32 | This is an estimation of the cost this cluster will represent on your cloud proider bill, based on your current configuration | [optional] |
Status | Pointer to ClusterStateEnum | [optional] | |
HasAccess | Pointer to bool | [optional] | |
Version | Pointer to string | [optional] | |
IsDefault | Pointer to bool | [optional] | |
IsDemo | Pointer to bool | specific flag to indicate that this cluster is a demo one | [optional] |
Production | Pointer to bool | specific flag to indicate that this cluster is a production one | [optional] |
SshKeys | Pointer to []string | Indicate your public ssh_key to remotely connect to your EC2 instance. | [optional] |
Features | Pointer to []ClusterFeatureResponse | [optional] | |
DeploymentStatus | Pointer to ClusterDeploymentStatusEnum | [optional] |
func NewCluster(id string, createdAt time.Time, organization ReferenceObject, name string, region string, cloudProvider CloudProviderEnum, ) *Cluster
NewCluster instantiates a new Cluster object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Cluster) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Cluster) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetId(v string)
SetId sets Id field to given value.
func (o *Cluster) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Cluster) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Cluster) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Cluster) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Cluster) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Cluster) GetOrganization() ReferenceObject
GetOrganization returns the Organization field if non-nil, zero value otherwise.
func (o *Cluster) GetOrganizationOk() (*ReferenceObject, bool)
GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetOrganization(v ReferenceObject)
SetOrganization sets Organization field to given value.
func (o *Cluster) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Cluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetName(v string)
SetName sets Name field to given value.
func (o *Cluster) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Cluster) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Cluster) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Cluster) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *Cluster) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *Cluster) GetCloudProvider() CloudProviderEnum
GetCloudProvider returns the CloudProvider field if non-nil, zero value otherwise.
func (o *Cluster) GetCloudProviderOk() (*CloudProviderEnum, bool)
GetCloudProviderOk returns a tuple with the CloudProvider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetCloudProvider(v CloudProviderEnum)
SetCloudProvider sets CloudProvider field to given value.
func (o *Cluster) GetMinRunningNodes() int32
GetMinRunningNodes returns the MinRunningNodes field if non-nil, zero value otherwise.
func (o *Cluster) GetMinRunningNodesOk() (*int32, bool)
GetMinRunningNodesOk returns a tuple with the MinRunningNodes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetMinRunningNodes(v int32)
SetMinRunningNodes sets MinRunningNodes field to given value.
func (o *Cluster) HasMinRunningNodes() bool
HasMinRunningNodes returns a boolean if a field has been set.
func (o *Cluster) GetMaxRunningNodes() int32
GetMaxRunningNodes returns the MaxRunningNodes field if non-nil, zero value otherwise.
func (o *Cluster) GetMaxRunningNodesOk() (*int32, bool)
GetMaxRunningNodesOk returns a tuple with the MaxRunningNodes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetMaxRunningNodes(v int32)
SetMaxRunningNodes sets MaxRunningNodes field to given value.
func (o *Cluster) HasMaxRunningNodes() bool
HasMaxRunningNodes returns a boolean if a field has been set.
func (o *Cluster) GetDiskSize() int32
GetDiskSize returns the DiskSize field if non-nil, zero value otherwise.
func (o *Cluster) GetDiskSizeOk() (*int32, bool)
GetDiskSizeOk returns a tuple with the DiskSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetDiskSize(v int32)
SetDiskSize sets DiskSize field to given value.
func (o *Cluster) HasDiskSize() bool
HasDiskSize returns a boolean if a field has been set.
func (o *Cluster) GetInstanceType() string
GetInstanceType returns the InstanceType field if non-nil, zero value otherwise.
func (o *Cluster) GetInstanceTypeOk() (*string, bool)
GetInstanceTypeOk returns a tuple with the InstanceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetInstanceType(v string)
SetInstanceType sets InstanceType field to given value.
func (o *Cluster) HasInstanceType() bool
HasInstanceType returns a boolean if a field has been set.
func (o *Cluster) GetKubernetes() KubernetesEnum
GetKubernetes returns the Kubernetes field if non-nil, zero value otherwise.
func (o *Cluster) GetKubernetesOk() (*KubernetesEnum, bool)
GetKubernetesOk returns a tuple with the Kubernetes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetKubernetes(v KubernetesEnum)
SetKubernetes sets Kubernetes field to given value.
func (o *Cluster) HasKubernetes() bool
HasKubernetes returns a boolean if a field has been set.
func (o *Cluster) GetCpu() int32
GetCpu returns the Cpu field if non-nil, zero value otherwise.
func (o *Cluster) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetCpu(v int32)
SetCpu sets Cpu field to given value.
func (o *Cluster) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (o *Cluster) GetMemory() int32
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *Cluster) GetMemoryOk() (*int32, bool)
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetMemory(v int32)
SetMemory sets Memory field to given value.
func (o *Cluster) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *Cluster) GetEstimatedCloudProviderCost() int32
GetEstimatedCloudProviderCost returns the EstimatedCloudProviderCost field if non-nil, zero value otherwise.
func (o *Cluster) GetEstimatedCloudProviderCostOk() (*int32, bool)
GetEstimatedCloudProviderCostOk returns a tuple with the EstimatedCloudProviderCost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetEstimatedCloudProviderCost(v int32)
SetEstimatedCloudProviderCost sets EstimatedCloudProviderCost field to given value.
func (o *Cluster) HasEstimatedCloudProviderCost() bool
HasEstimatedCloudProviderCost returns a boolean if a field has been set.
func (o *Cluster) GetStatus() ClusterStateEnum
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Cluster) GetStatusOk() (*ClusterStateEnum, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetStatus(v ClusterStateEnum)
SetStatus sets Status field to given value.
func (o *Cluster) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *Cluster) GetHasAccess() bool
GetHasAccess returns the HasAccess field if non-nil, zero value otherwise.
func (o *Cluster) GetHasAccessOk() (*bool, bool)
GetHasAccessOk returns a tuple with the HasAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetHasAccess(v bool)
SetHasAccess sets HasAccess field to given value.
func (o *Cluster) HasHasAccess() bool
HasHasAccess returns a boolean if a field has been set.
func (o *Cluster) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Cluster) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *Cluster) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *Cluster) GetIsDefault() bool
GetIsDefault returns the IsDefault field if non-nil, zero value otherwise.
func (o *Cluster) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetIsDefault(v bool)
SetIsDefault sets IsDefault field to given value.
func (o *Cluster) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (o *Cluster) GetIsDemo() bool
GetIsDemo returns the IsDemo field if non-nil, zero value otherwise.
func (o *Cluster) GetIsDemoOk() (*bool, bool)
GetIsDemoOk returns a tuple with the IsDemo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetIsDemo(v bool)
SetIsDemo sets IsDemo field to given value.
func (o *Cluster) HasIsDemo() bool
HasIsDemo returns a boolean if a field has been set.
func (o *Cluster) GetProduction() bool
GetProduction returns the Production field if non-nil, zero value otherwise.
func (o *Cluster) GetProductionOk() (*bool, bool)
GetProductionOk returns a tuple with the Production field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetProduction(v bool)
SetProduction sets Production field to given value.
func (o *Cluster) HasProduction() bool
HasProduction returns a boolean if a field has been set.
func (o *Cluster) GetSshKeys() []string
GetSshKeys returns the SshKeys field if non-nil, zero value otherwise.
func (o *Cluster) GetSshKeysOk() (*[]string, bool)
GetSshKeysOk returns a tuple with the SshKeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetSshKeys(v []string)
SetSshKeys sets SshKeys field to given value.
func (o *Cluster) HasSshKeys() bool
HasSshKeys returns a boolean if a field has been set.
func (o *Cluster) GetFeatures() []ClusterFeatureResponse
GetFeatures returns the Features field if non-nil, zero value otherwise.
func (o *Cluster) GetFeaturesOk() (*[]ClusterFeatureResponse, bool)
GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetFeatures(v []ClusterFeatureResponse)
SetFeatures sets Features field to given value.
func (o *Cluster) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (o *Cluster) GetDeploymentStatus() ClusterDeploymentStatusEnum
GetDeploymentStatus returns the DeploymentStatus field if non-nil, zero value otherwise.
func (o *Cluster) GetDeploymentStatusOk() (*ClusterDeploymentStatusEnum, bool)
GetDeploymentStatusOk returns a tuple with the DeploymentStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetDeploymentStatus(v ClusterDeploymentStatusEnum)
SetDeploymentStatus sets DeploymentStatus field to given value.
func (o *Cluster) HasDeploymentStatus() bool
HasDeploymentStatus returns a boolean if a field has been set.