Name | Type | Description | Notes |
---|---|---|---|
Help | string | ||
Name | string | ||
Unit | string | ||
Values | []MetricValue |
func NewMetric(help string, name string, unit string, values []MetricValue, ) *Metric
NewMetric instantiates a new Metric 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 NewMetricWithDefaults() *Metric
NewMetricWithDefaults instantiates a new Metric 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 *Metric) GetHelp() string
GetHelp returns the Help field if non-nil, zero value otherwise.
func (o *Metric) GetHelpOk() (*string, bool)
GetHelpOk returns a tuple with the Help field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Metric) SetHelp(v string)
SetHelp sets Help field to given value.
func (o *Metric) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Metric) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Metric) SetName(v string)
SetName sets Name field to given value.
func (o *Metric) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *Metric) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Metric) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *Metric) GetValues() []MetricValue
GetValues returns the Values field if non-nil, zero value otherwise.
func (o *Metric) GetValuesOk() (*[]MetricValue, bool)
GetValuesOk returns a tuple with the Values field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Metric) SetValues(v []MetricValue)
SetValues sets Values field to given value.