Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 66 additions & 14 deletions docs/FirmwareInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@

## Properties

| Name | Type | Description | Notes |
| ---------------- | --------------------- | -------------------------------------------- | ---------- |
| **Built** | Pointer to **string** | The date the firmware was built. | [optional] |
| **Created** | Pointer to **string** | The date the firmware was created. | [optional] |
| **Description** | Pointer to **string** | A description of the firmware. | [optional] |
| **Filename** | Pointer to **string** | The name of the firmware file. | [optional] |
| **Md5** | Pointer to **string** | The MD5 hash of the firmware file. | [optional] |
| **Organization** | Pointer to **string** | The organization that owns the firmware. | [optional] |
| **Product** | Pointer to **string** | The product that the firmware is for. | [optional] |
| **Published** | Pointer to **bool** | True if the firmware is published. | [optional] |
| **Tags** | Pointer to **string** | A list of tags associated with the firmware. | [optional] |
| **Target** | Pointer to **string** | The target device for the firmware. | [optional] |
| **Type** | Pointer to **string** | The type of firmware. | [optional] |
| **Version** | Pointer to **string** | The version of the firmware. | [optional] |
| Name | Type | Description | Notes |
| ---------------- | ------------------------------------- | -------------------------------------------- | ---------- |
| **Built** | Pointer to **string** | The date the firmware was built. | [optional] |
| **Created** | Pointer to **string** | The date the firmware was created. | [optional] |
| **Description** | Pointer to **string** | A description of the firmware. | [optional] |
| **Filename** | Pointer to **string** | The name of the firmware file. | [optional] |
| **Info** | Pointer to **map[string]interface{}** | User-defined metadata | [optional] |
| **Md5** | Pointer to **string** | The MD5 hash of the firmware file. | [optional] |
| **Notes** | Pointer to **string** | User-defined notes | [optional] |
| **Organization** | Pointer to **string** | The organization that owns the firmware. | [optional] |
| **Product** | Pointer to **string** | The product that the firmware is for. | [optional] |
| **Published** | Pointer to **bool** | True if the firmware is published. | [optional] |
| **Tags** | Pointer to **string** | A list of tags associated with the firmware. | [optional] |
| **Target** | Pointer to **string** | The target device for the firmware. | [optional] |
| **Type** | Pointer to **string** | The type of firmware. | [optional] |
| **Version** | Pointer to **string** | The version of the firmware. | [optional] |

## Methods

Expand Down Expand Up @@ -136,6 +138,31 @@ SetFilename sets Filename field to given value.

HasFilename returns a boolean if a field has been set.

### GetInfo

`func (o *FirmwareInfo) GetInfo() map[string]interface{}`

GetInfo returns the Info field if non-nil, zero value otherwise.

### GetInfoOk

`func (o *FirmwareInfo) GetInfoOk() (*map[string]interface{}, bool)`

GetInfoOk returns a tuple with the Info field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetInfo

`func (o *FirmwareInfo) SetInfo(v map[string]interface{})`

SetInfo sets Info field to given value.

### HasInfo

`func (o *FirmwareInfo) HasInfo() bool`

HasInfo returns a boolean if a field has been set.

### GetMd5

`func (o *FirmwareInfo) GetMd5() string`
Expand All @@ -161,6 +188,31 @@ SetMd5 sets Md5 field to given value.

HasMd5 returns a boolean if a field has been set.

### GetNotes

`func (o *FirmwareInfo) GetNotes() string`

GetNotes returns the Notes field if non-nil, zero value otherwise.

### GetNotesOk

`func (o *FirmwareInfo) GetNotesOk() (*string, bool)`

GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetNotes

`func (o *FirmwareInfo) SetNotes(v string)`

SetNotes sets Notes field to given value.

### HasNotes

`func (o *FirmwareInfo) HasNotes() bool`

HasNotes returns a boolean if a field has been set.

### GetOrganization

