Skip to content

Latest commit

 

History

History
291 lines (156 loc) · 8.83 KB

EnterpriseCluster.md

File metadata and controls

291 lines (156 loc) · 8.83 KB

EnterpriseCluster

Properties

Name Type Description Notes
Id string
Kind string
Href string
AccessKafkasViaPrivateNetwork bool Indicates whether Kafkas created on this data plane cluster have to be accessed via private network
ClusterId Pointer to string The OCM's cluster id of the registered Enterprise cluster. [optional]
Status Pointer to string The status of Enterprise cluster registration [optional]
CloudProvider Pointer to string The cloud provider for this cluster. This valus will be used as the Kafka's cloud provider value when a Kafka is created on this cluster [optional]
Region Pointer to string The region of this cluster. This valus will be used as the Kafka's region value when a Kafka is created on this cluster [optional]
MultiAz bool A flag indicating whether this cluster is available on multiple availability zones or not
SupportedInstanceTypes Pointer to SupportedKafkaInstanceTypesList [optional]
CapacityInformation Pointer to EnterpriseClusterAllOfCapacityInformation [optional]

Methods

NewEnterpriseCluster

func NewEnterpriseCluster(id string, kind string, href string, accessKafkasViaPrivateNetwork bool, multiAz bool, ) *EnterpriseCluster

NewEnterpriseCluster instantiates a new EnterpriseCluster 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

NewEnterpriseClusterWithDefaults

func NewEnterpriseClusterWithDefaults() *EnterpriseCluster

NewEnterpriseClusterWithDefaults instantiates a new EnterpriseCluster 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

GetId

func (o *EnterpriseCluster) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *EnterpriseCluster) 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.

SetId

func (o *EnterpriseCluster) SetId(v string)

SetId sets Id field to given value.

GetKind

func (o *EnterpriseCluster) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

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

GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKind

func (o *EnterpriseCluster) SetKind(v string)

SetKind sets Kind field to given value.

GetHref

func (o *EnterpriseCluster) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *EnterpriseCluster) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHref

func (o *EnterpriseCluster) SetHref(v string)

SetHref sets Href field to given value.

GetAccessKafkasViaPrivateNetwork

func (o *EnterpriseCluster) GetAccessKafkasViaPrivateNetwork() bool

GetAccessKafkasViaPrivateNetwork returns the AccessKafkasViaPrivateNetwork field if non-nil, zero value otherwise.

GetAccessKafkasViaPrivateNetworkOk

func (o *EnterpriseCluster) GetAccessKafkasViaPrivateNetworkOk() (*bool, bool)

GetAccessKafkasViaPrivateNetworkOk returns a tuple with the AccessKafkasViaPrivateNetwork field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccessKafkasViaPrivateNetwork

func (o *EnterpriseCluster) SetAccessKafkasViaPrivateNetwork(v bool)

SetAccessKafkasViaPrivateNetwork sets AccessKafkasViaPrivateNetwork field to given value.

GetClusterId

func (o *EnterpriseCluster) GetClusterId() string

GetClusterId returns the ClusterId field if non-nil, zero value otherwise.

GetClusterIdOk

func (o *EnterpriseCluster) GetClusterIdOk() (*string, bool)

GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClusterId

func (o *EnterpriseCluster) SetClusterId(v string)

SetClusterId sets ClusterId field to given value.

HasClusterId

func (o *EnterpriseCluster) HasClusterId() bool

HasClusterId returns a boolean if a field has been set.

GetStatus

func (o *EnterpriseCluster) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *EnterpriseCluster) GetStatusOk() (*string, 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.

SetStatus

func (o *EnterpriseCluster) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *EnterpriseCluster) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetCloudProvider

func (o *EnterpriseCluster) GetCloudProvider() string

GetCloudProvider returns the CloudProvider field if non-nil, zero value otherwise.

GetCloudProviderOk

func (o *EnterpriseCluster) GetCloudProviderOk() (*string, 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.

SetCloudProvider

func (o *EnterpriseCluster) SetCloudProvider(v string)

SetCloudProvider sets CloudProvider field to given value.

HasCloudProvider

func (o *EnterpriseCluster) HasCloudProvider() bool

HasCloudProvider returns a boolean if a field has been set.

GetRegion

func (o *EnterpriseCluster) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *EnterpriseCluster) 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.

SetRegion

func (o *EnterpriseCluster) SetRegion(v string)

SetRegion sets Region field to given value.

HasRegion

func (o *EnterpriseCluster) HasRegion() bool

HasRegion returns a boolean if a field has been set.

GetMultiAz

func (o *EnterpriseCluster) GetMultiAz() bool

GetMultiAz returns the MultiAz field if non-nil, zero value otherwise.

GetMultiAzOk

func (o *EnterpriseCluster) GetMultiAzOk() (*bool, bool)

GetMultiAzOk returns a tuple with the MultiAz field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMultiAz

func (o *EnterpriseCluster) SetMultiAz(v bool)

SetMultiAz sets MultiAz field to given value.

GetSupportedInstanceTypes

func (o *EnterpriseCluster) GetSupportedInstanceTypes() SupportedKafkaInstanceTypesList

GetSupportedInstanceTypes returns the SupportedInstanceTypes field if non-nil, zero value otherwise.

GetSupportedInstanceTypesOk

func (o *EnterpriseCluster) GetSupportedInstanceTypesOk() (*SupportedKafkaInstanceTypesList, bool)

GetSupportedInstanceTypesOk returns a tuple with the SupportedInstanceTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSupportedInstanceTypes

func (o *EnterpriseCluster) SetSupportedInstanceTypes(v SupportedKafkaInstanceTypesList)

SetSupportedInstanceTypes sets SupportedInstanceTypes field to given value.

HasSupportedInstanceTypes

func (o *EnterpriseCluster) HasSupportedInstanceTypes() bool

HasSupportedInstanceTypes returns a boolean if a field has been set.

GetCapacityInformation

func (o *EnterpriseCluster) GetCapacityInformation() EnterpriseClusterAllOfCapacityInformation

GetCapacityInformation returns the CapacityInformation field if non-nil, zero value otherwise.

GetCapacityInformationOk

func (o *EnterpriseCluster) GetCapacityInformationOk() (*EnterpriseClusterAllOfCapacityInformation, bool)

GetCapacityInformationOk returns a tuple with the CapacityInformation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCapacityInformation

func (o *EnterpriseCluster) SetCapacityInformation(v EnterpriseClusterAllOfCapacityInformation)

SetCapacityInformation sets CapacityInformation field to given value.

HasCapacityInformation

func (o *EnterpriseCluster) HasCapacityInformation() bool

HasCapacityInformation returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]