Name | Type | Description | Notes |
---|---|---|---|
EnablePurging | Pointer to bool | [optional] | |
InheritPolicy | Pointer to bool | [optional] | |
MaxAge | Pointer to string | [optional] |
func NewApiSuccessMetricsRetentionPolicyDTO() *ApiSuccessMetricsRetentionPolicyDTO
NewApiSuccessMetricsRetentionPolicyDTO instantiates a new ApiSuccessMetricsRetentionPolicyDTO 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 NewApiSuccessMetricsRetentionPolicyDTOWithDefaults() *ApiSuccessMetricsRetentionPolicyDTO
NewApiSuccessMetricsRetentionPolicyDTOWithDefaults instantiates a new ApiSuccessMetricsRetentionPolicyDTO 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 *ApiSuccessMetricsRetentionPolicyDTO) GetEnablePurging() bool
GetEnablePurging returns the EnablePurging field if non-nil, zero value otherwise.
func (o *ApiSuccessMetricsRetentionPolicyDTO) GetEnablePurgingOk() (*bool, bool)
GetEnablePurgingOk returns a tuple with the EnablePurging field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiSuccessMetricsRetentionPolicyDTO) SetEnablePurging(v bool)
SetEnablePurging sets EnablePurging field to given value.
func (o *ApiSuccessMetricsRetentionPolicyDTO) HasEnablePurging() bool
HasEnablePurging returns a boolean if a field has been set.
func (o *ApiSuccessMetricsRetentionPolicyDTO) GetInheritPolicy() bool
GetInheritPolicy returns the InheritPolicy field if non-nil, zero value otherwise.
func (o *ApiSuccessMetricsRetentionPolicyDTO) GetInheritPolicyOk() (*bool, bool)
GetInheritPolicyOk returns a tuple with the InheritPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiSuccessMetricsRetentionPolicyDTO) SetInheritPolicy(v bool)
SetInheritPolicy sets InheritPolicy field to given value.
func (o *ApiSuccessMetricsRetentionPolicyDTO) HasInheritPolicy() bool
HasInheritPolicy returns a boolean if a field has been set.
func (o *ApiSuccessMetricsRetentionPolicyDTO) GetMaxAge() string
GetMaxAge returns the MaxAge field if non-nil, zero value otherwise.
func (o *ApiSuccessMetricsRetentionPolicyDTO) GetMaxAgeOk() (*string, bool)
GetMaxAgeOk returns a tuple with the MaxAge field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiSuccessMetricsRetentionPolicyDTO) SetMaxAge(v string)
SetMaxAge sets MaxAge field to given value.
func (o *ApiSuccessMetricsRetentionPolicyDTO) HasMaxAge() bool
HasMaxAge returns a boolean if a field has been set.