ObjectLockRule
Properties
Name | Type | Description | Notes |
---|---|---|---|
DefaultRetention | Pointer to DefaultRetention | [optional] |
Methods
NewObjectLockRule
func NewObjectLockRule() *ObjectLockRule
NewObjectLockRule instantiates a new ObjectLockRule 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
NewObjectLockRuleWithDefaults
func NewObjectLockRuleWithDefaults() *ObjectLockRule
NewObjectLockRuleWithDefaults instantiates a new ObjectLockRule 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
GetDefaultRetention
func (o *ObjectLockRule) GetDefaultRetention() DefaultRetention
GetDefaultRetention returns the DefaultRetention field if non-nil, zero value otherwise.
GetDefaultRetentionOk
func (o *ObjectLockRule) GetDefaultRetentionOk() (*DefaultRetention, bool)
GetDefaultRetentionOk returns a tuple with the DefaultRetention field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDefaultRetention
func (o *ObjectLockRule) SetDefaultRetention(v DefaultRetention)
SetDefaultRetention sets DefaultRetention field to given value.
HasDefaultRetention
func (o *ObjectLockRule) HasDefaultRetention() bool
HasDefaultRetention returns a boolean if a field has been set.
Last updated