Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.56 KB

DeviceStats.md

File metadata and controls

160 lines (87 loc) · 4.56 KB

DeviceStats

Properties

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]

Methods

NewDeviceStats

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

NewDeviceStatsWithDefaults

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

GetBytesUpstream

func (o *DeviceStats) GetBytesUpstream() string

GetBytesUpstream returns the BytesUpstream field if non-nil, zero value otherwise.

GetBytesUpstreamOk

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.

SetBytesUpstream

func (o *DeviceStats) SetBytesUpstream(v string)

SetBytesUpstream sets BytesUpstream field to given value.

HasBytesUpstream

func (o *DeviceStats) HasBytesUpstream() bool

HasBytesUpstream returns a boolean if a field has been set.

GetBytesDownstream

func (o *DeviceStats) GetBytesDownstream() string

GetBytesDownstream returns the BytesDownstream field if non-nil, zero value otherwise.

GetBytesDownstreamOk

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.

SetBytesDownstream

func (o *DeviceStats) SetBytesDownstream(v string)

SetBytesDownstream sets BytesDownstream field to given value.

HasBytesDownstream

func (o *DeviceStats) HasBytesDownstream() bool

HasBytesDownstream returns a boolean if a field has been set.

GetMessagesUpstream

func (o *DeviceStats) GetMessagesUpstream() string

GetMessagesUpstream returns the MessagesUpstream field if non-nil, zero value otherwise.

GetMessagesUpstreamOk

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.

SetMessagesUpstream

func (o *DeviceStats) SetMessagesUpstream(v string)

SetMessagesUpstream sets MessagesUpstream field to given value.

HasMessagesUpstream

func (o *DeviceStats) HasMessagesUpstream() bool

HasMessagesUpstream returns a boolean if a field has been set.

GetMessagesDownstream

func (o *DeviceStats) GetMessagesDownstream() string

GetMessagesDownstream returns the MessagesDownstream field if non-nil, zero value otherwise.

GetMessagesDownstreamOk

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.

SetMessagesDownstream

func (o *DeviceStats) SetMessagesDownstream(v string)

SetMessagesDownstream sets MessagesDownstream field to given value.

HasMessagesDownstream

func (o *DeviceStats) HasMessagesDownstream() bool

HasMessagesDownstream returns a boolean if a field has been set.

GetSessionCount

func (o *DeviceStats) GetSessionCount() int32

GetSessionCount returns the SessionCount field if non-nil, zero value otherwise.

GetSessionCountOk

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.

SetSessionCount

func (o *DeviceStats) SetSessionCount(v int32)

SetSessionCount sets SessionCount field to given value.

HasSessionCount

func (o *DeviceStats) HasSessionCount() bool

HasSessionCount returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]