Name | Type | Description | Notes |
---|---|---|---|
Cloud | string | Cloud | |
LeaderPreference | Pointer to int32 | Leader preference | [optional] |
MinNumReplicas | Pointer to int32 | Minimum replicas | [optional] |
Region | string | Region | |
Zone | string | Zone |
func NewPlacementBlock(cloud string, region string, zone string, ) *PlacementBlock
NewPlacementBlock instantiates a new PlacementBlock 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 NewPlacementBlockWithDefaults() *PlacementBlock
NewPlacementBlockWithDefaults instantiates a new PlacementBlock 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 *PlacementBlock) GetCloud() string
GetCloud returns the Cloud field if non-nil, zero value otherwise.
func (o *PlacementBlock) GetCloudOk() (*string, bool)
GetCloudOk returns a tuple with the Cloud field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlacementBlock) SetCloud(v string)
SetCloud sets Cloud field to given value.
func (o *PlacementBlock) GetLeaderPreference() int32
GetLeaderPreference returns the LeaderPreference field if non-nil, zero value otherwise.
func (o *PlacementBlock) GetLeaderPreferenceOk() (*int32, bool)
GetLeaderPreferenceOk returns a tuple with the LeaderPreference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlacementBlock) SetLeaderPreference(v int32)
SetLeaderPreference sets LeaderPreference field to given value.
func (o *PlacementBlock) HasLeaderPreference() bool
HasLeaderPreference returns a boolean if a field has been set.
func (o *PlacementBlock) GetMinNumReplicas() int32
GetMinNumReplicas returns the MinNumReplicas field if non-nil, zero value otherwise.
func (o *PlacementBlock) GetMinNumReplicasOk() (*int32, bool)
GetMinNumReplicasOk returns a tuple with the MinNumReplicas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlacementBlock) SetMinNumReplicas(v int32)
SetMinNumReplicas sets MinNumReplicas field to given value.
func (o *PlacementBlock) HasMinNumReplicas() bool
HasMinNumReplicas returns a boolean if a field has been set.
func (o *PlacementBlock) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *PlacementBlock) 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 *PlacementBlock) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *PlacementBlock) GetZone() string
GetZone returns the Zone field if non-nil, zero value otherwise.
func (o *PlacementBlock) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlacementBlock) SetZone(v string)
SetZone sets Zone field to given value.