Name | Type | Description | Notes |
---|---|---|---|
Kind | string | ||
Metadata | ResourceMetadata | ||
ClusterId | string | ||
BrokerId | int32 | ||
Exclusion | string | ||
Reason | string | ||
ErrorCode | Pointer to NullableInt32 | [optional] | |
ErrorMessage | Pointer to NullableString | [optional] | |
Broker | Relationship |
func NewAlterBrokerReplicaExclusionData(kind string, metadata ResourceMetadata, clusterId string, brokerId int32, exclusion string, reason string, broker Relationship, ) *AlterBrokerReplicaExclusionData
NewAlterBrokerReplicaExclusionData instantiates a new AlterBrokerReplicaExclusionData 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 NewAlterBrokerReplicaExclusionDataWithDefaults() *AlterBrokerReplicaExclusionData
NewAlterBrokerReplicaExclusionDataWithDefaults instantiates a new AlterBrokerReplicaExclusionData 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 *AlterBrokerReplicaExclusionData) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) 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.
func (o *AlterBrokerReplicaExclusionData) SetKind(v string)
SetKind sets Kind field to given value.
func (o *AlterBrokerReplicaExclusionData) GetMetadata() ResourceMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) GetMetadataOk() (*ResourceMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlterBrokerReplicaExclusionData) SetMetadata(v ResourceMetadata)
SetMetadata sets Metadata field to given value.
func (o *AlterBrokerReplicaExclusionData) GetClusterId() string
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) 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.
func (o *AlterBrokerReplicaExclusionData) SetClusterId(v string)
SetClusterId sets ClusterId field to given value.
func (o *AlterBrokerReplicaExclusionData) GetBrokerId() int32
GetBrokerId returns the BrokerId field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) GetBrokerIdOk() (*int32, bool)
GetBrokerIdOk returns a tuple with the BrokerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlterBrokerReplicaExclusionData) SetBrokerId(v int32)
SetBrokerId sets BrokerId field to given value.
func (o *AlterBrokerReplicaExclusionData) GetExclusion() string
GetExclusion returns the Exclusion field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) GetExclusionOk() (*string, bool)
GetExclusionOk returns a tuple with the Exclusion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlterBrokerReplicaExclusionData) SetExclusion(v string)
SetExclusion sets Exclusion field to given value.
func (o *AlterBrokerReplicaExclusionData) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlterBrokerReplicaExclusionData) SetReason(v string)
SetReason sets Reason field to given value.
func (o *AlterBrokerReplicaExclusionData) GetErrorCode() int32
GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) GetErrorCodeOk() (*int32, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlterBrokerReplicaExclusionData) SetErrorCode(v int32)
SetErrorCode sets ErrorCode field to given value.
func (o *AlterBrokerReplicaExclusionData) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (o *AlterBrokerReplicaExclusionData) SetErrorCodeNil(b bool)
SetErrorCodeNil sets the value for ErrorCode to be an explicit nil
func (o *AlterBrokerReplicaExclusionData) UnsetErrorCode()
UnsetErrorCode ensures that no value is present for ErrorCode, not even an explicit nil
func (o *AlterBrokerReplicaExclusionData) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlterBrokerReplicaExclusionData) SetErrorMessage(v string)
SetErrorMessage sets ErrorMessage field to given value.
func (o *AlterBrokerReplicaExclusionData) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (o *AlterBrokerReplicaExclusionData) SetErrorMessageNil(b bool)
SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil
func (o *AlterBrokerReplicaExclusionData) UnsetErrorMessage()
UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil
func (o *AlterBrokerReplicaExclusionData) GetBroker() Relationship
GetBroker returns the Broker field if non-nil, zero value otherwise.
func (o *AlterBrokerReplicaExclusionData) GetBrokerOk() (*Relationship, bool)
GetBrokerOk returns a tuple with the Broker field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlterBrokerReplicaExclusionData) SetBroker(v Relationship)
SetBroker sets Broker field to given value.