`func (o *FirmwareInfo) GetOrganization() string`
Expand Down
76 changes: 76 additions & 0 deletions docs/UsageEventsData.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
| **TotalDaysInPeriod** | Pointer to **int32** | The total number of days in this period. Useful for calculating daily averages for month period. Note that the current period will be the total number of days in the current period, including days in the future. | [optional] |
| **TotalDevices** | **int64** | Total devices represented in this count |
| **TotalEvents** | **int64** | Total events the device sent to notehub, including associated notehub generated events |
| **TotalFwUpdates** | Pointer to **NullableInt64** | Number of firmware updates in this period (from \_health.qo DFU events) | [optional] |
| **TotalReboots** | Pointer to **NullableInt64** | Number of device reboots in this period (from \_health.qo boot events) | [optional] |
| **WatchdogEvents** | **int64** | Watchdog events are events generated by notehub when a watchdog timer is configured for a device to indicate is has not been online for a period of time. These events are billed but should not be used to indicate a device is active, or connected, at this time. |

## Methods
Expand Down Expand Up @@ -235,6 +237,80 @@ and a boolean to check if the value has been set.

SetTotalEvents sets TotalEvents field to given value.

### GetTotalFwUpdates

`func (o *UsageEventsData) GetTotalFwUpdates() int64`

GetTotalFwUpdates returns the TotalFwUpdates field if non-nil, zero value otherwise.

### GetTotalFwUpdatesOk

`func (o *UsageEventsData) GetTotalFwUpdatesOk() (*int64, bool)`

GetTotalFwUpdatesOk returns a tuple with the TotalFwUpdates field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTotalFwUpdates

`func (o *UsageEventsData) SetTotalFwUpdates(v int64)`

SetTotalFwUpdates sets TotalFwUpdates field to given value.

### HasTotalFwUpdates

`func (o *UsageEventsData) HasTotalFwUpdates() bool`

HasTotalFwUpdates returns a boolean if a field has been set.

### SetTotalFwUpdatesNil

`func (o *UsageEventsData) SetTotalFwUpdatesNil(b bool)`

SetTotalFwUpdatesNil sets the value for TotalFwUpdates to be an explicit nil

### UnsetTotalFwUpdates

`func (o *UsageEventsData) UnsetTotalFwUpdates()`

UnsetTotalFwUpdates ensures that no value is present for TotalFwUpdates, not even an explicit nil

### GetTotalReboots

`func (o *UsageEventsData) GetTotalReboots() int64`

GetTotalReboots returns the TotalReboots field if non-nil, zero value otherwise.

### GetTotalRebootsOk

`func (o *UsageEventsData) GetTotalRebootsOk() (*int64, bool)`

GetTotalRebootsOk returns a tuple with the TotalReboots field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTotalReboots

`func (o *UsageEventsData) SetTotalReboots(v int64)`

SetTotalReboots sets TotalReboots field to given value.

### HasTotalReboots

`func (o *UsageEventsData) HasTotalReboots() bool`

HasTotalReboots returns a boolean if a field has been set.

### SetTotalRebootsNil

`func (o *UsageEventsData) SetTotalRebootsNil(b bool)`

SetTotalRebootsNil sets the value for TotalReboots to be an explicit nil

### UnsetTotalReboots

`func (o *UsageEventsData) UnsetTotalReboots()`

UnsetTotalReboots ensures that no value is present for TotalReboots, not even an explicit nil

### GetWatchdogEvents

`func (o *UsageEventsData) GetWatchdogEvents() int64`
Expand Down
52 changes: 45 additions & 7 deletions docs/UsageRouteLogsData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

## Properties

