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