| Name | Type | Description | Notes |
|---|---|---|---|
| Enabled | bool | ||
| IdleMinutes | NullableInt32 | ||
| State | string | ||
| StateChangedAt | NullableTime |
func NewIdleSleepResponse(enabled bool, idleMinutes NullableInt32, state string, stateChangedAt NullableTime, ) *IdleSleepResponse
NewIdleSleepResponse instantiates a new IdleSleepResponse 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 NewIdleSleepResponseWithDefaults() *IdleSleepResponse
NewIdleSleepResponseWithDefaults instantiates a new IdleSleepResponse 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 *IdleSleepResponse) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *IdleSleepResponse) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IdleSleepResponse) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *IdleSleepResponse) GetIdleMinutes() int32
GetIdleMinutes returns the IdleMinutes field if non-nil, zero value otherwise.
func (o *IdleSleepResponse) GetIdleMinutesOk() (*int32, bool)
GetIdleMinutesOk returns a tuple with the IdleMinutes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IdleSleepResponse) SetIdleMinutes(v int32)
SetIdleMinutes sets IdleMinutes field to given value.
func (o *IdleSleepResponse) SetIdleMinutesNil(b bool)
SetIdleMinutesNil sets the value for IdleMinutes to be an explicit nil
func (o *IdleSleepResponse) UnsetIdleMinutes()
UnsetIdleMinutes ensures that no value is present for IdleMinutes, not even an explicit nil
func (o *IdleSleepResponse) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *IdleSleepResponse) 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.
func (o *IdleSleepResponse) SetState(v string)
SetState sets State field to given value.
func (o *IdleSleepResponse) GetStateChangedAt() time.Time
GetStateChangedAt returns the StateChangedAt field if non-nil, zero value otherwise.
func (o *IdleSleepResponse) GetStateChangedAtOk() (*time.Time, bool)
GetStateChangedAtOk returns a tuple with the StateChangedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IdleSleepResponse) SetStateChangedAt(v time.Time)
SetStateChangedAt sets StateChangedAt field to given value.
func (o *IdleSleepResponse) SetStateChangedAtNil(b bool)
SetStateChangedAtNil sets the value for StateChangedAt to be an explicit nil
func (o *IdleSleepResponse) UnsetStateChangedAt()
UnsetStateChangedAt ensures that no value is present for StateChangedAt, not even an explicit nil