Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 3.67 KB

TimesliceMetricBasicMetricWithField.md

File metadata and controls

119 lines (64 loc) · 3.67 KB

TimesliceMetricBasicMetricWithField

Properties

Name Type Description Notes
Name string The name of the metric. Only valid options are A-Z
Aggregation string The aggregation type of the metric.
Field string The field of the metric.
Filter Pointer to string The filter to apply to the metric. [optional]

Methods

NewTimesliceMetricBasicMetricWithField

func NewTimesliceMetricBasicMetricWithField(name string, aggregation string, field string, ) *TimesliceMetricBasicMetricWithField

NewTimesliceMetricBasicMetricWithField instantiates a new TimesliceMetricBasicMetricWithField 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

NewTimesliceMetricBasicMetricWithFieldWithDefaults

func NewTimesliceMetricBasicMetricWithFieldWithDefaults() *TimesliceMetricBasicMetricWithField

NewTimesliceMetricBasicMetricWithFieldWithDefaults instantiates a new TimesliceMetricBasicMetricWithField 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 *TimesliceMetricBasicMetricWithField) GetName() string

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

GetNameOk

func (o *TimesliceMetricBasicMetricWithField) 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 *TimesliceMetricBasicMetricWithField) SetName(v string)

SetName sets Name field to given value.

GetAggregation

func (o *TimesliceMetricBasicMetricWithField) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

GetAggregationOk

func (o *TimesliceMetricBasicMetricWithField) GetAggregationOk() (*string, bool)

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

SetAggregation

func (o *TimesliceMetricBasicMetricWithField) SetAggregation(v string)

SetAggregation sets Aggregation field to given value.

GetField

func (o *TimesliceMetricBasicMetricWithField) GetField() string

GetField returns the Field field if non-nil, zero value otherwise.

GetFieldOk

func (o *TimesliceMetricBasicMetricWithField) GetFieldOk() (*string, bool)

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

SetField

func (o *TimesliceMetricBasicMetricWithField) SetField(v string)

SetField sets Field field to given value.

GetFilter

func (o *TimesliceMetricBasicMetricWithField) GetFilter() string

GetFilter returns the Filter field if non-nil, zero value otherwise.

GetFilterOk

func (o *TimesliceMetricBasicMetricWithField) GetFilterOk() (*string, bool)

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

SetFilter

func (o *TimesliceMetricBasicMetricWithField) SetFilter(v string)

SetFilter sets Filter field to given value.

HasFilter

func (o *TimesliceMetricBasicMetricWithField) HasFilter() bool

HasFilter returns a boolean if a field has been set.

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