Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.91 KB

MetricValue.md

File metadata and controls

72 lines (39 loc) · 1.91 KB

MetricValue

Properties

Name Type Description Notes
Labels []MetricLabel
Value float64

Methods

NewMetricValue

func NewMetricValue(labels []MetricLabel, value float64, ) *MetricValue

NewMetricValue instantiates a new MetricValue 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

NewMetricValueWithDefaults

func NewMetricValueWithDefaults() *MetricValue

NewMetricValueWithDefaults instantiates a new MetricValue 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

GetLabels

func (o *MetricValue) GetLabels() []MetricLabel

GetLabels returns the Labels field if non-nil, zero value otherwise.

GetLabelsOk

func (o *MetricValue) GetLabelsOk() (*[]MetricLabel, bool)

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

SetLabels

func (o *MetricValue) SetLabels(v []MetricLabel)

SetLabels sets Labels field to given value.

GetValue

func (o *MetricValue) GetValue() float64

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *MetricValue) GetValueOk() (*float64, bool)

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

SetValue

func (o *MetricValue) SetValue(v float64)

SetValue sets Value field to given value.

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