Name | Type | Description | Notes |
---|---|---|---|
Created | Pointer to NullableTime | [optional] [readonly] | |
Id | Pointer to string | [optional] | |
LastUpdated | Pointer to NullableTime | [optional] [readonly] | |
Name | Pointer to string | [optional] | |
Priority | Pointer to int32 | [optional] | |
Status | Pointer to LifecycleStatus | [optional] | |
System | Pointer to bool | [optional] [default to false] | |
Type | Pointer to PolicyRuleType | [optional] |
func NewPolicyRule() *PolicyRule
NewPolicyRule instantiates a new PolicyRule 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 NewPolicyRuleWithDefaults() *PolicyRule
NewPolicyRuleWithDefaults instantiates a new PolicyRule 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 *PolicyRule) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *PolicyRule) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *PolicyRule) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *PolicyRule) SetCreatedNil(b bool)
SetCreatedNil sets the value for Created to be an explicit nil
func (o *PolicyRule) UnsetCreated()
UnsetCreated ensures that no value is present for Created, not even an explicit nil
func (o *PolicyRule) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PolicyRule) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetId(v string)
SetId sets Id field to given value.
func (o *PolicyRule) HasId() bool
HasId returns a boolean if a field has been set.
func (o *PolicyRule) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *PolicyRule) GetLastUpdatedOk() (*time.Time, bool)
GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *PolicyRule) HasLastUpdated() bool
HasLastUpdated returns a boolean if a field has been set.
func (o *PolicyRule) SetLastUpdatedNil(b bool)
SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
func (o *PolicyRule) UnsetLastUpdated()
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
func (o *PolicyRule) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PolicyRule) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetName(v string)
SetName sets Name field to given value.
func (o *PolicyRule) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PolicyRule) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *PolicyRule) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *PolicyRule) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *PolicyRule) GetStatus() LifecycleStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *PolicyRule) GetStatusOk() (*LifecycleStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetStatus(v LifecycleStatus)
SetStatus sets Status field to given value.
func (o *PolicyRule) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *PolicyRule) GetSystem() bool
GetSystem returns the System field if non-nil, zero value otherwise.
func (o *PolicyRule) GetSystemOk() (*bool, bool)
GetSystemOk returns a tuple with the System field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetSystem(v bool)
SetSystem sets System field to given value.
func (o *PolicyRule) HasSystem() bool
HasSystem returns a boolean if a field has been set.
func (o *PolicyRule) GetType() PolicyRuleType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PolicyRule) GetTypeOk() (*PolicyRuleType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRule) SetType(v PolicyRuleType)
SetType sets Type field to given value.
func (o *PolicyRule) HasType() bool
HasType returns a boolean if a field has been set.