LifecycleExpiration
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewLifecycleExpiration() *LifecycleExpiration
NewLifecycleExpiration instantiates a new LifecycleExpiration 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 NewLifecycleExpirationWithDefaults() *LifecycleExpiration
NewLifecycleExpirationWithDefaults instantiates a new LifecycleExpiration 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 *LifecycleExpiration) GetDate() string
GetDate returns the Date field if non-nil, zero value otherwise.
func (o *LifecycleExpiration) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LifecycleExpiration) SetDate(v string)
SetDate sets Date field to given value.
func (o *LifecycleExpiration) HasDate() bool
HasDate returns a boolean if a field has been set.
func (o *LifecycleExpiration) GetDays() int32
GetDays returns the Days field if non-nil, zero value otherwise.
func (o *LifecycleExpiration) 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.
func (o *LifecycleExpiration) SetDays(v int32)
SetDays sets Days field to given value.
func (o *LifecycleExpiration) HasDays() bool
HasDays returns a boolean if a field has been set.
func (o *LifecycleExpiration) GetExpiredObjectDeleteMarker() bool
GetExpiredObjectDeleteMarker returns the ExpiredObjectDeleteMarker field if non-nil, zero value otherwise.
func (o *LifecycleExpiration) GetExpiredObjectDeleteMarkerOk() (*bool, bool)
GetExpiredObjectDeleteMarkerOk returns a tuple with the ExpiredObjectDeleteMarker field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool)
SetExpiredObjectDeleteMarker sets ExpiredObjectDeleteMarker field to given value.
func (o *LifecycleExpiration) HasExpiredObjectDeleteMarker() bool
HasExpiredObjectDeleteMarker returns a boolean if a field has been set.
Date
Pointer to string
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
[optional]
Days
Pointer to int32
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
[optional]
ExpiredObjectDeleteMarker
Pointer to bool
Indicates whether IONOS S3 Object Storage will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no operation. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
[optional]