Name | Type | Description | Notes |
---|---|---|---|
Timestamp | Pointer to string | [optional] | |
Value | Pointer to float64 | [optional] |
func NewSample() *Sample
NewSample instantiates a new Sample 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
func NewSampleWithDefaults() *Sample
NewSampleWithDefaults instantiates a new Sample 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
func (o *Sample) GetTimestamp() string
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *Sample) GetTimestampOk() (*string, 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.
func (o *Sample) SetTimestamp(v string)
SetTimestamp sets Timestamp field to given value.
func (o *Sample) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (o *Sample) GetValue() float64
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *Sample) 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.
func (o *Sample) SetValue(v float64)
SetValue sets Value field to given value.
func (o *Sample) HasValue() bool
HasValue returns a boolean if a field has been set.