Name | Type | Description | Notes |
---|---|---|---|
Values | Pointer to []TrafficMetricValue | [optional] | |
Unit | Pointer to MetricsUnit | [optional] |
func NewTrafficMetric() *TrafficMetric
NewTrafficMetric instantiates a new TrafficMetric 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 NewTrafficMetricWithDefaults() *TrafficMetric
NewTrafficMetricWithDefaults instantiates a new TrafficMetric 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 *TrafficMetric) GetValues() []TrafficMetricValue
GetValues returns the Values field if non-nil, zero value otherwise.
func (o *TrafficMetric) GetValuesOk() (*[]TrafficMetricValue, 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 *TrafficMetric) SetValues(v []TrafficMetricValue)
SetValues sets Values field to given value.
func (o *TrafficMetric) HasValues() bool
HasValues returns a boolean if a field has been set.
func (o *TrafficMetric) GetUnit() MetricsUnit
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *TrafficMetric) GetUnitOk() (*MetricsUnit, 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 *TrafficMetric) SetUnit(v MetricsUnit)
SetUnit sets Unit field to given value.
func (o *TrafficMetric) HasUnit() bool
HasUnit returns a boolean if a field has been set.