Name | Type | Description | Notes |
---|---|---|---|
BytesUpstream | Pointer to string | [optional] | |
BytesDownstream | Pointer to string | [optional] | |
MessagesUpstream | Pointer to string | [optional] | |
MessagesDownstream | Pointer to string | [optional] | |
SessionCount | Pointer to int32 | [optional] |
func NewDeviceStats() *DeviceStats
NewDeviceStats instantiates a new DeviceStats 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 NewDeviceStatsWithDefaults() *DeviceStats
NewDeviceStatsWithDefaults instantiates a new DeviceStats 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 *DeviceStats) GetBytesUpstream() string
GetBytesUpstream returns the BytesUpstream field if non-nil, zero value otherwise.
func (o *DeviceStats) GetBytesUpstreamOk() (*string, bool)
GetBytesUpstreamOk returns a tuple with the BytesUpstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceStats) SetBytesUpstream(v string)
SetBytesUpstream sets BytesUpstream field to given value.
func (o *DeviceStats) HasBytesUpstream() bool
HasBytesUpstream returns a boolean if a field has been set.
func (o *DeviceStats) GetBytesDownstream() string
GetBytesDownstream returns the BytesDownstream field if non-nil, zero value otherwise.
func (o *DeviceStats) GetBytesDownstreamOk() (*string, bool)
GetBytesDownstreamOk returns a tuple with the BytesDownstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceStats) SetBytesDownstream(v string)
SetBytesDownstream sets BytesDownstream field to given value.
func (o *DeviceStats) HasBytesDownstream() bool
HasBytesDownstream returns a boolean if a field has been set.
func (o *DeviceStats) GetMessagesUpstream() string
GetMessagesUpstream returns the MessagesUpstream field if non-nil, zero value otherwise.
func (o *DeviceStats) GetMessagesUpstreamOk() (*string, bool)
GetMessagesUpstreamOk returns a tuple with the MessagesUpstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceStats) SetMessagesUpstream(v string)
SetMessagesUpstream sets MessagesUpstream field to given value.
func (o *DeviceStats) HasMessagesUpstream() bool
HasMessagesUpstream returns a boolean if a field has been set.
func (o *DeviceStats) GetMessagesDownstream() string
GetMessagesDownstream returns the MessagesDownstream field if non-nil, zero value otherwise.
func (o *DeviceStats) GetMessagesDownstreamOk() (*string, bool)
GetMessagesDownstreamOk returns a tuple with the MessagesDownstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceStats) SetMessagesDownstream(v string)
SetMessagesDownstream sets MessagesDownstream field to given value.
func (o *DeviceStats) HasMessagesDownstream() bool
HasMessagesDownstream returns a boolean if a field has been set.
func (o *DeviceStats) GetSessionCount() int32
GetSessionCount returns the SessionCount field if non-nil, zero value otherwise.
func (o *DeviceStats) GetSessionCountOk() (*int32, bool)
GetSessionCountOk returns a tuple with the SessionCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceStats) SetSessionCount(v int32)
SetSessionCount sets SessionCount field to given value.
func (o *DeviceStats) HasSessionCount() bool
HasSessionCount returns a boolean if a field has been set.