Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.43 KB

ApiSuccessMetricsRetentionPolicyDTO.md

File metadata and controls

108 lines (59 loc) · 3.43 KB

ApiSuccessMetricsRetentionPolicyDTO

Properties

Name Type Description Notes
EnablePurging Pointer to bool [optional]
InheritPolicy Pointer to bool [optional]
MaxAge Pointer to string [optional]

Methods

NewApiSuccessMetricsRetentionPolicyDTO

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

NewApiSuccessMetricsRetentionPolicyDTOWithDefaults

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

GetEnablePurging

func (o *ApiSuccessMetricsRetentionPolicyDTO) GetEnablePurging() bool

GetEnablePurging returns the EnablePurging field if non-nil, zero value otherwise.

GetEnablePurgingOk

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.

SetEnablePurging

func (o *ApiSuccessMetricsRetentionPolicyDTO) SetEnablePurging(v bool)

SetEnablePurging sets EnablePurging field to given value.

HasEnablePurging

func (o *ApiSuccessMetricsRetentionPolicyDTO) HasEnablePurging() bool

HasEnablePurging returns a boolean if a field has been set.

GetInheritPolicy

func (o *ApiSuccessMetricsRetentionPolicyDTO) GetInheritPolicy() bool

GetInheritPolicy returns the InheritPolicy field if non-nil, zero value otherwise.

GetInheritPolicyOk

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.

SetInheritPolicy

func (o *ApiSuccessMetricsRetentionPolicyDTO) SetInheritPolicy(v bool)

SetInheritPolicy sets InheritPolicy field to given value.

HasInheritPolicy

func (o *ApiSuccessMetricsRetentionPolicyDTO) HasInheritPolicy() bool

HasInheritPolicy returns a boolean if a field has been set.

GetMaxAge

func (o *ApiSuccessMetricsRetentionPolicyDTO) GetMaxAge() string

GetMaxAge returns the MaxAge field if non-nil, zero value otherwise.

GetMaxAgeOk

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.

SetMaxAge

func (o *ApiSuccessMetricsRetentionPolicyDTO) SetMaxAge(v string)

SetMaxAge sets MaxAge field to given value.

HasMaxAge

func (o *ApiSuccessMetricsRetentionPolicyDTO) HasMaxAge() bool

HasMaxAge returns a boolean if a field has been set.

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