AdminDrainResponse
AdminDrainResponse documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| State | Pointer to string | [optional] | |
| Quiesced | bool | ||
| Message | Pointer to string | [optional] |
Methods
NewAdminDrainResponse
func NewAdminDrainResponse(quiesced bool, ) *AdminDrainResponse
NewAdminDrainResponse instantiates a new AdminDrainResponse 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
NewAdminDrainResponseWithDefaults
func NewAdminDrainResponseWithDefaults() *AdminDrainResponse
NewAdminDrainResponseWithDefaults instantiates a new AdminDrainResponse 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
GetState
func (o *AdminDrainResponse) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
GetStateOk
func (o *AdminDrainResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetState
func (o *AdminDrainResponse) SetState(v string)
SetState sets State field to given value.
HasState
func (o *AdminDrainResponse) HasState() bool
HasState returns a boolean if a field has been set.
GetQuiesced
func (o *AdminDrainResponse) GetQuiesced() bool
GetQuiesced returns the Quiesced field if non-nil, zero value otherwise.
GetQuiescedOk
func (o *AdminDrainResponse) GetQuiescedOk() (*bool, bool)
GetQuiescedOk returns a tuple with the Quiesced field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetQuiesced
func (o *AdminDrainResponse) SetQuiesced(v bool)
SetQuiesced sets Quiesced field to given value.
GetMessage
func (o *AdminDrainResponse) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
func (o *AdminDrainResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMessage
func (o *AdminDrainResponse) SetMessage(v string)
SetMessage sets Message field to given value.
HasMessage
func (o *AdminDrainResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.