Name | Type | Description | Notes |
---|---|---|---|
DefaultRetention | Pointer to DefaultRetention | [optional] |
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
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
func (o *ObjectLockRule) GetDefaultRetention() DefaultRetention
GetDefaultRetention returns the DefaultRetention field if non-nil, zero value otherwise.
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.
func (o *ObjectLockRule) SetDefaultRetention(v DefaultRetention)
SetDefaultRetention sets DefaultRetention field to given value.
func (o *ObjectLockRule) HasDefaultRetention() bool
HasDefaultRetention returns a boolean if a field has been set.