Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.81 KB

DefaultRetention.md

File metadata and controls

108 lines (59 loc) · 2.81 KB

DefaultRetention

Properties

Name Type Description Notes
Mode Pointer to ObjectLockRetentionMode [optional]
Days Pointer to int32 [optional]
Years Pointer to int32 [optional]

Methods

NewDefaultRetention

func NewDefaultRetention() *DefaultRetention

NewDefaultRetention instantiates a new DefaultRetention 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

NewDefaultRetentionWithDefaults

func NewDefaultRetentionWithDefaults() *DefaultRetention

NewDefaultRetentionWithDefaults instantiates a new DefaultRetention 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

GetMode

func (o *DefaultRetention) GetMode() ObjectLockRetentionMode

GetMode returns the Mode field if non-nil, zero value otherwise.

GetModeOk

func (o *DefaultRetention) GetModeOk() (*ObjectLockRetentionMode, bool)

GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMode

func (o *DefaultRetention) SetMode(v ObjectLockRetentionMode)

SetMode sets Mode field to given value.

HasMode

func (o *DefaultRetention) HasMode() bool

HasMode returns a boolean if a field has been set.

GetDays

func (o *DefaultRetention) GetDays() int32

GetDays returns the Days field if non-nil, zero value otherwise.

GetDaysOk

func (o *DefaultRetention) GetDaysOk() (*int32, bool)

GetDaysOk returns a tuple with the Days field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDays

func (o *DefaultRetention) SetDays(v int32)

SetDays sets Days field to given value.

HasDays

func (o *DefaultRetention) HasDays() bool

HasDays returns a boolean if a field has been set.

GetYears

func (o *DefaultRetention) GetYears() int32

GetYears returns the Years field if non-nil, zero value otherwise.

GetYearsOk

func (o *DefaultRetention) GetYearsOk() (*int32, bool)

GetYearsOk returns a tuple with the Years field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetYears

func (o *DefaultRetention) SetYears(v int32)

SetYears sets Years field to given value.

HasYears

func (o *DefaultRetention) HasYears() bool

HasYears returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]