Name | Type | Description | Notes |
---|---|---|---|
Reason | string | ||
TtlInDays | Pointer to int32 | [optional] | |
ClusterId | string | ||
LockedAt | time.Time | ||
OwnerName | string |
func NewClusterLock(reason string, clusterId string, lockedAt time.Time, ownerName string, ) *ClusterLock
NewClusterLock instantiates a new ClusterLock 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 NewClusterLockWithDefaults() *ClusterLock
NewClusterLockWithDefaults instantiates a new ClusterLock 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 *ClusterLock) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
func (o *ClusterLock) 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 *ClusterLock) SetReason(v string)
SetReason sets Reason field to given value.
func (o *ClusterLock) GetTtlInDays() int32
GetTtlInDays returns the TtlInDays field if non-nil, zero value otherwise.
func (o *ClusterLock) GetTtlInDaysOk() (*int32, bool)
GetTtlInDaysOk returns a tuple with the TtlInDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterLock) SetTtlInDays(v int32)
SetTtlInDays sets TtlInDays field to given value.
func (o *ClusterLock) HasTtlInDays() bool
HasTtlInDays returns a boolean if a field has been set.
func (o *ClusterLock) GetClusterId() string
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
func (o *ClusterLock) 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 *ClusterLock) SetClusterId(v string)
SetClusterId sets ClusterId field to given value.
func (o *ClusterLock) GetLockedAt() time.Time
GetLockedAt returns the LockedAt field if non-nil, zero value otherwise.
func (o *ClusterLock) GetLockedAtOk() (*time.Time, bool)
GetLockedAtOk returns a tuple with the LockedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterLock) SetLockedAt(v time.Time)
SetLockedAt sets LockedAt field to given value.
func (o *ClusterLock) GetOwnerName() string
GetOwnerName returns the OwnerName field if non-nil, zero value otherwise.
func (o *ClusterLock) GetOwnerNameOk() (*string, bool)
GetOwnerNameOk returns a tuple with the OwnerName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterLock) SetOwnerName(v string)
SetOwnerName sets OwnerName field to given value.