Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.19 KB

MetricsValues.md

File metadata and controls

82 lines (45 loc) · 2.19 KB

MetricsValues

Properties

Name Type Description Notes
Value Pointer to float32 Metric value [optional]
Timestamp Pointer to time.Time [optional]

Methods

NewMetricsValues

func NewMetricsValues() *MetricsValues

NewMetricsValues instantiates a new MetricsValues 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

NewMetricsValuesWithDefaults

func NewMetricsValuesWithDefaults() *MetricsValues

NewMetricsValuesWithDefaults instantiates a new MetricsValues 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

GetValue

func (o *MetricsValues) GetValue() float32

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

GetValueOk

func (o *MetricsValues) GetValueOk() (*float32, 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 *MetricsValues) SetValue(v float32)

SetValue sets Value field to given value.

HasValue

func (o *MetricsValues) HasValue() bool

HasValue returns a boolean if a field has been set.

GetTimestamp

func (o *MetricsValues) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

GetTimestampOk

func (o *MetricsValues) GetTimestampOk() (*time.Time, bool)

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

SetTimestamp

func (o *MetricsValues) SetTimestamp(v time.Time)

SetTimestamp sets Timestamp field to given value.

HasTimestamp

func (o *MetricsValues) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

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