Skip to content

Latest commit

 

History

History
145 lines (78 loc) · 5.35 KB

TransformationRuleDefinition.md

File metadata and controls

145 lines (78 loc) · 5.35 KB

TransformationRuleDefinition

Properties

Name Type Description Notes
Name string Name of the transformation rule.
Selector string Selector of the transformation rule.
DimensionTransformations Pointer to []DimensionTransformation Dimension transformations of the transformation rule. [optional] [default to []]
TransformedMetricsRetention Pointer to int64 Retention period in days for the transformed metrics that are generated by this rule. The supported retention periods for transformed metrics are 8 days, and 400 days. If no dimension transformations are defined, this value will be set to 0. [optional] [default to 0]
Retention int64 Retention period in days for the metrics that are selected by the selector. The supported retention periods for selected metrics are 8 days, 400 days, and 0 (Do not store) if this rule contains dimension transformation. [default to 400]

Methods

NewTransformationRuleDefinition

func NewTransformationRuleDefinition(name string, selector string, retention int64, ) *TransformationRuleDefinition

NewTransformationRuleDefinition instantiates a new TransformationRuleDefinition 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

NewTransformationRuleDefinitionWithDefaults

func NewTransformationRuleDefinitionWithDefaults() *TransformationRuleDefinition

NewTransformationRuleDefinitionWithDefaults instantiates a new TransformationRuleDefinition 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

GetName

func (o *TransformationRuleDefinition) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *TransformationRuleDefinition) GetNameOk() (*string, bool)

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

SetName

func (o *TransformationRuleDefinition) SetName(v string)

SetName sets Name field to given value.

GetSelector

func (o *TransformationRuleDefinition) GetSelector() string

GetSelector returns the Selector field if non-nil, zero value otherwise.

GetSelectorOk

func (o *TransformationRuleDefinition) GetSelectorOk() (*string, bool)

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

SetSelector

func (o *TransformationRuleDefinition) SetSelector(v string)

SetSelector sets Selector field to given value.

GetDimensionTransformations

func (o *TransformationRuleDefinition) GetDimensionTransformations() []DimensionTransformation

GetDimensionTransformations returns the DimensionTransformations field if non-nil, zero value otherwise.

GetDimensionTransformationsOk

func (o *TransformationRuleDefinition) GetDimensionTransformationsOk() (*[]DimensionTransformation, bool)

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

SetDimensionTransformations

func (o *TransformationRuleDefinition) SetDimensionTransformations(v []DimensionTransformation)

SetDimensionTransformations sets DimensionTransformations field to given value.

HasDimensionTransformations

func (o *TransformationRuleDefinition) HasDimensionTransformations() bool

HasDimensionTransformations returns a boolean if a field has been set.

GetTransformedMetricsRetention

func (o *TransformationRuleDefinition) GetTransformedMetricsRetention() int64

GetTransformedMetricsRetention returns the TransformedMetricsRetention field if non-nil, zero value otherwise.

GetTransformedMetricsRetentionOk

func (o *TransformationRuleDefinition) GetTransformedMetricsRetentionOk() (*int64, bool)

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

SetTransformedMetricsRetention

func (o *TransformationRuleDefinition) SetTransformedMetricsRetention(v int64)

SetTransformedMetricsRetention sets TransformedMetricsRetention field to given value.

HasTransformedMetricsRetention

func (o *TransformationRuleDefinition) HasTransformedMetricsRetention() bool

HasTransformedMetricsRetention returns a boolean if a field has been set.

GetRetention

func (o *TransformationRuleDefinition) GetRetention() int64

GetRetention returns the Retention field if non-nil, zero value otherwise.

GetRetentionOk

func (o *TransformationRuleDefinition) GetRetentionOk() (*int64, bool)

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

SetRetention

func (o *TransformationRuleDefinition) SetRetention(v int64)

SetRetention sets Retention field to given value.

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