| Name | Type | Description | Notes |
| -------------------- | --------------------- | -------------------------------------------------------------- | ---------- |
| **FailedRoutes** | **int64** | |
| **Period** | **time.Time** | |
| **Route** | Pointer to **string** | The route UID (only present when aggregate is 'route') | [optional] |
| **SuccessfulRoutes** | **int64** | |
| **TotalRoutes** | **int64** | |
| Name | Type | Description | Notes |
| -------------------- | ------------------------------ | ----------------------------------------------------------------------------- | ---------- |
| **AvgLatencyMs** | Pointer to **NullableFloat64** | Average routing latency in milliseconds for route logs with recorded duration | [optional] |
| **FailedRoutes** | **int64** | |
| **Period** | **time.Time** | |
| **Route** | Pointer to **string** | The route UID (only present when aggregate is 'route') | [optional] |
| **SuccessfulRoutes** | **int64** | |
| **TotalRoutes** | **int64** | |

## Methods

Expand All @@ -29,6 +30,43 @@ NewUsageRouteLogsDataWithDefaults instantiates a new UsageRouteLogsData 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

### GetAvgLatencyMs

`func (o *UsageRouteLogsData) GetAvgLatencyMs() float64`

GetAvgLatencyMs returns the AvgLatencyMs field if non-nil, zero value otherwise.

### GetAvgLatencyMsOk

`func (o *UsageRouteLogsData) GetAvgLatencyMsOk() (*float64, bool)`

GetAvgLatencyMsOk returns a tuple with the AvgLatencyMs field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAvgLatencyMs

`func (o *UsageRouteLogsData) SetAvgLatencyMs(v float64)`

SetAvgLatencyMs sets AvgLatencyMs field to given value.

### HasAvgLatencyMs

`func (o *UsageRouteLogsData) HasAvgLatencyMs() bool`

HasAvgLatencyMs returns a boolean if a field has been set.

### SetAvgLatencyMsNil

`func (o *UsageRouteLogsData) SetAvgLatencyMsNil(b bool)`

SetAvgLatencyMsNil sets the value for AvgLatencyMs to be an explicit nil

### UnsetAvgLatencyMs

`func (o *UsageRouteLogsData) UnsetAvgLatencyMs()`

UnsetAvgLatencyMs ensures that no value is present for AvgLatencyMs, not even an explicit nil

### GetFailedRoutes

`func (o *UsageRouteLogsData) GetFailedRoutes() int64`
Expand Down
82 changes: 73 additions & 9 deletions docs/UsageSessionsData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@

## Properties

| 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** | |
| **TotalBytes** | **int64** | |
| **TotalDevices** | **int64** | |
| 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** | |

## Methods

Expand Down Expand Up @@ -138,6 +140,68 @@ and a boolean to check if the value has been set.

SetSessions sets Sessions field to given value.

### GetSessionsByTransport

`func (o *UsageSessionsData) GetSessionsByTransport() map[string]int64`

GetSessionsByTransport returns the SessionsByTransport field if non-nil, zero value otherwise.

### GetSessionsByTransportOk

`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.

### SetSessionsByTransport

`func (o *UsageSessionsData) SetSessionsByTransport(v map[string]int64)`

SetSessionsByTransport sets SessionsByTransport field to given value.

### HasSessionsByTransport

`func (o *UsageSessionsData) HasSessionsByTransport() bool`

HasSessionsByTransport returns a boolean if a field has been set.

### GetTlsSessions

`func (o *UsageSessionsData) GetTlsSessions() int64`

GetTlsSessions returns the TlsSessions field if non-nil, zero value otherwise.

### GetTlsSessionsOk

`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.

### SetTlsSessions

`func (o *UsageSessionsData) SetTlsSessions(v int64)`

SetTlsSessions sets TlsSessions field to given value.

### HasTlsSessions

`func (o *UsageSessionsData) HasTlsSessions() bool`

HasTlsSessions returns a boolean if a field has been set.

### SetTlsSessionsNil

`func (o *UsageSessionsData) SetTlsSessionsNil(b bool)`

SetTlsSessionsNil sets the value for TlsSessions to be an explicit nil

### UnsetTlsSessions

`func (o *UsageSessionsData) UnsetTlsSessions()`

UnsetTlsSessions ensures that no value is present for TlsSessions, not even an explicit nil

### GetTotalBytes

`func (o *UsageSessionsData) GetTotalBytes() int64`
Expand Down
Loading
Loading