Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.45 KB

File metadata and controls

93 lines (50 loc) · 2.45 KB

PromExemplar

Properties

Name Type Description Notes
Labels map[string]string
Value string
Timestamp float32

Methods

NewPromExemplar

func NewPromExemplar(labels map[string]string, value string, timestamp float32, ) *PromExemplar

NewPromExemplar instantiates a new PromExemplar 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

NewPromExemplarWithDefaults

func NewPromExemplarWithDefaults() *PromExemplar

NewPromExemplarWithDefaults instantiates a new PromExemplar 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 *PromExemplar) GetLabels() map[string]string

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

GetLabelsOk

func (o *PromExemplar) GetLabelsOk() (*map[string]string, 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 *PromExemplar) SetLabels(v map[string]string)

SetLabels sets Labels field to given value.

GetValue

func (o *PromExemplar) GetValue() string

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

GetValueOk

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

SetValue sets Value field to given value.

GetTimestamp

func (o *PromExemplar) GetTimestamp() float32

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

GetTimestampOk

func (o *PromExemplar) GetTimestampOk() (*float32, 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 *PromExemplar) SetTimestamp(v float32)

SetTimestamp sets Timestamp field to given value.

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