Name | Type | Description | Notes |
---|---|---|---|
Value | int32 | ||
Unit | string |
func NewNetworkSpeed(value int32, unit string, ) *NetworkSpeed
NewNetworkSpeed instantiates a new NetworkSpeed 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 NewNetworkSpeedWithDefaults() *NetworkSpeed
NewNetworkSpeedWithDefaults instantiates a new NetworkSpeed 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 *NetworkSpeed) GetValue() int32
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *NetworkSpeed) GetValueOk() (*int32, 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 *NetworkSpeed) SetValue(v int32)
SetValue sets Value field to given value.
func (o *NetworkSpeed) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *NetworkSpeed) 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 *NetworkSpeed) SetUnit(v string)
SetUnit sets Unit field to given value.