| Name | Type | Description | Notes |
|---|---|---|---|
| Device | Pointer to string | [optional] | |
| FirstSyncSessions | int64 | Number of first sync sessions in this period | |
| Fleet | Pointer to string | [optional] | |
| Period | time.Time | ||
| Sessions | int64 | ||
| SessionsByTransport | Pointer to map[string]int64 | Count of sessions grouped by transport type prefix (e.g. cell, wifi, ntn, lorawan) | [optional] |
| TlsSessions | Pointer to NullableInt64 | Number of TLS sessions in this period | [optional] |
| TotalBytes | int64 | ||
| TotalDevices | int64 |
func NewUsageSessionsData(firstSyncSessions int64, period time.Time, sessions int64, totalBytes int64, totalDevices int64, ) *UsageSessionsData
NewUsageSessionsData instantiates a new UsageSessionsData 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 NewUsageSessionsDataWithDefaults() *UsageSessionsData
NewUsageSessionsDataWithDefaults instantiates a new UsageSessionsData 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 *UsageSessionsData) GetDevice() string
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetDeviceOk() (*string, bool)
GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetDevice(v string)
SetDevice sets Device field to given value.
func (o *UsageSessionsData) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (o *UsageSessionsData) GetFirstSyncSessions() int64
GetFirstSyncSessions returns the FirstSyncSessions field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetFirstSyncSessionsOk() (*int64, bool)
GetFirstSyncSessionsOk returns a tuple with the FirstSyncSessions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetFirstSyncSessions(v int64)
SetFirstSyncSessions sets FirstSyncSessions field to given value.
func (o *UsageSessionsData) GetFleet() string
GetFleet returns the Fleet field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetFleetOk() (*string, bool)
GetFleetOk returns a tuple with the Fleet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetFleet(v string)
SetFleet sets Fleet field to given value.
func (o *UsageSessionsData) HasFleet() bool
HasFleet returns a boolean if a field has been set.
func (o *UsageSessionsData) GetPeriod() time.Time
GetPeriod returns the Period field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetPeriodOk() (*time.Time, bool)
GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetPeriod(v time.Time)
SetPeriod sets Period field to given value.
func (o *UsageSessionsData) GetSessions() int64
GetSessions returns the Sessions field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetSessionsOk() (*int64, bool)
GetSessionsOk returns a tuple with the Sessions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetSessions(v int64)
SetSessions sets Sessions field to given value.
func (o *UsageSessionsData) GetSessionsByTransport() map[string]int64
GetSessionsByTransport returns the SessionsByTransport field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetSessionsByTransportOk() (*map[string]int64, bool)
GetSessionsByTransportOk returns a tuple with the SessionsByTransport field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetSessionsByTransport(v map[string]int64)
SetSessionsByTransport sets SessionsByTransport field to given value.
func (o *UsageSessionsData) HasSessionsByTransport() bool
HasSessionsByTransport returns a boolean if a field has been set.
func (o *UsageSessionsData) GetTlsSessions() int64
GetTlsSessions returns the TlsSessions field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetTlsSessionsOk() (*int64, bool)
GetTlsSessionsOk returns a tuple with the TlsSessions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetTlsSessions(v int64)
SetTlsSessions sets TlsSessions field to given value.
func (o *UsageSessionsData) HasTlsSessions() bool
HasTlsSessions returns a boolean if a field has been set.
func (o *UsageSessionsData) SetTlsSessionsNil(b bool)
SetTlsSessionsNil sets the value for TlsSessions to be an explicit nil
func (o *UsageSessionsData) UnsetTlsSessions()
UnsetTlsSessions ensures that no value is present for TlsSessions, not even an explicit nil
func (o *UsageSessionsData) GetTotalBytes() int64
GetTotalBytes returns the TotalBytes field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetTotalBytesOk() (*int64, bool)
GetTotalBytesOk returns a tuple with the TotalBytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetTotalBytes(v int64)
SetTotalBytes sets TotalBytes field to given value.
func (o *UsageSessionsData) GetTotalDevices() int64
GetTotalDevices returns the TotalDevices field if non-nil, zero value otherwise.
func (o *UsageSessionsData) GetTotalDevicesOk() (*int64, bool)
GetTotalDevicesOk returns a tuple with the TotalDevices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UsageSessionsData) SetTotalDevices(v int64)
SetTotalDevices sets TotalDevices field to given value.