Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.68 KB

MetricDefinition.md

File metadata and controls

51 lines (28 loc) · 1.68 KB

MetricDefinition

Properties

Name Type Description Notes
Kind string The reducer applied to the field values of all matches. Required. `avg` is not a simple reducer (averages of averages are not averages): the backend carries `(sum, count)` internally and emits only the final value on the outermost merge.

Methods

NewMetricDefinition

func NewMetricDefinition(kind string, ) *MetricDefinition

NewMetricDefinition instantiates a new MetricDefinition 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

NewMetricDefinitionWithDefaults

func NewMetricDefinitionWithDefaults() *MetricDefinition

NewMetricDefinitionWithDefaults instantiates a new MetricDefinition 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

GetKind

func (o *MetricDefinition) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *MetricDefinition) GetKindOk() (*string, bool)

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

SetKind

func (o *MetricDefinition) SetKind(v string)

SetKind sets Kind field to given value.

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