spanapi

package module
v4.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: BSD-2-Clause Imports: 20 Imported by: 16

README

Go API client for spanapi

API for device, collection, output and firmware management

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 4.9.5 spattered-kelvin
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://lab5e.com

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import spanapi "github.com/lab5e/go-spanapi"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), spanapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), spanapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), spanapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), spanapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.lab5e.com

Class Method HTTP request Description
BlobsApi DeleteBlob Delete /span/collections/{collectionId}/blobs/{blobId} Remove a blob stored on a collection
BlobsApi ListBlobs Get /span/collections/{collectionId}/blobs List the blobs for a collection
CertificatesApi CreateCertificate Post /span/collections/{collectionId}/certificates/create Create certificate
CertificatesApi RetrieveCertificateChain Get /span/collections/{collectionId}/certificates Get certificate chain
CertificatesApi SignCertificate Post /span/collections/{collectionId}/certificates/sign Sign certificate
CertificatesApi VerifyCertificate Post /span/collections/{collectionId}/certificates/verify Verify certificate
CollectionsApi CreateCollection Post /span/collections Create collection
CollectionsApi DeleteCollection Delete /span/collections/{collectionId} Delete collection
CollectionsApi ListCollectionData Get /span/collections/{collectionId}/data Retrieve data from devices
CollectionsApi ListCollections Get /span/collections List collections
CollectionsApi RetrieveCollection Get /span/collections/{collectionId} Retrieve collection
CollectionsApi RetrieveCollectionStats Get /span/collections/{collectionId}/stats Retrieve collection statistics
CollectionsApi UpdateCollection Patch /span/collections/{collectionId} Update collection
DevicesApi AddDownstreamMessage Post /span/collections/{collectionId}/devices/{deviceId}/outbox Add message to oubox
DevicesApi CreateDevice Post /span/collections/{collectionId}/devices Create device
DevicesApi DeleteDevice Delete /span/collections/{collectionId}/devices/{deviceId} Remove device.
DevicesApi DeleteDownstreamMessage Delete /span/collections/{collectionId}/devices/{deviceId}/outbox/{messageId} Delete outgoing message
DevicesApi DeviceCertificate Get /span/collections/{collectionId}/devices/{deviceId}/certs Get issued certificate(s) for device
DevicesApi ListDeviceData Get /span/collections/{collectionId}/devices/{deviceId}/data Retrieve data from device
DevicesApi ListDevices Get /span/collections/{collectionId}/devices List devices in collection.
DevicesApi ListDownstreamMessages Get /span/collections/{collectionId}/devices/{deviceId}/outbox List the messages in the outbox
DevicesApi ListUpstreamMessages Get /span/collections/{collectionId}/devices/{deviceId}/inbox List incoming messages
DevicesApi RetrieveDevice Get /span/collections/{collectionId}/devices/{deviceId} Retrieve device
DevicesApi RetrieveDeviceStats Get /span/collections/{collectionId}/devices/{deviceId}/stats Retrieve device statistics
DevicesApi UpdateDevice Patch /span/collections/{existingCollectionId}/devices/{deviceId} Update device
FotaApi ClearFirmwareError Delete /span/collections/{collectionId}/devices/{deviceId}/fwerror Clear FOTA error
FotaApi CreateFirmware Post /span/collections/{collectionId}/firmware Create firmware
FotaApi DeleteFirmware Delete /span/collections/{collectionId}/firmware/{imageId} Delete firmware
FotaApi FirmwareUsage Get /span/collections/{collectionId}/firmware/{imageId}/usage Firmware usage
FotaApi ListFirmware Get /span/collections/{collectionId}/firmware List firmware
FotaApi RetrieveFirmware Get /span/collections/{collectionId}/firmware/{imageId} Retrieve firmware
FotaApi RetrieveFirmwareStats Get /span/collections/{collectionId}/firmware/{imageId}/stats Retrieve firmware statistics
FotaApi UpdateFirmware Patch /span/collections/{existingCollectionId}/firmware/{imageId} Update firmware
GatewaysApi CreateGateway Post /span/collections/{collectionId}/gateways Create gateway
GatewaysApi DeleteGateway Delete /span/collections/{collectionId}/gateways/{gatewayId} Delete gateway
GatewaysApi GatewayCertificates Get /span/collections/{collectionId}/gateways/{gatewayId}/certs Get issued certificate(s) for gateway
GatewaysApi ListGateways Get /span/collections/{collectionId}/gateways List gateways
GatewaysApi RetrieveGateway Get /span/collections/{collectionId}/gateways/{gatewayId} Retrieve gateway
GatewaysApi RetrieveGatewayStats Get /span/collections/{collectionId}/gateways/{gatewayId}/stats Retrieve gateway statistics
GatewaysApi UpdateGateway Patch /span/collections/{existingCollectionId}/gateways/{gatewayId} Update gateway
OutputsApi CreateOutput Post /span/collections/{collectionId}/outputs Create output
OutputsApi DeleteOutput Delete /span/collections/{collectionId}/outputs/{outputId} Delete output
OutputsApi ListOutputs Get /span/collections/{collectionId}/outputs List outputs
OutputsApi Logs Get /span/collections/{collectionId}/outputs/{outputId}/logs Output logs
OutputsApi RetrieveOutput Get /span/collections/{collectionId}/outputs/{outputId} Retrieve output
OutputsApi RetrieveOutputStats Get /span/collections/{collectionId}/outputs/{outputId}/stats Retrieve output statistics
OutputsApi Status Get /span/collections/{collectionId}/outputs/{outputId}/status Output status
OutputsApi UpdateOutput Patch /span/collections/{existingCollectionId}/outputs/{outputId} Update output
SpanApi GetSystemInfo Get /span/system System information

Documentation For Models

Documentation For Authorization

APIToken
  • Type: API key
  • API key parameter name: X-API-Token
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-API-Token and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

dev@lab5e.com

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedFirmwareManagementEnumValues = []FirmwareManagement{
	"unspecified",
	"disabled",
	"collection",
	"device",
}

All allowed values of FirmwareManagement enum

View Source
var AllowedGatewayStatusEnumValues = []GatewayStatus{
	"unknown",
	"offline",
	"online",
}

All allowed values of GatewayStatus enum

View Source
var AllowedGatewayTypeEnumValues = []GatewayType{
	"unknown",
	"ciot",
	"inet",
	"lora",
	"openthread",
	"zigbee",
	"matter",
	"custom",
}

All allowed values of GatewayType enum

View Source
var AllowedMessageStateEnumValues = []MessageState{
	"unspecified",
	"pending",
	"sent",
	"failed",
}

All allowed values of MessageState enum

View Source
var AllowedMessageTransportEnumValues = []MessageTransport{
	"unspecified",
	"udp",
	"coap",
	"mqtt",
	"gateway",
	"coaps",
	"dtls",
}

All allowed values of MessageTransport enum

View Source
var AllowedOutputMessageTypeEnumValues = []OutputMessageType{
	"unknown",
	"keepalive",
	"data",
}

All allowed values of OutputMessageType enum

View Source
var AllowedOutputTypeEnumValues = []OutputType{
	"undefined",
	"webhook",
	"udpout",
	"mqttclient",
	"ifttt",
	"mqttbroker",
}

All allowed values of OutputType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil added in v4.5.0

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	BlobsApi *BlobsApiService

	CertificatesApi *CertificatesApiService

	CollectionsApi *CollectionsApiService

	DevicesApi *DevicesApiService

	FotaApi *FotaApiService

	GatewaysApi *GatewaysApiService

	OutputsApi *OutputsApiService

	SpanApi *SpanApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the The Span API API v4.9.5 spattered-kelvin In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActivityEvent added in v4.9.5

type ActivityEvent struct {
	Event        *string            `json:"event,omitempty"`
	Time         *string            `json:"time,omitempty"`
	CollectionId *string            `json:"collectionId,omitempty"`
	DeviceId     *string            `json:"deviceId,omitempty"`
	GatewayId    *string            `json:"gatewayId,omitempty"`
	Data         *map[string]string `json:"data,omitempty"`
}

ActivityEvent struct for ActivityEvent

func NewActivityEvent added in v4.9.5

func NewActivityEvent() *ActivityEvent

NewActivityEvent instantiates a new ActivityEvent 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 NewActivityEventWithDefaults added in v4.9.5

func NewActivityEventWithDefaults() *ActivityEvent

NewActivityEventWithDefaults instantiates a new ActivityEvent 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 (*ActivityEvent) GetCollectionId added in v4.9.5

func (o *ActivityEvent) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*ActivityEvent) GetCollectionIdOk added in v4.9.5

func (o *ActivityEvent) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityEvent) GetData added in v4.9.5

func (o *ActivityEvent) GetData() map[string]string

GetData returns the Data field value if set, zero value otherwise.

func (*ActivityEvent) GetDataOk added in v4.9.5

func (o *ActivityEvent) GetDataOk() (*map[string]string, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityEvent) GetDeviceId added in v4.9.5

func (o *ActivityEvent) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ActivityEvent) GetDeviceIdOk added in v4.9.5

func (o *ActivityEvent) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityEvent) GetEvent added in v4.9.5

func (o *ActivityEvent) GetEvent() string

GetEvent returns the Event field value if set, zero value otherwise.

func (*ActivityEvent) GetEventOk added in v4.9.5

func (o *ActivityEvent) GetEventOk() (*string, bool)

GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityEvent) GetGatewayId added in v4.9.5

func (o *ActivityEvent) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*ActivityEvent) GetGatewayIdOk added in v4.9.5

func (o *ActivityEvent) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityEvent) GetTime added in v4.9.5

func (o *ActivityEvent) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*ActivityEvent) GetTimeOk added in v4.9.5

func (o *ActivityEvent) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityEvent) HasCollectionId added in v4.9.5

func (o *ActivityEvent) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*ActivityEvent) HasData added in v4.9.5

func (o *ActivityEvent) HasData() bool

HasData returns a boolean if a field has been set.

func (*ActivityEvent) HasDeviceId added in v4.9.5

func (o *ActivityEvent) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*ActivityEvent) HasEvent added in v4.9.5

func (o *ActivityEvent) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (*ActivityEvent) HasGatewayId added in v4.9.5

func (o *ActivityEvent) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*ActivityEvent) HasTime added in v4.9.5

func (o *ActivityEvent) HasTime() bool

HasTime returns a boolean if a field has been set.

func (ActivityEvent) MarshalJSON added in v4.9.5

func (o ActivityEvent) MarshalJSON() ([]byte, error)

func (*ActivityEvent) SetCollectionId added in v4.9.5

func (o *ActivityEvent) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*ActivityEvent) SetData added in v4.9.5

func (o *ActivityEvent) SetData(v map[string]string)

SetData gets a reference to the given map[string]string and assigns it to the Data field.

func (*ActivityEvent) SetDeviceId added in v4.9.5

func (o *ActivityEvent) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*ActivityEvent) SetEvent added in v4.9.5

func (o *ActivityEvent) SetEvent(v string)

SetEvent gets a reference to the given string and assigns it to the Event field.

func (*ActivityEvent) SetGatewayId added in v4.9.5

func (o *ActivityEvent) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*ActivityEvent) SetTime added in v4.9.5

func (o *ActivityEvent) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (ActivityEvent) ToMap added in v4.9.5

func (o ActivityEvent) ToMap() (map[string]interface{}, error)

type AddDownstreamMessageRequest added in v4.2.0

type AddDownstreamMessageRequest struct {
	Payload *string `json:"payload,omitempty"`
}

AddDownstreamMessageRequest This is the request object to send messages out to the devices

func NewAddDownstreamMessageRequest added in v4.2.0

func NewAddDownstreamMessageRequest() *AddDownstreamMessageRequest

NewAddDownstreamMessageRequest instantiates a new AddDownstreamMessageRequest 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 NewAddDownstreamMessageRequestWithDefaults added in v4.2.0

func NewAddDownstreamMessageRequestWithDefaults() *AddDownstreamMessageRequest

NewAddDownstreamMessageRequestWithDefaults instantiates a new AddDownstreamMessageRequest 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 (*AddDownstreamMessageRequest) GetPayload added in v4.2.0

func (o *AddDownstreamMessageRequest) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise.

func (*AddDownstreamMessageRequest) GetPayloadOk added in v4.2.0

func (o *AddDownstreamMessageRequest) GetPayloadOk() (*string, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddDownstreamMessageRequest) HasPayload added in v4.2.0

func (o *AddDownstreamMessageRequest) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (AddDownstreamMessageRequest) MarshalJSON added in v4.2.0

func (o AddDownstreamMessageRequest) MarshalJSON() ([]byte, error)

func (*AddDownstreamMessageRequest) SetPayload added in v4.2.0

func (o *AddDownstreamMessageRequest) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

func (AddDownstreamMessageRequest) ToMap added in v4.5.0

func (o AddDownstreamMessageRequest) ToMap() (map[string]interface{}, error)

type Any added in v4.2.0

type Any struct {
	Type *string `json:"@type,omitempty"`
}

Any struct for Any

func NewAny added in v4.2.0

func NewAny() *Any

NewAny instantiates a new Any 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 NewAnyWithDefaults added in v4.2.0

func NewAnyWithDefaults() *Any

NewAnyWithDefaults instantiates a new Any 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 (*Any) GetType added in v4.2.0

func (o *Any) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Any) GetTypeOk added in v4.2.0

func (o *Any) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Any) HasType added in v4.2.0

func (o *Any) HasType() bool

HasType returns a boolean if a field has been set.

func (Any) MarshalJSON added in v4.2.0

func (o Any) MarshalJSON() ([]byte, error)

func (*Any) SetType added in v4.2.0

func (o *Any) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Any) ToMap added in v4.5.0

func (o Any) ToMap() (map[string]interface{}, error)

type ApiAddDownstreamMessageRequest added in v4.2.0

type ApiAddDownstreamMessageRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiAddDownstreamMessageRequest) Body added in v4.2.0

func (ApiAddDownstreamMessageRequest) Execute added in v4.2.0

type ApiClearFirmwareErrorRequest added in v4.1.8

type ApiClearFirmwareErrorRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiClearFirmwareErrorRequest) Execute added in v4.1.8

type ApiCreateCertificateRequest added in v4.2.0

type ApiCreateCertificateRequest struct {
	ApiService *CertificatesApiService
	// contains filtered or unexported fields
}

func (ApiCreateCertificateRequest) Body added in v4.2.0

func (ApiCreateCertificateRequest) Execute added in v4.2.0

type ApiCreateCollectionRequest added in v4.1.8

type ApiCreateCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateCollectionRequest) Body added in v4.1.8

Request object when creating a collection. The collect ID is assigned by the service.

func (ApiCreateCollectionRequest) Execute added in v4.1.8

type ApiCreateDeviceRequest added in v4.1.8

type ApiCreateDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiCreateDeviceRequest) Body added in v4.1.8

func (ApiCreateDeviceRequest) Execute added in v4.1.8

func (r ApiCreateDeviceRequest) Execute() (*Device, *http.Response, error)

type ApiCreateFirmwareRequest added in v4.1.8

type ApiCreateFirmwareRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiCreateFirmwareRequest) Body added in v4.1.8

func (ApiCreateFirmwareRequest) Execute added in v4.1.8

type ApiCreateGatewayRequest added in v4.4.0

type ApiCreateGatewayRequest struct {
	ApiService *GatewaysApiService
	// contains filtered or unexported fields
}

func (ApiCreateGatewayRequest) Body added in v4.4.0

func (ApiCreateGatewayRequest) Execute added in v4.4.0

type ApiCreateOutputRequest added in v4.1.8

type ApiCreateOutputRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiCreateOutputRequest) Body added in v4.1.8

func (ApiCreateOutputRequest) Execute added in v4.1.8

func (r ApiCreateOutputRequest) Execute() (*Output, *http.Response, error)

type ApiDeleteBlobRequest added in v4.4.0

type ApiDeleteBlobRequest struct {
	ApiService *BlobsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBlobRequest) Execute added in v4.4.0

func (r ApiDeleteBlobRequest) Execute() (map[string]interface{}, *http.Response, error)

type ApiDeleteCollectionRequest added in v4.1.8

type ApiDeleteCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteCollectionRequest) Execute added in v4.1.8

type ApiDeleteDeviceRequest added in v4.1.8

type ApiDeleteDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDeviceRequest) Execute added in v4.1.8

func (r ApiDeleteDeviceRequest) Execute() (*Device, *http.Response, error)

type ApiDeleteDownstreamMessageRequest added in v4.2.0

type ApiDeleteDownstreamMessageRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDownstreamMessageRequest) Execute added in v4.2.0

type ApiDeleteFirmwareRequest added in v4.1.8

type ApiDeleteFirmwareRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFirmwareRequest) Execute added in v4.1.8

type ApiDeleteGatewayRequest added in v4.4.0

type ApiDeleteGatewayRequest struct {
	ApiService *GatewaysApiService
	// contains filtered or unexported fields
}

func (ApiDeleteGatewayRequest) Execute added in v4.4.0

type ApiDeleteOutputRequest added in v4.1.8

type ApiDeleteOutputRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteOutputRequest) Execute added in v4.1.8

func (r ApiDeleteOutputRequest) Execute() (*Output, *http.Response, error)

type ApiDeviceCertificateRequest added in v4.2.0

type ApiDeviceCertificateRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiDeviceCertificateRequest) Execute added in v4.2.0

type ApiFirmwareUsageRequest added in v4.1.8

type ApiFirmwareUsageRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiFirmwareUsageRequest) Execute added in v4.1.8

type ApiGatewayCertificatesRequest added in v4.4.0

type ApiGatewayCertificatesRequest struct {
	ApiService *GatewaysApiService
	// contains filtered or unexported fields
}

func (ApiGatewayCertificatesRequest) Execute added in v4.4.0

type ApiGetSystemInfoRequest added in v4.1.8

type ApiGetSystemInfoRequest struct {
	ApiService *SpanApiService
	// contains filtered or unexported fields
}

func (ApiGetSystemInfoRequest) Execute added in v4.1.8

type ApiListBlobsRequest added in v4.4.0

type ApiListBlobsRequest struct {
	ApiService *BlobsApiService
	// contains filtered or unexported fields
}

func (ApiListBlobsRequest) Execute added in v4.4.0

func (ApiListBlobsRequest) Limit added in v4.4.0

type ApiListCollectionDataRequest added in v4.1.8

type ApiListCollectionDataRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiListCollectionDataRequest) End added in v4.1.8

End of time range. The default is the current time stamp. Value is in milliseconds since epoch.

func (ApiListCollectionDataRequest) Execute added in v4.1.8

func (ApiListCollectionDataRequest) Limit added in v4.1.8

Limit the number of payloads to return. The default is 512.

func (ApiListCollectionDataRequest) Offset added in v4.1.8

The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.

func (ApiListCollectionDataRequest) Start added in v4.1.8

Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.

type ApiListCollectionsRequest added in v4.1.8

type ApiListCollectionsRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiListCollectionsRequest) Execute added in v4.1.8

type ApiListDeviceDataRequest added in v4.1.8

type ApiListDeviceDataRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiListDeviceDataRequest) End added in v4.1.8

End of time range. The default is the current time stamp. Value is in milliseconds since epoch.

func (ApiListDeviceDataRequest) Execute added in v4.1.8

func (ApiListDeviceDataRequest) Limit added in v4.1.8

Limit the number of payloads to return. The default is 512.

func (ApiListDeviceDataRequest) Offset added in v4.1.8

The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.

func (ApiListDeviceDataRequest) Start added in v4.1.8

Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.

type ApiListDevicesRequest added in v4.1.8

type ApiListDevicesRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiListDevicesRequest) Execute added in v4.1.8

type ApiListDownstreamMessagesRequest added in v4.2.0

type ApiListDownstreamMessagesRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiListDownstreamMessagesRequest) End added in v4.2.0

End of time range. The default is the current time stamp. Value is in milliseconds since epoch.

func (ApiListDownstreamMessagesRequest) Execute added in v4.2.0

func (ApiListDownstreamMessagesRequest) Limit added in v4.2.0

func (ApiListDownstreamMessagesRequest) Offset added in v4.2.0

The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.

func (ApiListDownstreamMessagesRequest) Start added in v4.2.0

Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.

type ApiListFirmwareRequest added in v4.1.8

type ApiListFirmwareRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiListFirmwareRequest) Execute added in v4.1.8

type ApiListGatewaysRequest added in v4.2.0

type ApiListGatewaysRequest struct {
	ApiService *GatewaysApiService
	// contains filtered or unexported fields
}

func (ApiListGatewaysRequest) Execute added in v4.2.0

type ApiListOutputsRequest added in v4.1.8

type ApiListOutputsRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiListOutputsRequest) Execute added in v4.1.8

type ApiListUpstreamMessagesRequest added in v4.2.0

type ApiListUpstreamMessagesRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiListUpstreamMessagesRequest) End added in v4.2.0

End of time range. The default is the current time stamp. Value is in milliseconds since epoch.

func (ApiListUpstreamMessagesRequest) Execute added in v4.2.0

func (ApiListUpstreamMessagesRequest) Limit added in v4.2.0

func (ApiListUpstreamMessagesRequest) Offset added in v4.2.0

The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.

func (ApiListUpstreamMessagesRequest) Start added in v4.2.0

Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.

type ApiLogsRequest added in v4.1.8

type ApiLogsRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiLogsRequest) Execute added in v4.1.8

type ApiRetrieveCertificateChainRequest added in v4.2.0

type ApiRetrieveCertificateChainRequest struct {
	ApiService *CertificatesApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveCertificateChainRequest) DeviceId added in v4.2.0

func (ApiRetrieveCertificateChainRequest) Execute added in v4.2.0

func (ApiRetrieveCertificateChainRequest) GatewayId added in v4.2.0

type ApiRetrieveCollectionRequest added in v4.1.8

type ApiRetrieveCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveCollectionRequest) Downstream added in v4.5.0

func (ApiRetrieveCollectionRequest) Execute added in v4.1.8

func (ApiRetrieveCollectionRequest) Upstream added in v4.5.0

type ApiRetrieveCollectionStatsRequest added in v4.6.0

type ApiRetrieveCollectionStatsRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveCollectionStatsRequest) Execute added in v4.6.0

type ApiRetrieveDeviceRequest added in v4.1.8

type ApiRetrieveDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveDeviceRequest) Execute added in v4.1.8

type ApiRetrieveDeviceStatsRequest added in v4.6.0

type ApiRetrieveDeviceStatsRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveDeviceStatsRequest) Execute added in v4.6.0

type ApiRetrieveFirmwareRequest added in v4.1.8

type ApiRetrieveFirmwareRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveFirmwareRequest) Execute added in v4.1.8

type ApiRetrieveFirmwareStatsRequest added in v4.6.0

type ApiRetrieveFirmwareStatsRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveFirmwareStatsRequest) Execute added in v4.6.0

type ApiRetrieveGatewayRequest added in v4.2.0

type ApiRetrieveGatewayRequest struct {
	ApiService *GatewaysApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveGatewayRequest) Execute added in v4.2.0

type ApiRetrieveGatewayStatsRequest added in v4.6.0

type ApiRetrieveGatewayStatsRequest struct {
	ApiService *GatewaysApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveGatewayStatsRequest) Execute added in v4.6.0

type ApiRetrieveOutputRequest added in v4.1.8

type ApiRetrieveOutputRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveOutputRequest) Execute added in v4.1.8

type ApiRetrieveOutputStatsRequest added in v4.6.0

type ApiRetrieveOutputStatsRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiRetrieveOutputStatsRequest) Execute added in v4.6.0

type ApiSignCertificateRequest added in v4.2.0

type ApiSignCertificateRequest struct {
	ApiService *CertificatesApiService
	// contains filtered or unexported fields
}

func (ApiSignCertificateRequest) Body added in v4.2.0

func (ApiSignCertificateRequest) Execute added in v4.2.0

type ApiStatusRequest added in v4.1.8

type ApiStatusRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiStatusRequest) Execute added in v4.1.8

type ApiUpdateCollectionRequest added in v4.1.8

type ApiUpdateCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateCollectionRequest) Body added in v4.1.8

func (ApiUpdateCollectionRequest) Execute added in v4.1.8

type ApiUpdateDeviceRequest added in v4.1.8

type ApiUpdateDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDeviceRequest) Body added in v4.1.8

func (ApiUpdateDeviceRequest) Execute added in v4.1.8

func (r ApiUpdateDeviceRequest) Execute() (*Device, *http.Response, error)

type ApiUpdateFirmwareRequest added in v4.1.8

type ApiUpdateFirmwareRequest struct {
	ApiService *FotaApiService
	// contains filtered or unexported fields
}

func (ApiUpdateFirmwareRequest) Body added in v4.1.8

func (ApiUpdateFirmwareRequest) Execute added in v4.1.8

type ApiUpdateGatewayRequest added in v4.4.0

type ApiUpdateGatewayRequest struct {
	ApiService *GatewaysApiService
	// contains filtered or unexported fields
}

func (ApiUpdateGatewayRequest) Body added in v4.4.0

func (ApiUpdateGatewayRequest) Execute added in v4.4.0

type ApiUpdateOutputRequest added in v4.1.8

type ApiUpdateOutputRequest struct {
	ApiService *OutputsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateOutputRequest) Body added in v4.1.8

func (ApiUpdateOutputRequest) Execute added in v4.1.8

func (r ApiUpdateOutputRequest) Execute() (*Output, *http.Response, error)

type ApiVerifyCertificateRequest added in v4.2.0

type ApiVerifyCertificateRequest struct {
	ApiService *CertificatesApiService
	// contains filtered or unexported fields
}

func (ApiVerifyCertificateRequest) Body added in v4.2.0

func (ApiVerifyCertificateRequest) Execute added in v4.2.0

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Blob added in v4.4.0

type Blob struct {
	BlobId       *string            `json:"blobId,omitempty"`
	BlobPath     *string            `json:"blobPath,omitempty"`
	ContentType  *string            `json:"contentType,omitempty"`
	Size         *string            `json:"size,omitempty"`
	Created      *string            `json:"created,omitempty"`
	CollectionId *string            `json:"collectionId,omitempty"`
	DeviceId     *string            `json:"deviceId,omitempty"`
	GatewayId    *string            `json:"gatewayId,omitempty"`
	Properties   *map[string]string `json:"properties,omitempty"`
}

Blob This is a blob (binary large object) that the devices might upload to the service. This is messages that are typically too large to handle like regular status and sensor values, typically media files. The content type might be derived from the first few bytes of the blob and could possibly be incorrect. Download the blob by accessing the blob URL field. This will work like a regular HTTP request for your client. Authentication is required as always.

func NewBlob added in v4.4.0

func NewBlob() *Blob

NewBlob instantiates a new Blob 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 NewBlobWithDefaults added in v4.4.0

func NewBlobWithDefaults() *Blob

NewBlobWithDefaults instantiates a new Blob 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 (*Blob) GetBlobId added in v4.4.0

func (o *Blob) GetBlobId() string

GetBlobId returns the BlobId field value if set, zero value otherwise.

func (*Blob) GetBlobIdOk added in v4.4.0

func (o *Blob) GetBlobIdOk() (*string, bool)

GetBlobIdOk returns a tuple with the BlobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetBlobPath added in v4.4.0

func (o *Blob) GetBlobPath() string

GetBlobPath returns the BlobPath field value if set, zero value otherwise.

func (*Blob) GetBlobPathOk added in v4.4.0

func (o *Blob) GetBlobPathOk() (*string, bool)

GetBlobPathOk returns a tuple with the BlobPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetCollectionId added in v4.4.0

func (o *Blob) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Blob) GetCollectionIdOk added in v4.4.0

func (o *Blob) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetContentType added in v4.4.0

func (o *Blob) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*Blob) GetContentTypeOk added in v4.4.0

func (o *Blob) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetCreated added in v4.4.0

func (o *Blob) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*Blob) GetCreatedOk added in v4.4.0

func (o *Blob) GetCreatedOk() (*string, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetDeviceId added in v4.4.0

func (o *Blob) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*Blob) GetDeviceIdOk added in v4.4.0

func (o *Blob) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetGatewayId added in v4.4.0

func (o *Blob) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*Blob) GetGatewayIdOk added in v4.4.0

func (o *Blob) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetProperties added in v4.4.0

func (o *Blob) GetProperties() map[string]string

GetProperties returns the Properties field value if set, zero value otherwise.

func (*Blob) GetPropertiesOk added in v4.4.0

func (o *Blob) GetPropertiesOk() (*map[string]string, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) GetSize added in v4.4.0

func (o *Blob) GetSize() string

GetSize returns the Size field value if set, zero value otherwise.

func (*Blob) GetSizeOk added in v4.4.0

func (o *Blob) GetSizeOk() (*string, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Blob) HasBlobId added in v4.4.0

func (o *Blob) HasBlobId() bool

HasBlobId returns a boolean if a field has been set.

func (*Blob) HasBlobPath added in v4.4.0

func (o *Blob) HasBlobPath() bool

HasBlobPath returns a boolean if a field has been set.

func (*Blob) HasCollectionId added in v4.4.0

func (o *Blob) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Blob) HasContentType added in v4.4.0

func (o *Blob) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*Blob) HasCreated added in v4.4.0

func (o *Blob) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Blob) HasDeviceId added in v4.4.0

func (o *Blob) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*Blob) HasGatewayId added in v4.4.0

func (o *Blob) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*Blob) HasProperties added in v4.4.0

func (o *Blob) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Blob) HasSize added in v4.4.0

func (o *Blob) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Blob) MarshalJSON added in v4.4.0

func (o Blob) MarshalJSON() ([]byte, error)

func (*Blob) SetBlobId added in v4.4.0

func (o *Blob) SetBlobId(v string)

SetBlobId gets a reference to the given string and assigns it to the BlobId field.

func (*Blob) SetBlobPath added in v4.4.0

func (o *Blob) SetBlobPath(v string)

SetBlobPath gets a reference to the given string and assigns it to the BlobPath field.

func (*Blob) SetCollectionId added in v4.4.0

func (o *Blob) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Blob) SetContentType added in v4.4.0

func (o *Blob) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*Blob) SetCreated added in v4.4.0

func (o *Blob) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*Blob) SetDeviceId added in v4.4.0

func (o *Blob) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*Blob) SetGatewayId added in v4.4.0

func (o *Blob) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*Blob) SetProperties added in v4.4.0

func (o *Blob) SetProperties(v map[string]string)

SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.

func (*Blob) SetSize added in v4.4.0

func (o *Blob) SetSize(v string)

SetSize gets a reference to the given string and assigns it to the Size field.

func (Blob) ToMap added in v4.5.0

func (o Blob) ToMap() (map[string]interface{}, error)

type BlobStats added in v4.6.0

type BlobStats struct {
	BlobBytes *string `json:"blobBytes,omitempty"`
}

BlobStats Statistics for a single blob

func NewBlobStats added in v4.6.0

func NewBlobStats() *BlobStats

NewBlobStats instantiates a new BlobStats 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 NewBlobStatsWithDefaults added in v4.6.0

func NewBlobStatsWithDefaults() *BlobStats

NewBlobStatsWithDefaults instantiates a new BlobStats 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 (*BlobStats) GetBlobBytes added in v4.9.5

func (o *BlobStats) GetBlobBytes() string

GetBlobBytes returns the BlobBytes field value if set, zero value otherwise.

func (*BlobStats) GetBlobBytesOk added in v4.9.5

func (o *BlobStats) GetBlobBytesOk() (*string, bool)

GetBlobBytesOk returns a tuple with the BlobBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlobStats) HasBlobBytes added in v4.9.5

func (o *BlobStats) HasBlobBytes() bool

HasBlobBytes returns a boolean if a field has been set.

func (BlobStats) MarshalJSON added in v4.6.0

func (o BlobStats) MarshalJSON() ([]byte, error)

func (*BlobStats) SetBlobBytes added in v4.9.5

func (o *BlobStats) SetBlobBytes(v string)

SetBlobBytes gets a reference to the given string and assigns it to the BlobBytes field.

func (BlobStats) ToMap added in v4.6.0

func (o BlobStats) ToMap() (map[string]interface{}, error)

type BlobsApiService added in v4.4.0

type BlobsApiService service

BlobsApiService BlobsApi service

func (*BlobsApiService) DeleteBlob added in v4.4.0

func (a *BlobsApiService) DeleteBlob(ctx context.Context, collectionId string, blobId string) ApiDeleteBlobRequest

DeleteBlob Remove a blob stored on a collection

Remove a blob stored on the collection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param blobId
@return ApiDeleteBlobRequest

func (*BlobsApiService) DeleteBlobExecute added in v4.4.0

func (a *BlobsApiService) DeleteBlobExecute(r ApiDeleteBlobRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*BlobsApiService) ListBlobs added in v4.4.0

func (a *BlobsApiService) ListBlobs(ctx context.Context, collectionId string) ApiListBlobsRequest

ListBlobs List the blobs for a collection

Retrieve a list of all the blobs stored on this collection. Blobs are uploaded by the devices through one of the blob endpoints.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiListBlobsRequest

func (*BlobsApiService) ListBlobsExecute added in v4.4.0

Execute executes the request

@return ListBlobResponse

type CellularIoTConfig added in v4.2.0

type CellularIoTConfig struct {
	Imsi *string `json:"imsi,omitempty"`
	Imei *string `json:"imei,omitempty"`
}

CellularIoTConfig This is the cellular IOT config

func NewCellularIoTConfig added in v4.2.0

func NewCellularIoTConfig() *CellularIoTConfig

NewCellularIoTConfig instantiates a new CellularIoTConfig 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 NewCellularIoTConfigWithDefaults added in v4.2.0

func NewCellularIoTConfigWithDefaults() *CellularIoTConfig

NewCellularIoTConfigWithDefaults instantiates a new CellularIoTConfig 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 (*CellularIoTConfig) GetImei added in v4.2.0

func (o *CellularIoTConfig) GetImei() string

GetImei returns the Imei field value if set, zero value otherwise.

func (*CellularIoTConfig) GetImeiOk added in v4.2.0

func (o *CellularIoTConfig) GetImeiOk() (*string, bool)

GetImeiOk returns a tuple with the Imei field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTConfig) GetImsi added in v4.2.0

func (o *CellularIoTConfig) GetImsi() string

GetImsi returns the Imsi field value if set, zero value otherwise.

func (*CellularIoTConfig) GetImsiOk added in v4.2.0

func (o *CellularIoTConfig) GetImsiOk() (*string, bool)

GetImsiOk returns a tuple with the Imsi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTConfig) HasImei added in v4.2.0

func (o *CellularIoTConfig) HasImei() bool

HasImei returns a boolean if a field has been set.

func (*CellularIoTConfig) HasImsi added in v4.2.0

func (o *CellularIoTConfig) HasImsi() bool

HasImsi returns a boolean if a field has been set.

func (CellularIoTConfig) MarshalJSON added in v4.2.0

func (o CellularIoTConfig) MarshalJSON() ([]byte, error)

func (*CellularIoTConfig) SetImei added in v4.2.0

func (o *CellularIoTConfig) SetImei(v string)

SetImei gets a reference to the given string and assigns it to the Imei field.

func (*CellularIoTConfig) SetImsi added in v4.2.0

func (o *CellularIoTConfig) SetImsi(v string)

SetImsi gets a reference to the given string and assigns it to the Imsi field.

func (CellularIoTConfig) ToMap added in v4.5.0

func (o CellularIoTConfig) ToMap() (map[string]interface{}, error)

type CellularIoTMetadata added in v4.2.0

type CellularIoTMetadata struct {
	GatewayId *string `json:"gatewayId,omitempty"`
	// Allocated IP address.
	AllocatedIp *string `json:"allocatedIp,omitempty"`
	AllocatedAt *string `json:"allocatedAt,omitempty"`
	CellId      *string `json:"cellId,omitempty"`
	// the provider in use.  The Mobile Country Code for the operator.
	Mcc         *int32  `json:"mcc,omitempty"`
	Mnc         *int32  `json:"mnc,omitempty"`
	Country     *string `json:"country,omitempty"`
	Network     *string `json:"network,omitempty"`
	CountryCode *string `json:"countryCode,omitempty"`
	LastUpdate  *string `json:"lastUpdate,omitempty"`
	LastImsi    *string `json:"lastImsi,omitempty"`
	LastImei    *string `json:"lastImei,omitempty"`
}

CellularIoTMetadata This is the metadata for a Cellular IoT device connected via an APN.

func NewCellularIoTMetadata added in v4.2.0

func NewCellularIoTMetadata() *CellularIoTMetadata

NewCellularIoTMetadata instantiates a new CellularIoTMetadata 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 NewCellularIoTMetadataWithDefaults added in v4.2.0

func NewCellularIoTMetadataWithDefaults() *CellularIoTMetadata

NewCellularIoTMetadataWithDefaults instantiates a new CellularIoTMetadata 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 (*CellularIoTMetadata) GetAllocatedAt added in v4.2.0

func (o *CellularIoTMetadata) GetAllocatedAt() string

GetAllocatedAt returns the AllocatedAt field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetAllocatedAtOk added in v4.2.0

func (o *CellularIoTMetadata) GetAllocatedAtOk() (*string, bool)

GetAllocatedAtOk returns a tuple with the AllocatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetAllocatedIp added in v4.2.0

func (o *CellularIoTMetadata) GetAllocatedIp() string

GetAllocatedIp returns the AllocatedIp field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetAllocatedIpOk added in v4.2.0

func (o *CellularIoTMetadata) GetAllocatedIpOk() (*string, bool)

GetAllocatedIpOk returns a tuple with the AllocatedIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetCellId added in v4.2.0

func (o *CellularIoTMetadata) GetCellId() string

GetCellId returns the CellId field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetCellIdOk added in v4.2.0

func (o *CellularIoTMetadata) GetCellIdOk() (*string, bool)

GetCellIdOk returns a tuple with the CellId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetCountry added in v4.2.0

func (o *CellularIoTMetadata) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetCountryCode added in v4.2.0

func (o *CellularIoTMetadata) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetCountryCodeOk added in v4.2.0

func (o *CellularIoTMetadata) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetCountryOk added in v4.2.0

func (o *CellularIoTMetadata) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetGatewayId added in v4.2.0

func (o *CellularIoTMetadata) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetGatewayIdOk added in v4.2.0

func (o *CellularIoTMetadata) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetLastImei added in v4.8.0

func (o *CellularIoTMetadata) GetLastImei() string

GetLastImei returns the LastImei field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetLastImeiOk added in v4.8.0

func (o *CellularIoTMetadata) GetLastImeiOk() (*string, bool)

GetLastImeiOk returns a tuple with the LastImei field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetLastImsi added in v4.8.0

func (o *CellularIoTMetadata) GetLastImsi() string

GetLastImsi returns the LastImsi field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetLastImsiOk added in v4.8.0

func (o *CellularIoTMetadata) GetLastImsiOk() (*string, bool)

GetLastImsiOk returns a tuple with the LastImsi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetLastUpdate added in v4.2.0

func (o *CellularIoTMetadata) GetLastUpdate() string

GetLastUpdate returns the LastUpdate field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetLastUpdateOk added in v4.2.0

func (o *CellularIoTMetadata) GetLastUpdateOk() (*string, bool)

GetLastUpdateOk returns a tuple with the LastUpdate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetMcc added in v4.2.0

func (o *CellularIoTMetadata) GetMcc() int32

GetMcc returns the Mcc field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetMccOk added in v4.2.0

func (o *CellularIoTMetadata) GetMccOk() (*int32, bool)

GetMccOk returns a tuple with the Mcc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetMnc added in v4.2.0

func (o *CellularIoTMetadata) GetMnc() int32

GetMnc returns the Mnc field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetMncOk added in v4.2.0

func (o *CellularIoTMetadata) GetMncOk() (*int32, bool)

GetMncOk returns a tuple with the Mnc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) GetNetwork added in v4.2.0

func (o *CellularIoTMetadata) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*CellularIoTMetadata) GetNetworkOk added in v4.2.0

func (o *CellularIoTMetadata) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CellularIoTMetadata) HasAllocatedAt added in v4.2.0

func (o *CellularIoTMetadata) HasAllocatedAt() bool

HasAllocatedAt returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasAllocatedIp added in v4.2.0

func (o *CellularIoTMetadata) HasAllocatedIp() bool

HasAllocatedIp returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasCellId added in v4.2.0

func (o *CellularIoTMetadata) HasCellId() bool

HasCellId returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasCountry added in v4.2.0

func (o *CellularIoTMetadata) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasCountryCode added in v4.2.0

func (o *CellularIoTMetadata) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasGatewayId added in v4.2.0

func (o *CellularIoTMetadata) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasLastImei added in v4.8.0

func (o *CellularIoTMetadata) HasLastImei() bool

HasLastImei returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasLastImsi added in v4.8.0

func (o *CellularIoTMetadata) HasLastImsi() bool

HasLastImsi returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasLastUpdate added in v4.2.0

func (o *CellularIoTMetadata) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasMcc added in v4.2.0

func (o *CellularIoTMetadata) HasMcc() bool

HasMcc returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasMnc added in v4.2.0

func (o *CellularIoTMetadata) HasMnc() bool

HasMnc returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasNetwork added in v4.2.0

func (o *CellularIoTMetadata) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (CellularIoTMetadata) MarshalJSON added in v4.2.0

func (o CellularIoTMetadata) MarshalJSON() ([]byte, error)

func (*CellularIoTMetadata) SetAllocatedAt added in v4.2.0

func (o *CellularIoTMetadata) SetAllocatedAt(v string)

SetAllocatedAt gets a reference to the given string and assigns it to the AllocatedAt field.

func (*CellularIoTMetadata) SetAllocatedIp added in v4.2.0

func (o *CellularIoTMetadata) SetAllocatedIp(v string)

SetAllocatedIp gets a reference to the given string and assigns it to the AllocatedIp field.

func (*CellularIoTMetadata) SetCellId added in v4.2.0

func (o *CellularIoTMetadata) SetCellId(v string)

SetCellId gets a reference to the given string and assigns it to the CellId field.

func (*CellularIoTMetadata) SetCountry added in v4.2.0

func (o *CellularIoTMetadata) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*CellularIoTMetadata) SetCountryCode added in v4.2.0

func (o *CellularIoTMetadata) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*CellularIoTMetadata) SetGatewayId added in v4.2.0

func (o *CellularIoTMetadata) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*CellularIoTMetadata) SetLastImei added in v4.8.0

func (o *CellularIoTMetadata) SetLastImei(v string)

SetLastImei gets a reference to the given string and assigns it to the LastImei field.

func (*CellularIoTMetadata) SetLastImsi added in v4.8.0

func (o *CellularIoTMetadata) SetLastImsi(v string)

SetLastImsi gets a reference to the given string and assigns it to the LastImsi field.

func (*CellularIoTMetadata) SetLastUpdate added in v4.2.0

func (o *CellularIoTMetadata) SetLastUpdate(v string)

SetLastUpdate gets a reference to the given string and assigns it to the LastUpdate field.

func (*CellularIoTMetadata) SetMcc added in v4.2.0

func (o *CellularIoTMetadata) SetMcc(v int32)

SetMcc gets a reference to the given int32 and assigns it to the Mcc field.

func (*CellularIoTMetadata) SetMnc added in v4.2.0

func (o *CellularIoTMetadata) SetMnc(v int32)

SetMnc gets a reference to the given int32 and assigns it to the Mnc field.

func (*CellularIoTMetadata) SetNetwork added in v4.2.0

func (o *CellularIoTMetadata) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (CellularIoTMetadata) ToMap added in v4.5.0

func (o CellularIoTMetadata) ToMap() (map[string]interface{}, error)

type CertificateChainResponse added in v4.2.0

type CertificateChainResponse struct {
	Chain *string `json:"chain,omitempty"`
}

CertificateChainResponse Response when retrieving a certificate chain

func NewCertificateChainResponse added in v4.2.0

func NewCertificateChainResponse() *CertificateChainResponse

NewCertificateChainResponse instantiates a new CertificateChainResponse 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 NewCertificateChainResponseWithDefaults added in v4.2.0

func NewCertificateChainResponseWithDefaults() *CertificateChainResponse

NewCertificateChainResponseWithDefaults instantiates a new CertificateChainResponse 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 (*CertificateChainResponse) GetChain added in v4.2.0

func (o *CertificateChainResponse) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*CertificateChainResponse) GetChainOk added in v4.2.0

func (o *CertificateChainResponse) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CertificateChainResponse) HasChain added in v4.2.0

func (o *CertificateChainResponse) HasChain() bool

HasChain returns a boolean if a field has been set.

func (CertificateChainResponse) MarshalJSON added in v4.2.0

func (o CertificateChainResponse) MarshalJSON() ([]byte, error)

func (*CertificateChainResponse) SetChain added in v4.2.0

func (o *CertificateChainResponse) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (CertificateChainResponse) ToMap added in v4.5.0

func (o CertificateChainResponse) ToMap() (map[string]interface{}, error)

type CertificateInfo added in v4.2.0

type CertificateInfo struct {
	CertificateSerial *string `json:"certificateSerial,omitempty"`
	Expires           *string `json:"expires,omitempty"`
}

CertificateInfo Certificate information

func NewCertificateInfo added in v4.2.0

func NewCertificateInfo() *CertificateInfo

NewCertificateInfo instantiates a new CertificateInfo 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 NewCertificateInfoWithDefaults added in v4.2.0

func NewCertificateInfoWithDefaults() *CertificateInfo

NewCertificateInfoWithDefaults instantiates a new CertificateInfo 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 (*CertificateInfo) GetCertificateSerial added in v4.2.0

func (o *CertificateInfo) GetCertificateSerial() string

GetCertificateSerial returns the CertificateSerial field value if set, zero value otherwise.

func (*CertificateInfo) GetCertificateSerialOk added in v4.2.0

func (o *CertificateInfo) GetCertificateSerialOk() (*string, bool)

GetCertificateSerialOk returns a tuple with the CertificateSerial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CertificateInfo) GetExpires added in v4.2.0

func (o *CertificateInfo) GetExpires() string

GetExpires returns the Expires field value if set, zero value otherwise.

func (*CertificateInfo) GetExpiresOk added in v4.2.0

func (o *CertificateInfo) GetExpiresOk() (*string, bool)

GetExpiresOk returns a tuple with the Expires field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CertificateInfo) HasCertificateSerial added in v4.2.0

func (o *CertificateInfo) HasCertificateSerial() bool

HasCertificateSerial returns a boolean if a field has been set.

func (*CertificateInfo) HasExpires added in v4.2.0

func (o *CertificateInfo) HasExpires() bool

HasExpires returns a boolean if a field has been set.

func (CertificateInfo) MarshalJSON added in v4.2.0

func (o CertificateInfo) MarshalJSON() ([]byte, error)

func (*CertificateInfo) SetCertificateSerial added in v4.2.0

func (o *CertificateInfo) SetCertificateSerial(v string)

SetCertificateSerial gets a reference to the given string and assigns it to the CertificateSerial field.

func (*CertificateInfo) SetExpires added in v4.2.0

func (o *CertificateInfo) SetExpires(v string)

SetExpires gets a reference to the given string and assigns it to the Expires field.

func (CertificateInfo) ToMap added in v4.5.0

func (o CertificateInfo) ToMap() (map[string]interface{}, error)

type CertificatesApiService added in v4.2.0

type CertificatesApiService service

CertificatesApiService CertificatesApi service

func (*CertificatesApiService) CreateCertificate added in v4.2.0

func (a *CertificatesApiService) CreateCertificate(ctx context.Context, collectionId string) ApiCreateCertificateRequest

CreateCertificate Create certificate

Create a new device or gateway (client) certificate for an internet-connected device. The devices will use this client certificate to authenticate when sending data via the Internet endpoint. This will create a X509 client certificate with an ECC public key. The key is not stored by the service so keep it in a secure place once it is downloaded. The returned certificate will be valid for 14 days. The key for the certificate is your own responsibility. The client certificate is used in both the TLS, DTLS and gRPC service endpoints.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiCreateCertificateRequest

func (*CertificatesApiService) CreateCertificateExecute added in v4.2.0

Execute executes the request

@return CreateCertificateResponse

func (*CertificatesApiService) RetrieveCertificateChain added in v4.2.0

func (a *CertificatesApiService) RetrieveCertificateChain(ctx context.Context, collectionId string) ApiRetrieveCertificateChainRequest

RetrieveCertificateChain Get certificate chain

Get the certificate chain for the root CA and intermediate certificates used by the device, gateway and server certificates. It is highly recommended to verify the server certificate when sending data to avoid any man-in-the-middle attacks. This chain will contain all required certificates needed to verify the client certificate.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiRetrieveCertificateChainRequest

func (*CertificatesApiService) RetrieveCertificateChainExecute added in v4.2.0

Execute executes the request

@return CertificateChainResponse

func (*CertificatesApiService) SignCertificate added in v4.2.0

func (a *CertificatesApiService) SignCertificate(ctx context.Context, collectionId string) ApiSignCertificateRequest

SignCertificate Sign certificate

Sign a device or gateway (aka client) certificate. The certificate is a X509 Certificate signing request PEM encoded. The certificate will be valid for 14 days and must be renewed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiSignCertificateRequest

func (*CertificatesApiService) SignCertificateExecute added in v4.2.0

Execute executes the request

@return SignCertificateResponse

func (*CertificatesApiService) VerifyCertificate added in v4.2.0

func (a *CertificatesApiService) VerifyCertificate(ctx context.Context, collectionId string) ApiVerifyCertificateRequest

VerifyCertificate Verify certificate

Verify client certificate. If a client certificate fails it can be tricky to pinpoint exactly *why* the certificate isn't accepted. This resource validates the client certificate and returns the error in plain text.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiVerifyCertificateRequest

func (*CertificatesApiService) VerifyCertificateExecute added in v4.2.0

Execute executes the request

@return VerifyCertificateResponse

type ClearFirmwareErrorResponse

type ClearFirmwareErrorResponse struct {
	Result *string `json:"result,omitempty"`
}

ClearFirmwareErrorResponse Clear firmware error response object

func NewClearFirmwareErrorResponse

func NewClearFirmwareErrorResponse() *ClearFirmwareErrorResponse

NewClearFirmwareErrorResponse instantiates a new ClearFirmwareErrorResponse 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 NewClearFirmwareErrorResponseWithDefaults

func NewClearFirmwareErrorResponseWithDefaults() *ClearFirmwareErrorResponse

NewClearFirmwareErrorResponseWithDefaults instantiates a new ClearFirmwareErrorResponse 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 (*ClearFirmwareErrorResponse) GetResult

func (o *ClearFirmwareErrorResponse) GetResult() string

GetResult returns the Result field value if set, zero value otherwise.

func (*ClearFirmwareErrorResponse) GetResultOk

func (o *ClearFirmwareErrorResponse) GetResultOk() (*string, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClearFirmwareErrorResponse) HasResult

func (o *ClearFirmwareErrorResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (ClearFirmwareErrorResponse) MarshalJSON

func (o ClearFirmwareErrorResponse) MarshalJSON() ([]byte, error)

func (*ClearFirmwareErrorResponse) SetResult

func (o *ClearFirmwareErrorResponse) SetResult(v string)

SetResult gets a reference to the given string and assigns it to the Result field.

func (ClearFirmwareErrorResponse) ToMap added in v4.5.0

func (o ClearFirmwareErrorResponse) ToMap() (map[string]interface{}, error)

type CoAPMetadata

type CoAPMetadata struct {
	Code *string `json:"code,omitempty"`
	Path *string `json:"path,omitempty"`
}

CoAPMetadata CoAP metadata for messages received through one of the CoAP endpoints

func NewCoAPMetadata

func NewCoAPMetadata() *CoAPMetadata

NewCoAPMetadata instantiates a new CoAPMetadata 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 NewCoAPMetadataWithDefaults

func NewCoAPMetadataWithDefaults() *CoAPMetadata

NewCoAPMetadataWithDefaults instantiates a new CoAPMetadata 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 (*CoAPMetadata) GetCode

func (o *CoAPMetadata) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*CoAPMetadata) GetCodeOk

func (o *CoAPMetadata) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CoAPMetadata) GetPath

func (o *CoAPMetadata) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*CoAPMetadata) GetPathOk

func (o *CoAPMetadata) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CoAPMetadata) HasCode

func (o *CoAPMetadata) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*CoAPMetadata) HasPath

func (o *CoAPMetadata) HasPath() bool

HasPath returns a boolean if a field has been set.

func (CoAPMetadata) MarshalJSON

func (o CoAPMetadata) MarshalJSON() ([]byte, error)

func (*CoAPMetadata) SetCode

func (o *CoAPMetadata) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*CoAPMetadata) SetPath

func (o *CoAPMetadata) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (CoAPMetadata) ToMap added in v4.5.0

func (o CoAPMetadata) ToMap() (map[string]interface{}, error)

type Collection

type Collection struct {
	// The ID of the collection. This is assigned by the backend.
	CollectionId *string `json:"collectionId,omitempty"`
	// The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID.
	TeamId   *string             `json:"teamId,omitempty"`
	Firmware *CollectionFirmware `json:"firmware,omitempty"`
	// Tags for the collection. Tags are metadata fields that you can assign to the collection.
	Tags                 *map[string]string `json:"tags,omitempty"`
	UpstreamTimestamps   []string           `json:"upstreamTimestamps,omitempty"`
	DownstreamTimestamps []string           `json:"downstreamTimestamps,omitempty"`
}

Collection This is a collection

func NewCollection

func NewCollection() *Collection

NewCollection instantiates a new Collection 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 NewCollectionWithDefaults

func NewCollectionWithDefaults() *Collection

NewCollectionWithDefaults instantiates a new Collection 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 (*Collection) GetCollectionId

func (o *Collection) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Collection) GetCollectionIdOk

func (o *Collection) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Collection) GetDownstreamTimestamps added in v4.5.0

func (o *Collection) GetDownstreamTimestamps() []string

GetDownstreamTimestamps returns the DownstreamTimestamps field value if set, zero value otherwise.

func (*Collection) GetDownstreamTimestampsOk added in v4.5.0

func (o *Collection) GetDownstreamTimestampsOk() ([]string, bool)

GetDownstreamTimestampsOk returns a tuple with the DownstreamTimestamps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Collection) GetFirmware

func (o *Collection) GetFirmware() CollectionFirmware

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*Collection) GetFirmwareOk

func (o *Collection) GetFirmwareOk() (*CollectionFirmware, bool)

GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Collection) GetTags

func (o *Collection) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Collection) GetTagsOk

func (o *Collection) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Collection) GetTeamId

func (o *Collection) GetTeamId() string

GetTeamId returns the TeamId field value if set, zero value otherwise.

func (*Collection) GetTeamIdOk

func (o *Collection) GetTeamIdOk() (*string, bool)

GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Collection) GetUpstreamTimestamps added in v4.5.0

func (o *Collection) GetUpstreamTimestamps() []string

GetUpstreamTimestamps returns the UpstreamTimestamps field value if set, zero value otherwise.

func (*Collection) GetUpstreamTimestampsOk added in v4.5.0

func (o *Collection) GetUpstreamTimestampsOk() ([]string, bool)

GetUpstreamTimestampsOk returns a tuple with the UpstreamTimestamps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Collection) HasCollectionId

func (o *Collection) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Collection) HasDownstreamTimestamps added in v4.5.0

func (o *Collection) HasDownstreamTimestamps() bool

HasDownstreamTimestamps returns a boolean if a field has been set.

func (*Collection) HasFirmware

func (o *Collection) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*Collection) HasTags

func (o *Collection) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Collection) HasTeamId

func (o *Collection) HasTeamId() bool

HasTeamId returns a boolean if a field has been set.

func (*Collection) HasUpstreamTimestamps added in v4.5.0

func (o *Collection) HasUpstreamTimestamps() bool

HasUpstreamTimestamps returns a boolean if a field has been set.

func (Collection) MarshalJSON

func (o Collection) MarshalJSON() ([]byte, error)

func (*Collection) SetCollectionId

func (o *Collection) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Collection) SetDownstreamTimestamps added in v4.5.0

func (o *Collection) SetDownstreamTimestamps(v []string)

SetDownstreamTimestamps gets a reference to the given []string and assigns it to the DownstreamTimestamps field.

func (*Collection) SetFirmware

func (o *Collection) SetFirmware(v CollectionFirmware)

SetFirmware gets a reference to the given CollectionFirmware and assigns it to the Firmware field.

func (*Collection) SetTags

func (o *Collection) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*Collection) SetTeamId

func (o *Collection) SetTeamId(v string)

SetTeamId gets a reference to the given string and assigns it to the TeamId field.

func (*Collection) SetUpstreamTimestamps added in v4.5.0

func (o *Collection) SetUpstreamTimestamps(v []string)

SetUpstreamTimestamps gets a reference to the given []string and assigns it to the UpstreamTimestamps field.

func (Collection) ToMap added in v4.5.0

func (o Collection) ToMap() (map[string]interface{}, error)

type CollectionFirmware

type CollectionFirmware struct {
	// The current firmware is the firmware that the devices are currently using.
	CurrentFirmwareId *string `json:"currentFirmwareId,omitempty"`
	// The target firmware is set to the desired firmware image for the devices in this collection. If the management is set to \"device\" this will only be used if the target firmware isn't set on the device itself.
	TargetFirmwareId *string             `json:"targetFirmwareId,omitempty"`
	Management       *FirmwareManagement `json:"management,omitempty"`
}

CollectionFirmware This is the firmware configuration for a collection.

func NewCollectionFirmware

func NewCollectionFirmware() *CollectionFirmware

NewCollectionFirmware instantiates a new CollectionFirmware 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 NewCollectionFirmwareWithDefaults

func NewCollectionFirmwareWithDefaults() *CollectionFirmware

NewCollectionFirmwareWithDefaults instantiates a new CollectionFirmware 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 (*CollectionFirmware) GetCurrentFirmwareId

func (o *CollectionFirmware) GetCurrentFirmwareId() string

GetCurrentFirmwareId returns the CurrentFirmwareId field value if set, zero value otherwise.

func (*CollectionFirmware) GetCurrentFirmwareIdOk

func (o *CollectionFirmware) GetCurrentFirmwareIdOk() (*string, bool)

GetCurrentFirmwareIdOk returns a tuple with the CurrentFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionFirmware) GetManagement

func (o *CollectionFirmware) GetManagement() FirmwareManagement

GetManagement returns the Management field value if set, zero value otherwise.

func (*CollectionFirmware) GetManagementOk

func (o *CollectionFirmware) GetManagementOk() (*FirmwareManagement, bool)

GetManagementOk returns a tuple with the Management field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionFirmware) GetTargetFirmwareId

func (o *CollectionFirmware) GetTargetFirmwareId() string

GetTargetFirmwareId returns the TargetFirmwareId field value if set, zero value otherwise.

func (*CollectionFirmware) GetTargetFirmwareIdOk

func (o *CollectionFirmware) GetTargetFirmwareIdOk() (*string, bool)

GetTargetFirmwareIdOk returns a tuple with the TargetFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionFirmware) HasCurrentFirmwareId

func (o *CollectionFirmware) HasCurrentFirmwareId() bool

HasCurrentFirmwareId returns a boolean if a field has been set.

func (*CollectionFirmware) HasManagement

func (o *CollectionFirmware) HasManagement() bool

HasManagement returns a boolean if a field has been set.

func (*CollectionFirmware) HasTargetFirmwareId

func (o *CollectionFirmware) HasTargetFirmwareId() bool

HasTargetFirmwareId returns a boolean if a field has been set.

func (CollectionFirmware) MarshalJSON

func (o CollectionFirmware) MarshalJSON() ([]byte, error)

func (*CollectionFirmware) SetCurrentFirmwareId

func (o *CollectionFirmware) SetCurrentFirmwareId(v string)

SetCurrentFirmwareId gets a reference to the given string and assigns it to the CurrentFirmwareId field.

func (*CollectionFirmware) SetManagement

func (o *CollectionFirmware) SetManagement(v FirmwareManagement)

SetManagement gets a reference to the given FirmwareManagement and assigns it to the Management field.

func (*CollectionFirmware) SetTargetFirmwareId

func (o *CollectionFirmware) SetTargetFirmwareId(v string)

SetTargetFirmwareId gets a reference to the given string and assigns it to the TargetFirmwareId field.

func (CollectionFirmware) ToMap added in v4.5.0

func (o CollectionFirmware) ToMap() (map[string]interface{}, error)

type CollectionStats added in v4.6.0

type CollectionStats struct {
	DeviceCount   *int32         `json:"deviceCount,omitempty"`
	OutputCount   *int32         `json:"outputCount,omitempty"`
	FirmwareCount *int32         `json:"firmwareCount,omitempty"`
	BlobCount     *int32         `json:"blobCount,omitempty"`
	GatewayCount  *int32         `json:"gatewayCount,omitempty"`
	Devices       *DeviceStats   `json:"devices,omitempty"`
	Outputs       *OutputStats   `json:"outputs,omitempty"`
	Firmware      *FirmwareStats `json:"firmware,omitempty"`
	Blobs         *BlobStats     `json:"blobs,omitempty"`
	Gateways      *GatewayStats  `json:"gateways,omitempty"`
}

CollectionStats This is statistics for an collection.

func NewCollectionStats added in v4.6.0

func NewCollectionStats() *CollectionStats

NewCollectionStats instantiates a new CollectionStats 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 NewCollectionStatsWithDefaults added in v4.6.0

func NewCollectionStatsWithDefaults() *CollectionStats

NewCollectionStatsWithDefaults instantiates a new CollectionStats 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 (*CollectionStats) GetBlobCount added in v4.6.0

func (o *CollectionStats) GetBlobCount() int32

GetBlobCount returns the BlobCount field value if set, zero value otherwise.

func (*CollectionStats) GetBlobCountOk added in v4.6.0

func (o *CollectionStats) GetBlobCountOk() (*int32, bool)

GetBlobCountOk returns a tuple with the BlobCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetBlobs added in v4.6.0

func (o *CollectionStats) GetBlobs() BlobStats

GetBlobs returns the Blobs field value if set, zero value otherwise.

func (*CollectionStats) GetBlobsOk added in v4.6.0

func (o *CollectionStats) GetBlobsOk() (*BlobStats, bool)

GetBlobsOk returns a tuple with the Blobs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetDeviceCount added in v4.6.0

func (o *CollectionStats) GetDeviceCount() int32

GetDeviceCount returns the DeviceCount field value if set, zero value otherwise.

func (*CollectionStats) GetDeviceCountOk added in v4.6.0

func (o *CollectionStats) GetDeviceCountOk() (*int32, bool)

GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetDevices added in v4.6.0

func (o *CollectionStats) GetDevices() DeviceStats

GetDevices returns the Devices field value if set, zero value otherwise.

func (*CollectionStats) GetDevicesOk added in v4.6.0

func (o *CollectionStats) GetDevicesOk() (*DeviceStats, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetFirmware added in v4.6.0

func (o *CollectionStats) GetFirmware() FirmwareStats

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*CollectionStats) GetFirmwareCount added in v4.6.0

func (o *CollectionStats) GetFirmwareCount() int32

GetFirmwareCount returns the FirmwareCount field value if set, zero value otherwise.

func (*CollectionStats) GetFirmwareCountOk added in v4.6.0

func (o *CollectionStats) GetFirmwareCountOk() (*int32, bool)

GetFirmwareCountOk returns a tuple with the FirmwareCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetFirmwareOk added in v4.6.0

func (o *CollectionStats) GetFirmwareOk() (*FirmwareStats, bool)

GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetGatewayCount added in v4.6.0

func (o *CollectionStats) GetGatewayCount() int32

GetGatewayCount returns the GatewayCount field value if set, zero value otherwise.

func (*CollectionStats) GetGatewayCountOk added in v4.6.0

func (o *CollectionStats) GetGatewayCountOk() (*int32, bool)

GetGatewayCountOk returns a tuple with the GatewayCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetGateways added in v4.6.0

func (o *CollectionStats) GetGateways() GatewayStats

GetGateways returns the Gateways field value if set, zero value otherwise.

func (*CollectionStats) GetGatewaysOk added in v4.6.0

func (o *CollectionStats) GetGatewaysOk() (*GatewayStats, bool)

GetGatewaysOk returns a tuple with the Gateways field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetOutputCount added in v4.6.0

func (o *CollectionStats) GetOutputCount() int32

GetOutputCount returns the OutputCount field value if set, zero value otherwise.

func (*CollectionStats) GetOutputCountOk added in v4.6.0

func (o *CollectionStats) GetOutputCountOk() (*int32, bool)

GetOutputCountOk returns a tuple with the OutputCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) GetOutputs added in v4.6.0

func (o *CollectionStats) GetOutputs() OutputStats

GetOutputs returns the Outputs field value if set, zero value otherwise.

func (*CollectionStats) GetOutputsOk added in v4.6.0

func (o *CollectionStats) GetOutputsOk() (*OutputStats, bool)

GetOutputsOk returns a tuple with the Outputs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionStats) HasBlobCount added in v4.6.0

func (o *CollectionStats) HasBlobCount() bool

HasBlobCount returns a boolean if a field has been set.

func (*CollectionStats) HasBlobs added in v4.6.0

func (o *CollectionStats) HasBlobs() bool

HasBlobs returns a boolean if a field has been set.

func (*CollectionStats) HasDeviceCount added in v4.6.0

func (o *CollectionStats) HasDeviceCount() bool

HasDeviceCount returns a boolean if a field has been set.

func (*CollectionStats) HasDevices added in v4.6.0

func (o *CollectionStats) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*CollectionStats) HasFirmware added in v4.6.0

func (o *CollectionStats) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*CollectionStats) HasFirmwareCount added in v4.6.0

func (o *CollectionStats) HasFirmwareCount() bool

HasFirmwareCount returns a boolean if a field has been set.

func (*CollectionStats) HasGatewayCount added in v4.6.0

func (o *CollectionStats) HasGatewayCount() bool

HasGatewayCount returns a boolean if a field has been set.

func (*CollectionStats) HasGateways added in v4.6.0

func (o *CollectionStats) HasGateways() bool

HasGateways returns a boolean if a field has been set.

func (*CollectionStats) HasOutputCount added in v4.6.0

func (o *CollectionStats) HasOutputCount() bool

HasOutputCount returns a boolean if a field has been set.

func (*CollectionStats) HasOutputs added in v4.6.0

func (o *CollectionStats) HasOutputs() bool

HasOutputs returns a boolean if a field has been set.

func (CollectionStats) MarshalJSON added in v4.6.0

func (o CollectionStats) MarshalJSON() ([]byte, error)

func (*CollectionStats) SetBlobCount added in v4.6.0

func (o *CollectionStats) SetBlobCount(v int32)

SetBlobCount gets a reference to the given int32 and assigns it to the BlobCount field.

func (*CollectionStats) SetBlobs added in v4.6.0

func (o *CollectionStats) SetBlobs(v BlobStats)

SetBlobs gets a reference to the given BlobStats and assigns it to the Blobs field.

func (*CollectionStats) SetDeviceCount added in v4.6.0

func (o *CollectionStats) SetDeviceCount(v int32)

SetDeviceCount gets a reference to the given int32 and assigns it to the DeviceCount field.

func (*CollectionStats) SetDevices added in v4.6.0

func (o *CollectionStats) SetDevices(v DeviceStats)

SetDevices gets a reference to the given DeviceStats and assigns it to the Devices field.

func (*CollectionStats) SetFirmware added in v4.6.0

func (o *CollectionStats) SetFirmware(v FirmwareStats)

SetFirmware gets a reference to the given FirmwareStats and assigns it to the Firmware field.

func (*CollectionStats) SetFirmwareCount added in v4.6.0

func (o *CollectionStats) SetFirmwareCount(v int32)

SetFirmwareCount gets a reference to the given int32 and assigns it to the FirmwareCount field.

func (*CollectionStats) SetGatewayCount added in v4.6.0

func (o *CollectionStats) SetGatewayCount(v int32)

SetGatewayCount gets a reference to the given int32 and assigns it to the GatewayCount field.

func (*CollectionStats) SetGateways added in v4.6.0

func (o *CollectionStats) SetGateways(v GatewayStats)

SetGateways gets a reference to the given GatewayStats and assigns it to the Gateways field.

func (*CollectionStats) SetOutputCount added in v4.6.0

func (o *CollectionStats) SetOutputCount(v int32)

SetOutputCount gets a reference to the given int32 and assigns it to the OutputCount field.

func (*CollectionStats) SetOutputs added in v4.6.0

func (o *CollectionStats) SetOutputs(v OutputStats)

SetOutputs gets a reference to the given OutputStats and assigns it to the Outputs field.

func (CollectionStats) ToMap added in v4.6.0

func (o CollectionStats) ToMap() (map[string]interface{}, error)

type CollectionsApiService

type CollectionsApiService service

CollectionsApiService CollectionsApi service

func (*CollectionsApiService) CreateCollection added in v4.1.8

CreateCollection Create collection

Create a new collection

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCollectionRequest

func (*CollectionsApiService) CreateCollectionExecute added in v4.1.8

func (a *CollectionsApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (*Collection, *http.Response, error)

Execute executes the request

@return Collection

func (*CollectionsApiService) DeleteCollection added in v4.1.8

func (a *CollectionsApiService) DeleteCollection(ctx context.Context, collectionId string) ApiDeleteCollectionRequest

DeleteCollection Delete collection

Remove the collection. Devices, firmware images, outputs and all other related resources must be removed from the collection before it can be deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId The ID of the collection you want to delete
@return ApiDeleteCollectionRequest

func (*CollectionsApiService) DeleteCollectionExecute added in v4.1.8

func (a *CollectionsApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (*Collection, *http.Response, error)

Execute executes the request

@return Collection

func (*CollectionsApiService) ListCollectionData added in v4.1.8

func (a *CollectionsApiService) ListCollectionData(ctx context.Context, collectionId string) ApiListCollectionDataRequest

ListCollectionData Retrieve data from devices

Retrieve data sent by the devices in the collection. The maximum number of data points is 100.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId The collection ID requested. This is included in the request path.
@return ApiListCollectionDataRequest

func (*CollectionsApiService) ListCollectionDataExecute added in v4.1.8

Execute executes the request

@return ListDataResponse

func (*CollectionsApiService) ListCollections added in v4.1.8

ListCollections List collections

Lists all the collections that one of your teams owns. The collections returned includes only the data on the collection and not the summary information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListCollectionsRequest

func (*CollectionsApiService) ListCollectionsExecute added in v4.1.8

Execute executes the request

@return ListCollectionResponse

func (*CollectionsApiService) RetrieveCollection added in v4.1.8

func (a *CollectionsApiService) RetrieveCollection(ctx context.Context, collectionId string) ApiRetrieveCollectionRequest

RetrieveCollection Retrieve collection

Retrieve collection information. This includes a list of the most recent messages in the inbox. The upstream and downstream parameters are optional and if set to true will include the timestamps for up to 100 messages up- and downstream for the last hour.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId The collection ID of the collection you are requesting
@return ApiRetrieveCollectionRequest

func (*CollectionsApiService) RetrieveCollectionExecute added in v4.1.8

func (a *CollectionsApiService) RetrieveCollectionExecute(r ApiRetrieveCollectionRequest) (*Collection, *http.Response, error)

Execute executes the request

@return Collection

func (*CollectionsApiService) RetrieveCollectionStats added in v4.6.0

func (a *CollectionsApiService) RetrieveCollectionStats(ctx context.Context, collectionId string) ApiRetrieveCollectionStatsRequest

RetrieveCollectionStats Retrieve collection statistics

Retrieve statistics for the collection. This is the aggregated metrics for devices, outputs, firmware images, blobs and gateways in the collection

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId The collection ID of the collection you are requesting
@return ApiRetrieveCollectionStatsRequest

func (*CollectionsApiService) RetrieveCollectionStatsExecute added in v4.6.0

Execute executes the request

@return CollectionStats

func (*CollectionsApiService) UpdateCollection added in v4.1.8

func (a *CollectionsApiService) UpdateCollection(ctx context.Context, collectionId string) ApiUpdateCollectionRequest

UpdateCollection Update collection

Update a collection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId The ID of the collection. This is assigned by the backend.
@return ApiUpdateCollectionRequest

func (*CollectionsApiService) UpdateCollectionExecute added in v4.1.8

func (a *CollectionsApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (*Collection, *http.Response, error)

Execute executes the request

@return Collection

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateCertificateRequest added in v4.2.0

type CreateCertificateRequest struct {
	GatewayId *string `json:"gatewayId,omitempty"`
	DeviceId  *string `json:"deviceId,omitempty"`
}

CreateCertificateRequest Request object to create a new certificate.

func NewCreateCertificateRequest added in v4.2.0

func NewCreateCertificateRequest() *CreateCertificateRequest

NewCreateCertificateRequest instantiates a new CreateCertificateRequest 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 NewCreateCertificateRequestWithDefaults added in v4.2.0

func NewCreateCertificateRequestWithDefaults() *CreateCertificateRequest

NewCreateCertificateRequestWithDefaults instantiates a new CreateCertificateRequest 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 (*CreateCertificateRequest) GetDeviceId added in v4.2.0

func (o *CreateCertificateRequest) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*CreateCertificateRequest) GetDeviceIdOk added in v4.2.0

func (o *CreateCertificateRequest) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCertificateRequest) GetGatewayId added in v4.2.0

func (o *CreateCertificateRequest) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*CreateCertificateRequest) GetGatewayIdOk added in v4.2.0

func (o *CreateCertificateRequest) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCertificateRequest) HasDeviceId added in v4.2.0

func (o *CreateCertificateRequest) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*CreateCertificateRequest) HasGatewayId added in v4.2.0

func (o *CreateCertificateRequest) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (CreateCertificateRequest) MarshalJSON added in v4.2.0

func (o CreateCertificateRequest) MarshalJSON() ([]byte, error)

func (*CreateCertificateRequest) SetDeviceId added in v4.2.0

func (o *CreateCertificateRequest) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*CreateCertificateRequest) SetGatewayId added in v4.2.0

func (o *CreateCertificateRequest) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (CreateCertificateRequest) ToMap added in v4.5.0

func (o CreateCertificateRequest) ToMap() (map[string]interface{}, error)

type CreateCertificateResponse added in v4.2.0

type CreateCertificateResponse struct {
	Certificate *string `json:"certificate,omitempty"`
	PrivateKey  *string `json:"privateKey,omitempty"`
	Chain       *string `json:"chain,omitempty"`
}

CreateCertificateResponse Response when creating a new certificate

func NewCreateCertificateResponse added in v4.2.0

func NewCreateCertificateResponse() *CreateCertificateResponse

NewCreateCertificateResponse instantiates a new CreateCertificateResponse 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 NewCreateCertificateResponseWithDefaults added in v4.2.0

func NewCreateCertificateResponseWithDefaults() *CreateCertificateResponse

NewCreateCertificateResponseWithDefaults instantiates a new CreateCertificateResponse 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 (*CreateCertificateResponse) GetCertificate added in v4.2.0

func (o *CreateCertificateResponse) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*CreateCertificateResponse) GetCertificateOk added in v4.2.0

func (o *CreateCertificateResponse) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCertificateResponse) GetChain added in v4.2.0

func (o *CreateCertificateResponse) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*CreateCertificateResponse) GetChainOk added in v4.2.0

func (o *CreateCertificateResponse) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCertificateResponse) GetPrivateKey added in v4.2.0

func (o *CreateCertificateResponse) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.

func (*CreateCertificateResponse) GetPrivateKeyOk added in v4.2.0

func (o *CreateCertificateResponse) GetPrivateKeyOk() (*string, bool)

GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCertificateResponse) HasCertificate added in v4.2.0

func (o *CreateCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*CreateCertificateResponse) HasChain added in v4.2.0

func (o *CreateCertificateResponse) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*CreateCertificateResponse) HasPrivateKey added in v4.2.0

func (o *CreateCertificateResponse) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (CreateCertificateResponse) MarshalJSON added in v4.2.0

func (o CreateCertificateResponse) MarshalJSON() ([]byte, error)

func (*CreateCertificateResponse) SetCertificate added in v4.2.0

func (o *CreateCertificateResponse) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (*CreateCertificateResponse) SetChain added in v4.2.0

func (o *CreateCertificateResponse) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (*CreateCertificateResponse) SetPrivateKey added in v4.2.0

func (o *CreateCertificateResponse) SetPrivateKey(v string)

SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.

func (CreateCertificateResponse) ToMap added in v4.5.0

func (o CreateCertificateResponse) ToMap() (map[string]interface{}, error)

type CreateCollectionRequest added in v4.2.0

type CreateCollectionRequest struct {
	// The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID.
	TeamId   *string             `json:"teamId,omitempty"`
	Firmware *CollectionFirmware `json:"firmware,omitempty"`
	// Tags for the collection. Tags are metadata fields that you can assign to the collection.
	Tags *map[string]string `json:"tags,omitempty"`
}

CreateCollectionRequest Request object when creating a collection. The collect ID is assigned by the service.

func NewCreateCollectionRequest added in v4.2.0

func NewCreateCollectionRequest() *CreateCollectionRequest

NewCreateCollectionRequest instantiates a new CreateCollectionRequest 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 NewCreateCollectionRequestWithDefaults added in v4.2.0

func NewCreateCollectionRequestWithDefaults() *CreateCollectionRequest

NewCreateCollectionRequestWithDefaults instantiates a new CreateCollectionRequest 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 (*CreateCollectionRequest) GetFirmware added in v4.2.0

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*CreateCollectionRequest) GetFirmwareOk added in v4.2.0

func (o *CreateCollectionRequest) GetFirmwareOk() (*CollectionFirmware, bool)

GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetTags added in v4.2.0

func (o *CreateCollectionRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateCollectionRequest) GetTagsOk added in v4.2.0

func (o *CreateCollectionRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetTeamId added in v4.2.0

func (o *CreateCollectionRequest) GetTeamId() string

GetTeamId returns the TeamId field value if set, zero value otherwise.

func (*CreateCollectionRequest) GetTeamIdOk added in v4.2.0

func (o *CreateCollectionRequest) GetTeamIdOk() (*string, bool)

GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCollectionRequest) HasFirmware added in v4.2.0

func (o *CreateCollectionRequest) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*CreateCollectionRequest) HasTags added in v4.2.0

func (o *CreateCollectionRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateCollectionRequest) HasTeamId added in v4.2.0

func (o *CreateCollectionRequest) HasTeamId() bool

HasTeamId returns a boolean if a field has been set.

func (CreateCollectionRequest) MarshalJSON added in v4.2.0

func (o CreateCollectionRequest) MarshalJSON() ([]byte, error)

func (*CreateCollectionRequest) SetFirmware added in v4.2.0

func (o *CreateCollectionRequest) SetFirmware(v CollectionFirmware)

SetFirmware gets a reference to the given CollectionFirmware and assigns it to the Firmware field.

func (*CreateCollectionRequest) SetTags added in v4.2.0

func (o *CreateCollectionRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*CreateCollectionRequest) SetTeamId added in v4.2.0

func (o *CreateCollectionRequest) SetTeamId(v string)

SetTeamId gets a reference to the given string and assigns it to the TeamId field.

func (CreateCollectionRequest) ToMap added in v4.5.0

func (o CreateCollectionRequest) ToMap() (map[string]interface{}, error)

type CreateDeviceRequest added in v4.2.0

type CreateDeviceRequest struct {
	// Tags are metadata for the device that you can set. These are just strings.
	Tags     *map[string]string `json:"tags,omitempty"`
	Firmware *FirmwareMetadata  `json:"firmware,omitempty"`
	Config   *DeviceConfig      `json:"config,omitempty"`
	Metadata *DeviceMetadata    `json:"metadata,omitempty"`
}

CreateDeviceRequest Request object to create new devices

func NewCreateDeviceRequest added in v4.2.0

func NewCreateDeviceRequest() *CreateDeviceRequest

NewCreateDeviceRequest instantiates a new CreateDeviceRequest 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 NewCreateDeviceRequestWithDefaults added in v4.2.0

func NewCreateDeviceRequestWithDefaults() *CreateDeviceRequest

NewCreateDeviceRequestWithDefaults instantiates a new CreateDeviceRequest 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 (*CreateDeviceRequest) GetConfig added in v4.2.0

func (o *CreateDeviceRequest) GetConfig() DeviceConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*CreateDeviceRequest) GetConfigOk added in v4.2.0

func (o *CreateDeviceRequest) GetConfigOk() (*DeviceConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDeviceRequest) GetFirmware added in v4.2.0

func (o *CreateDeviceRequest) GetFirmware() FirmwareMetadata

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*CreateDeviceRequest) GetFirmwareOk added in v4.2.0

func (o *CreateDeviceRequest) GetFirmwareOk() (*FirmwareMetadata, bool)

GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDeviceRequest) GetMetadata added in v4.2.0

func (o *CreateDeviceRequest) GetMetadata() DeviceMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*CreateDeviceRequest) GetMetadataOk added in v4.2.0

func (o *CreateDeviceRequest) GetMetadataOk() (*DeviceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDeviceRequest) GetTags added in v4.2.0

func (o *CreateDeviceRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateDeviceRequest) GetTagsOk added in v4.2.0

func (o *CreateDeviceRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDeviceRequest) HasConfig added in v4.2.0

func (o *CreateDeviceRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateDeviceRequest) HasFirmware added in v4.2.0

func (o *CreateDeviceRequest) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*CreateDeviceRequest) HasMetadata added in v4.2.0

func (o *CreateDeviceRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CreateDeviceRequest) HasTags added in v4.2.0

func (o *CreateDeviceRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (CreateDeviceRequest) MarshalJSON added in v4.2.0

func (o CreateDeviceRequest) MarshalJSON() ([]byte, error)

func (*CreateDeviceRequest) SetConfig added in v4.2.0

func (o *CreateDeviceRequest) SetConfig(v DeviceConfig)

SetConfig gets a reference to the given DeviceConfig and assigns it to the Config field.

func (*CreateDeviceRequest) SetFirmware added in v4.2.0

func (o *CreateDeviceRequest) SetFirmware(v FirmwareMetadata)

SetFirmware gets a reference to the given FirmwareMetadata and assigns it to the Firmware field.

func (*CreateDeviceRequest) SetMetadata added in v4.2.0

func (o *CreateDeviceRequest) SetMetadata(v DeviceMetadata)

SetMetadata gets a reference to the given DeviceMetadata and assigns it to the Metadata field.

func (*CreateDeviceRequest) SetTags added in v4.2.0

func (o *CreateDeviceRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (CreateDeviceRequest) ToMap added in v4.5.0

func (o CreateDeviceRequest) ToMap() (map[string]interface{}, error)

type CreateFirmwareRequest

type CreateFirmwareRequest struct {
	Image    *string            `json:"image,omitempty"`
	Version  *string            `json:"version,omitempty"`
	Filename *string            `json:"filename,omitempty"`
	Tags     *map[string]string `json:"tags,omitempty"`
}

CreateFirmwareRequest Create a new firmware image

func NewCreateFirmwareRequest

func NewCreateFirmwareRequest() *CreateFirmwareRequest

NewCreateFirmwareRequest instantiates a new CreateFirmwareRequest 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 NewCreateFirmwareRequestWithDefaults

func NewCreateFirmwareRequestWithDefaults() *CreateFirmwareRequest

NewCreateFirmwareRequestWithDefaults instantiates a new CreateFirmwareRequest 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 (*CreateFirmwareRequest) GetFilename

func (o *CreateFirmwareRequest) GetFilename() string

GetFilename returns the Filename field value if set, zero value otherwise.

func (*CreateFirmwareRequest) GetFilenameOk

func (o *CreateFirmwareRequest) GetFilenameOk() (*string, bool)

GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFirmwareRequest) GetImage

func (o *CreateFirmwareRequest) GetImage() string

GetImage returns the Image field value if set, zero value otherwise.

func (*CreateFirmwareRequest) GetImageOk

func (o *CreateFirmwareRequest) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFirmwareRequest) GetTags

func (o *CreateFirmwareRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateFirmwareRequest) GetTagsOk

func (o *CreateFirmwareRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFirmwareRequest) GetVersion

func (o *CreateFirmwareRequest) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*CreateFirmwareRequest) GetVersionOk

func (o *CreateFirmwareRequest) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFirmwareRequest) HasFilename

func (o *CreateFirmwareRequest) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*CreateFirmwareRequest) HasImage

func (o *CreateFirmwareRequest) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*CreateFirmwareRequest) HasTags

func (o *CreateFirmwareRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateFirmwareRequest) HasVersion

func (o *CreateFirmwareRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CreateFirmwareRequest) MarshalJSON

func (o CreateFirmwareRequest) MarshalJSON() ([]byte, error)

func (*CreateFirmwareRequest) SetFilename

func (o *CreateFirmwareRequest) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (*CreateFirmwareRequest) SetImage

func (o *CreateFirmwareRequest) SetImage(v string)

SetImage gets a reference to the given string and assigns it to the Image field.

func (*CreateFirmwareRequest) SetTags

func (o *CreateFirmwareRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*CreateFirmwareRequest) SetVersion

func (o *CreateFirmwareRequest) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (CreateFirmwareRequest) ToMap added in v4.5.0

func (o CreateFirmwareRequest) ToMap() (map[string]interface{}, error)

type CreateGatewayRequest added in v4.5.0

type CreateGatewayRequest struct {
	Name   *string            `json:"name,omitempty"`
	Type   *GatewayType       `json:"type,omitempty"`
	Config *GatewayConfig     `json:"config,omitempty"`
	Tags   *map[string]string `json:"tags,omitempty"`
}

CreateGatewayRequest struct for CreateGatewayRequest

func NewCreateGatewayRequest added in v4.5.0

func NewCreateGatewayRequest() *CreateGatewayRequest

NewCreateGatewayRequest instantiates a new CreateGatewayRequest 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 NewCreateGatewayRequestWithDefaults added in v4.5.0

func NewCreateGatewayRequestWithDefaults() *CreateGatewayRequest

NewCreateGatewayRequestWithDefaults instantiates a new CreateGatewayRequest 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 (*CreateGatewayRequest) GetConfig added in v4.5.0

func (o *CreateGatewayRequest) GetConfig() GatewayConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*CreateGatewayRequest) GetConfigOk added in v4.5.0

func (o *CreateGatewayRequest) GetConfigOk() (*GatewayConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayRequest) GetName added in v4.5.0

func (o *CreateGatewayRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateGatewayRequest) GetNameOk added in v4.5.0

func (o *CreateGatewayRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayRequest) GetTags added in v4.5.0

func (o *CreateGatewayRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateGatewayRequest) GetTagsOk added in v4.5.0

func (o *CreateGatewayRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayRequest) GetType added in v4.5.0

func (o *CreateGatewayRequest) GetType() GatewayType

GetType returns the Type field value if set, zero value otherwise.

func (*CreateGatewayRequest) GetTypeOk added in v4.5.0

func (o *CreateGatewayRequest) GetTypeOk() (*GatewayType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayRequest) HasConfig added in v4.5.0

func (o *CreateGatewayRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateGatewayRequest) HasName added in v4.5.0

func (o *CreateGatewayRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateGatewayRequest) HasTags added in v4.5.0

func (o *CreateGatewayRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateGatewayRequest) HasType added in v4.5.0

func (o *CreateGatewayRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (CreateGatewayRequest) MarshalJSON added in v4.5.0

func (o CreateGatewayRequest) MarshalJSON() ([]byte, error)

func (*CreateGatewayRequest) SetConfig added in v4.5.0

func (o *CreateGatewayRequest) SetConfig(v GatewayConfig)

SetConfig gets a reference to the given GatewayConfig and assigns it to the Config field.

func (*CreateGatewayRequest) SetName added in v4.5.0

func (o *CreateGatewayRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateGatewayRequest) SetTags added in v4.5.0

func (o *CreateGatewayRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*CreateGatewayRequest) SetType added in v4.5.0

func (o *CreateGatewayRequest) SetType(v GatewayType)

SetType gets a reference to the given GatewayType and assigns it to the Type field.

func (CreateGatewayRequest) ToMap added in v4.5.0

func (o CreateGatewayRequest) ToMap() (map[string]interface{}, error)

type CreateOutputRequest added in v4.2.0

type CreateOutputRequest struct {
	Type    *OutputType        `json:"type,omitempty"`
	Config  *OutputConfig      `json:"config,omitempty"`
	Enabled *bool              `json:"enabled,omitempty"`
	Tags    *map[string]string `json:"tags,omitempty"`
}

CreateOutputRequest Request type when creating new outputs

func NewCreateOutputRequest added in v4.2.0

func NewCreateOutputRequest() *CreateOutputRequest

NewCreateOutputRequest instantiates a new CreateOutputRequest 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 NewCreateOutputRequestWithDefaults added in v4.2.0

func NewCreateOutputRequestWithDefaults() *CreateOutputRequest

NewCreateOutputRequestWithDefaults instantiates a new CreateOutputRequest 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 (*CreateOutputRequest) GetConfig added in v4.2.0

func (o *CreateOutputRequest) GetConfig() OutputConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*CreateOutputRequest) GetConfigOk added in v4.2.0

func (o *CreateOutputRequest) GetConfigOk() (*OutputConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateOutputRequest) GetEnabled added in v4.2.0

func (o *CreateOutputRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CreateOutputRequest) GetEnabledOk added in v4.2.0

func (o *CreateOutputRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateOutputRequest) GetTags added in v4.2.0

func (o *CreateOutputRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateOutputRequest) GetTagsOk added in v4.2.0

func (o *CreateOutputRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateOutputRequest) GetType added in v4.2.0

func (o *CreateOutputRequest) GetType() OutputType

GetType returns the Type field value if set, zero value otherwise.

func (*CreateOutputRequest) GetTypeOk added in v4.2.0

func (o *CreateOutputRequest) GetTypeOk() (*OutputType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateOutputRequest) HasConfig added in v4.2.0

func (o *CreateOutputRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateOutputRequest) HasEnabled added in v4.2.0

func (o *CreateOutputRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateOutputRequest) HasTags added in v4.2.0

func (o *CreateOutputRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateOutputRequest) HasType added in v4.2.0

func (o *CreateOutputRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (CreateOutputRequest) MarshalJSON added in v4.2.0

func (o CreateOutputRequest) MarshalJSON() ([]byte, error)

func (*CreateOutputRequest) SetConfig added in v4.2.0

func (o *CreateOutputRequest) SetConfig(v OutputConfig)

SetConfig gets a reference to the given OutputConfig and assigns it to the Config field.

func (*CreateOutputRequest) SetEnabled added in v4.2.0

func (o *CreateOutputRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CreateOutputRequest) SetTags added in v4.2.0

func (o *CreateOutputRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*CreateOutputRequest) SetType added in v4.2.0

func (o *CreateOutputRequest) SetType(v OutputType)

SetType gets a reference to the given OutputType and assigns it to the Type field.

func (CreateOutputRequest) ToMap added in v4.5.0

func (o CreateOutputRequest) ToMap() (map[string]interface{}, error)

type DeleteDownstreamMessageResponse added in v4.2.0

type DeleteDownstreamMessageResponse struct {
	MessageId *string `json:"messageId,omitempty"`
}

DeleteDownstreamMessageResponse Response object when deleting a downstream message

func NewDeleteDownstreamMessageResponse added in v4.2.0

func NewDeleteDownstreamMessageResponse() *DeleteDownstreamMessageResponse

NewDeleteDownstreamMessageResponse instantiates a new DeleteDownstreamMessageResponse 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 NewDeleteDownstreamMessageResponseWithDefaults added in v4.2.0

func NewDeleteDownstreamMessageResponseWithDefaults() *DeleteDownstreamMessageResponse

NewDeleteDownstreamMessageResponseWithDefaults instantiates a new DeleteDownstreamMessageResponse 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 (*DeleteDownstreamMessageResponse) GetMessageId added in v4.2.0

func (o *DeleteDownstreamMessageResponse) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*DeleteDownstreamMessageResponse) GetMessageIdOk added in v4.2.0

func (o *DeleteDownstreamMessageResponse) GetMessageIdOk() (*string, bool)

GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteDownstreamMessageResponse) HasMessageId added in v4.2.0

func (o *DeleteDownstreamMessageResponse) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (DeleteDownstreamMessageResponse) MarshalJSON added in v4.2.0

func (o DeleteDownstreamMessageResponse) MarshalJSON() ([]byte, error)

func (*DeleteDownstreamMessageResponse) SetMessageId added in v4.2.0

func (o *DeleteDownstreamMessageResponse) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (DeleteDownstreamMessageResponse) ToMap added in v4.5.0

func (o DeleteDownstreamMessageResponse) ToMap() (map[string]interface{}, error)

type Device

type Device struct {
	// The device ID is assigned by the backend.
	DeviceId     *string `json:"deviceId,omitempty"`
	CollectionId *string `json:"collectionId,omitempty"`
	// Tags are metadata for the device that you can set. These are just strings.
	Tags          *map[string]string `json:"tags,omitempty"`
	Firmware      *FirmwareMetadata  `json:"firmware,omitempty"`
	Config        *DeviceConfig      `json:"config,omitempty"`
	Metadata      *DeviceMetadata    `json:"metadata,omitempty"`
	LastGatewayId *string            `json:"lastGatewayId,omitempty"`
	LastTransport *MessageTransport  `json:"lastTransport,omitempty"`
	LastReceived  *string            `json:"lastReceived,omitempty"`
	LastPayload   *string            `json:"lastPayload,omitempty"`
}

Device This a device

func NewDevice

func NewDevice() *Device

NewDevice instantiates a new Device 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 NewDeviceWithDefaults

func NewDeviceWithDefaults() *Device

NewDeviceWithDefaults instantiates a new Device 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 (*Device) GetCollectionId

func (o *Device) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Device) GetCollectionIdOk

func (o *Device) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetConfig added in v4.2.0

func (o *Device) GetConfig() DeviceConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*Device) GetConfigOk added in v4.2.0

func (o *Device) GetConfigOk() (*DeviceConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetDeviceId

func (o *Device) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*Device) GetDeviceIdOk

func (o *Device) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetFirmware

func (o *Device) GetFirmware() FirmwareMetadata

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*Device) GetFirmwareOk

func (o *Device) GetFirmwareOk() (*FirmwareMetadata, bool)

GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetLastGatewayId added in v4.4.2

func (o *Device) GetLastGatewayId() string

GetLastGatewayId returns the LastGatewayId field value if set, zero value otherwise.

func (*Device) GetLastGatewayIdOk added in v4.4.2

func (o *Device) GetLastGatewayIdOk() (*string, bool)

GetLastGatewayIdOk returns a tuple with the LastGatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetLastPayload added in v4.4.2

func (o *Device) GetLastPayload() string

GetLastPayload returns the LastPayload field value if set, zero value otherwise.

func (*Device) GetLastPayloadOk added in v4.4.2

func (o *Device) GetLastPayloadOk() (*string, bool)

GetLastPayloadOk returns a tuple with the LastPayload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetLastReceived added in v4.4.2

func (o *Device) GetLastReceived() string

GetLastReceived returns the LastReceived field value if set, zero value otherwise.

func (*Device) GetLastReceivedOk added in v4.4.2

func (o *Device) GetLastReceivedOk() (*string, bool)

GetLastReceivedOk returns a tuple with the LastReceived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetLastTransport added in v4.4.2

func (o *Device) GetLastTransport() MessageTransport

GetLastTransport returns the LastTransport field value if set, zero value otherwise.

func (*Device) GetLastTransportOk added in v4.4.2

func (o *Device) GetLastTransportOk() (*MessageTransport, bool)

GetLastTransportOk returns a tuple with the LastTransport field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetMetadata added in v4.1.15

func (o *Device) GetMetadata() DeviceMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Device) GetMetadataOk added in v4.1.15

func (o *Device) GetMetadataOk() (*DeviceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetTags

func (o *Device) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Device) GetTagsOk

func (o *Device) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) HasCollectionId

func (o *Device) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Device) HasConfig added in v4.2.0

func (o *Device) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Device) HasDeviceId

func (o *Device) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*Device) HasFirmware

func (o *Device) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*Device) HasLastGatewayId added in v4.4.2

func (o *Device) HasLastGatewayId() bool

HasLastGatewayId returns a boolean if a field has been set.

func (*Device) HasLastPayload added in v4.4.2

func (o *Device) HasLastPayload() bool

HasLastPayload returns a boolean if a field has been set.

func (*Device) HasLastReceived added in v4.4.2

func (o *Device) HasLastReceived() bool

HasLastReceived returns a boolean if a field has been set.

func (*Device) HasLastTransport added in v4.4.2

func (o *Device) HasLastTransport() bool

HasLastTransport returns a boolean if a field has been set.

func (*Device) HasMetadata added in v4.1.15

func (o *Device) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Device) HasTags

func (o *Device) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Device) MarshalJSON

func (o Device) MarshalJSON() ([]byte, error)

func (*Device) SetCollectionId

func (o *Device) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Device) SetConfig added in v4.2.0

func (o *Device) SetConfig(v DeviceConfig)

SetConfig gets a reference to the given DeviceConfig and assigns it to the Config field.

func (*Device) SetDeviceId

func (o *Device) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*Device) SetFirmware

func (o *Device) SetFirmware(v FirmwareMetadata)

SetFirmware gets a reference to the given FirmwareMetadata and assigns it to the Firmware field.

func (*Device) SetLastGatewayId added in v4.4.2

func (o *Device) SetLastGatewayId(v string)

SetLastGatewayId gets a reference to the given string and assigns it to the LastGatewayId field.

func (*Device) SetLastPayload added in v4.4.2

func (o *Device) SetLastPayload(v string)

SetLastPayload gets a reference to the given string and assigns it to the LastPayload field.

func (*Device) SetLastReceived added in v4.4.2

func (o *Device) SetLastReceived(v string)

SetLastReceived gets a reference to the given string and assigns it to the LastReceived field.

func (*Device) SetLastTransport added in v4.4.2

func (o *Device) SetLastTransport(v MessageTransport)

SetLastTransport gets a reference to the given MessageTransport and assigns it to the LastTransport field.

func (*Device) SetMetadata added in v4.1.15

func (o *Device) SetMetadata(v DeviceMetadata)

SetMetadata gets a reference to the given DeviceMetadata and assigns it to the Metadata field.

func (*Device) SetTags

func (o *Device) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (Device) ToMap added in v4.5.0

func (o Device) ToMap() (map[string]interface{}, error)

type DeviceCertificateResponse added in v4.2.0

type DeviceCertificateResponse struct {
	Certificates []CertificateInfo `json:"certificates,omitempty"`
}

DeviceCertificateResponse Response object for certificate info resource

func NewDeviceCertificateResponse added in v4.2.0

func NewDeviceCertificateResponse() *DeviceCertificateResponse

NewDeviceCertificateResponse instantiates a new DeviceCertificateResponse 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 NewDeviceCertificateResponseWithDefaults added in v4.2.0

func NewDeviceCertificateResponseWithDefaults() *DeviceCertificateResponse

NewDeviceCertificateResponseWithDefaults instantiates a new DeviceCertificateResponse 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 (*DeviceCertificateResponse) GetCertificates added in v4.2.0

func (o *DeviceCertificateResponse) GetCertificates() []CertificateInfo

GetCertificates returns the Certificates field value if set, zero value otherwise.

func (*DeviceCertificateResponse) GetCertificatesOk added in v4.2.0

func (o *DeviceCertificateResponse) GetCertificatesOk() ([]CertificateInfo, bool)

GetCertificatesOk returns a tuple with the Certificates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCertificateResponse) HasCertificates added in v4.2.0

func (o *DeviceCertificateResponse) HasCertificates() bool

HasCertificates returns a boolean if a field has been set.

func (DeviceCertificateResponse) MarshalJSON added in v4.2.0

func (o DeviceCertificateResponse) MarshalJSON() ([]byte, error)

func (*DeviceCertificateResponse) SetCertificates added in v4.2.0

func (o *DeviceCertificateResponse) SetCertificates(v []CertificateInfo)

SetCertificates gets a reference to the given []CertificateInfo and assigns it to the Certificates field.

func (DeviceCertificateResponse) ToMap added in v4.5.0

func (o DeviceCertificateResponse) ToMap() (map[string]interface{}, error)

type DeviceConfig added in v4.2.0

type DeviceConfig struct {
	Ciot *CellularIoTConfig `json:"ciot,omitempty"`
	// This is the configuration for an internet-connected device. There are currently no configuration options for internet devices; the device is identified via the clientcertificate.  This is empty since there's no configuration required for the internet  gateway
	Inet    map[string]interface{}          `json:"inet,omitempty"`
	Gateway *map[string]GatewayDeviceConfig `json:"gateway,omitempty"`
}

DeviceConfig This is the configuration for the device via the various gateways.

func NewDeviceConfig added in v4.2.0

func NewDeviceConfig() *DeviceConfig

NewDeviceConfig instantiates a new DeviceConfig 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 NewDeviceConfigWithDefaults added in v4.2.0

func NewDeviceConfigWithDefaults() *DeviceConfig

NewDeviceConfigWithDefaults instantiates a new DeviceConfig 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 (*DeviceConfig) GetCiot added in v4.2.0

func (o *DeviceConfig) GetCiot() CellularIoTConfig

GetCiot returns the Ciot field value if set, zero value otherwise.

func (*DeviceConfig) GetCiotOk added in v4.2.0

func (o *DeviceConfig) GetCiotOk() (*CellularIoTConfig, bool)

GetCiotOk returns a tuple with the Ciot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceConfig) GetGateway added in v4.4.0

func (o *DeviceConfig) GetGateway() map[string]GatewayDeviceConfig

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*DeviceConfig) GetGatewayOk added in v4.4.0

func (o *DeviceConfig) GetGatewayOk() (*map[string]GatewayDeviceConfig, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceConfig) GetInet added in v4.4.0

func (o *DeviceConfig) GetInet() map[string]interface{}

GetInet returns the Inet field value if set, zero value otherwise.

func (*DeviceConfig) GetInetOk added in v4.4.0

func (o *DeviceConfig) GetInetOk() (map[string]interface{}, bool)

GetInetOk returns a tuple with the Inet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceConfig) HasCiot added in v4.2.0

func (o *DeviceConfig) HasCiot() bool

HasCiot returns a boolean if a field has been set.

func (*DeviceConfig) HasGateway added in v4.4.0

func (o *DeviceConfig) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*DeviceConfig) HasInet added in v4.4.0

func (o *DeviceConfig) HasInet() bool

HasInet returns a boolean if a field has been set.

func (DeviceConfig) MarshalJSON added in v4.2.0

func (o DeviceConfig) MarshalJSON() ([]byte, error)

func (*DeviceConfig) SetCiot added in v4.2.0

func (o *DeviceConfig) SetCiot(v CellularIoTConfig)

SetCiot gets a reference to the given CellularIoTConfig and assigns it to the Ciot field.

func (*DeviceConfig) SetGateway added in v4.4.0

func (o *DeviceConfig) SetGateway(v map[string]GatewayDeviceConfig)

SetGateway gets a reference to the given map[string]GatewayDeviceConfig and assigns it to the Gateway field.

func (*DeviceConfig) SetInet added in v4.4.0

func (o *DeviceConfig) SetInet(v map[string]interface{})

SetInet gets a reference to the given map[string]interface{} and assigns it to the Inet field.

func (DeviceConfig) ToMap added in v4.5.0

func (o DeviceConfig) ToMap() (map[string]interface{}, error)

type DeviceMetadata added in v4.1.15

type DeviceMetadata struct {
	Ciot    *CellularIoTMetadata   `json:"ciot,omitempty"`
	Inet    *InetMetadata          `json:"inet,omitempty"`
	Gateway *GatewayDeviceMetadata `json:"gateway,omitempty"`
}

DeviceMetadata This is the metadata for devices.

func NewDeviceMetadata added in v4.1.15

func NewDeviceMetadata() *DeviceMetadata

NewDeviceMetadata instantiates a new DeviceMetadata 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 NewDeviceMetadataWithDefaults added in v4.1.15

func NewDeviceMetadataWithDefaults() *DeviceMetadata

NewDeviceMetadataWithDefaults instantiates a new DeviceMetadata 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 (*DeviceMetadata) GetCiot added in v4.2.0

func (o *DeviceMetadata) GetCiot() CellularIoTMetadata

GetCiot returns the Ciot field value if set, zero value otherwise.

func (*DeviceMetadata) GetCiotOk added in v4.2.0

func (o *DeviceMetadata) GetCiotOk() (*CellularIoTMetadata, bool)

GetCiotOk returns a tuple with the Ciot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceMetadata) GetGateway added in v4.4.0

func (o *DeviceMetadata) GetGateway() GatewayDeviceMetadata

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*DeviceMetadata) GetGatewayOk added in v4.4.0

func (o *DeviceMetadata) GetGatewayOk() (*GatewayDeviceMetadata, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceMetadata) GetInet added in v4.2.0

func (o *DeviceMetadata) GetInet() InetMetadata

GetInet returns the Inet field value if set, zero value otherwise.

func (*DeviceMetadata) GetInetOk added in v4.2.0

func (o *DeviceMetadata) GetInetOk() (*InetMetadata, bool)

GetInetOk returns a tuple with the Inet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceMetadata) HasCiot added in v4.2.0

func (o *DeviceMetadata) HasCiot() bool

HasCiot returns a boolean if a field has been set.

func (*DeviceMetadata) HasGateway added in v4.4.0

func (o *DeviceMetadata) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*DeviceMetadata) HasInet added in v4.2.0

func (o *DeviceMetadata) HasInet() bool

HasInet returns a boolean if a field has been set.

func (DeviceMetadata) MarshalJSON added in v4.1.15

func (o DeviceMetadata) MarshalJSON() ([]byte, error)

func (*DeviceMetadata) SetCiot added in v4.2.0

func (o *DeviceMetadata) SetCiot(v CellularIoTMetadata)

SetCiot gets a reference to the given CellularIoTMetadata and assigns it to the Ciot field.

func (*DeviceMetadata) SetGateway added in v4.4.0

func (o *DeviceMetadata) SetGateway(v GatewayDeviceMetadata)

SetGateway gets a reference to the given GatewayDeviceMetadata and assigns it to the Gateway field.

func (*DeviceMetadata) SetInet added in v4.2.0

func (o *DeviceMetadata) SetInet(v InetMetadata)

SetInet gets a reference to the given InetMetadata and assigns it to the Inet field.

func (DeviceMetadata) ToMap added in v4.5.0

func (o DeviceMetadata) ToMap() (map[string]interface{}, error)

type DeviceStats added in v4.6.0

type DeviceStats struct {
	BytesUpstream      *string `json:"bytesUpstream,omitempty"`
	BytesDownstream    *string `json:"bytesDownstream,omitempty"`
	MessagesUpstream   *string `json:"messagesUpstream,omitempty"`
	MessagesDownstream *string `json:"messagesDownstream,omitempty"`
	SessionCount       *int32  `json:"sessionCount,omitempty"`
}

DeviceStats This is the statistics for a single device

func NewDeviceStats added in v4.6.0

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 added in v4.6.0

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 (*DeviceStats) GetBytesDownstream added in v4.9.5

func (o *DeviceStats) GetBytesDownstream() string

GetBytesDownstream returns the BytesDownstream field value if set, zero value otherwise.

func (*DeviceStats) GetBytesDownstreamOk added in v4.9.5

func (o *DeviceStats) GetBytesDownstreamOk() (*string, bool)

GetBytesDownstreamOk returns a tuple with the BytesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceStats) GetBytesUpstream added in v4.9.5

func (o *DeviceStats) GetBytesUpstream() string

GetBytesUpstream returns the BytesUpstream field value if set, zero value otherwise.

func (*DeviceStats) GetBytesUpstreamOk added in v4.9.5

func (o *DeviceStats) GetBytesUpstreamOk() (*string, bool)

GetBytesUpstreamOk returns a tuple with the BytesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceStats) GetMessagesDownstream added in v4.6.0

func (o *DeviceStats) GetMessagesDownstream() string

GetMessagesDownstream returns the MessagesDownstream field value if set, zero value otherwise.

func (*DeviceStats) GetMessagesDownstreamOk added in v4.6.0

func (o *DeviceStats) GetMessagesDownstreamOk() (*string, bool)

GetMessagesDownstreamOk returns a tuple with the MessagesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceStats) GetMessagesUpstream added in v4.6.0

func (o *DeviceStats) GetMessagesUpstream() string

GetMessagesUpstream returns the MessagesUpstream field value if set, zero value otherwise.

func (*DeviceStats) GetMessagesUpstreamOk added in v4.6.0

func (o *DeviceStats) GetMessagesUpstreamOk() (*string, bool)

GetMessagesUpstreamOk returns a tuple with the MessagesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceStats) GetSessionCount added in v4.6.0

func (o *DeviceStats) GetSessionCount() int32

GetSessionCount returns the SessionCount field value if set, zero value otherwise.

func (*DeviceStats) GetSessionCountOk added in v4.6.0

func (o *DeviceStats) GetSessionCountOk() (*int32, bool)

GetSessionCountOk returns a tuple with the SessionCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceStats) HasBytesDownstream added in v4.9.5

func (o *DeviceStats) HasBytesDownstream() bool

HasBytesDownstream returns a boolean if a field has been set.

func (*DeviceStats) HasBytesUpstream added in v4.9.5

func (o *DeviceStats) HasBytesUpstream() bool

HasBytesUpstream returns a boolean if a field has been set.

func (*DeviceStats) HasMessagesDownstream added in v4.6.0

func (o *DeviceStats) HasMessagesDownstream() bool

HasMessagesDownstream returns a boolean if a field has been set.

func (*DeviceStats) HasMessagesUpstream added in v4.6.0

func (o *DeviceStats) HasMessagesUpstream() bool

HasMessagesUpstream returns a boolean if a field has been set.

func (*DeviceStats) HasSessionCount added in v4.6.0

func (o *DeviceStats) HasSessionCount() bool

HasSessionCount returns a boolean if a field has been set.

func (DeviceStats) MarshalJSON added in v4.6.0

func (o DeviceStats) MarshalJSON() ([]byte, error)

func (*DeviceStats) SetBytesDownstream added in v4.9.5

func (o *DeviceStats) SetBytesDownstream(v string)

SetBytesDownstream gets a reference to the given string and assigns it to the BytesDownstream field.

func (*DeviceStats) SetBytesUpstream added in v4.9.5

func (o *DeviceStats) SetBytesUpstream(v string)

SetBytesUpstream gets a reference to the given string and assigns it to the BytesUpstream field.

func (*DeviceStats) SetMessagesDownstream added in v4.6.0

func (o *DeviceStats) SetMessagesDownstream(v string)

SetMessagesDownstream gets a reference to the given string and assigns it to the MessagesDownstream field.

func (*DeviceStats) SetMessagesUpstream added in v4.6.0

func (o *DeviceStats) SetMessagesUpstream(v string)

SetMessagesUpstream gets a reference to the given string and assigns it to the MessagesUpstream field.

func (*DeviceStats) SetSessionCount added in v4.6.0

func (o *DeviceStats) SetSessionCount(v int32)

SetSessionCount gets a reference to the given int32 and assigns it to the SessionCount field.

func (DeviceStats) ToMap added in v4.6.0

func (o DeviceStats) ToMap() (map[string]interface{}, error)

type DevicesApiService

type DevicesApiService service

DevicesApiService DevicesApi service

func (*DevicesApiService) AddDownstreamMessage added in v4.2.0

func (a *DevicesApiService) AddDownstreamMessage(ctx context.Context, collectionId string, deviceId string) ApiAddDownstreamMessageRequest

AddDownstreamMessage Add message to oubox

Add a new message in the outgoing queue to the device. If there is other messages in the outbox these messages will be sent first.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param deviceId
@return ApiAddDownstreamMessageRequest

func (*DevicesApiService) AddDownstreamMessageExecute added in v4.2.0

func (a *DevicesApiService) AddDownstreamMessageExecute(r ApiAddDownstreamMessageRequest) (*MessageDownstream, *http.Response, error)

Execute executes the request

@return MessageDownstream

func (*DevicesApiService) CreateDevice added in v4.1.8

func (a *DevicesApiService) CreateDevice(ctx context.Context, collectionId string) ApiCreateDeviceRequest

CreateDevice Create device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId This is the containing collection
@return ApiCreateDeviceRequest

func (*DevicesApiService) CreateDeviceExecute added in v4.1.8

func (a *DevicesApiService) CreateDeviceExecute(r ApiCreateDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DevicesApiService) DeleteDevice added in v4.1.8

func (a *DevicesApiService) DeleteDevice(ctx context.Context, collectionId string, deviceId string) ApiDeleteDeviceRequest

DeleteDevice Remove device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId This is the containing collection
@param deviceId The device ID is assigned by the backend.
@return ApiDeleteDeviceRequest

func (*DevicesApiService) DeleteDeviceExecute added in v4.1.8

func (a *DevicesApiService) DeleteDeviceExecute(r ApiDeleteDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DevicesApiService) DeleteDownstreamMessage added in v4.2.0

func (a *DevicesApiService) DeleteDownstreamMessage(ctx context.Context, collectionId string, deviceId string, messageId string) ApiDeleteDownstreamMessageRequest

DeleteDownstreamMessage Delete outgoing message

Delete an outgoing (ie downstream) message from the outbox.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param deviceId
@param messageId
@return ApiDeleteDownstreamMessageRequest

func (*DevicesApiService) DeleteDownstreamMessageExecute added in v4.2.0

Execute executes the request

@return DeleteDownstreamMessageResponse

func (*DevicesApiService) DeviceCertificate added in v4.2.0

func (a *DevicesApiService) DeviceCertificate(ctx context.Context, collectionId string, deviceId string) ApiDeviceCertificateRequest

DeviceCertificate Get issued certificate(s) for device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param deviceId
@return ApiDeviceCertificateRequest

func (*DevicesApiService) DeviceCertificateExecute added in v4.2.0

Execute executes the request

@return DeviceCertificateResponse

func (*DevicesApiService) ListDeviceData added in v4.1.8

func (a *DevicesApiService) ListDeviceData(ctx context.Context, collectionId string, deviceId string) ApiListDeviceDataRequest

ListDeviceData Retrieve data from device

List the data received from the device. Use the query parameters to control what data you retrieve. The maximum number of data points is 100.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId The collection ID. This is included in the request path.
@param deviceId The device ID. This is included in the request path.
@return ApiListDeviceDataRequest

func (*DevicesApiService) ListDeviceDataExecute added in v4.1.8

Execute executes the request

@return ListDataResponse

func (*DevicesApiService) ListDevices added in v4.1.8

func (a *DevicesApiService) ListDevices(ctx context.Context, collectionId string) ApiListDevicesRequest

ListDevices List devices in collection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiListDevicesRequest

func (*DevicesApiService) ListDevicesExecute added in v4.1.8

Execute executes the request

@return ListDevicesResponse

func (*DevicesApiService) ListDownstreamMessages added in v4.2.0

func (a *DevicesApiService) ListDownstreamMessages(ctx context.Context, collectionId string, deviceId string) ApiListDownstreamMessagesRequest

ListDownstreamMessages List the messages in the outbox

List messages that should be sent to the device when it connects to the service. The messages are sent to the device when it connects to the service and either sends a message (via UDP or CoAP) or requests a message via CoAP GET request.option

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param deviceId
@return ApiListDownstreamMessagesRequest

func (*DevicesApiService) ListDownstreamMessagesExecute added in v4.2.0

Execute executes the request

@return ListDownstreamMessagesResponse

func (*DevicesApiService) ListUpstreamMessages added in v4.2.0

func (a *DevicesApiService) ListUpstreamMessages(ctx context.Context, collectionId string, deviceId string) ApiListUpstreamMessagesRequest

ListUpstreamMessages List incoming messages

Retrieve a list of incoming (ie upstream) messages, ie messages sent from the device to the service. These messages are buffered in the service until they expire.

Use the query parameters to limit the number of messages to return. If no limit is specified the default limit of 250 is used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param deviceId
@return ApiListUpstreamMessagesRequest

func (*DevicesApiService) ListUpstreamMessagesExecute added in v4.2.0

Execute executes the request

@return ListUpstreamMessagesResponse

func (*DevicesApiService) RetrieveDevice added in v4.1.8

func (a *DevicesApiService) RetrieveDevice(ctx context.Context, collectionId string, deviceId string) ApiRetrieveDeviceRequest

RetrieveDevice Retrieve device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId This is the containing collection
@param deviceId The device identifier
@return ApiRetrieveDeviceRequest

func (*DevicesApiService) RetrieveDeviceExecute added in v4.1.8

func (a *DevicesApiService) RetrieveDeviceExecute(r ApiRetrieveDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DevicesApiService) RetrieveDeviceStats added in v4.6.0

func (a *DevicesApiService) RetrieveDeviceStats(ctx context.Context, collectionId string, deviceId string) ApiRetrieveDeviceStatsRequest

RetrieveDeviceStats Retrieve device statistics

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId This is the containing collection
@param deviceId The device identifier
@return ApiRetrieveDeviceStatsRequest

func (*DevicesApiService) RetrieveDeviceStatsExecute added in v4.6.0

func (a *DevicesApiService) RetrieveDeviceStatsExecute(r ApiRetrieveDeviceStatsRequest) (*DeviceStats, *http.Response, error)

Execute executes the request

@return DeviceStats

func (*DevicesApiService) UpdateDevice added in v4.1.8

func (a *DevicesApiService) UpdateDevice(ctx context.Context, existingCollectionId string, deviceId string) ApiUpdateDeviceRequest

UpdateDevice Update device

The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request. If a device is moved out of the collection and it references a gateway in the configuration the operation will fail. Devices that are moved from one collection to another and references gateway configurations must be updated before they are moved.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param existingCollectionId
@param deviceId
@return ApiUpdateDeviceRequest

func (*DevicesApiService) UpdateDeviceExecute added in v4.1.8

func (a *DevicesApiService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

type Firmware

type Firmware struct {
	ImageId *string `json:"imageId,omitempty"`
	// Make sure that the firmware image reports this version. If the version reported by this image is different the FOTA process won't be reported as successful since the device will report a version different from this.
	Version *string `json:"version,omitempty"`
	// This is just for internal house keeping, making it potentially easier to identify the firmware image.
	Filename *string `json:"filename,omitempty"`
	// To ensure each image is unique the SHA-256 hash for all images in a collection must be unqique
	Sha256 *string `json:"sha256,omitempty"`
	Length *int32  `json:"length,omitempty"`
	// Collection ID for the collection owning the firmware image.
	CollectionId *string `json:"collectionId,omitempty"`
	Created      *string `json:"created,omitempty"`
	// Tags for firmware image.
	Tags *map[string]string `json:"tags,omitempty"`
}

Firmware Firmware images aren't served back out through the API, only the metadata.

func NewFirmware

func NewFirmware() *Firmware

NewFirmware instantiates a new Firmware 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 NewFirmwareWithDefaults

func NewFirmwareWithDefaults() *Firmware

NewFirmwareWithDefaults instantiates a new Firmware 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 (*Firmware) GetCollectionId

func (o *Firmware) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Firmware) GetCollectionIdOk

func (o *Firmware) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) GetCreated

func (o *Firmware) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*Firmware) GetCreatedOk

func (o *Firmware) GetCreatedOk() (*string, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) GetFilename

func (o *Firmware) GetFilename() string

GetFilename returns the Filename field value if set, zero value otherwise.

func (*Firmware) GetFilenameOk

func (o *Firmware) GetFilenameOk() (*string, bool)

GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) GetImageId

func (o *Firmware) GetImageId() string

GetImageId returns the ImageId field value if set, zero value otherwise.

func (*Firmware) GetImageIdOk

func (o *Firmware) GetImageIdOk() (*string, bool)

GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) GetLength

func (o *Firmware) GetLength() int32

GetLength returns the Length field value if set, zero value otherwise.

func (*Firmware) GetLengthOk

func (o *Firmware) GetLengthOk() (*int32, bool)

GetLengthOk returns a tuple with the Length field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) GetSha256

func (o *Firmware) GetSha256() string

GetSha256 returns the Sha256 field value if set, zero value otherwise.

func (*Firmware) GetSha256Ok

func (o *Firmware) GetSha256Ok() (*string, bool)

GetSha256Ok returns a tuple with the Sha256 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) GetTags

func (o *Firmware) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Firmware) GetTagsOk

func (o *Firmware) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) GetVersion

func (o *Firmware) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Firmware) GetVersionOk

func (o *Firmware) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Firmware) HasCollectionId

func (o *Firmware) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Firmware) HasCreated

func (o *Firmware) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Firmware) HasFilename

func (o *Firmware) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*Firmware) HasImageId

func (o *Firmware) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*Firmware) HasLength

func (o *Firmware) HasLength() bool

HasLength returns a boolean if a field has been set.

func (*Firmware) HasSha256

func (o *Firmware) HasSha256() bool

HasSha256 returns a boolean if a field has been set.

func (*Firmware) HasTags

func (o *Firmware) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Firmware) HasVersion

func (o *Firmware) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Firmware) MarshalJSON

func (o Firmware) MarshalJSON() ([]byte, error)

func (*Firmware) SetCollectionId

func (o *Firmware) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Firmware) SetCreated

func (o *Firmware) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*Firmware) SetFilename

func (o *Firmware) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (*Firmware) SetImageId

func (o *Firmware) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (*Firmware) SetLength

func (o *Firmware) SetLength(v int32)

SetLength gets a reference to the given int32 and assigns it to the Length field.

func (*Firmware) SetSha256

func (o *Firmware) SetSha256(v string)

SetSha256 gets a reference to the given string and assigns it to the Sha256 field.

func (*Firmware) SetTags

func (o *Firmware) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*Firmware) SetVersion

func (o *Firmware) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (Firmware) ToMap added in v4.5.0

func (o Firmware) ToMap() (map[string]interface{}, error)

type FirmwareManagement added in v4.2.0

type FirmwareManagement string

FirmwareManagement The firmware management settings for a collection can either be \"disabled\", ie there is no firmware management for this collection, \"collection\"; devices are managed through the settings on the collection or \"device\" where each device is configured individual.

const (
	FIRMWAREMANAGEMENT_UNSPECIFIED FirmwareManagement = "unspecified"
	FIRMWAREMANAGEMENT_DISABLED    FirmwareManagement = "disabled"
	FIRMWAREMANAGEMENT_COLLECTION  FirmwareManagement = "collection"
	FIRMWAREMANAGEMENT_DEVICE      FirmwareManagement = "device"
)

List of FirmwareManagement

func NewFirmwareManagementFromValue added in v4.2.0

func NewFirmwareManagementFromValue(v string) (*FirmwareManagement, error)

NewFirmwareManagementFromValue returns a pointer to a valid FirmwareManagement for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirmwareManagement) IsValid added in v4.2.0

func (v FirmwareManagement) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirmwareManagement) Ptr added in v4.2.0

Ptr returns reference to FirmwareManagement value

func (*FirmwareManagement) UnmarshalJSON added in v4.2.0

func (v *FirmwareManagement) UnmarshalJSON(src []byte) error

type FirmwareMetadata

type FirmwareMetadata struct {
	CurrentFirmwareId *string `json:"currentFirmwareId,omitempty"`
	TargetFirmwareId  *string `json:"targetFirmwareId,omitempty"`
	// Last reported firmware version.
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`
	SerialNumber    *string `json:"serialNumber,omitempty"`
	ModelNumber     *string `json:"modelNumber,omitempty"`
	Manufacturer    *string `json:"manufacturer,omitempty"`
	State           *string `json:"state,omitempty"`
	StateMessage    *string `json:"stateMessage,omitempty"`
}

FirmwareMetadata Metadata about firmware on devices.

func NewFirmwareMetadata

func NewFirmwareMetadata() *FirmwareMetadata

NewFirmwareMetadata instantiates a new FirmwareMetadata 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 NewFirmwareMetadataWithDefaults

func NewFirmwareMetadataWithDefaults() *FirmwareMetadata

NewFirmwareMetadataWithDefaults instantiates a new FirmwareMetadata 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 (*FirmwareMetadata) GetCurrentFirmwareId

func (o *FirmwareMetadata) GetCurrentFirmwareId() string

GetCurrentFirmwareId returns the CurrentFirmwareId field value if set, zero value otherwise.

func (*FirmwareMetadata) GetCurrentFirmwareIdOk

func (o *FirmwareMetadata) GetCurrentFirmwareIdOk() (*string, bool)

GetCurrentFirmwareIdOk returns a tuple with the CurrentFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) GetFirmwareVersion

func (o *FirmwareMetadata) GetFirmwareVersion() string

GetFirmwareVersion returns the FirmwareVersion field value if set, zero value otherwise.

func (*FirmwareMetadata) GetFirmwareVersionOk

func (o *FirmwareMetadata) GetFirmwareVersionOk() (*string, bool)

GetFirmwareVersionOk returns a tuple with the FirmwareVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) GetManufacturer

func (o *FirmwareMetadata) GetManufacturer() string

GetManufacturer returns the Manufacturer field value if set, zero value otherwise.

func (*FirmwareMetadata) GetManufacturerOk

func (o *FirmwareMetadata) GetManufacturerOk() (*string, bool)

GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) GetModelNumber

func (o *FirmwareMetadata) GetModelNumber() string

GetModelNumber returns the ModelNumber field value if set, zero value otherwise.

func (*FirmwareMetadata) GetModelNumberOk

func (o *FirmwareMetadata) GetModelNumberOk() (*string, bool)

GetModelNumberOk returns a tuple with the ModelNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) GetSerialNumber

func (o *FirmwareMetadata) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.

func (*FirmwareMetadata) GetSerialNumberOk

func (o *FirmwareMetadata) GetSerialNumberOk() (*string, bool)

GetSerialNumberOk returns a tuple with the SerialNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) GetState

func (o *FirmwareMetadata) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*FirmwareMetadata) GetStateMessage

func (o *FirmwareMetadata) GetStateMessage() string

GetStateMessage returns the StateMessage field value if set, zero value otherwise.

func (*FirmwareMetadata) GetStateMessageOk

func (o *FirmwareMetadata) GetStateMessageOk() (*string, bool)

GetStateMessageOk returns a tuple with the StateMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) GetStateOk

func (o *FirmwareMetadata) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) GetTargetFirmwareId

func (o *FirmwareMetadata) GetTargetFirmwareId() string

GetTargetFirmwareId returns the TargetFirmwareId field value if set, zero value otherwise.

func (*FirmwareMetadata) GetTargetFirmwareIdOk

func (o *FirmwareMetadata) GetTargetFirmwareIdOk() (*string, bool)

GetTargetFirmwareIdOk returns a tuple with the TargetFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareMetadata) HasCurrentFirmwareId

func (o *FirmwareMetadata) HasCurrentFirmwareId() bool

HasCurrentFirmwareId returns a boolean if a field has been set.

func (*FirmwareMetadata) HasFirmwareVersion

func (o *FirmwareMetadata) HasFirmwareVersion() bool

HasFirmwareVersion returns a boolean if a field has been set.

func (*FirmwareMetadata) HasManufacturer

func (o *FirmwareMetadata) HasManufacturer() bool

HasManufacturer returns a boolean if a field has been set.

func (*FirmwareMetadata) HasModelNumber

func (o *FirmwareMetadata) HasModelNumber() bool

HasModelNumber returns a boolean if a field has been set.

func (*FirmwareMetadata) HasSerialNumber

func (o *FirmwareMetadata) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*FirmwareMetadata) HasState

func (o *FirmwareMetadata) HasState() bool

HasState returns a boolean if a field has been set.

func (*FirmwareMetadata) HasStateMessage

func (o *FirmwareMetadata) HasStateMessage() bool

HasStateMessage returns a boolean if a field has been set.

func (*FirmwareMetadata) HasTargetFirmwareId

func (o *FirmwareMetadata) HasTargetFirmwareId() bool

HasTargetFirmwareId returns a boolean if a field has been set.

func (FirmwareMetadata) MarshalJSON

func (o FirmwareMetadata) MarshalJSON() ([]byte, error)

func (*FirmwareMetadata) SetCurrentFirmwareId

func (o *FirmwareMetadata) SetCurrentFirmwareId(v string)

SetCurrentFirmwareId gets a reference to the given string and assigns it to the CurrentFirmwareId field.

func (*FirmwareMetadata) SetFirmwareVersion

func (o *FirmwareMetadata) SetFirmwareVersion(v string)

SetFirmwareVersion gets a reference to the given string and assigns it to the FirmwareVersion field.

func (*FirmwareMetadata) SetManufacturer

func (o *FirmwareMetadata) SetManufacturer(v string)

SetManufacturer gets a reference to the given string and assigns it to the Manufacturer field.

func (*FirmwareMetadata) SetModelNumber

func (o *FirmwareMetadata) SetModelNumber(v string)

SetModelNumber gets a reference to the given string and assigns it to the ModelNumber field.

func (*FirmwareMetadata) SetSerialNumber

func (o *FirmwareMetadata) SetSerialNumber(v string)

SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.

func (*FirmwareMetadata) SetState

func (o *FirmwareMetadata) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*FirmwareMetadata) SetStateMessage

func (o *FirmwareMetadata) SetStateMessage(v string)

SetStateMessage gets a reference to the given string and assigns it to the StateMessage field.

func (*FirmwareMetadata) SetTargetFirmwareId

func (o *FirmwareMetadata) SetTargetFirmwareId(v string)

SetTargetFirmwareId gets a reference to the given string and assigns it to the TargetFirmwareId field.

func (FirmwareMetadata) ToMap added in v4.5.0

func (o FirmwareMetadata) ToMap() (map[string]interface{}, error)

type FirmwareStats added in v4.6.0

type FirmwareStats struct {
	FirmwareImageSize *int32 `json:"firmwareImageSize,omitempty"`
}

FirmwareStats Statistics for a single firmware image

func NewFirmwareStats added in v4.6.0

func NewFirmwareStats() *FirmwareStats

NewFirmwareStats instantiates a new FirmwareStats 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 NewFirmwareStatsWithDefaults added in v4.6.0

func NewFirmwareStatsWithDefaults() *FirmwareStats

NewFirmwareStatsWithDefaults instantiates a new FirmwareStats 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 (*FirmwareStats) GetFirmwareImageSize added in v4.6.0

func (o *FirmwareStats) GetFirmwareImageSize() int32

GetFirmwareImageSize returns the FirmwareImageSize field value if set, zero value otherwise.

func (*FirmwareStats) GetFirmwareImageSizeOk added in v4.6.0

func (o *FirmwareStats) GetFirmwareImageSizeOk() (*int32, bool)

GetFirmwareImageSizeOk returns a tuple with the FirmwareImageSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareStats) HasFirmwareImageSize added in v4.6.0

func (o *FirmwareStats) HasFirmwareImageSize() bool

HasFirmwareImageSize returns a boolean if a field has been set.

func (FirmwareStats) MarshalJSON added in v4.6.0

func (o FirmwareStats) MarshalJSON() ([]byte, error)

func (*FirmwareStats) SetFirmwareImageSize added in v4.6.0

func (o *FirmwareStats) SetFirmwareImageSize(v int32)

SetFirmwareImageSize gets a reference to the given int32 and assigns it to the FirmwareImageSize field.

func (FirmwareStats) ToMap added in v4.6.0

func (o FirmwareStats) ToMap() (map[string]interface{}, error)

type FirmwareUsageResponse

type FirmwareUsageResponse struct {
	ImageId  *string  `json:"imageId,omitempty"`
	Targeted []string `json:"targeted,omitempty"`
	Current  []string `json:"current,omitempty"`
}

FirmwareUsageResponse Firmware usage report

func NewFirmwareUsageResponse

func NewFirmwareUsageResponse() *FirmwareUsageResponse

NewFirmwareUsageResponse instantiates a new FirmwareUsageResponse 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 NewFirmwareUsageResponseWithDefaults

func NewFirmwareUsageResponseWithDefaults() *FirmwareUsageResponse

NewFirmwareUsageResponseWithDefaults instantiates a new FirmwareUsageResponse 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 (*FirmwareUsageResponse) GetCurrent

func (o *FirmwareUsageResponse) GetCurrent() []string

GetCurrent returns the Current field value if set, zero value otherwise.

func (*FirmwareUsageResponse) GetCurrentOk

func (o *FirmwareUsageResponse) GetCurrentOk() ([]string, bool)

GetCurrentOk returns a tuple with the Current field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareUsageResponse) GetImageId

func (o *FirmwareUsageResponse) GetImageId() string

GetImageId returns the ImageId field value if set, zero value otherwise.

func (*FirmwareUsageResponse) GetImageIdOk

func (o *FirmwareUsageResponse) GetImageIdOk() (*string, bool)

GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareUsageResponse) GetTargeted

func (o *FirmwareUsageResponse) GetTargeted() []string

GetTargeted returns the Targeted field value if set, zero value otherwise.

func (*FirmwareUsageResponse) GetTargetedOk

func (o *FirmwareUsageResponse) GetTargetedOk() ([]string, bool)

GetTargetedOk returns a tuple with the Targeted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareUsageResponse) HasCurrent

func (o *FirmwareUsageResponse) HasCurrent() bool

HasCurrent returns a boolean if a field has been set.

func (*FirmwareUsageResponse) HasImageId

func (o *FirmwareUsageResponse) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*FirmwareUsageResponse) HasTargeted

func (o *FirmwareUsageResponse) HasTargeted() bool

HasTargeted returns a boolean if a field has been set.

func (FirmwareUsageResponse) MarshalJSON

func (o FirmwareUsageResponse) MarshalJSON() ([]byte, error)

func (*FirmwareUsageResponse) SetCurrent

func (o *FirmwareUsageResponse) SetCurrent(v []string)

SetCurrent gets a reference to the given []string and assigns it to the Current field.

func (*FirmwareUsageResponse) SetImageId

func (o *FirmwareUsageResponse) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (*FirmwareUsageResponse) SetTargeted

func (o *FirmwareUsageResponse) SetTargeted(v []string)

SetTargeted gets a reference to the given []string and assigns it to the Targeted field.

func (FirmwareUsageResponse) ToMap added in v4.5.0

func (o FirmwareUsageResponse) ToMap() (map[string]interface{}, error)

type FotaApiService

type FotaApiService service

FotaApiService FotaApi service

func (*FotaApiService) ClearFirmwareError added in v4.1.8

func (a *FotaApiService) ClearFirmwareError(ctx context.Context, collectionId string, deviceId string) ApiClearFirmwareErrorRequest

ClearFirmwareError Clear FOTA error

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param deviceId
@return ApiClearFirmwareErrorRequest

func (*FotaApiService) ClearFirmwareErrorExecute added in v4.1.8

Execute executes the request

@return ClearFirmwareErrorResponse

func (*FotaApiService) CreateFirmware added in v4.1.8

func (a *FotaApiService) CreateFirmware(ctx context.Context, collectionId string) ApiCreateFirmwareRequest

CreateFirmware Create firmware

Firmware images must have unique version numbers and have an unique checksum. The checksum is calculated when the firmware image is uploaded.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiCreateFirmwareRequest

func (*FotaApiService) CreateFirmwareExecute added in v4.1.8

func (a *FotaApiService) CreateFirmwareExecute(r ApiCreateFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

func (*FotaApiService) DeleteFirmware added in v4.1.8

func (a *FotaApiService) DeleteFirmware(ctx context.Context, collectionId string, imageId string) ApiDeleteFirmwareRequest

DeleteFirmware Delete firmware

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param imageId
@return ApiDeleteFirmwareRequest

func (*FotaApiService) DeleteFirmwareExecute added in v4.1.8

func (a *FotaApiService) DeleteFirmwareExecute(r ApiDeleteFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

func (*FotaApiService) FirmwareUsage added in v4.1.8

func (a *FotaApiService) FirmwareUsage(ctx context.Context, collectionId string, imageId string) ApiFirmwareUsageRequest

FirmwareUsage Firmware usage

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param imageId
@return ApiFirmwareUsageRequest

func (*FotaApiService) FirmwareUsageExecute added in v4.1.8

Execute executes the request

@return FirmwareUsageResponse

func (*FotaApiService) ListFirmware added in v4.1.8

func (a *FotaApiService) ListFirmware(ctx context.Context, collectionId string) ApiListFirmwareRequest

ListFirmware List firmware

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiListFirmwareRequest

func (*FotaApiService) ListFirmwareExecute added in v4.1.8

Execute executes the request

@return ListFirmwareResponse

func (*FotaApiService) RetrieveFirmware added in v4.1.8

func (a *FotaApiService) RetrieveFirmware(ctx context.Context, collectionId string, imageId string) ApiRetrieveFirmwareRequest

RetrieveFirmware Retrieve firmware

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param imageId
@return ApiRetrieveFirmwareRequest

func (*FotaApiService) RetrieveFirmwareExecute added in v4.1.8

func (a *FotaApiService) RetrieveFirmwareExecute(r ApiRetrieveFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

func (*FotaApiService) RetrieveFirmwareStats added in v4.6.0

func (a *FotaApiService) RetrieveFirmwareStats(ctx context.Context, collectionId string, imageId string) ApiRetrieveFirmwareStatsRequest

RetrieveFirmwareStats Retrieve firmware statistics

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param imageId
@return ApiRetrieveFirmwareStatsRequest

func (*FotaApiService) RetrieveFirmwareStatsExecute added in v4.6.0

func (a *FotaApiService) RetrieveFirmwareStatsExecute(r ApiRetrieveFirmwareStatsRequest) (*FirmwareStats, *http.Response, error)

Execute executes the request

@return FirmwareStats

func (*FotaApiService) UpdateFirmware added in v4.1.8

func (a *FotaApiService) UpdateFirmware(ctx context.Context, existingCollectionId string, imageId string) ApiUpdateFirmwareRequest

UpdateFirmware Update firmware

Only the version and tags fields can be updated. The other fields will be ignored.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param existingCollectionId
@param imageId
@return ApiUpdateFirmwareRequest

func (*FotaApiService) UpdateFirmwareExecute added in v4.1.8

func (a *FotaApiService) UpdateFirmwareExecute(r ApiUpdateFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

type Gateway added in v4.2.0

type Gateway struct {
	GatewayId    *string            `json:"gatewayId,omitempty"`
	CollectionId *string            `json:"collectionId,omitempty"`
	Name         *string            `json:"name,omitempty"`
	BuiltIn      *bool              `json:"builtIn,omitempty"`
	Type         *GatewayType       `json:"type,omitempty"`
	Config       *GatewayConfig     `json:"config,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
	Status       *GatewayStatus     `json:"status,omitempty"`
}

Gateway A gateway is a connection between devices and Span

func NewGateway added in v4.2.0

func NewGateway() *Gateway

NewGateway instantiates a new Gateway 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 NewGatewayWithDefaults added in v4.2.0

func NewGatewayWithDefaults() *Gateway

NewGatewayWithDefaults instantiates a new Gateway 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 (*Gateway) GetBuiltIn added in v4.4.0

func (o *Gateway) GetBuiltIn() bool

GetBuiltIn returns the BuiltIn field value if set, zero value otherwise.

func (*Gateway) GetBuiltInOk added in v4.4.0

func (o *Gateway) GetBuiltInOk() (*bool, bool)

GetBuiltInOk returns a tuple with the BuiltIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetCollectionId added in v4.2.0

func (o *Gateway) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Gateway) GetCollectionIdOk added in v4.2.0

func (o *Gateway) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetConfig added in v4.4.0

func (o *Gateway) GetConfig() GatewayConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*Gateway) GetConfigOk added in v4.4.0

func (o *Gateway) GetConfigOk() (*GatewayConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetGatewayId added in v4.2.0

func (o *Gateway) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*Gateway) GetGatewayIdOk added in v4.2.0

func (o *Gateway) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetName added in v4.4.0

func (o *Gateway) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Gateway) GetNameOk added in v4.4.0

func (o *Gateway) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetStatus added in v4.4.0

func (o *Gateway) GetStatus() GatewayStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Gateway) GetStatusOk added in v4.4.0

func (o *Gateway) GetStatusOk() (*GatewayStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetTags added in v4.2.0

func (o *Gateway) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Gateway) GetTagsOk added in v4.2.0

func (o *Gateway) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetType added in v4.4.0

func (o *Gateway) GetType() GatewayType

GetType returns the Type field value if set, zero value otherwise.

func (*Gateway) GetTypeOk added in v4.4.0

func (o *Gateway) GetTypeOk() (*GatewayType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) HasBuiltIn added in v4.4.0

func (o *Gateway) HasBuiltIn() bool

HasBuiltIn returns a boolean if a field has been set.

func (*Gateway) HasCollectionId added in v4.2.0

func (o *Gateway) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Gateway) HasConfig added in v4.4.0

func (o *Gateway) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Gateway) HasGatewayId added in v4.2.0

func (o *Gateway) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*Gateway) HasName added in v4.4.0

func (o *Gateway) HasName() bool

HasName returns a boolean if a field has been set.

func (*Gateway) HasStatus added in v4.4.0

func (o *Gateway) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Gateway) HasTags added in v4.2.0

func (o *Gateway) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Gateway) HasType added in v4.4.0

func (o *Gateway) HasType() bool

HasType returns a boolean if a field has been set.

func (Gateway) MarshalJSON added in v4.2.0

func (o Gateway) MarshalJSON() ([]byte, error)

func (*Gateway) SetBuiltIn added in v4.4.0

func (o *Gateway) SetBuiltIn(v bool)

SetBuiltIn gets a reference to the given bool and assigns it to the BuiltIn field.

func (*Gateway) SetCollectionId added in v4.2.0

func (o *Gateway) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Gateway) SetConfig added in v4.4.0

func (o *Gateway) SetConfig(v GatewayConfig)

SetConfig gets a reference to the given GatewayConfig and assigns it to the Config field.

func (*Gateway) SetGatewayId added in v4.2.0

func (o *Gateway) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*Gateway) SetName added in v4.4.0

func (o *Gateway) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Gateway) SetStatus added in v4.4.0

func (o *Gateway) SetStatus(v GatewayStatus)

SetStatus gets a reference to the given GatewayStatus and assigns it to the Status field.

func (*Gateway) SetTags added in v4.2.0

func (o *Gateway) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*Gateway) SetType added in v4.4.0

func (o *Gateway) SetType(v GatewayType)

SetType gets a reference to the given GatewayType and assigns it to the Type field.

func (Gateway) ToMap added in v4.5.0

func (o Gateway) ToMap() (map[string]interface{}, error)

type GatewayCIoTConfig added in v4.4.0

type GatewayCIoTConfig struct {
	Apn          *string `json:"apn,omitempty"`
	UdpEndpoint  *string `json:"udpEndpoint,omitempty"`
	CoapEndpoint *string `json:"coapEndpoint,omitempty"`
}

GatewayCIoTConfig struct for GatewayCIoTConfig

func NewGatewayCIoTConfig added in v4.4.0

func NewGatewayCIoTConfig() *GatewayCIoTConfig

NewGatewayCIoTConfig instantiates a new GatewayCIoTConfig 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 NewGatewayCIoTConfigWithDefaults added in v4.4.0

func NewGatewayCIoTConfigWithDefaults() *GatewayCIoTConfig

NewGatewayCIoTConfigWithDefaults instantiates a new GatewayCIoTConfig 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 (*GatewayCIoTConfig) GetApn added in v4.4.0

func (o *GatewayCIoTConfig) GetApn() string

GetApn returns the Apn field value if set, zero value otherwise.

func (*GatewayCIoTConfig) GetApnOk added in v4.4.0

func (o *GatewayCIoTConfig) GetApnOk() (*string, bool)

GetApnOk returns a tuple with the Apn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayCIoTConfig) GetCoapEndpoint added in v4.4.0

func (o *GatewayCIoTConfig) GetCoapEndpoint() string

GetCoapEndpoint returns the CoapEndpoint field value if set, zero value otherwise.

func (*GatewayCIoTConfig) GetCoapEndpointOk added in v4.4.0

func (o *GatewayCIoTConfig) GetCoapEndpointOk() (*string, bool)

GetCoapEndpointOk returns a tuple with the CoapEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayCIoTConfig) GetUdpEndpoint added in v4.4.0

func (o *GatewayCIoTConfig) GetUdpEndpoint() string

GetUdpEndpoint returns the UdpEndpoint field value if set, zero value otherwise.

func (*GatewayCIoTConfig) GetUdpEndpointOk added in v4.4.0

func (o *GatewayCIoTConfig) GetUdpEndpointOk() (*string, bool)

GetUdpEndpointOk returns a tuple with the UdpEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayCIoTConfig) HasApn added in v4.4.0

func (o *GatewayCIoTConfig) HasApn() bool

HasApn returns a boolean if a field has been set.

func (*GatewayCIoTConfig) HasCoapEndpoint added in v4.4.0

func (o *GatewayCIoTConfig) HasCoapEndpoint() bool

HasCoapEndpoint returns a boolean if a field has been set.

func (*GatewayCIoTConfig) HasUdpEndpoint added in v4.4.0

func (o *GatewayCIoTConfig) HasUdpEndpoint() bool

HasUdpEndpoint returns a boolean if a field has been set.

func (GatewayCIoTConfig) MarshalJSON added in v4.4.0

func (o GatewayCIoTConfig) MarshalJSON() ([]byte, error)

func (*GatewayCIoTConfig) SetApn added in v4.4.0

func (o *GatewayCIoTConfig) SetApn(v string)

SetApn gets a reference to the given string and assigns it to the Apn field.

func (*GatewayCIoTConfig) SetCoapEndpoint added in v4.4.0

func (o *GatewayCIoTConfig) SetCoapEndpoint(v string)

SetCoapEndpoint gets a reference to the given string and assigns it to the CoapEndpoint field.

func (*GatewayCIoTConfig) SetUdpEndpoint added in v4.4.0

func (o *GatewayCIoTConfig) SetUdpEndpoint(v string)

SetUdpEndpoint gets a reference to the given string and assigns it to the UdpEndpoint field.

func (GatewayCIoTConfig) ToMap added in v4.5.0

func (o GatewayCIoTConfig) ToMap() (map[string]interface{}, error)

type GatewayCertificateResponse added in v4.4.0

type GatewayCertificateResponse struct {
	Certificates []CertificateInfo `json:"certificates,omitempty"`
}

GatewayCertificateResponse struct for GatewayCertificateResponse

func NewGatewayCertificateResponse added in v4.4.0

func NewGatewayCertificateResponse() *GatewayCertificateResponse

NewGatewayCertificateResponse instantiates a new GatewayCertificateResponse 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 NewGatewayCertificateResponseWithDefaults added in v4.4.0

func NewGatewayCertificateResponseWithDefaults() *GatewayCertificateResponse

NewGatewayCertificateResponseWithDefaults instantiates a new GatewayCertificateResponse 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 (*GatewayCertificateResponse) GetCertificates added in v4.4.0

func (o *GatewayCertificateResponse) GetCertificates() []CertificateInfo

GetCertificates returns the Certificates field value if set, zero value otherwise.

func (*GatewayCertificateResponse) GetCertificatesOk added in v4.4.0

func (o *GatewayCertificateResponse) GetCertificatesOk() ([]CertificateInfo, bool)

GetCertificatesOk returns a tuple with the Certificates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayCertificateResponse) HasCertificates added in v4.4.0

func (o *GatewayCertificateResponse) HasCertificates() bool

HasCertificates returns a boolean if a field has been set.

func (GatewayCertificateResponse) MarshalJSON added in v4.4.0

func (o GatewayCertificateResponse) MarshalJSON() ([]byte, error)

func (*GatewayCertificateResponse) SetCertificates added in v4.4.0

func (o *GatewayCertificateResponse) SetCertificates(v []CertificateInfo)

SetCertificates gets a reference to the given []CertificateInfo and assigns it to the Certificates field.

func (GatewayCertificateResponse) ToMap added in v4.5.0

func (o GatewayCertificateResponse) ToMap() (map[string]interface{}, error)

type GatewayConfig added in v4.4.0

type GatewayConfig struct {
	Ciot *GatewayCIoTConfig   `json:"ciot,omitempty"`
	Inet *GatewayInetConfig   `json:"inet,omitempty"`
	User *GatewayCustomConfig `json:"user,omitempty"`
}

GatewayConfig struct for GatewayConfig

func NewGatewayConfig added in v4.4.0

func NewGatewayConfig() *GatewayConfig

NewGatewayConfig instantiates a new GatewayConfig 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 NewGatewayConfigWithDefaults added in v4.4.0

func NewGatewayConfigWithDefaults() *GatewayConfig

NewGatewayConfigWithDefaults instantiates a new GatewayConfig 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 (*GatewayConfig) GetCiot added in v4.4.0

func (o *GatewayConfig) GetCiot() GatewayCIoTConfig

GetCiot returns the Ciot field value if set, zero value otherwise.

func (*GatewayConfig) GetCiotOk added in v4.4.0

func (o *GatewayConfig) GetCiotOk() (*GatewayCIoTConfig, bool)

GetCiotOk returns a tuple with the Ciot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayConfig) GetInet added in v4.4.0

func (o *GatewayConfig) GetInet() GatewayInetConfig

GetInet returns the Inet field value if set, zero value otherwise.

func (*GatewayConfig) GetInetOk added in v4.4.0

func (o *GatewayConfig) GetInetOk() (*GatewayInetConfig, bool)

GetInetOk returns a tuple with the Inet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayConfig) GetUser added in v4.4.0

func (o *GatewayConfig) GetUser() GatewayCustomConfig

GetUser returns the User field value if set, zero value otherwise.

func (*GatewayConfig) GetUserOk added in v4.4.0

func (o *GatewayConfig) GetUserOk() (*GatewayCustomConfig, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayConfig) HasCiot added in v4.4.0

func (o *GatewayConfig) HasCiot() bool

HasCiot returns a boolean if a field has been set.

func (*GatewayConfig) HasInet added in v4.4.0

func (o *GatewayConfig) HasInet() bool

HasInet returns a boolean if a field has been set.

func (*GatewayConfig) HasUser added in v4.4.0

func (o *GatewayConfig) HasUser() bool

HasUser returns a boolean if a field has been set.

func (GatewayConfig) MarshalJSON added in v4.4.0

func (o GatewayConfig) MarshalJSON() ([]byte, error)

func (*GatewayConfig) SetCiot added in v4.4.0

func (o *GatewayConfig) SetCiot(v GatewayCIoTConfig)

SetCiot gets a reference to the given GatewayCIoTConfig and assigns it to the Ciot field.

func (*GatewayConfig) SetInet added in v4.4.0

func (o *GatewayConfig) SetInet(v GatewayInetConfig)

SetInet gets a reference to the given GatewayInetConfig and assigns it to the Inet field.

func (*GatewayConfig) SetUser added in v4.4.0

func (o *GatewayConfig) SetUser(v GatewayCustomConfig)

SetUser gets a reference to the given GatewayCustomConfig and assigns it to the User field.

func (GatewayConfig) ToMap added in v4.5.0

func (o GatewayConfig) ToMap() (map[string]interface{}, error)

type GatewayCustomConfig added in v4.4.0

type GatewayCustomConfig struct {
	Params *map[string]string `json:"params,omitempty"`
}

GatewayCustomConfig struct for GatewayCustomConfig

func NewGatewayCustomConfig added in v4.4.0

func NewGatewayCustomConfig() *GatewayCustomConfig

NewGatewayCustomConfig instantiates a new GatewayCustomConfig 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 NewGatewayCustomConfigWithDefaults added in v4.4.0

func NewGatewayCustomConfigWithDefaults() *GatewayCustomConfig

NewGatewayCustomConfigWithDefaults instantiates a new GatewayCustomConfig 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 (*GatewayCustomConfig) GetParams added in v4.4.0

func (o *GatewayCustomConfig) GetParams() map[string]string

GetParams returns the Params field value if set, zero value otherwise.

func (*GatewayCustomConfig) GetParamsOk added in v4.4.0

func (o *GatewayCustomConfig) GetParamsOk() (*map[string]string, bool)

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayCustomConfig) HasParams added in v4.4.0

func (o *GatewayCustomConfig) HasParams() bool

HasParams returns a boolean if a field has been set.

func (GatewayCustomConfig) MarshalJSON added in v4.4.0

func (o GatewayCustomConfig) MarshalJSON() ([]byte, error)

func (*GatewayCustomConfig) SetParams added in v4.4.0

func (o *GatewayCustomConfig) SetParams(v map[string]string)

SetParams gets a reference to the given map[string]string and assigns it to the Params field.

func (GatewayCustomConfig) ToMap added in v4.5.0

func (o GatewayCustomConfig) ToMap() (map[string]interface{}, error)

type GatewayDeviceConfig added in v4.4.0

type GatewayDeviceConfig struct {
	// This is the ID of the gateway this configuration applies to.
	GatewayId *string            `json:"gatewayId,omitempty"`
	Params    *map[string]string `json:"params,omitempty"`
}

GatewayDeviceConfig Configuration parameters for a device in a user-managed gateway. The configuration parameters depends on the type of gateway.

func NewGatewayDeviceConfig added in v4.4.0

func NewGatewayDeviceConfig() *GatewayDeviceConfig

NewGatewayDeviceConfig instantiates a new GatewayDeviceConfig 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 NewGatewayDeviceConfigWithDefaults added in v4.4.0

func NewGatewayDeviceConfigWithDefaults() *GatewayDeviceConfig

NewGatewayDeviceConfigWithDefaults instantiates a new GatewayDeviceConfig 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 (*GatewayDeviceConfig) GetGatewayId added in v4.4.0

func (o *GatewayDeviceConfig) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*GatewayDeviceConfig) GetGatewayIdOk added in v4.4.0

func (o *GatewayDeviceConfig) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayDeviceConfig) GetParams added in v4.4.0

func (o *GatewayDeviceConfig) GetParams() map[string]string

GetParams returns the Params field value if set, zero value otherwise.

func (*GatewayDeviceConfig) GetParamsOk added in v4.4.0

func (o *GatewayDeviceConfig) GetParamsOk() (*map[string]string, bool)

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayDeviceConfig) HasGatewayId added in v4.4.0

func (o *GatewayDeviceConfig) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*GatewayDeviceConfig) HasParams added in v4.4.0

func (o *GatewayDeviceConfig) HasParams() bool

HasParams returns a boolean if a field has been set.

func (GatewayDeviceConfig) MarshalJSON added in v4.4.0

func (o GatewayDeviceConfig) MarshalJSON() ([]byte, error)

func (*GatewayDeviceConfig) SetGatewayId added in v4.4.0

func (o *GatewayDeviceConfig) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*GatewayDeviceConfig) SetParams added in v4.4.0

func (o *GatewayDeviceConfig) SetParams(v map[string]string)

SetParams gets a reference to the given map[string]string and assigns it to the Params field.

func (GatewayDeviceConfig) ToMap added in v4.5.0

func (o GatewayDeviceConfig) ToMap() (map[string]interface{}, error)

type GatewayDeviceMetadata added in v4.4.0

type GatewayDeviceMetadata struct {
	GatewayId  *string            `json:"gatewayId,omitempty"`
	LastUpdate *string            `json:"lastUpdate,omitempty"`
	Params     *map[string]string `json:"params,omitempty"`
}

GatewayDeviceMetadata Metadata for devices connected via user-managed gateways. This metadata shows the configuration for the last message transmission

func NewGatewayDeviceMetadata added in v4.4.0

func NewGatewayDeviceMetadata() *GatewayDeviceMetadata

NewGatewayDeviceMetadata instantiates a new GatewayDeviceMetadata 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 NewGatewayDeviceMetadataWithDefaults added in v4.4.0

func NewGatewayDeviceMetadataWithDefaults() *GatewayDeviceMetadata

NewGatewayDeviceMetadataWithDefaults instantiates a new GatewayDeviceMetadata 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 (*GatewayDeviceMetadata) GetGatewayId added in v4.4.0

func (o *GatewayDeviceMetadata) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*GatewayDeviceMetadata) GetGatewayIdOk added in v4.4.0

func (o *GatewayDeviceMetadata) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayDeviceMetadata) GetLastUpdate added in v4.4.0

func (o *GatewayDeviceMetadata) GetLastUpdate() string

GetLastUpdate returns the LastUpdate field value if set, zero value otherwise.

func (*GatewayDeviceMetadata) GetLastUpdateOk added in v4.4.0

func (o *GatewayDeviceMetadata) GetLastUpdateOk() (*string, bool)

GetLastUpdateOk returns a tuple with the LastUpdate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayDeviceMetadata) GetParams added in v4.4.0

func (o *GatewayDeviceMetadata) GetParams() map[string]string

GetParams returns the Params field value if set, zero value otherwise.

func (*GatewayDeviceMetadata) GetParamsOk added in v4.4.0

func (o *GatewayDeviceMetadata) GetParamsOk() (*map[string]string, bool)

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayDeviceMetadata) HasGatewayId added in v4.4.0

func (o *GatewayDeviceMetadata) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*GatewayDeviceMetadata) HasLastUpdate added in v4.4.0

func (o *GatewayDeviceMetadata) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

func (*GatewayDeviceMetadata) HasParams added in v4.4.0

func (o *GatewayDeviceMetadata) HasParams() bool

HasParams returns a boolean if a field has been set.

func (GatewayDeviceMetadata) MarshalJSON added in v4.4.0

func (o GatewayDeviceMetadata) MarshalJSON() ([]byte, error)

func (*GatewayDeviceMetadata) SetGatewayId added in v4.4.0

func (o *GatewayDeviceMetadata) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*GatewayDeviceMetadata) SetLastUpdate added in v4.4.0

func (o *GatewayDeviceMetadata) SetLastUpdate(v string)

SetLastUpdate gets a reference to the given string and assigns it to the LastUpdate field.

func (*GatewayDeviceMetadata) SetParams added in v4.4.0

func (o *GatewayDeviceMetadata) SetParams(v map[string]string)

SetParams gets a reference to the given map[string]string and assigns it to the Params field.

func (GatewayDeviceMetadata) ToMap added in v4.5.0

func (o GatewayDeviceMetadata) ToMap() (map[string]interface{}, error)

type GatewayInetConfig added in v4.4.0

type GatewayInetConfig struct {
	DtlsEndpoint *string `json:"dtlsEndpoint,omitempty"`
	CoapEndpoint *string `json:"coapEndpoint,omitempty"`
	MqttEndpoint *string `json:"mqttEndpoint,omitempty"`
}

GatewayInetConfig struct for GatewayInetConfig

func NewGatewayInetConfig added in v4.4.0

func NewGatewayInetConfig() *GatewayInetConfig

NewGatewayInetConfig instantiates a new GatewayInetConfig 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 NewGatewayInetConfigWithDefaults added in v4.4.0

func NewGatewayInetConfigWithDefaults() *GatewayInetConfig

NewGatewayInetConfigWithDefaults instantiates a new GatewayInetConfig 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 (*GatewayInetConfig) GetCoapEndpoint added in v4.4.0

func (o *GatewayInetConfig) GetCoapEndpoint() string

GetCoapEndpoint returns the CoapEndpoint field value if set, zero value otherwise.

func (*GatewayInetConfig) GetCoapEndpointOk added in v4.4.0

func (o *GatewayInetConfig) GetCoapEndpointOk() (*string, bool)

GetCoapEndpointOk returns a tuple with the CoapEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayInetConfig) GetDtlsEndpoint added in v4.4.0

func (o *GatewayInetConfig) GetDtlsEndpoint() string

GetDtlsEndpoint returns the DtlsEndpoint field value if set, zero value otherwise.

func (*GatewayInetConfig) GetDtlsEndpointOk added in v4.4.0

func (o *GatewayInetConfig) GetDtlsEndpointOk() (*string, bool)

GetDtlsEndpointOk returns a tuple with the DtlsEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayInetConfig) GetMqttEndpoint added in v4.4.0

func (o *GatewayInetConfig) GetMqttEndpoint() string

GetMqttEndpoint returns the MqttEndpoint field value if set, zero value otherwise.

func (*GatewayInetConfig) GetMqttEndpointOk added in v4.4.0

func (o *GatewayInetConfig) GetMqttEndpointOk() (*string, bool)

GetMqttEndpointOk returns a tuple with the MqttEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayInetConfig) HasCoapEndpoint added in v4.4.0

func (o *GatewayInetConfig) HasCoapEndpoint() bool

HasCoapEndpoint returns a boolean if a field has been set.

func (*GatewayInetConfig) HasDtlsEndpoint added in v4.4.0

func (o *GatewayInetConfig) HasDtlsEndpoint() bool

HasDtlsEndpoint returns a boolean if a field has been set.

func (*GatewayInetConfig) HasMqttEndpoint added in v4.4.0

func (o *GatewayInetConfig) HasMqttEndpoint() bool

HasMqttEndpoint returns a boolean if a field has been set.

func (GatewayInetConfig) MarshalJSON added in v4.4.0

func (o GatewayInetConfig) MarshalJSON() ([]byte, error)

func (*GatewayInetConfig) SetCoapEndpoint added in v4.4.0

func (o *GatewayInetConfig) SetCoapEndpoint(v string)

SetCoapEndpoint gets a reference to the given string and assigns it to the CoapEndpoint field.

func (*GatewayInetConfig) SetDtlsEndpoint added in v4.4.0

func (o *GatewayInetConfig) SetDtlsEndpoint(v string)

SetDtlsEndpoint gets a reference to the given string and assigns it to the DtlsEndpoint field.

func (*GatewayInetConfig) SetMqttEndpoint added in v4.4.0

func (o *GatewayInetConfig) SetMqttEndpoint(v string)

SetMqttEndpoint gets a reference to the given string and assigns it to the MqttEndpoint field.

func (GatewayInetConfig) ToMap added in v4.5.0

func (o GatewayInetConfig) ToMap() (map[string]interface{}, error)

type GatewayMetadata added in v4.4.0

type GatewayMetadata struct {
	Metadata *map[string]string `json:"metadata,omitempty"`
}

GatewayMetadata Metadata for gateway transports. The actual contents varies from gateway to gateway

func NewGatewayMetadata added in v4.4.0

func NewGatewayMetadata() *GatewayMetadata

NewGatewayMetadata instantiates a new GatewayMetadata 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 NewGatewayMetadataWithDefaults added in v4.4.0

func NewGatewayMetadataWithDefaults() *GatewayMetadata

NewGatewayMetadataWithDefaults instantiates a new GatewayMetadata 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 (*GatewayMetadata) GetMetadata added in v4.4.0

func (o *GatewayMetadata) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*GatewayMetadata) GetMetadataOk added in v4.4.0

func (o *GatewayMetadata) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayMetadata) HasMetadata added in v4.4.0

func (o *GatewayMetadata) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GatewayMetadata) MarshalJSON added in v4.4.0

func (o GatewayMetadata) MarshalJSON() ([]byte, error)

func (*GatewayMetadata) SetMetadata added in v4.4.0

func (o *GatewayMetadata) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (GatewayMetadata) ToMap added in v4.5.0

func (o GatewayMetadata) ToMap() (map[string]interface{}, error)

type GatewayStats added in v4.6.0

type GatewayStats struct {
	MessagesUpstream   *string `json:"messagesUpstream,omitempty"`
	MessagesDownstream *string `json:"messagesDownstream,omitempty"`
	BytesUpstream      *string `json:"bytesUpstream,omitempty"`
	BytesDownstream    *string `json:"bytesDownstream,omitempty"`
}

GatewayStats This is statistics for a single gateway

func NewGatewayStats added in v4.6.0

func NewGatewayStats() *GatewayStats

NewGatewayStats instantiates a new GatewayStats 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 NewGatewayStatsWithDefaults added in v4.6.0

func NewGatewayStatsWithDefaults() *GatewayStats

NewGatewayStatsWithDefaults instantiates a new GatewayStats 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 (*GatewayStats) GetBytesDownstream added in v4.9.5

func (o *GatewayStats) GetBytesDownstream() string

GetBytesDownstream returns the BytesDownstream field value if set, zero value otherwise.

func (*GatewayStats) GetBytesDownstreamOk added in v4.9.5

func (o *GatewayStats) GetBytesDownstreamOk() (*string, bool)

GetBytesDownstreamOk returns a tuple with the BytesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStats) GetBytesUpstream added in v4.9.5

func (o *GatewayStats) GetBytesUpstream() string

GetBytesUpstream returns the BytesUpstream field value if set, zero value otherwise.

func (*GatewayStats) GetBytesUpstreamOk added in v4.9.5

func (o *GatewayStats) GetBytesUpstreamOk() (*string, bool)

GetBytesUpstreamOk returns a tuple with the BytesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStats) GetMessagesDownstream added in v4.6.0

func (o *GatewayStats) GetMessagesDownstream() string

GetMessagesDownstream returns the MessagesDownstream field value if set, zero value otherwise.

func (*GatewayStats) GetMessagesDownstreamOk added in v4.6.0

func (o *GatewayStats) GetMessagesDownstreamOk() (*string, bool)

GetMessagesDownstreamOk returns a tuple with the MessagesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStats) GetMessagesUpstream added in v4.6.0

func (o *GatewayStats) GetMessagesUpstream() string

GetMessagesUpstream returns the MessagesUpstream field value if set, zero value otherwise.

func (*GatewayStats) GetMessagesUpstreamOk added in v4.6.0

func (o *GatewayStats) GetMessagesUpstreamOk() (*string, bool)

GetMessagesUpstreamOk returns a tuple with the MessagesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStats) HasBytesDownstream added in v4.9.5

func (o *GatewayStats) HasBytesDownstream() bool

HasBytesDownstream returns a boolean if a field has been set.

func (*GatewayStats) HasBytesUpstream added in v4.9.5

func (o *GatewayStats) HasBytesUpstream() bool

HasBytesUpstream returns a boolean if a field has been set.

func (*GatewayStats) HasMessagesDownstream added in v4.6.0

func (o *GatewayStats) HasMessagesDownstream() bool

HasMessagesDownstream returns a boolean if a field has been set.

func (*GatewayStats) HasMessagesUpstream added in v4.6.0

func (o *GatewayStats) HasMessagesUpstream() bool

HasMessagesUpstream returns a boolean if a field has been set.

func (GatewayStats) MarshalJSON added in v4.6.0

func (o GatewayStats) MarshalJSON() ([]byte, error)

func (*GatewayStats) SetBytesDownstream added in v4.9.5

func (o *GatewayStats) SetBytesDownstream(v string)

SetBytesDownstream gets a reference to the given string and assigns it to the BytesDownstream field.

func (*GatewayStats) SetBytesUpstream added in v4.9.5

func (o *GatewayStats) SetBytesUpstream(v string)

SetBytesUpstream gets a reference to the given string and assigns it to the BytesUpstream field.

func (*GatewayStats) SetMessagesDownstream added in v4.6.0

func (o *GatewayStats) SetMessagesDownstream(v string)

SetMessagesDownstream gets a reference to the given string and assigns it to the MessagesDownstream field.

func (*GatewayStats) SetMessagesUpstream added in v4.6.0

func (o *GatewayStats) SetMessagesUpstream(v string)

SetMessagesUpstream gets a reference to the given string and assigns it to the MessagesUpstream field.

func (GatewayStats) ToMap added in v4.6.0

func (o GatewayStats) ToMap() (map[string]interface{}, error)

type GatewayStatus added in v4.4.0

type GatewayStatus string

GatewayStatus the model 'GatewayStatus'

const (
	GATEWAYSTATUS_UNKNOWN GatewayStatus = "unknown"
	GATEWAYSTATUS_OFFLINE GatewayStatus = "offline"
	GATEWAYSTATUS_ONLINE  GatewayStatus = "online"
)

List of GatewayStatus

func NewGatewayStatusFromValue added in v4.4.0

func NewGatewayStatusFromValue(v string) (*GatewayStatus, error)

NewGatewayStatusFromValue returns a pointer to a valid GatewayStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (GatewayStatus) IsValid added in v4.4.0

func (v GatewayStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (GatewayStatus) Ptr added in v4.4.0

func (v GatewayStatus) Ptr() *GatewayStatus

Ptr returns reference to GatewayStatus value

func (*GatewayStatus) UnmarshalJSON added in v4.4.0

func (v *GatewayStatus) UnmarshalJSON(src []byte) error

type GatewayType added in v4.4.0

type GatewayType string

GatewayType the model 'GatewayType'

const (
	GATEWAYTYPE_UNKNOWN    GatewayType = "unknown"
	GATEWAYTYPE_CIOT       GatewayType = "ciot"
	GATEWAYTYPE_INET       GatewayType = "inet"
	GATEWAYTYPE_LORA       GatewayType = "lora"
	GATEWAYTYPE_OPENTHREAD GatewayType = "openthread"
	GATEWAYTYPE_ZIGBEE     GatewayType = "zigbee"
	GATEWAYTYPE_MATTER     GatewayType = "matter"
	GATEWAYTYPE_CUSTOM     GatewayType = "custom"
)

List of GatewayType

func NewGatewayTypeFromValue added in v4.4.0

func NewGatewayTypeFromValue(v string) (*GatewayType, error)

NewGatewayTypeFromValue returns a pointer to a valid GatewayType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (GatewayType) IsValid added in v4.4.0

func (v GatewayType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (GatewayType) Ptr added in v4.4.0

func (v GatewayType) Ptr() *GatewayType

Ptr returns reference to GatewayType value

func (*GatewayType) UnmarshalJSON added in v4.4.0

func (v *GatewayType) UnmarshalJSON(src []byte) error

type GatewaysApiService added in v4.2.0

type GatewaysApiService service

GatewaysApiService GatewaysApi service

func (*GatewaysApiService) CreateGateway added in v4.4.0

func (a *GatewaysApiService) CreateGateway(ctx context.Context, collectionId string) ApiCreateGatewayRequest

CreateGateway Create gateway

Create a new gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiCreateGatewayRequest

func (*GatewaysApiService) CreateGatewayExecute added in v4.4.0

func (a *GatewaysApiService) CreateGatewayExecute(r ApiCreateGatewayRequest) (*Gateway, *http.Response, error)

Execute executes the request

@return Gateway

func (*GatewaysApiService) DeleteGateway added in v4.4.0

func (a *GatewaysApiService) DeleteGateway(ctx context.Context, collectionId string, gatewayId string) ApiDeleteGatewayRequest

DeleteGateway Delete gateway

Remove a gateway from Span.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param gatewayId
@return ApiDeleteGatewayRequest

func (*GatewaysApiService) DeleteGatewayExecute added in v4.4.0

func (a *GatewaysApiService) DeleteGatewayExecute(r ApiDeleteGatewayRequest) (*Gateway, *http.Response, error)

Execute executes the request

@return Gateway

func (*GatewaysApiService) GatewayCertificates added in v4.4.0

func (a *GatewaysApiService) GatewayCertificates(ctx context.Context, collectionId string, gatewayId string) ApiGatewayCertificatesRequest

GatewayCertificates Get issued certificate(s) for gateway

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param gatewayId
@return ApiGatewayCertificatesRequest

func (*GatewaysApiService) GatewayCertificatesExecute added in v4.4.0

Execute executes the request

@return GatewayCertificateResponse

func (*GatewaysApiService) ListGateways added in v4.2.0

func (a *GatewaysApiService) ListGateways(ctx context.Context, collectionId string) ApiListGatewaysRequest

ListGateways List gateways

List the user's gatways, including built-in gateways.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiListGatewaysRequest

func (*GatewaysApiService) ListGatewaysExecute added in v4.2.0

Execute executes the request

@return ListGatewayResponse

func (*GatewaysApiService) RetrieveGateway added in v4.2.0

func (a *GatewaysApiService) RetrieveGateway(ctx context.Context, collectionId string, gatewayId string) ApiRetrieveGatewayRequest

RetrieveGateway Retrieve gateway

Get gateway information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param gatewayId
@return ApiRetrieveGatewayRequest

func (*GatewaysApiService) RetrieveGatewayExecute added in v4.2.0

func (a *GatewaysApiService) RetrieveGatewayExecute(r ApiRetrieveGatewayRequest) (*Gateway, *http.Response, error)

Execute executes the request

@return Gateway

func (*GatewaysApiService) RetrieveGatewayStats added in v4.6.0

func (a *GatewaysApiService) RetrieveGatewayStats(ctx context.Context, collectionId string, gatewayId string) ApiRetrieveGatewayStatsRequest

RetrieveGatewayStats Retrieve gateway statistics

Get statistics for gateway

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param gatewayId
@return ApiRetrieveGatewayStatsRequest

func (*GatewaysApiService) RetrieveGatewayStatsExecute added in v4.6.0

func (a *GatewaysApiService) RetrieveGatewayStatsExecute(r ApiRetrieveGatewayStatsRequest) (*GatewayStats, *http.Response, error)

Execute executes the request

@return GatewayStats

func (*GatewaysApiService) UpdateGateway added in v4.4.0

func (a *GatewaysApiService) UpdateGateway(ctx context.Context, existingCollectionId string, gatewayId string) ApiUpdateGatewayRequest

UpdateGateway Update gateway

Update configuration for a gateway. If you want to remove or move a gateway from the collection the devices in the collection must not have any gateway configuration. The certificates for the gateway are unchanged when the gateway is moved.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param existingCollectionId
@param gatewayId
@return ApiUpdateGatewayRequest

func (*GatewaysApiService) UpdateGatewayExecute added in v4.4.0

func (a *GatewaysApiService) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*Gateway, *http.Response, error)

Execute executes the request

@return Gateway

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type InetMetadata added in v4.2.0

type InetMetadata struct {
	GatewayId         *string `json:"gatewayId,omitempty"`
	LastUpdate        *string `json:"lastUpdate,omitempty"`
	RemoteAddress     *string `json:"remoteAddress,omitempty"`
	CertificateSerial *string `json:"certificateSerial,omitempty"`
}

InetMetadata Metadata for devices connected via the internet gateway. This metadata shows the configuration for the last message transmission.

func NewInetMetadata added in v4.2.0

func NewInetMetadata() *InetMetadata

NewInetMetadata instantiates a new InetMetadata 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 NewInetMetadataWithDefaults added in v4.2.0

func NewInetMetadataWithDefaults() *InetMetadata

NewInetMetadataWithDefaults instantiates a new InetMetadata 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 (*InetMetadata) GetCertificateSerial added in v4.2.0

func (o *InetMetadata) GetCertificateSerial() string

GetCertificateSerial returns the CertificateSerial field value if set, zero value otherwise.

func (*InetMetadata) GetCertificateSerialOk added in v4.2.0

func (o *InetMetadata) GetCertificateSerialOk() (*string, bool)

GetCertificateSerialOk returns a tuple with the CertificateSerial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InetMetadata) GetGatewayId added in v4.2.0

func (o *InetMetadata) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*InetMetadata) GetGatewayIdOk added in v4.2.0

func (o *InetMetadata) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InetMetadata) GetLastUpdate added in v4.2.0

func (o *InetMetadata) GetLastUpdate() string

GetLastUpdate returns the LastUpdate field value if set, zero value otherwise.

func (*InetMetadata) GetLastUpdateOk added in v4.2.0

func (o *InetMetadata) GetLastUpdateOk() (*string, bool)

GetLastUpdateOk returns a tuple with the LastUpdate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InetMetadata) GetRemoteAddress added in v4.2.0

func (o *InetMetadata) GetRemoteAddress() string

GetRemoteAddress returns the RemoteAddress field value if set, zero value otherwise.

func (*InetMetadata) GetRemoteAddressOk added in v4.2.0

func (o *InetMetadata) GetRemoteAddressOk() (*string, bool)

GetRemoteAddressOk returns a tuple with the RemoteAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InetMetadata) HasCertificateSerial added in v4.2.0

func (o *InetMetadata) HasCertificateSerial() bool

HasCertificateSerial returns a boolean if a field has been set.

func (*InetMetadata) HasGatewayId added in v4.2.0

func (o *InetMetadata) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*InetMetadata) HasLastUpdate added in v4.2.0

func (o *InetMetadata) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

func (*InetMetadata) HasRemoteAddress added in v4.2.0

func (o *InetMetadata) HasRemoteAddress() bool

HasRemoteAddress returns a boolean if a field has been set.

func (InetMetadata) MarshalJSON added in v4.2.0

func (o InetMetadata) MarshalJSON() ([]byte, error)

func (*InetMetadata) SetCertificateSerial added in v4.2.0

func (o *InetMetadata) SetCertificateSerial(v string)

SetCertificateSerial gets a reference to the given string and assigns it to the CertificateSerial field.

func (*InetMetadata) SetGatewayId added in v4.2.0

func (o *InetMetadata) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*InetMetadata) SetLastUpdate added in v4.2.0

func (o *InetMetadata) SetLastUpdate(v string)

SetLastUpdate gets a reference to the given string and assigns it to the LastUpdate field.

func (*InetMetadata) SetRemoteAddress added in v4.2.0

func (o *InetMetadata) SetRemoteAddress(v string)

SetRemoteAddress gets a reference to the given string and assigns it to the RemoteAddress field.

func (InetMetadata) ToMap added in v4.5.0

func (o InetMetadata) ToMap() (map[string]interface{}, error)

type ListBlobResponse added in v4.4.0

type ListBlobResponse struct {
	Blobs []Blob `json:"blobs,omitempty"`
}

ListBlobResponse Response object when listing blobs for a collection

func NewListBlobResponse added in v4.4.0

func NewListBlobResponse() *ListBlobResponse

NewListBlobResponse instantiates a new ListBlobResponse 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 NewListBlobResponseWithDefaults added in v4.4.0

func NewListBlobResponseWithDefaults() *ListBlobResponse

NewListBlobResponseWithDefaults instantiates a new ListBlobResponse 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 (*ListBlobResponse) GetBlobs added in v4.4.0

func (o *ListBlobResponse) GetBlobs() []Blob

GetBlobs returns the Blobs field value if set, zero value otherwise.

func (*ListBlobResponse) GetBlobsOk added in v4.4.0

func (o *ListBlobResponse) GetBlobsOk() ([]Blob, bool)

GetBlobsOk returns a tuple with the Blobs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListBlobResponse) HasBlobs added in v4.4.0

func (o *ListBlobResponse) HasBlobs() bool

HasBlobs returns a boolean if a field has been set.

func (ListBlobResponse) MarshalJSON added in v4.4.0

func (o ListBlobResponse) MarshalJSON() ([]byte, error)

func (*ListBlobResponse) SetBlobs added in v4.4.0

func (o *ListBlobResponse) SetBlobs(v []Blob)

SetBlobs gets a reference to the given []Blob and assigns it to the Blobs field.

func (ListBlobResponse) ToMap added in v4.5.0

func (o ListBlobResponse) ToMap() (map[string]interface{}, error)

type ListCollectionResponse

type ListCollectionResponse struct {
	Collections []Collection `json:"collections,omitempty"`
}

ListCollectionResponse Collection list. The list contains all the collections you have access to.

func NewListCollectionResponse

func NewListCollectionResponse() *ListCollectionResponse

NewListCollectionResponse instantiates a new ListCollectionResponse 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 NewListCollectionResponseWithDefaults

func NewListCollectionResponseWithDefaults() *ListCollectionResponse

NewListCollectionResponseWithDefaults instantiates a new ListCollectionResponse 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 (*ListCollectionResponse) GetCollections

func (o *ListCollectionResponse) GetCollections() []Collection

GetCollections returns the Collections field value if set, zero value otherwise.

func (*ListCollectionResponse) GetCollectionsOk

func (o *ListCollectionResponse) GetCollectionsOk() ([]Collection, bool)

GetCollectionsOk returns a tuple with the Collections field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCollectionResponse) HasCollections

func (o *ListCollectionResponse) HasCollections() bool

HasCollections returns a boolean if a field has been set.

func (ListCollectionResponse) MarshalJSON

func (o ListCollectionResponse) MarshalJSON() ([]byte, error)

func (*ListCollectionResponse) SetCollections

func (o *ListCollectionResponse) SetCollections(v []Collection)

SetCollections gets a reference to the given []Collection and assigns it to the Collections field.

func (ListCollectionResponse) ToMap added in v4.5.0

func (o ListCollectionResponse) ToMap() (map[string]interface{}, error)

type ListDataResponse

type ListDataResponse struct {
	Data []OutputDataMessage `json:"data,omitempty"`
}

ListDataResponse List of device payloads

func NewListDataResponse

func NewListDataResponse() *ListDataResponse

NewListDataResponse instantiates a new ListDataResponse 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 NewListDataResponseWithDefaults

func NewListDataResponseWithDefaults() *ListDataResponse

NewListDataResponseWithDefaults instantiates a new ListDataResponse 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 (*ListDataResponse) GetData

func (o *ListDataResponse) GetData() []OutputDataMessage

GetData returns the Data field value if set, zero value otherwise.

func (*ListDataResponse) GetDataOk

func (o *ListDataResponse) GetDataOk() ([]OutputDataMessage, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListDataResponse) HasData

func (o *ListDataResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ListDataResponse) MarshalJSON

func (o ListDataResponse) MarshalJSON() ([]byte, error)

func (*ListDataResponse) SetData

func (o *ListDataResponse) SetData(v []OutputDataMessage)

SetData gets a reference to the given []OutputDataMessage and assigns it to the Data field.

func (ListDataResponse) ToMap added in v4.5.0

func (o ListDataResponse) ToMap() (map[string]interface{}, error)

type ListDevicesResponse

type ListDevicesResponse struct {
	Devices []Device `json:"devices,omitempty"`
}

ListDevicesResponse List device response

func NewListDevicesResponse

func NewListDevicesResponse() *ListDevicesResponse

NewListDevicesResponse instantiates a new ListDevicesResponse 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 NewListDevicesResponseWithDefaults

func NewListDevicesResponseWithDefaults() *ListDevicesResponse

NewListDevicesResponseWithDefaults instantiates a new ListDevicesResponse 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 (*ListDevicesResponse) GetDevices

func (o *ListDevicesResponse) GetDevices() []Device

GetDevices returns the Devices field value if set, zero value otherwise.

func (*ListDevicesResponse) GetDevicesOk

func (o *ListDevicesResponse) GetDevicesOk() ([]Device, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListDevicesResponse) HasDevices

func (o *ListDevicesResponse) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (ListDevicesResponse) MarshalJSON

func (o ListDevicesResponse) MarshalJSON() ([]byte, error)

func (*ListDevicesResponse) SetDevices

func (o *ListDevicesResponse) SetDevices(v []Device)

SetDevices gets a reference to the given []Device and assigns it to the Devices field.

func (ListDevicesResponse) ToMap added in v4.5.0

func (o ListDevicesResponse) ToMap() (map[string]interface{}, error)

type ListDownstreamMessagesResponse added in v4.2.0

type ListDownstreamMessagesResponse struct {
	Messages []MessageDownstream `json:"messages,omitempty"`
}

ListDownstreamMessagesResponse Response object when listing downstream messages

func NewListDownstreamMessagesResponse added in v4.2.0

func NewListDownstreamMessagesResponse() *ListDownstreamMessagesResponse

NewListDownstreamMessagesResponse instantiates a new ListDownstreamMessagesResponse 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 NewListDownstreamMessagesResponseWithDefaults added in v4.2.0

func NewListDownstreamMessagesResponseWithDefaults() *ListDownstreamMessagesResponse

NewListDownstreamMessagesResponseWithDefaults instantiates a new ListDownstreamMessagesResponse 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 (*ListDownstreamMessagesResponse) GetMessages added in v4.2.0

GetMessages returns the Messages field value if set, zero value otherwise.

func (*ListDownstreamMessagesResponse) GetMessagesOk added in v4.2.0

func (o *ListDownstreamMessagesResponse) GetMessagesOk() ([]MessageDownstream, bool)

GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListDownstreamMessagesResponse) HasMessages added in v4.2.0

func (o *ListDownstreamMessagesResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ListDownstreamMessagesResponse) MarshalJSON added in v4.2.0

func (o ListDownstreamMessagesResponse) MarshalJSON() ([]byte, error)

func (*ListDownstreamMessagesResponse) SetMessages added in v4.2.0

SetMessages gets a reference to the given []MessageDownstream and assigns it to the Messages field.

func (ListDownstreamMessagesResponse) ToMap added in v4.5.0

func (o ListDownstreamMessagesResponse) ToMap() (map[string]interface{}, error)

type ListFirmwareResponse

type ListFirmwareResponse struct {
	Images []Firmware `json:"images,omitempty"`
}

ListFirmwareResponse List firmware response

func NewListFirmwareResponse

func NewListFirmwareResponse() *ListFirmwareResponse

NewListFirmwareResponse instantiates a new ListFirmwareResponse 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 NewListFirmwareResponseWithDefaults

func NewListFirmwareResponseWithDefaults() *ListFirmwareResponse

NewListFirmwareResponseWithDefaults instantiates a new ListFirmwareResponse 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 (*ListFirmwareResponse) GetImages

func (o *ListFirmwareResponse) GetImages() []Firmware

GetImages returns the Images field value if set, zero value otherwise.

func (*ListFirmwareResponse) GetImagesOk

func (o *ListFirmwareResponse) GetImagesOk() ([]Firmware, bool)

GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListFirmwareResponse) HasImages

func (o *ListFirmwareResponse) HasImages() bool

HasImages returns a boolean if a field has been set.

func (ListFirmwareResponse) MarshalJSON

func (o ListFirmwareResponse) MarshalJSON() ([]byte, error)

func (*ListFirmwareResponse) SetImages

func (o *ListFirmwareResponse) SetImages(v []Firmware)

SetImages gets a reference to the given []Firmware and assigns it to the Images field.

func (ListFirmwareResponse) ToMap added in v4.5.0

func (o ListFirmwareResponse) ToMap() (map[string]interface{}, error)

type ListGatewayResponse added in v4.2.0

type ListGatewayResponse struct {
	Gateways []Gateway `json:"gateways,omitempty"`
}

ListGatewayResponse Response when listing gateways

func NewListGatewayResponse added in v4.2.0

func NewListGatewayResponse() *ListGatewayResponse

NewListGatewayResponse instantiates a new ListGatewayResponse 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 NewListGatewayResponseWithDefaults added in v4.2.0

func NewListGatewayResponseWithDefaults() *ListGatewayResponse

NewListGatewayResponseWithDefaults instantiates a new ListGatewayResponse 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 (*ListGatewayResponse) GetGateways added in v4.2.0

func (o *ListGatewayResponse) GetGateways() []Gateway

GetGateways returns the Gateways field value if set, zero value otherwise.

func (*ListGatewayResponse) GetGatewaysOk added in v4.2.0

func (o *ListGatewayResponse) GetGatewaysOk() ([]Gateway, bool)

GetGatewaysOk returns a tuple with the Gateways field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListGatewayResponse) HasGateways added in v4.2.0

func (o *ListGatewayResponse) HasGateways() bool

HasGateways returns a boolean if a field has been set.

func (ListGatewayResponse) MarshalJSON added in v4.2.0

func (o ListGatewayResponse) MarshalJSON() ([]byte, error)

func (*ListGatewayResponse) SetGateways added in v4.2.0

func (o *ListGatewayResponse) SetGateways(v []Gateway)

SetGateways gets a reference to the given []Gateway and assigns it to the Gateways field.

func (ListGatewayResponse) ToMap added in v4.5.0

func (o ListGatewayResponse) ToMap() (map[string]interface{}, error)

type ListOutputResponse

type ListOutputResponse struct {
	CollectionId *string  `json:"collectionId,omitempty"`
	Outputs      []Output `json:"outputs,omitempty"`
}

ListOutputResponse List outputs

func NewListOutputResponse

func NewListOutputResponse() *ListOutputResponse

NewListOutputResponse instantiates a new ListOutputResponse 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 NewListOutputResponseWithDefaults

func NewListOutputResponseWithDefaults() *ListOutputResponse

NewListOutputResponseWithDefaults instantiates a new ListOutputResponse 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 (*ListOutputResponse) GetCollectionId

func (o *ListOutputResponse) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*ListOutputResponse) GetCollectionIdOk

func (o *ListOutputResponse) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListOutputResponse) GetOutputs

func (o *ListOutputResponse) GetOutputs() []Output

GetOutputs returns the Outputs field value if set, zero value otherwise.

func (*ListOutputResponse) GetOutputsOk

func (o *ListOutputResponse) GetOutputsOk() ([]Output, bool)

GetOutputsOk returns a tuple with the Outputs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListOutputResponse) HasCollectionId

func (o *ListOutputResponse) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*ListOutputResponse) HasOutputs

func (o *ListOutputResponse) HasOutputs() bool

HasOutputs returns a boolean if a field has been set.

func (ListOutputResponse) MarshalJSON

func (o ListOutputResponse) MarshalJSON() ([]byte, error)

func (*ListOutputResponse) SetCollectionId

func (o *ListOutputResponse) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*ListOutputResponse) SetOutputs

func (o *ListOutputResponse) SetOutputs(v []Output)

SetOutputs gets a reference to the given []Output and assigns it to the Outputs field.

func (ListOutputResponse) ToMap added in v4.5.0

func (o ListOutputResponse) ToMap() (map[string]interface{}, error)

type ListUpstreamMessagesResponse added in v4.2.0

type ListUpstreamMessagesResponse struct {
	Messages []MessageUpstream `json:"messages,omitempty"`
}

ListUpstreamMessagesResponse Response object when listing upstream messages

func NewListUpstreamMessagesResponse added in v4.2.0

func NewListUpstreamMessagesResponse() *ListUpstreamMessagesResponse

NewListUpstreamMessagesResponse instantiates a new ListUpstreamMessagesResponse 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 NewListUpstreamMessagesResponseWithDefaults added in v4.2.0

func NewListUpstreamMessagesResponseWithDefaults() *ListUpstreamMessagesResponse

NewListUpstreamMessagesResponseWithDefaults instantiates a new ListUpstreamMessagesResponse 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 (*ListUpstreamMessagesResponse) GetMessages added in v4.2.0

func (o *ListUpstreamMessagesResponse) GetMessages() []MessageUpstream

GetMessages returns the Messages field value if set, zero value otherwise.

func (*ListUpstreamMessagesResponse) GetMessagesOk added in v4.2.0

func (o *ListUpstreamMessagesResponse) GetMessagesOk() ([]MessageUpstream, bool)

GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListUpstreamMessagesResponse) HasMessages added in v4.2.0

func (o *ListUpstreamMessagesResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ListUpstreamMessagesResponse) MarshalJSON added in v4.2.0

func (o ListUpstreamMessagesResponse) MarshalJSON() ([]byte, error)

func (*ListUpstreamMessagesResponse) SetMessages added in v4.2.0

func (o *ListUpstreamMessagesResponse) SetMessages(v []MessageUpstream)

SetMessages gets a reference to the given []MessageUpstream and assigns it to the Messages field.

func (ListUpstreamMessagesResponse) ToMap added in v4.5.0

func (o ListUpstreamMessagesResponse) ToMap() (map[string]interface{}, error)

type MQTTMetadata added in v4.3.0

type MQTTMetadata struct {
	Topic *string `json:"topic,omitempty"`
}

MQTTMetadata MQTT metadata for messages received through one of the MQTT endpoints. This is an EXPERIMENTAL feature.

func NewMQTTMetadata added in v4.3.0

func NewMQTTMetadata() *MQTTMetadata

NewMQTTMetadata instantiates a new MQTTMetadata 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 NewMQTTMetadataWithDefaults added in v4.3.0

func NewMQTTMetadataWithDefaults() *MQTTMetadata

NewMQTTMetadataWithDefaults instantiates a new MQTTMetadata 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 (*MQTTMetadata) GetTopic added in v4.3.0

func (o *MQTTMetadata) GetTopic() string

GetTopic returns the Topic field value if set, zero value otherwise.

func (*MQTTMetadata) GetTopicOk added in v4.3.0

func (o *MQTTMetadata) GetTopicOk() (*string, bool)

GetTopicOk returns a tuple with the Topic field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MQTTMetadata) HasTopic added in v4.3.0

func (o *MQTTMetadata) HasTopic() bool

HasTopic returns a boolean if a field has been set.

func (MQTTMetadata) MarshalJSON added in v4.3.0

func (o MQTTMetadata) MarshalJSON() ([]byte, error)

func (*MQTTMetadata) SetTopic added in v4.3.0

func (o *MQTTMetadata) SetTopic(v string)

SetTopic gets a reference to the given string and assigns it to the Topic field.

func (MQTTMetadata) ToMap added in v4.5.0

func (o MQTTMetadata) ToMap() (map[string]interface{}, error)

type MappedNullable added in v4.5.0

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MessageDownstream added in v4.2.0

type MessageDownstream struct {
	MessageId    *string           `json:"messageId,omitempty"`
	CollectionId *string           `json:"collectionId,omitempty"`
	DeviceId     *string           `json:"deviceId,omitempty"`
	GatewayId    *string           `json:"gatewayId,omitempty"`
	CreatedTime  *string           `json:"createdTime,omitempty"`
	SentTime     *string           `json:"sentTime,omitempty"`
	Transport    *MessageTransport `json:"transport,omitempty"`
	State        *MessageState     `json:"state,omitempty"`
	Payload      *string           `json:"payload,omitempty"`
}

MessageDownstream Downstream messages are sent from the backend to the devices.

func NewMessageDownstream added in v4.2.0

func NewMessageDownstream() *MessageDownstream

NewMessageDownstream instantiates a new MessageDownstream 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 NewMessageDownstreamWithDefaults added in v4.2.0

func NewMessageDownstreamWithDefaults() *MessageDownstream

NewMessageDownstreamWithDefaults instantiates a new MessageDownstream 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 (*MessageDownstream) GetCollectionId added in v4.2.0

func (o *MessageDownstream) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*MessageDownstream) GetCollectionIdOk added in v4.2.0

func (o *MessageDownstream) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetCreatedTime added in v4.2.0

func (o *MessageDownstream) GetCreatedTime() string

GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.

func (*MessageDownstream) GetCreatedTimeOk added in v4.2.0

func (o *MessageDownstream) GetCreatedTimeOk() (*string, bool)

GetCreatedTimeOk returns a tuple with the CreatedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetDeviceId added in v4.2.0

func (o *MessageDownstream) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*MessageDownstream) GetDeviceIdOk added in v4.2.0

func (o *MessageDownstream) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetGatewayId added in v4.2.0

func (o *MessageDownstream) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*MessageDownstream) GetGatewayIdOk added in v4.2.0

func (o *MessageDownstream) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetMessageId added in v4.2.0

func (o *MessageDownstream) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*MessageDownstream) GetMessageIdOk added in v4.2.0

func (o *MessageDownstream) GetMessageIdOk() (*string, bool)

GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetPayload added in v4.2.0

func (o *MessageDownstream) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise.

func (*MessageDownstream) GetPayloadOk added in v4.2.0

func (o *MessageDownstream) GetPayloadOk() (*string, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetSentTime added in v4.2.0

func (o *MessageDownstream) GetSentTime() string

GetSentTime returns the SentTime field value if set, zero value otherwise.

func (*MessageDownstream) GetSentTimeOk added in v4.2.0

func (o *MessageDownstream) GetSentTimeOk() (*string, bool)

GetSentTimeOk returns a tuple with the SentTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetState added in v4.2.0

func (o *MessageDownstream) GetState() MessageState

GetState returns the State field value if set, zero value otherwise.

func (*MessageDownstream) GetStateOk added in v4.2.0

func (o *MessageDownstream) GetStateOk() (*MessageState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) GetTransport added in v4.2.0

func (o *MessageDownstream) GetTransport() MessageTransport

GetTransport returns the Transport field value if set, zero value otherwise.

func (*MessageDownstream) GetTransportOk added in v4.2.0

func (o *MessageDownstream) GetTransportOk() (*MessageTransport, bool)

GetTransportOk returns a tuple with the Transport field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageDownstream) HasCollectionId added in v4.2.0

func (o *MessageDownstream) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*MessageDownstream) HasCreatedTime added in v4.2.0

func (o *MessageDownstream) HasCreatedTime() bool

HasCreatedTime returns a boolean if a field has been set.

func (*MessageDownstream) HasDeviceId added in v4.2.0

func (o *MessageDownstream) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*MessageDownstream) HasGatewayId added in v4.2.0

func (o *MessageDownstream) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*MessageDownstream) HasMessageId added in v4.2.0

func (o *MessageDownstream) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*MessageDownstream) HasPayload added in v4.2.0

func (o *MessageDownstream) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*MessageDownstream) HasSentTime added in v4.2.0

func (o *MessageDownstream) HasSentTime() bool

HasSentTime returns a boolean if a field has been set.

func (*MessageDownstream) HasState added in v4.2.0

func (o *MessageDownstream) HasState() bool

HasState returns a boolean if a field has been set.

func (*MessageDownstream) HasTransport added in v4.2.0

func (o *MessageDownstream) HasTransport() bool

HasTransport returns a boolean if a field has been set.

func (MessageDownstream) MarshalJSON added in v4.2.0

func (o MessageDownstream) MarshalJSON() ([]byte, error)

func (*MessageDownstream) SetCollectionId added in v4.2.0

func (o *MessageDownstream) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*MessageDownstream) SetCreatedTime added in v4.2.0

func (o *MessageDownstream) SetCreatedTime(v string)

SetCreatedTime gets a reference to the given string and assigns it to the CreatedTime field.

func (*MessageDownstream) SetDeviceId added in v4.2.0

func (o *MessageDownstream) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*MessageDownstream) SetGatewayId added in v4.2.0

func (o *MessageDownstream) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*MessageDownstream) SetMessageId added in v4.2.0

func (o *MessageDownstream) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*MessageDownstream) SetPayload added in v4.2.0

func (o *MessageDownstream) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

func (*MessageDownstream) SetSentTime added in v4.2.0

func (o *MessageDownstream) SetSentTime(v string)

SetSentTime gets a reference to the given string and assigns it to the SentTime field.

func (*MessageDownstream) SetState added in v4.2.0

func (o *MessageDownstream) SetState(v MessageState)

SetState gets a reference to the given MessageState and assigns it to the State field.

func (*MessageDownstream) SetTransport added in v4.2.0

func (o *MessageDownstream) SetTransport(v MessageTransport)

SetTransport gets a reference to the given MessageTransport and assigns it to the Transport field.

func (MessageDownstream) ToMap added in v4.5.0

func (o MessageDownstream) ToMap() (map[string]interface{}, error)

type MessageState added in v4.2.0

type MessageState string

MessageState the model 'MessageState'

const (
	MESSAGESTATE_UNSPECIFIED MessageState = "unspecified"
	MESSAGESTATE_PENDING     MessageState = "pending"
	MESSAGESTATE_SENT        MessageState = "sent"
	MESSAGESTATE_FAILED      MessageState = "failed"
)

List of MessageState

func NewMessageStateFromValue added in v4.2.0

func NewMessageStateFromValue(v string) (*MessageState, error)

NewMessageStateFromValue returns a pointer to a valid MessageState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (MessageState) IsValid added in v4.2.0

func (v MessageState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MessageState) Ptr added in v4.2.0

func (v MessageState) Ptr() *MessageState

Ptr returns reference to MessageState value

func (*MessageState) UnmarshalJSON added in v4.2.0

func (v *MessageState) UnmarshalJSON(src []byte) error

type MessageTransport added in v4.2.0

type MessageTransport string

MessageTransport The message transport can be UDP or CoAP.

const (
	MESSAGETRANSPORT_UNSPECIFIED MessageTransport = "unspecified"
	MESSAGETRANSPORT_UDP         MessageTransport = "udp"
	MESSAGETRANSPORT_COAP        MessageTransport = "coap"
	MESSAGETRANSPORT_MQTT        MessageTransport = "mqtt"
	MESSAGETRANSPORT_GATEWAY     MessageTransport = "gateway"
	MESSAGETRANSPORT_COAPS       MessageTransport = "coaps"
	MESSAGETRANSPORT_DTLS        MessageTransport = "dtls"
)

List of MessageTransport

func NewMessageTransportFromValue added in v4.2.0

func NewMessageTransportFromValue(v string) (*MessageTransport, error)

NewMessageTransportFromValue returns a pointer to a valid MessageTransport for the value passed as argument, or an error if the value passed is not allowed by the enum

func (MessageTransport) IsValid added in v4.2.0

func (v MessageTransport) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MessageTransport) Ptr added in v4.2.0

Ptr returns reference to MessageTransport value

func (*MessageTransport) UnmarshalJSON added in v4.2.0

func (v *MessageTransport) UnmarshalJSON(src []byte) error

type MessageUpstream added in v4.2.0

type MessageUpstream struct {
	MessageId    *string           `json:"messageId,omitempty"`
	CollectionId *string           `json:"collectionId,omitempty"`
	DeviceId     *string           `json:"deviceId,omitempty"`
	GatewayId    *string           `json:"gatewayId,omitempty"`
	Transport    *MessageTransport `json:"transport,omitempty"`
	Received     *string           `json:"received,omitempty"`
	Payload      *string           `json:"payload,omitempty"`
}

MessageUpstream This is the messages sent from the device to the backend service

func NewMessageUpstream added in v4.2.0

func NewMessageUpstream() *MessageUpstream

NewMessageUpstream instantiates a new MessageUpstream 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 NewMessageUpstreamWithDefaults added in v4.2.0

func NewMessageUpstreamWithDefaults() *MessageUpstream

NewMessageUpstreamWithDefaults instantiates a new MessageUpstream 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 (*MessageUpstream) GetCollectionId added in v4.2.0

func (o *MessageUpstream) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*MessageUpstream) GetCollectionIdOk added in v4.2.0

func (o *MessageUpstream) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageUpstream) GetDeviceId added in v4.2.0

func (o *MessageUpstream) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*MessageUpstream) GetDeviceIdOk added in v4.2.0

func (o *MessageUpstream) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageUpstream) GetGatewayId added in v4.2.0

func (o *MessageUpstream) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*MessageUpstream) GetGatewayIdOk added in v4.2.0

func (o *MessageUpstream) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageUpstream) GetMessageId added in v4.2.0

func (o *MessageUpstream) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*MessageUpstream) GetMessageIdOk added in v4.2.0

func (o *MessageUpstream) GetMessageIdOk() (*string, bool)

GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageUpstream) GetPayload added in v4.2.0

func (o *MessageUpstream) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise.

func (*MessageUpstream) GetPayloadOk added in v4.2.0

func (o *MessageUpstream) GetPayloadOk() (*string, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageUpstream) GetReceived added in v4.2.0

func (o *MessageUpstream) GetReceived() string

GetReceived returns the Received field value if set, zero value otherwise.

func (*MessageUpstream) GetReceivedOk added in v4.2.0

func (o *MessageUpstream) GetReceivedOk() (*string, bool)

GetReceivedOk returns a tuple with the Received field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageUpstream) GetTransport added in v4.2.0

func (o *MessageUpstream) GetTransport() MessageTransport

GetTransport returns the Transport field value if set, zero value otherwise.

func (*MessageUpstream) GetTransportOk added in v4.2.0

func (o *MessageUpstream) GetTransportOk() (*MessageTransport, bool)

GetTransportOk returns a tuple with the Transport field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageUpstream) HasCollectionId added in v4.2.0

func (o *MessageUpstream) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*MessageUpstream) HasDeviceId added in v4.2.0

func (o *MessageUpstream) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*MessageUpstream) HasGatewayId added in v4.2.0

func (o *MessageUpstream) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*MessageUpstream) HasMessageId added in v4.2.0

func (o *MessageUpstream) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*MessageUpstream) HasPayload added in v4.2.0

func (o *MessageUpstream) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*MessageUpstream) HasReceived added in v4.2.0

func (o *MessageUpstream) HasReceived() bool

HasReceived returns a boolean if a field has been set.

func (*MessageUpstream) HasTransport added in v4.2.0

func (o *MessageUpstream) HasTransport() bool

HasTransport returns a boolean if a field has been set.

func (MessageUpstream) MarshalJSON added in v4.2.0

func (o MessageUpstream) MarshalJSON() ([]byte, error)

func (*MessageUpstream) SetCollectionId added in v4.2.0

func (o *MessageUpstream) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*MessageUpstream) SetDeviceId added in v4.2.0

func (o *MessageUpstream) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*MessageUpstream) SetGatewayId added in v4.2.0

func (o *MessageUpstream) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*MessageUpstream) SetMessageId added in v4.2.0

func (o *MessageUpstream) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*MessageUpstream) SetPayload added in v4.2.0

func (o *MessageUpstream) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

func (*MessageUpstream) SetReceived added in v4.2.0

func (o *MessageUpstream) SetReceived(v string)

SetReceived gets a reference to the given string and assigns it to the Received field.

func (*MessageUpstream) SetTransport added in v4.2.0

func (o *MessageUpstream) SetTransport(v MessageTransport)

SetTransport gets a reference to the given MessageTransport and assigns it to the Transport field.

func (MessageUpstream) ToMap added in v4.5.0

func (o MessageUpstream) ToMap() (map[string]interface{}, error)

type NullableActivityEvent added in v4.9.5

type NullableActivityEvent struct {
	// contains filtered or unexported fields
}

func NewNullableActivityEvent added in v4.9.5

func NewNullableActivityEvent(val *ActivityEvent) *NullableActivityEvent

func (NullableActivityEvent) Get added in v4.9.5

func (NullableActivityEvent) IsSet added in v4.9.5

func (v NullableActivityEvent) IsSet() bool

func (NullableActivityEvent) MarshalJSON added in v4.9.5

func (v NullableActivityEvent) MarshalJSON() ([]byte, error)

func (*NullableActivityEvent) Set added in v4.9.5

func (v *NullableActivityEvent) Set(val *ActivityEvent)

func (*NullableActivityEvent) UnmarshalJSON added in v4.9.5

func (v *NullableActivityEvent) UnmarshalJSON(src []byte) error

func (*NullableActivityEvent) Unset added in v4.9.5

func (v *NullableActivityEvent) Unset()

type NullableAddDownstreamMessageRequest added in v4.2.0

type NullableAddDownstreamMessageRequest struct {
	// contains filtered or unexported fields
}

func NewNullableAddDownstreamMessageRequest added in v4.2.0

func NewNullableAddDownstreamMessageRequest(val *AddDownstreamMessageRequest) *NullableAddDownstreamMessageRequest

func (NullableAddDownstreamMessageRequest) Get added in v4.2.0

func (NullableAddDownstreamMessageRequest) IsSet added in v4.2.0

func (NullableAddDownstreamMessageRequest) MarshalJSON added in v4.2.0

func (v NullableAddDownstreamMessageRequest) MarshalJSON() ([]byte, error)

func (*NullableAddDownstreamMessageRequest) Set added in v4.2.0

func (*NullableAddDownstreamMessageRequest) UnmarshalJSON added in v4.2.0

func (v *NullableAddDownstreamMessageRequest) UnmarshalJSON(src []byte) error

func (*NullableAddDownstreamMessageRequest) Unset added in v4.2.0

type NullableAny added in v4.2.0

type NullableAny struct {
	// contains filtered or unexported fields
}

func NewNullableAny added in v4.2.0

func NewNullableAny(val *Any) *NullableAny

func (NullableAny) Get added in v4.2.0

func (v NullableAny) Get() *Any

func (NullableAny) IsSet added in v4.2.0

func (v NullableAny) IsSet() bool

func (NullableAny) MarshalJSON added in v4.2.0

func (v NullableAny) MarshalJSON() ([]byte, error)

func (*NullableAny) Set added in v4.2.0

func (v *NullableAny) Set(val *Any)

func (*NullableAny) UnmarshalJSON added in v4.2.0

func (v *NullableAny) UnmarshalJSON(src []byte) error

func (*NullableAny) Unset added in v4.2.0

func (v *NullableAny) Unset()

type NullableBlob added in v4.4.0

type NullableBlob struct {
	// contains filtered or unexported fields
}

func NewNullableBlob added in v4.4.0

func NewNullableBlob(val *Blob) *NullableBlob

func (NullableBlob) Get added in v4.4.0

func (v NullableBlob) Get() *Blob

func (NullableBlob) IsSet added in v4.4.0

func (v NullableBlob) IsSet() bool

func (NullableBlob) MarshalJSON added in v4.4.0

func (v NullableBlob) MarshalJSON() ([]byte, error)

func (*NullableBlob) Set added in v4.4.0

func (v *NullableBlob) Set(val *Blob)

func (*NullableBlob) UnmarshalJSON added in v4.4.0

func (v *NullableBlob) UnmarshalJSON(src []byte) error

func (*NullableBlob) Unset added in v4.4.0

func (v *NullableBlob) Unset()

type NullableBlobStats added in v4.6.0

type NullableBlobStats struct {
	// contains filtered or unexported fields
}

func NewNullableBlobStats added in v4.6.0

func NewNullableBlobStats(val *BlobStats) *NullableBlobStats

func (NullableBlobStats) Get added in v4.6.0

func (v NullableBlobStats) Get() *BlobStats

func (NullableBlobStats) IsSet added in v4.6.0

func (v NullableBlobStats) IsSet() bool

func (NullableBlobStats) MarshalJSON added in v4.6.0

func (v NullableBlobStats) MarshalJSON() ([]byte, error)

func (*NullableBlobStats) Set added in v4.6.0

func (v *NullableBlobStats) Set(val *BlobStats)

func (*NullableBlobStats) UnmarshalJSON added in v4.6.0

func (v *NullableBlobStats) UnmarshalJSON(src []byte) error

func (*NullableBlobStats) Unset added in v4.6.0

func (v *NullableBlobStats) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCellularIoTConfig added in v4.2.0

type NullableCellularIoTConfig struct {
	// contains filtered or unexported fields
}

func NewNullableCellularIoTConfig added in v4.2.0

func NewNullableCellularIoTConfig(val *CellularIoTConfig) *NullableCellularIoTConfig

func (NullableCellularIoTConfig) Get added in v4.2.0

func (NullableCellularIoTConfig) IsSet added in v4.2.0

func (v NullableCellularIoTConfig) IsSet() bool

func (NullableCellularIoTConfig) MarshalJSON added in v4.2.0

func (v NullableCellularIoTConfig) MarshalJSON() ([]byte, error)

func (*NullableCellularIoTConfig) Set added in v4.2.0

func (*NullableCellularIoTConfig) UnmarshalJSON added in v4.2.0

func (v *NullableCellularIoTConfig) UnmarshalJSON(src []byte) error

func (*NullableCellularIoTConfig) Unset added in v4.2.0

func (v *NullableCellularIoTConfig) Unset()

type NullableCellularIoTMetadata added in v4.2.0

type NullableCellularIoTMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableCellularIoTMetadata added in v4.2.0

func NewNullableCellularIoTMetadata(val *CellularIoTMetadata) *NullableCellularIoTMetadata

func (NullableCellularIoTMetadata) Get added in v4.2.0

func (NullableCellularIoTMetadata) IsSet added in v4.2.0

func (NullableCellularIoTMetadata) MarshalJSON added in v4.2.0

func (v NullableCellularIoTMetadata) MarshalJSON() ([]byte, error)

func (*NullableCellularIoTMetadata) Set added in v4.2.0

func (*NullableCellularIoTMetadata) UnmarshalJSON added in v4.2.0

func (v *NullableCellularIoTMetadata) UnmarshalJSON(src []byte) error

func (*NullableCellularIoTMetadata) Unset added in v4.2.0

func (v *NullableCellularIoTMetadata) Unset()

type NullableCertificateChainResponse added in v4.2.0

type NullableCertificateChainResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCertificateChainResponse added in v4.2.0

func NewNullableCertificateChainResponse(val *CertificateChainResponse) *NullableCertificateChainResponse

func (NullableCertificateChainResponse) Get added in v4.2.0

func (NullableCertificateChainResponse) IsSet added in v4.2.0

func (NullableCertificateChainResponse) MarshalJSON added in v4.2.0

func (v NullableCertificateChainResponse) MarshalJSON() ([]byte, error)

func (*NullableCertificateChainResponse) Set added in v4.2.0

func (*NullableCertificateChainResponse) UnmarshalJSON added in v4.2.0

func (v *NullableCertificateChainResponse) UnmarshalJSON(src []byte) error

func (*NullableCertificateChainResponse) Unset added in v4.2.0

type NullableCertificateInfo added in v4.2.0

type NullableCertificateInfo struct {
	// contains filtered or unexported fields
}

func NewNullableCertificateInfo added in v4.2.0

func NewNullableCertificateInfo(val *CertificateInfo) *NullableCertificateInfo

func (NullableCertificateInfo) Get added in v4.2.0

func (NullableCertificateInfo) IsSet added in v4.2.0

func (v NullableCertificateInfo) IsSet() bool

func (NullableCertificateInfo) MarshalJSON added in v4.2.0

func (v NullableCertificateInfo) MarshalJSON() ([]byte, error)

func (*NullableCertificateInfo) Set added in v4.2.0

func (*NullableCertificateInfo) UnmarshalJSON added in v4.2.0

func (v *NullableCertificateInfo) UnmarshalJSON(src []byte) error

func (*NullableCertificateInfo) Unset added in v4.2.0

func (v *NullableCertificateInfo) Unset()

type NullableClearFirmwareErrorResponse

type NullableClearFirmwareErrorResponse struct {
	// contains filtered or unexported fields
}

func (NullableClearFirmwareErrorResponse) Get

func (NullableClearFirmwareErrorResponse) IsSet

func (NullableClearFirmwareErrorResponse) MarshalJSON

func (v NullableClearFirmwareErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableClearFirmwareErrorResponse) Set

func (*NullableClearFirmwareErrorResponse) UnmarshalJSON

func (v *NullableClearFirmwareErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableClearFirmwareErrorResponse) Unset

type NullableCoAPMetadata

type NullableCoAPMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableCoAPMetadata

func NewNullableCoAPMetadata(val *CoAPMetadata) *NullableCoAPMetadata

func (NullableCoAPMetadata) Get

func (NullableCoAPMetadata) IsSet

func (v NullableCoAPMetadata) IsSet() bool

func (NullableCoAPMetadata) MarshalJSON

func (v NullableCoAPMetadata) MarshalJSON() ([]byte, error)

func (*NullableCoAPMetadata) Set

func (v *NullableCoAPMetadata) Set(val *CoAPMetadata)

func (*NullableCoAPMetadata) UnmarshalJSON

func (v *NullableCoAPMetadata) UnmarshalJSON(src []byte) error

func (*NullableCoAPMetadata) Unset

func (v *NullableCoAPMetadata) Unset()

type NullableCollection

type NullableCollection struct {
	// contains filtered or unexported fields
}

func NewNullableCollection

func NewNullableCollection(val *Collection) *NullableCollection

func (NullableCollection) Get

func (v NullableCollection) Get() *Collection

func (NullableCollection) IsSet

func (v NullableCollection) IsSet() bool

func (NullableCollection) MarshalJSON

func (v NullableCollection) MarshalJSON() ([]byte, error)

func (*NullableCollection) Set

func (v *NullableCollection) Set(val *Collection)

func (*NullableCollection) UnmarshalJSON

func (v *NullableCollection) UnmarshalJSON(src []byte) error

func (*NullableCollection) Unset

func (v *NullableCollection) Unset()

type NullableCollectionFirmware

type NullableCollectionFirmware struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionFirmware

func NewNullableCollectionFirmware(val *CollectionFirmware) *NullableCollectionFirmware

func (NullableCollectionFirmware) Get

func (NullableCollectionFirmware) IsSet

func (v NullableCollectionFirmware) IsSet() bool

func (NullableCollectionFirmware) MarshalJSON

func (v NullableCollectionFirmware) MarshalJSON() ([]byte, error)

func (*NullableCollectionFirmware) Set

func (*NullableCollectionFirmware) UnmarshalJSON

func (v *NullableCollectionFirmware) UnmarshalJSON(src []byte) error

func (*NullableCollectionFirmware) Unset

func (v *NullableCollectionFirmware) Unset()

type NullableCollectionStats added in v4.6.0

type NullableCollectionStats struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionStats added in v4.6.0

func NewNullableCollectionStats(val *CollectionStats) *NullableCollectionStats

func (NullableCollectionStats) Get added in v4.6.0

func (NullableCollectionStats) IsSet added in v4.6.0

func (v NullableCollectionStats) IsSet() bool

func (NullableCollectionStats) MarshalJSON added in v4.6.0

func (v NullableCollectionStats) MarshalJSON() ([]byte, error)

func (*NullableCollectionStats) Set added in v4.6.0

func (*NullableCollectionStats) UnmarshalJSON added in v4.6.0

func (v *NullableCollectionStats) UnmarshalJSON(src []byte) error

func (*NullableCollectionStats) Unset added in v4.6.0

func (v *NullableCollectionStats) Unset()

type NullableCreateCertificateRequest added in v4.2.0

type NullableCreateCertificateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateCertificateRequest added in v4.2.0

func NewNullableCreateCertificateRequest(val *CreateCertificateRequest) *NullableCreateCertificateRequest

func (NullableCreateCertificateRequest) Get added in v4.2.0

func (NullableCreateCertificateRequest) IsSet added in v4.2.0

func (NullableCreateCertificateRequest) MarshalJSON added in v4.2.0

func (v NullableCreateCertificateRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateCertificateRequest) Set added in v4.2.0

func (*NullableCreateCertificateRequest) UnmarshalJSON added in v4.2.0

func (v *NullableCreateCertificateRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateCertificateRequest) Unset added in v4.2.0

type NullableCreateCertificateResponse added in v4.2.0

type NullableCreateCertificateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCreateCertificateResponse added in v4.2.0

func NewNullableCreateCertificateResponse(val *CreateCertificateResponse) *NullableCreateCertificateResponse

func (NullableCreateCertificateResponse) Get added in v4.2.0

func (NullableCreateCertificateResponse) IsSet added in v4.2.0

func (NullableCreateCertificateResponse) MarshalJSON added in v4.2.0

func (v NullableCreateCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateCertificateResponse) Set added in v4.2.0

func (*NullableCreateCertificateResponse) UnmarshalJSON added in v4.2.0

func (v *NullableCreateCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateCertificateResponse) Unset added in v4.2.0

type NullableCreateCollectionRequest added in v4.2.0

type NullableCreateCollectionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateCollectionRequest added in v4.2.0

func NewNullableCreateCollectionRequest(val *CreateCollectionRequest) *NullableCreateCollectionRequest

func (NullableCreateCollectionRequest) Get added in v4.2.0

func (NullableCreateCollectionRequest) IsSet added in v4.2.0

func (NullableCreateCollectionRequest) MarshalJSON added in v4.2.0

func (v NullableCreateCollectionRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateCollectionRequest) Set added in v4.2.0

func (*NullableCreateCollectionRequest) UnmarshalJSON added in v4.2.0

func (v *NullableCreateCollectionRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateCollectionRequest) Unset added in v4.2.0

type NullableCreateDeviceRequest added in v4.2.0

type NullableCreateDeviceRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDeviceRequest added in v4.2.0

func NewNullableCreateDeviceRequest(val *CreateDeviceRequest) *NullableCreateDeviceRequest

func (NullableCreateDeviceRequest) Get added in v4.2.0

func (NullableCreateDeviceRequest) IsSet added in v4.2.0

func (NullableCreateDeviceRequest) MarshalJSON added in v4.2.0

func (v NullableCreateDeviceRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceRequest) Set added in v4.2.0

func (*NullableCreateDeviceRequest) UnmarshalJSON added in v4.2.0

func (v *NullableCreateDeviceRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceRequest) Unset added in v4.2.0

func (v *NullableCreateDeviceRequest) Unset()

type NullableCreateFirmwareRequest

type NullableCreateFirmwareRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateFirmwareRequest) Get

func (NullableCreateFirmwareRequest) IsSet

func (NullableCreateFirmwareRequest) MarshalJSON

func (v NullableCreateFirmwareRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateFirmwareRequest) Set

func (*NullableCreateFirmwareRequest) UnmarshalJSON

func (v *NullableCreateFirmwareRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateFirmwareRequest) Unset

func (v *NullableCreateFirmwareRequest) Unset()

type NullableCreateGatewayRequest added in v4.5.0

type NullableCreateGatewayRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateGatewayRequest added in v4.5.0

func NewNullableCreateGatewayRequest(val *CreateGatewayRequest) *NullableCreateGatewayRequest

func (NullableCreateGatewayRequest) Get added in v4.5.0

func (NullableCreateGatewayRequest) IsSet added in v4.5.0

func (NullableCreateGatewayRequest) MarshalJSON added in v4.5.0

func (v NullableCreateGatewayRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateGatewayRequest) Set added in v4.5.0

func (*NullableCreateGatewayRequest) UnmarshalJSON added in v4.5.0

func (v *NullableCreateGatewayRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateGatewayRequest) Unset added in v4.5.0

func (v *NullableCreateGatewayRequest) Unset()

type NullableCreateOutputRequest added in v4.2.0

type NullableCreateOutputRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateOutputRequest added in v4.2.0

func NewNullableCreateOutputRequest(val *CreateOutputRequest) *NullableCreateOutputRequest

func (NullableCreateOutputRequest) Get added in v4.2.0

func (NullableCreateOutputRequest) IsSet added in v4.2.0

func (NullableCreateOutputRequest) MarshalJSON added in v4.2.0

func (v NullableCreateOutputRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateOutputRequest) Set added in v4.2.0

func (*NullableCreateOutputRequest) UnmarshalJSON added in v4.2.0

func (v *NullableCreateOutputRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateOutputRequest) Unset added in v4.2.0

func (v *NullableCreateOutputRequest) Unset()

type NullableDeleteDownstreamMessageResponse added in v4.2.0

type NullableDeleteDownstreamMessageResponse struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteDownstreamMessageResponse added in v4.2.0

func NewNullableDeleteDownstreamMessageResponse(val *DeleteDownstreamMessageResponse) *NullableDeleteDownstreamMessageResponse

func (NullableDeleteDownstreamMessageResponse) Get added in v4.2.0

func (NullableDeleteDownstreamMessageResponse) IsSet added in v4.2.0

func (NullableDeleteDownstreamMessageResponse) MarshalJSON added in v4.2.0

func (v NullableDeleteDownstreamMessageResponse) MarshalJSON() ([]byte, error)

func (*NullableDeleteDownstreamMessageResponse) Set added in v4.2.0

func (*NullableDeleteDownstreamMessageResponse) UnmarshalJSON added in v4.2.0

func (v *NullableDeleteDownstreamMessageResponse) UnmarshalJSON(src []byte) error

func (*NullableDeleteDownstreamMessageResponse) Unset added in v4.2.0

type NullableDevice

type NullableDevice struct {
	// contains filtered or unexported fields
}

func NewNullableDevice

func NewNullableDevice(val *Device) *NullableDevice

func (NullableDevice) Get

func (v NullableDevice) Get() *Device

func (NullableDevice) IsSet

func (v NullableDevice) IsSet() bool

func (NullableDevice) MarshalJSON

func (v NullableDevice) MarshalJSON() ([]byte, error)

func (*NullableDevice) Set

func (v *NullableDevice) Set(val *Device)

func (*NullableDevice) UnmarshalJSON

func (v *NullableDevice) UnmarshalJSON(src []byte) error

func (*NullableDevice) Unset

func (v *NullableDevice) Unset()

type NullableDeviceCertificateResponse added in v4.2.0

type NullableDeviceCertificateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceCertificateResponse added in v4.2.0

func NewNullableDeviceCertificateResponse(val *DeviceCertificateResponse) *NullableDeviceCertificateResponse

func (NullableDeviceCertificateResponse) Get added in v4.2.0

func (NullableDeviceCertificateResponse) IsSet added in v4.2.0

func (NullableDeviceCertificateResponse) MarshalJSON added in v4.2.0

func (v NullableDeviceCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableDeviceCertificateResponse) Set added in v4.2.0

func (*NullableDeviceCertificateResponse) UnmarshalJSON added in v4.2.0

func (v *NullableDeviceCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableDeviceCertificateResponse) Unset added in v4.2.0

type NullableDeviceConfig added in v4.2.0

type NullableDeviceConfig struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceConfig added in v4.2.0

func NewNullableDeviceConfig(val *DeviceConfig) *NullableDeviceConfig

func (NullableDeviceConfig) Get added in v4.2.0

func (NullableDeviceConfig) IsSet added in v4.2.0

func (v NullableDeviceConfig) IsSet() bool

func (NullableDeviceConfig) MarshalJSON added in v4.2.0

func (v NullableDeviceConfig) MarshalJSON() ([]byte, error)

func (*NullableDeviceConfig) Set added in v4.2.0

func (v *NullableDeviceConfig) Set(val *DeviceConfig)

func (*NullableDeviceConfig) UnmarshalJSON added in v4.2.0

func (v *NullableDeviceConfig) UnmarshalJSON(src []byte) error

func (*NullableDeviceConfig) Unset added in v4.2.0

func (v *NullableDeviceConfig) Unset()

type NullableDeviceMetadata added in v4.1.15

type NullableDeviceMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceMetadata added in v4.1.15

func NewNullableDeviceMetadata(val *DeviceMetadata) *NullableDeviceMetadata

func (NullableDeviceMetadata) Get added in v4.1.15

func (NullableDeviceMetadata) IsSet added in v4.1.15

func (v NullableDeviceMetadata) IsSet() bool

func (NullableDeviceMetadata) MarshalJSON added in v4.1.15

func (v NullableDeviceMetadata) MarshalJSON() ([]byte, error)

func (*NullableDeviceMetadata) Set added in v4.1.15

func (*NullableDeviceMetadata) UnmarshalJSON added in v4.1.15

func (v *NullableDeviceMetadata) UnmarshalJSON(src []byte) error

func (*NullableDeviceMetadata) Unset added in v4.1.15

func (v *NullableDeviceMetadata) Unset()

type NullableDeviceStats added in v4.6.0

type NullableDeviceStats struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceStats added in v4.6.0

func NewNullableDeviceStats(val *DeviceStats) *NullableDeviceStats

func (NullableDeviceStats) Get added in v4.6.0

func (NullableDeviceStats) IsSet added in v4.6.0

func (v NullableDeviceStats) IsSet() bool

func (NullableDeviceStats) MarshalJSON added in v4.6.0

func (v NullableDeviceStats) MarshalJSON() ([]byte, error)

func (*NullableDeviceStats) Set added in v4.6.0

func (v *NullableDeviceStats) Set(val *DeviceStats)

func (*NullableDeviceStats) UnmarshalJSON added in v4.6.0

func (v *NullableDeviceStats) UnmarshalJSON(src []byte) error

func (*NullableDeviceStats) Unset added in v4.6.0

func (v *NullableDeviceStats) Unset()

type NullableFirmware

type NullableFirmware struct {
	// contains filtered or unexported fields
}

func NewNullableFirmware

func NewNullableFirmware(val *Firmware) *NullableFirmware

func (NullableFirmware) Get

func (v NullableFirmware) Get() *Firmware

func (NullableFirmware) IsSet

func (v NullableFirmware) IsSet() bool

func (NullableFirmware) MarshalJSON

func (v NullableFirmware) MarshalJSON() ([]byte, error)

func (*NullableFirmware) Set

func (v *NullableFirmware) Set(val *Firmware)

func (*NullableFirmware) UnmarshalJSON

func (v *NullableFirmware) UnmarshalJSON(src []byte) error

func (*NullableFirmware) Unset

func (v *NullableFirmware) Unset()

type NullableFirmwareManagement added in v4.2.0

type NullableFirmwareManagement struct {
	// contains filtered or unexported fields
}

func NewNullableFirmwareManagement added in v4.2.0

func NewNullableFirmwareManagement(val *FirmwareManagement) *NullableFirmwareManagement

func (NullableFirmwareManagement) Get added in v4.2.0

func (NullableFirmwareManagement) IsSet added in v4.2.0

func (v NullableFirmwareManagement) IsSet() bool

func (NullableFirmwareManagement) MarshalJSON added in v4.2.0

func (v NullableFirmwareManagement) MarshalJSON() ([]byte, error)

func (*NullableFirmwareManagement) Set added in v4.2.0

func (*NullableFirmwareManagement) UnmarshalJSON added in v4.2.0

func (v *NullableFirmwareManagement) UnmarshalJSON(src []byte) error

func (*NullableFirmwareManagement) Unset added in v4.2.0

func (v *NullableFirmwareManagement) Unset()

type NullableFirmwareMetadata

type NullableFirmwareMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableFirmwareMetadata

func NewNullableFirmwareMetadata(val *FirmwareMetadata) *NullableFirmwareMetadata

func (NullableFirmwareMetadata) Get

func (NullableFirmwareMetadata) IsSet

func (v NullableFirmwareMetadata) IsSet() bool

func (NullableFirmwareMetadata) MarshalJSON

func (v NullableFirmwareMetadata) MarshalJSON() ([]byte, error)

func (*NullableFirmwareMetadata) Set

func (*NullableFirmwareMetadata) UnmarshalJSON

func (v *NullableFirmwareMetadata) UnmarshalJSON(src []byte) error

func (*NullableFirmwareMetadata) Unset

func (v *NullableFirmwareMetadata) Unset()

type NullableFirmwareStats added in v4.6.0

type NullableFirmwareStats struct {
	// contains filtered or unexported fields
}

func NewNullableFirmwareStats added in v4.6.0

func NewNullableFirmwareStats(val *FirmwareStats) *NullableFirmwareStats

func (NullableFirmwareStats) Get added in v4.6.0

func (NullableFirmwareStats) IsSet added in v4.6.0

func (v NullableFirmwareStats) IsSet() bool

func (NullableFirmwareStats) MarshalJSON added in v4.6.0

func (v NullableFirmwareStats) MarshalJSON() ([]byte, error)

func (*NullableFirmwareStats) Set added in v4.6.0

func (v *NullableFirmwareStats) Set(val *FirmwareStats)

func (*NullableFirmwareStats) UnmarshalJSON added in v4.6.0

func (v *NullableFirmwareStats) UnmarshalJSON(src []byte) error

func (*NullableFirmwareStats) Unset added in v4.6.0

func (v *NullableFirmwareStats) Unset()

type NullableFirmwareUsageResponse

type NullableFirmwareUsageResponse struct {
	// contains filtered or unexported fields
}

func (NullableFirmwareUsageResponse) Get

func (NullableFirmwareUsageResponse) IsSet

func (NullableFirmwareUsageResponse) MarshalJSON

func (v NullableFirmwareUsageResponse) MarshalJSON() ([]byte, error)

func (*NullableFirmwareUsageResponse) Set

func (*NullableFirmwareUsageResponse) UnmarshalJSON

func (v *NullableFirmwareUsageResponse) UnmarshalJSON(src []byte) error

func (*NullableFirmwareUsageResponse) Unset

func (v *NullableFirmwareUsageResponse) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGateway added in v4.2.0

type NullableGateway struct {
	// contains filtered or unexported fields
}

func NewNullableGateway added in v4.2.0

func NewNullableGateway(val *Gateway) *NullableGateway

func (NullableGateway) Get added in v4.2.0

func (v NullableGateway) Get() *Gateway

func (NullableGateway) IsSet added in v4.2.0

func (v NullableGateway) IsSet() bool

func (NullableGateway) MarshalJSON added in v4.2.0

func (v NullableGateway) MarshalJSON() ([]byte, error)

func (*NullableGateway) Set added in v4.2.0

func (v *NullableGateway) Set(val *Gateway)

func (*NullableGateway) UnmarshalJSON added in v4.2.0

func (v *NullableGateway) UnmarshalJSON(src []byte) error

func (*NullableGateway) Unset added in v4.2.0

func (v *NullableGateway) Unset()

type NullableGatewayCIoTConfig added in v4.4.0

type NullableGatewayCIoTConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayCIoTConfig added in v4.4.0

func NewNullableGatewayCIoTConfig(val *GatewayCIoTConfig) *NullableGatewayCIoTConfig

func (NullableGatewayCIoTConfig) Get added in v4.4.0

func (NullableGatewayCIoTConfig) IsSet added in v4.4.0

func (v NullableGatewayCIoTConfig) IsSet() bool

func (NullableGatewayCIoTConfig) MarshalJSON added in v4.4.0

func (v NullableGatewayCIoTConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayCIoTConfig) Set added in v4.4.0

func (*NullableGatewayCIoTConfig) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayCIoTConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayCIoTConfig) Unset added in v4.4.0

func (v *NullableGatewayCIoTConfig) Unset()

type NullableGatewayCertificateResponse added in v4.4.0

type NullableGatewayCertificateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayCertificateResponse added in v4.4.0

func NewNullableGatewayCertificateResponse(val *GatewayCertificateResponse) *NullableGatewayCertificateResponse

func (NullableGatewayCertificateResponse) Get added in v4.4.0

func (NullableGatewayCertificateResponse) IsSet added in v4.4.0

func (NullableGatewayCertificateResponse) MarshalJSON added in v4.4.0

func (v NullableGatewayCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableGatewayCertificateResponse) Set added in v4.4.0

func (*NullableGatewayCertificateResponse) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableGatewayCertificateResponse) Unset added in v4.4.0

type NullableGatewayConfig added in v4.4.0

type NullableGatewayConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayConfig added in v4.4.0

func NewNullableGatewayConfig(val *GatewayConfig) *NullableGatewayConfig

func (NullableGatewayConfig) Get added in v4.4.0

func (NullableGatewayConfig) IsSet added in v4.4.0

func (v NullableGatewayConfig) IsSet() bool

func (NullableGatewayConfig) MarshalJSON added in v4.4.0

func (v NullableGatewayConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayConfig) Set added in v4.4.0

func (v *NullableGatewayConfig) Set(val *GatewayConfig)

func (*NullableGatewayConfig) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayConfig) Unset added in v4.4.0

func (v *NullableGatewayConfig) Unset()

type NullableGatewayCustomConfig added in v4.4.0

type NullableGatewayCustomConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayCustomConfig added in v4.4.0

func NewNullableGatewayCustomConfig(val *GatewayCustomConfig) *NullableGatewayCustomConfig

func (NullableGatewayCustomConfig) Get added in v4.4.0

func (NullableGatewayCustomConfig) IsSet added in v4.4.0

func (NullableGatewayCustomConfig) MarshalJSON added in v4.4.0

func (v NullableGatewayCustomConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayCustomConfig) Set added in v4.4.0

func (*NullableGatewayCustomConfig) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayCustomConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayCustomConfig) Unset added in v4.4.0

func (v *NullableGatewayCustomConfig) Unset()

type NullableGatewayDeviceConfig added in v4.4.0

type NullableGatewayDeviceConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayDeviceConfig added in v4.4.0

func NewNullableGatewayDeviceConfig(val *GatewayDeviceConfig) *NullableGatewayDeviceConfig

func (NullableGatewayDeviceConfig) Get added in v4.4.0

func (NullableGatewayDeviceConfig) IsSet added in v4.4.0

func (NullableGatewayDeviceConfig) MarshalJSON added in v4.4.0

func (v NullableGatewayDeviceConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayDeviceConfig) Set added in v4.4.0

func (*NullableGatewayDeviceConfig) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayDeviceConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayDeviceConfig) Unset added in v4.4.0

func (v *NullableGatewayDeviceConfig) Unset()

type NullableGatewayDeviceMetadata added in v4.4.0

type NullableGatewayDeviceMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayDeviceMetadata added in v4.4.0

func NewNullableGatewayDeviceMetadata(val *GatewayDeviceMetadata) *NullableGatewayDeviceMetadata

func (NullableGatewayDeviceMetadata) Get added in v4.4.0

func (NullableGatewayDeviceMetadata) IsSet added in v4.4.0

func (NullableGatewayDeviceMetadata) MarshalJSON added in v4.4.0

func (v NullableGatewayDeviceMetadata) MarshalJSON() ([]byte, error)

func (*NullableGatewayDeviceMetadata) Set added in v4.4.0

func (*NullableGatewayDeviceMetadata) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayDeviceMetadata) UnmarshalJSON(src []byte) error

func (*NullableGatewayDeviceMetadata) Unset added in v4.4.0

func (v *NullableGatewayDeviceMetadata) Unset()

type NullableGatewayInetConfig added in v4.4.0

type NullableGatewayInetConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayInetConfig added in v4.4.0

func NewNullableGatewayInetConfig(val *GatewayInetConfig) *NullableGatewayInetConfig

func (NullableGatewayInetConfig) Get added in v4.4.0

func (NullableGatewayInetConfig) IsSet added in v4.4.0

func (v NullableGatewayInetConfig) IsSet() bool

func (NullableGatewayInetConfig) MarshalJSON added in v4.4.0

func (v NullableGatewayInetConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayInetConfig) Set added in v4.4.0

func (*NullableGatewayInetConfig) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayInetConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayInetConfig) Unset added in v4.4.0

func (v *NullableGatewayInetConfig) Unset()

type NullableGatewayMetadata added in v4.4.0

type NullableGatewayMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayMetadata added in v4.4.0

func NewNullableGatewayMetadata(val *GatewayMetadata) *NullableGatewayMetadata

func (NullableGatewayMetadata) Get added in v4.4.0

func (NullableGatewayMetadata) IsSet added in v4.4.0

func (v NullableGatewayMetadata) IsSet() bool

func (NullableGatewayMetadata) MarshalJSON added in v4.4.0

func (v NullableGatewayMetadata) MarshalJSON() ([]byte, error)

func (*NullableGatewayMetadata) Set added in v4.4.0

func (*NullableGatewayMetadata) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayMetadata) UnmarshalJSON(src []byte) error

func (*NullableGatewayMetadata) Unset added in v4.4.0

func (v *NullableGatewayMetadata) Unset()

type NullableGatewayStats added in v4.6.0

type NullableGatewayStats struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayStats added in v4.6.0

func NewNullableGatewayStats(val *GatewayStats) *NullableGatewayStats

func (NullableGatewayStats) Get added in v4.6.0

func (NullableGatewayStats) IsSet added in v4.6.0

func (v NullableGatewayStats) IsSet() bool

func (NullableGatewayStats) MarshalJSON added in v4.6.0

func (v NullableGatewayStats) MarshalJSON() ([]byte, error)

func (*NullableGatewayStats) Set added in v4.6.0

func (v *NullableGatewayStats) Set(val *GatewayStats)

func (*NullableGatewayStats) UnmarshalJSON added in v4.6.0

func (v *NullableGatewayStats) UnmarshalJSON(src []byte) error

func (*NullableGatewayStats) Unset added in v4.6.0

func (v *NullableGatewayStats) Unset()

type NullableGatewayStatus added in v4.4.0

type NullableGatewayStatus struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayStatus added in v4.4.0

func NewNullableGatewayStatus(val *GatewayStatus) *NullableGatewayStatus

func (NullableGatewayStatus) Get added in v4.4.0

func (NullableGatewayStatus) IsSet added in v4.4.0

func (v NullableGatewayStatus) IsSet() bool

func (NullableGatewayStatus) MarshalJSON added in v4.4.0

func (v NullableGatewayStatus) MarshalJSON() ([]byte, error)

func (*NullableGatewayStatus) Set added in v4.4.0

func (v *NullableGatewayStatus) Set(val *GatewayStatus)

func (*NullableGatewayStatus) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayStatus) UnmarshalJSON(src []byte) error

func (*NullableGatewayStatus) Unset added in v4.4.0

func (v *NullableGatewayStatus) Unset()

type NullableGatewayType added in v4.4.0

type NullableGatewayType struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayType added in v4.4.0

func NewNullableGatewayType(val *GatewayType) *NullableGatewayType

func (NullableGatewayType) Get added in v4.4.0

func (NullableGatewayType) IsSet added in v4.4.0

func (v NullableGatewayType) IsSet() bool

func (NullableGatewayType) MarshalJSON added in v4.4.0

func (v NullableGatewayType) MarshalJSON() ([]byte, error)

func (*NullableGatewayType) Set added in v4.4.0

func (v *NullableGatewayType) Set(val *GatewayType)

func (*NullableGatewayType) UnmarshalJSON added in v4.4.0

func (v *NullableGatewayType) UnmarshalJSON(src []byte) error

func (*NullableGatewayType) Unset added in v4.4.0

func (v *NullableGatewayType) Unset()

type NullableInetMetadata added in v4.2.0

type NullableInetMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableInetMetadata added in v4.2.0

func NewNullableInetMetadata(val *InetMetadata) *NullableInetMetadata

func (NullableInetMetadata) Get added in v4.2.0

func (NullableInetMetadata) IsSet added in v4.2.0

func (v NullableInetMetadata) IsSet() bool

func (NullableInetMetadata) MarshalJSON added in v4.2.0

func (v NullableInetMetadata) MarshalJSON() ([]byte, error)

func (*NullableInetMetadata) Set added in v4.2.0

func (v *NullableInetMetadata) Set(val *InetMetadata)

func (*NullableInetMetadata) UnmarshalJSON added in v4.2.0

func (v *NullableInetMetadata) UnmarshalJSON(src []byte) error

func (*NullableInetMetadata) Unset added in v4.2.0

func (v *NullableInetMetadata) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableListBlobResponse added in v4.4.0

type NullableListBlobResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListBlobResponse added in v4.4.0

func NewNullableListBlobResponse(val *ListBlobResponse) *NullableListBlobResponse

func (NullableListBlobResponse) Get added in v4.4.0

func (NullableListBlobResponse) IsSet added in v4.4.0

func (v NullableListBlobResponse) IsSet() bool

func (NullableListBlobResponse) MarshalJSON added in v4.4.0

func (v NullableListBlobResponse) MarshalJSON() ([]byte, error)

func (*NullableListBlobResponse) Set added in v4.4.0

func (*NullableListBlobResponse) UnmarshalJSON added in v4.4.0

func (v *NullableListBlobResponse) UnmarshalJSON(src []byte) error

func (*NullableListBlobResponse) Unset added in v4.4.0

func (v *NullableListBlobResponse) Unset()

type NullableListCollectionResponse

type NullableListCollectionResponse struct {
	// contains filtered or unexported fields
}

func (NullableListCollectionResponse) Get

func (NullableListCollectionResponse) IsSet

func (NullableListCollectionResponse) MarshalJSON

func (v NullableListCollectionResponse) MarshalJSON() ([]byte, error)

func (*NullableListCollectionResponse) Set

func (*NullableListCollectionResponse) UnmarshalJSON

func (v *NullableListCollectionResponse) UnmarshalJSON(src []byte) error

func (*NullableListCollectionResponse) Unset

func (v *NullableListCollectionResponse) Unset()

type NullableListDataResponse

type NullableListDataResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListDataResponse

func NewNullableListDataResponse(val *ListDataResponse) *NullableListDataResponse

func (NullableListDataResponse) Get

func (NullableListDataResponse) IsSet

func (v NullableListDataResponse) IsSet() bool

func (NullableListDataResponse) MarshalJSON

func (v NullableListDataResponse) MarshalJSON() ([]byte, error)

func (*NullableListDataResponse) Set

func (*NullableListDataResponse) UnmarshalJSON

func (v *NullableListDataResponse) UnmarshalJSON(src []byte) error

func (*NullableListDataResponse) Unset

func (v *NullableListDataResponse) Unset()

type NullableListDevicesResponse

type NullableListDevicesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListDevicesResponse

func NewNullableListDevicesResponse(val *ListDevicesResponse) *NullableListDevicesResponse

func (NullableListDevicesResponse) Get

func (NullableListDevicesResponse) IsSet

func (NullableListDevicesResponse) MarshalJSON

func (v NullableListDevicesResponse) MarshalJSON() ([]byte, error)

func (*NullableListDevicesResponse) Set

func (*NullableListDevicesResponse) UnmarshalJSON

func (v *NullableListDevicesResponse) UnmarshalJSON(src []byte) error

func (*NullableListDevicesResponse) Unset

func (v *NullableListDevicesResponse) Unset()

type NullableListDownstreamMessagesResponse added in v4.2.0

type NullableListDownstreamMessagesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListDownstreamMessagesResponse added in v4.2.0

func NewNullableListDownstreamMessagesResponse(val *ListDownstreamMessagesResponse) *NullableListDownstreamMessagesResponse

func (NullableListDownstreamMessagesResponse) Get added in v4.2.0

func (NullableListDownstreamMessagesResponse) IsSet added in v4.2.0

func (NullableListDownstreamMessagesResponse) MarshalJSON added in v4.2.0

func (v NullableListDownstreamMessagesResponse) MarshalJSON() ([]byte, error)

func (*NullableListDownstreamMessagesResponse) Set added in v4.2.0

func (*NullableListDownstreamMessagesResponse) UnmarshalJSON added in v4.2.0

func (v *NullableListDownstreamMessagesResponse) UnmarshalJSON(src []byte) error

func (*NullableListDownstreamMessagesResponse) Unset added in v4.2.0

type NullableListFirmwareResponse

type NullableListFirmwareResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListFirmwareResponse

func NewNullableListFirmwareResponse(val *ListFirmwareResponse) *NullableListFirmwareResponse

func (NullableListFirmwareResponse) Get

func (NullableListFirmwareResponse) IsSet

func (NullableListFirmwareResponse) MarshalJSON

func (v NullableListFirmwareResponse) MarshalJSON() ([]byte, error)

func (*NullableListFirmwareResponse) Set

func (*NullableListFirmwareResponse) UnmarshalJSON

func (v *NullableListFirmwareResponse) UnmarshalJSON(src []byte) error

func (*NullableListFirmwareResponse) Unset

func (v *NullableListFirmwareResponse) Unset()

type NullableListGatewayResponse added in v4.2.0

type NullableListGatewayResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListGatewayResponse added in v4.2.0

func NewNullableListGatewayResponse(val *ListGatewayResponse) *NullableListGatewayResponse

func (NullableListGatewayResponse) Get added in v4.2.0

func (NullableListGatewayResponse) IsSet added in v4.2.0

func (NullableListGatewayResponse) MarshalJSON added in v4.2.0

func (v NullableListGatewayResponse) MarshalJSON() ([]byte, error)

func (*NullableListGatewayResponse) Set added in v4.2.0

func (*NullableListGatewayResponse) UnmarshalJSON added in v4.2.0

func (v *NullableListGatewayResponse) UnmarshalJSON(src []byte) error

func (*NullableListGatewayResponse) Unset added in v4.2.0

func (v *NullableListGatewayResponse) Unset()

type NullableListOutputResponse

type NullableListOutputResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListOutputResponse

func NewNullableListOutputResponse(val *ListOutputResponse) *NullableListOutputResponse

func (NullableListOutputResponse) Get

func (NullableListOutputResponse) IsSet

func (v NullableListOutputResponse) IsSet() bool

func (NullableListOutputResponse) MarshalJSON

func (v NullableListOutputResponse) MarshalJSON() ([]byte, error)

func (*NullableListOutputResponse) Set

func (*NullableListOutputResponse) UnmarshalJSON

func (v *NullableListOutputResponse) UnmarshalJSON(src []byte) error

func (*NullableListOutputResponse) Unset

func (v *NullableListOutputResponse) Unset()

type NullableListUpstreamMessagesResponse added in v4.2.0

type NullableListUpstreamMessagesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListUpstreamMessagesResponse added in v4.2.0

func NewNullableListUpstreamMessagesResponse(val *ListUpstreamMessagesResponse) *NullableListUpstreamMessagesResponse

func (NullableListUpstreamMessagesResponse) Get added in v4.2.0

func (NullableListUpstreamMessagesResponse) IsSet added in v4.2.0

func (NullableListUpstreamMessagesResponse) MarshalJSON added in v4.2.0

func (v NullableListUpstreamMessagesResponse) MarshalJSON() ([]byte, error)

func (*NullableListUpstreamMessagesResponse) Set added in v4.2.0

func (*NullableListUpstreamMessagesResponse) UnmarshalJSON added in v4.2.0

func (v *NullableListUpstreamMessagesResponse) UnmarshalJSON(src []byte) error

func (*NullableListUpstreamMessagesResponse) Unset added in v4.2.0

type NullableMQTTMetadata added in v4.3.0

type NullableMQTTMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMQTTMetadata added in v4.3.0

func NewNullableMQTTMetadata(val *MQTTMetadata) *NullableMQTTMetadata

func (NullableMQTTMetadata) Get added in v4.3.0

func (NullableMQTTMetadata) IsSet added in v4.3.0

func (v NullableMQTTMetadata) IsSet() bool

func (NullableMQTTMetadata) MarshalJSON added in v4.3.0

func (v NullableMQTTMetadata) MarshalJSON() ([]byte, error)

func (*NullableMQTTMetadata) Set added in v4.3.0

func (v *NullableMQTTMetadata) Set(val *MQTTMetadata)

func (*NullableMQTTMetadata) UnmarshalJSON added in v4.3.0

func (v *NullableMQTTMetadata) UnmarshalJSON(src []byte) error

func (*NullableMQTTMetadata) Unset added in v4.3.0

func (v *NullableMQTTMetadata) Unset()

type NullableMessageDownstream added in v4.2.0

type NullableMessageDownstream struct {
	// contains filtered or unexported fields
}

func NewNullableMessageDownstream added in v4.2.0

func NewNullableMessageDownstream(val *MessageDownstream) *NullableMessageDownstream

func (NullableMessageDownstream) Get added in v4.2.0

func (NullableMessageDownstream) IsSet added in v4.2.0

func (v NullableMessageDownstream) IsSet() bool

func (NullableMessageDownstream) MarshalJSON added in v4.2.0

func (v NullableMessageDownstream) MarshalJSON() ([]byte, error)

func (*NullableMessageDownstream) Set added in v4.2.0

func (*NullableMessageDownstream) UnmarshalJSON added in v4.2.0

func (v *NullableMessageDownstream) UnmarshalJSON(src []byte) error

func (*NullableMessageDownstream) Unset added in v4.2.0

func (v *NullableMessageDownstream) Unset()

type NullableMessageState added in v4.2.0

type NullableMessageState struct {
	// contains filtered or unexported fields
}

func NewNullableMessageState added in v4.2.0

func NewNullableMessageState(val *MessageState) *NullableMessageState

func (NullableMessageState) Get added in v4.2.0

func (NullableMessageState) IsSet added in v4.2.0

func (v NullableMessageState) IsSet() bool

func (NullableMessageState) MarshalJSON added in v4.2.0

func (v NullableMessageState) MarshalJSON() ([]byte, error)

func (*NullableMessageState) Set added in v4.2.0

func (v *NullableMessageState) Set(val *MessageState)

func (*NullableMessageState) UnmarshalJSON added in v4.2.0

func (v *NullableMessageState) UnmarshalJSON(src []byte) error

func (*NullableMessageState) Unset added in v4.2.0

func (v *NullableMessageState) Unset()

type NullableMessageTransport added in v4.2.0

type NullableMessageTransport struct {
	// contains filtered or unexported fields
}

func NewNullableMessageTransport added in v4.2.0

func NewNullableMessageTransport(val *MessageTransport) *NullableMessageTransport

func (NullableMessageTransport) Get added in v4.2.0

func (NullableMessageTransport) IsSet added in v4.2.0

func (v NullableMessageTransport) IsSet() bool

func (NullableMessageTransport) MarshalJSON added in v4.2.0

func (v NullableMessageTransport) MarshalJSON() ([]byte, error)

func (*NullableMessageTransport) Set added in v4.2.0

func (*NullableMessageTransport) UnmarshalJSON added in v4.2.0

func (v *NullableMessageTransport) UnmarshalJSON(src []byte) error

func (*NullableMessageTransport) Unset added in v4.2.0

func (v *NullableMessageTransport) Unset()

type NullableMessageUpstream added in v4.2.0

type NullableMessageUpstream struct {
	// contains filtered or unexported fields
}

func NewNullableMessageUpstream added in v4.2.0

func NewNullableMessageUpstream(val *MessageUpstream) *NullableMessageUpstream

func (NullableMessageUpstream) Get added in v4.2.0

func (NullableMessageUpstream) IsSet added in v4.2.0

func (v NullableMessageUpstream) IsSet() bool

func (NullableMessageUpstream) MarshalJSON added in v4.2.0

func (v NullableMessageUpstream) MarshalJSON() ([]byte, error)

func (*NullableMessageUpstream) Set added in v4.2.0

func (*NullableMessageUpstream) UnmarshalJSON added in v4.2.0

func (v *NullableMessageUpstream) UnmarshalJSON(src []byte) error

func (*NullableMessageUpstream) Unset added in v4.2.0

func (v *NullableMessageUpstream) Unset()

type NullableOutput

type NullableOutput struct {
	// contains filtered or unexported fields
}

func NewNullableOutput

func NewNullableOutput(val *Output) *NullableOutput

func (NullableOutput) Get

func (v NullableOutput) Get() *Output

func (NullableOutput) IsSet

func (v NullableOutput) IsSet() bool

func (NullableOutput) MarshalJSON

func (v NullableOutput) MarshalJSON() ([]byte, error)

func (*NullableOutput) Set

func (v *NullableOutput) Set(val *Output)

func (*NullableOutput) UnmarshalJSON

func (v *NullableOutput) UnmarshalJSON(src []byte) error

func (*NullableOutput) Unset

func (v *NullableOutput) Unset()

type NullableOutputConfig

type NullableOutputConfig struct {
	// contains filtered or unexported fields
}

func NewNullableOutputConfig

func NewNullableOutputConfig(val *OutputConfig) *NullableOutputConfig

func (NullableOutputConfig) Get

func (NullableOutputConfig) IsSet

func (v NullableOutputConfig) IsSet() bool

func (NullableOutputConfig) MarshalJSON

func (v NullableOutputConfig) MarshalJSON() ([]byte, error)

func (*NullableOutputConfig) Set

func (v *NullableOutputConfig) Set(val *OutputConfig)

func (*NullableOutputConfig) UnmarshalJSON

func (v *NullableOutputConfig) UnmarshalJSON(src []byte) error

func (*NullableOutputConfig) Unset

func (v *NullableOutputConfig) Unset()

type NullableOutputDataMessage

type NullableOutputDataMessage struct {
	// contains filtered or unexported fields
}

func NewNullableOutputDataMessage

func NewNullableOutputDataMessage(val *OutputDataMessage) *NullableOutputDataMessage

func (NullableOutputDataMessage) Get

func (NullableOutputDataMessage) IsSet

func (v NullableOutputDataMessage) IsSet() bool

func (NullableOutputDataMessage) MarshalJSON

func (v NullableOutputDataMessage) MarshalJSON() ([]byte, error)

func (*NullableOutputDataMessage) Set

func (*NullableOutputDataMessage) UnmarshalJSON

func (v *NullableOutputDataMessage) UnmarshalJSON(src []byte) error

func (*NullableOutputDataMessage) Unset

func (v *NullableOutputDataMessage) Unset()

type NullableOutputLogEntry

type NullableOutputLogEntry struct {
	// contains filtered or unexported fields
}

func NewNullableOutputLogEntry

func NewNullableOutputLogEntry(val *OutputLogEntry) *NullableOutputLogEntry

func (NullableOutputLogEntry) Get

func (NullableOutputLogEntry) IsSet

func (v NullableOutputLogEntry) IsSet() bool

func (NullableOutputLogEntry) MarshalJSON

func (v NullableOutputLogEntry) MarshalJSON() ([]byte, error)

func (*NullableOutputLogEntry) Set

func (*NullableOutputLogEntry) UnmarshalJSON

func (v *NullableOutputLogEntry) UnmarshalJSON(src []byte) error

func (*NullableOutputLogEntry) Unset

func (v *NullableOutputLogEntry) Unset()

type NullableOutputLogResponse

type NullableOutputLogResponse struct {
	// contains filtered or unexported fields
}

func NewNullableOutputLogResponse

func NewNullableOutputLogResponse(val *OutputLogResponse) *NullableOutputLogResponse

func (NullableOutputLogResponse) Get

func (NullableOutputLogResponse) IsSet

func (v NullableOutputLogResponse) IsSet() bool

func (NullableOutputLogResponse) MarshalJSON

func (v NullableOutputLogResponse) MarshalJSON() ([]byte, error)

func (*NullableOutputLogResponse) Set

func (*NullableOutputLogResponse) UnmarshalJSON

func (v *NullableOutputLogResponse) UnmarshalJSON(src []byte) error

func (*NullableOutputLogResponse) Unset

func (v *NullableOutputLogResponse) Unset()

type NullableOutputMessageType added in v4.2.0

type NullableOutputMessageType struct {
	// contains filtered or unexported fields
}

func NewNullableOutputMessageType added in v4.2.0

func NewNullableOutputMessageType(val *OutputMessageType) *NullableOutputMessageType

func (NullableOutputMessageType) Get added in v4.2.0

func (NullableOutputMessageType) IsSet added in v4.2.0

func (v NullableOutputMessageType) IsSet() bool

func (NullableOutputMessageType) MarshalJSON added in v4.2.0

func (v NullableOutputMessageType) MarshalJSON() ([]byte, error)

func (*NullableOutputMessageType) Set added in v4.2.0

func (*NullableOutputMessageType) UnmarshalJSON added in v4.2.0

func (v *NullableOutputMessageType) UnmarshalJSON(src []byte) error

func (*NullableOutputMessageType) Unset added in v4.2.0

func (v *NullableOutputMessageType) Unset()

type NullableOutputStats added in v4.6.0

type NullableOutputStats struct {
	// contains filtered or unexported fields
}

func NewNullableOutputStats added in v4.6.0

func NewNullableOutputStats(val *OutputStats) *NullableOutputStats

func (NullableOutputStats) Get added in v4.6.0

func (NullableOutputStats) IsSet added in v4.6.0

func (v NullableOutputStats) IsSet() bool

func (NullableOutputStats) MarshalJSON added in v4.6.0

func (v NullableOutputStats) MarshalJSON() ([]byte, error)

func (*NullableOutputStats) Set added in v4.6.0

func (v *NullableOutputStats) Set(val *OutputStats)

func (*NullableOutputStats) UnmarshalJSON added in v4.6.0

func (v *NullableOutputStats) UnmarshalJSON(src []byte) error

func (*NullableOutputStats) Unset added in v4.6.0

func (v *NullableOutputStats) Unset()

type NullableOutputStatusResponse

type NullableOutputStatusResponse struct {
	// contains filtered or unexported fields
}

func NewNullableOutputStatusResponse

func NewNullableOutputStatusResponse(val *OutputStatusResponse) *NullableOutputStatusResponse

func (NullableOutputStatusResponse) Get

func (NullableOutputStatusResponse) IsSet

func (NullableOutputStatusResponse) MarshalJSON

func (v NullableOutputStatusResponse) MarshalJSON() ([]byte, error)

func (*NullableOutputStatusResponse) Set

func (*NullableOutputStatusResponse) UnmarshalJSON

func (v *NullableOutputStatusResponse) UnmarshalJSON(src []byte) error

func (*NullableOutputStatusResponse) Unset

func (v *NullableOutputStatusResponse) Unset()

type NullableOutputType

type NullableOutputType struct {
	// contains filtered or unexported fields
}

func NewNullableOutputType

func NewNullableOutputType(val *OutputType) *NullableOutputType

func (NullableOutputType) Get

func (v NullableOutputType) Get() *OutputType

func (NullableOutputType) IsSet

func (v NullableOutputType) IsSet() bool

func (NullableOutputType) MarshalJSON

func (v NullableOutputType) MarshalJSON() ([]byte, error)

func (*NullableOutputType) Set

func (v *NullableOutputType) Set(val *OutputType)

func (*NullableOutputType) UnmarshalJSON

func (v *NullableOutputType) UnmarshalJSON(src []byte) error

func (*NullableOutputType) Unset

func (v *NullableOutputType) Unset()

type NullableRetrieveBlobResponse added in v4.4.0

type NullableRetrieveBlobResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRetrieveBlobResponse added in v4.4.0

func NewNullableRetrieveBlobResponse(val *RetrieveBlobResponse) *NullableRetrieveBlobResponse

func (NullableRetrieveBlobResponse) Get added in v4.4.0

func (NullableRetrieveBlobResponse) IsSet added in v4.4.0

func (NullableRetrieveBlobResponse) MarshalJSON added in v4.4.0

func (v NullableRetrieveBlobResponse) MarshalJSON() ([]byte, error)

func (*NullableRetrieveBlobResponse) Set added in v4.4.0

func (*NullableRetrieveBlobResponse) UnmarshalJSON added in v4.4.0

func (v *NullableRetrieveBlobResponse) UnmarshalJSON(src []byte) error

func (*NullableRetrieveBlobResponse) Unset added in v4.4.0

func (v *NullableRetrieveBlobResponse) Unset()

type NullableSignCertificateRequest added in v4.2.0

type NullableSignCertificateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableSignCertificateRequest added in v4.2.0

func NewNullableSignCertificateRequest(val *SignCertificateRequest) *NullableSignCertificateRequest

func (NullableSignCertificateRequest) Get added in v4.2.0

func (NullableSignCertificateRequest) IsSet added in v4.2.0

func (NullableSignCertificateRequest) MarshalJSON added in v4.2.0

func (v NullableSignCertificateRequest) MarshalJSON() ([]byte, error)

func (*NullableSignCertificateRequest) Set added in v4.2.0

func (*NullableSignCertificateRequest) UnmarshalJSON added in v4.2.0

func (v *NullableSignCertificateRequest) UnmarshalJSON(src []byte) error

func (*NullableSignCertificateRequest) Unset added in v4.2.0

func (v *NullableSignCertificateRequest) Unset()

type NullableSignCertificateResponse added in v4.2.0

type NullableSignCertificateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableSignCertificateResponse added in v4.2.0

func NewNullableSignCertificateResponse(val *SignCertificateResponse) *NullableSignCertificateResponse

func (NullableSignCertificateResponse) Get added in v4.2.0

func (NullableSignCertificateResponse) IsSet added in v4.2.0

func (NullableSignCertificateResponse) MarshalJSON added in v4.2.0

func (v NullableSignCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableSignCertificateResponse) Set added in v4.2.0

func (*NullableSignCertificateResponse) UnmarshalJSON added in v4.2.0

func (v *NullableSignCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableSignCertificateResponse) Unset added in v4.2.0

type NullableStatus added in v4.2.0

type NullableStatus struct {
	// contains filtered or unexported fields
}

func NewNullableStatus added in v4.2.0

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get added in v4.2.0

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet added in v4.2.0

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON added in v4.2.0

func (v NullableStatus) MarshalJSON() ([]byte, error)

func (*NullableStatus) Set added in v4.2.0

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON added in v4.2.0

func (v *NullableStatus) UnmarshalJSON(src []byte) error

func (*NullableStatus) Unset added in v4.2.0

func (v *NullableStatus) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSystemInfoResponse

type NullableSystemInfoResponse struct {
	// contains filtered or unexported fields
}

func NewNullableSystemInfoResponse

func NewNullableSystemInfoResponse(val *SystemInfoResponse) *NullableSystemInfoResponse

func (NullableSystemInfoResponse) Get

func (NullableSystemInfoResponse) IsSet

func (v NullableSystemInfoResponse) IsSet() bool

func (NullableSystemInfoResponse) MarshalJSON

func (v NullableSystemInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableSystemInfoResponse) Set

func (*NullableSystemInfoResponse) UnmarshalJSON

func (v *NullableSystemInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableSystemInfoResponse) Unset

func (v *NullableSystemInfoResponse) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUDPMetadata

type NullableUDPMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableUDPMetadata

func NewNullableUDPMetadata(val *UDPMetadata) *NullableUDPMetadata

func (NullableUDPMetadata) Get

func (NullableUDPMetadata) IsSet

func (v NullableUDPMetadata) IsSet() bool

func (NullableUDPMetadata) MarshalJSON

func (v NullableUDPMetadata) MarshalJSON() ([]byte, error)

func (*NullableUDPMetadata) Set

func (v *NullableUDPMetadata) Set(val *UDPMetadata)

func (*NullableUDPMetadata) UnmarshalJSON

func (v *NullableUDPMetadata) UnmarshalJSON(src []byte) error

func (*NullableUDPMetadata) Unset

func (v *NullableUDPMetadata) Unset()

type NullableUpdateCollectionRequest added in v4.2.0

type NullableUpdateCollectionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateCollectionRequest added in v4.2.0

func NewNullableUpdateCollectionRequest(val *UpdateCollectionRequest) *NullableUpdateCollectionRequest

func (NullableUpdateCollectionRequest) Get added in v4.2.0

func (NullableUpdateCollectionRequest) IsSet added in v4.2.0

func (NullableUpdateCollectionRequest) MarshalJSON added in v4.2.0

func (v NullableUpdateCollectionRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateCollectionRequest) Set added in v4.2.0

func (*NullableUpdateCollectionRequest) UnmarshalJSON added in v4.2.0

func (v *NullableUpdateCollectionRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateCollectionRequest) Unset added in v4.2.0

type NullableUpdateDeviceRequest

type NullableUpdateDeviceRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateDeviceRequest

func NewNullableUpdateDeviceRequest(val *UpdateDeviceRequest) *NullableUpdateDeviceRequest

func (NullableUpdateDeviceRequest) Get

func (NullableUpdateDeviceRequest) IsSet

func (NullableUpdateDeviceRequest) MarshalJSON

func (v NullableUpdateDeviceRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateDeviceRequest) Set

func (*NullableUpdateDeviceRequest) UnmarshalJSON

func (v *NullableUpdateDeviceRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateDeviceRequest) Unset

func (v *NullableUpdateDeviceRequest) Unset()

type NullableUpdateFirmwareRequest added in v4.2.0

type NullableUpdateFirmwareRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateFirmwareRequest added in v4.2.0

func NewNullableUpdateFirmwareRequest(val *UpdateFirmwareRequest) *NullableUpdateFirmwareRequest

func (NullableUpdateFirmwareRequest) Get added in v4.2.0

func (NullableUpdateFirmwareRequest) IsSet added in v4.2.0

func (NullableUpdateFirmwareRequest) MarshalJSON added in v4.2.0

func (v NullableUpdateFirmwareRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateFirmwareRequest) Set added in v4.2.0

func (*NullableUpdateFirmwareRequest) UnmarshalJSON added in v4.2.0

func (v *NullableUpdateFirmwareRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateFirmwareRequest) Unset added in v4.2.0

func (v *NullableUpdateFirmwareRequest) Unset()

type NullableUpdateGatewayRequest added in v4.5.0

type NullableUpdateGatewayRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateGatewayRequest added in v4.5.0

func NewNullableUpdateGatewayRequest(val *UpdateGatewayRequest) *NullableUpdateGatewayRequest

func (NullableUpdateGatewayRequest) Get added in v4.5.0

func (NullableUpdateGatewayRequest) IsSet added in v4.5.0

func (NullableUpdateGatewayRequest) MarshalJSON added in v4.5.0

func (v NullableUpdateGatewayRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateGatewayRequest) Set added in v4.5.0

func (*NullableUpdateGatewayRequest) UnmarshalJSON added in v4.5.0

func (v *NullableUpdateGatewayRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateGatewayRequest) Unset added in v4.5.0

func (v *NullableUpdateGatewayRequest) Unset()

type NullableUpdateOutputRequest added in v4.2.0

type NullableUpdateOutputRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateOutputRequest added in v4.2.0

func NewNullableUpdateOutputRequest(val *UpdateOutputRequest) *NullableUpdateOutputRequest

func (NullableUpdateOutputRequest) Get added in v4.2.0

func (NullableUpdateOutputRequest) IsSet added in v4.2.0

func (NullableUpdateOutputRequest) MarshalJSON added in v4.2.0

func (v NullableUpdateOutputRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateOutputRequest) Set added in v4.2.0

func (*NullableUpdateOutputRequest) UnmarshalJSON added in v4.2.0

func (v *NullableUpdateOutputRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateOutputRequest) Unset added in v4.2.0

func (v *NullableUpdateOutputRequest) Unset()

type NullableVerifyCertificateRequest added in v4.2.0

type NullableVerifyCertificateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableVerifyCertificateRequest added in v4.2.0

func NewNullableVerifyCertificateRequest(val *VerifyCertificateRequest) *NullableVerifyCertificateRequest

func (NullableVerifyCertificateRequest) Get added in v4.2.0

func (NullableVerifyCertificateRequest) IsSet added in v4.2.0

func (NullableVerifyCertificateRequest) MarshalJSON added in v4.2.0

func (v NullableVerifyCertificateRequest) MarshalJSON() ([]byte, error)

func (*NullableVerifyCertificateRequest) Set added in v4.2.0

func (*NullableVerifyCertificateRequest) UnmarshalJSON added in v4.2.0

func (v *NullableVerifyCertificateRequest) UnmarshalJSON(src []byte) error

func (*NullableVerifyCertificateRequest) Unset added in v4.2.0

type NullableVerifyCertificateResponse added in v4.2.0

type NullableVerifyCertificateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableVerifyCertificateResponse added in v4.2.0

func NewNullableVerifyCertificateResponse(val *VerifyCertificateResponse) *NullableVerifyCertificateResponse

func (NullableVerifyCertificateResponse) Get added in v4.2.0

func (NullableVerifyCertificateResponse) IsSet added in v4.2.0

func (NullableVerifyCertificateResponse) MarshalJSON added in v4.2.0

func (v NullableVerifyCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableVerifyCertificateResponse) Set added in v4.2.0

func (*NullableVerifyCertificateResponse) UnmarshalJSON added in v4.2.0

func (v *NullableVerifyCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableVerifyCertificateResponse) Unset added in v4.2.0

type Output

type Output struct {
	OutputId     *string            `json:"outputId,omitempty"`
	CollectionId *string            `json:"collectionId,omitempty"`
	Type         *OutputType        `json:"type,omitempty"`
	Config       *OutputConfig      `json:"config,omitempty"`
	Enabled      *bool              `json:"enabled,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
}

Output Output resource. The configuration depends on the kind of output type. There are five outputs: Webhooks, UDP forwarding, IFTTT events, MQTT client and MQTT broker. The MQTT broker output is just used to configure the built-in MQTT broker in Span.

func NewOutput

func NewOutput() *Output

NewOutput instantiates a new Output 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 NewOutputWithDefaults

func NewOutputWithDefaults() *Output

NewOutputWithDefaults instantiates a new Output 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 (*Output) GetCollectionId

func (o *Output) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Output) GetCollectionIdOk

func (o *Output) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Output) GetConfig

func (o *Output) GetConfig() OutputConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*Output) GetConfigOk

func (o *Output) GetConfigOk() (*OutputConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Output) GetEnabled

func (o *Output) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*Output) GetEnabledOk

func (o *Output) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Output) GetOutputId

func (o *Output) GetOutputId() string

GetOutputId returns the OutputId field value if set, zero value otherwise.

func (*Output) GetOutputIdOk

func (o *Output) GetOutputIdOk() (*string, bool)

GetOutputIdOk returns a tuple with the OutputId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Output) GetTags

func (o *Output) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Output) GetTagsOk

func (o *Output) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Output) GetType

func (o *Output) GetType() OutputType

GetType returns the Type field value if set, zero value otherwise.

func (*Output) GetTypeOk

func (o *Output) GetTypeOk() (*OutputType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Output) HasCollectionId

func (o *Output) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Output) HasConfig

func (o *Output) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Output) HasEnabled

func (o *Output) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*Output) HasOutputId

func (o *Output) HasOutputId() bool

HasOutputId returns a boolean if a field has been set.

func (*Output) HasTags

func (o *Output) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Output) HasType

func (o *Output) HasType() bool

HasType returns a boolean if a field has been set.

func (Output) MarshalJSON

func (o Output) MarshalJSON() ([]byte, error)

func (*Output) SetCollectionId

func (o *Output) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Output) SetConfig

func (o *Output) SetConfig(v OutputConfig)

SetConfig gets a reference to the given OutputConfig and assigns it to the Config field.

func (*Output) SetEnabled

func (o *Output) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*Output) SetOutputId

func (o *Output) SetOutputId(v string)

SetOutputId gets a reference to the given string and assigns it to the OutputId field.

func (*Output) SetTags

func (o *Output) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*Output) SetType

func (o *Output) SetType(v OutputType)

SetType gets a reference to the given OutputType and assigns it to the Type field.

func (Output) ToMap added in v4.5.0

func (o Output) ToMap() (map[string]interface{}, error)

type OutputConfig

type OutputConfig struct {
	// URL for the webhook.
	Url               *string `json:"url,omitempty"`
	BasicAuthUser     *string `json:"basicAuthUser,omitempty"`
	BasicAuthPass     *string `json:"basicAuthPass,omitempty"`
	CustomHeaderName  *string `json:"customHeaderName,omitempty"`
	CustomHeaderValue *string `json:"customHeaderValue,omitempty"`
	Host              *string `json:"host,omitempty"`
	Port              *int32  `json:"port,omitempty"`
	Key               *string `json:"key,omitempty"`
	EventName         *string `json:"eventName,omitempty"`
	AsIsPayload       *bool   `json:"asIsPayload,omitempty"`
	Endpoint          *string `json:"endpoint,omitempty"`
	// MQTT configuration: Disable certificate checks. Default is off.
	DisableCertCheck *bool   `json:"disableCertCheck,omitempty"`
	Username         *string `json:"username,omitempty"`
	Password         *string `json:"password,omitempty"`
	ClientId         *string `json:"clientId,omitempty"`
	TopicName        *string `json:"topicName,omitempty"`
	TopicTemplate    *string `json:"topicTemplate,omitempty"`
	PayloadFormat    *string `json:"payloadFormat,omitempty"`
	PayloadTemplate  *string `json:"payloadTemplate,omitempty"`
}

OutputConfig Configuration for outputs.

func NewOutputConfig

func NewOutputConfig() *OutputConfig

NewOutputConfig instantiates a new OutputConfig 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 NewOutputConfigWithDefaults

func NewOutputConfigWithDefaults() *OutputConfig

NewOutputConfigWithDefaults instantiates a new OutputConfig 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 (*OutputConfig) GetAsIsPayload

func (o *OutputConfig) GetAsIsPayload() bool

GetAsIsPayload returns the AsIsPayload field value if set, zero value otherwise.

func (*OutputConfig) GetAsIsPayloadOk

func (o *OutputConfig) GetAsIsPayloadOk() (*bool, bool)

GetAsIsPayloadOk returns a tuple with the AsIsPayload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetBasicAuthPass

func (o *OutputConfig) GetBasicAuthPass() string

GetBasicAuthPass returns the BasicAuthPass field value if set, zero value otherwise.

func (*OutputConfig) GetBasicAuthPassOk

func (o *OutputConfig) GetBasicAuthPassOk() (*string, bool)

GetBasicAuthPassOk returns a tuple with the BasicAuthPass field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetBasicAuthUser

func (o *OutputConfig) GetBasicAuthUser() string

GetBasicAuthUser returns the BasicAuthUser field value if set, zero value otherwise.

func (*OutputConfig) GetBasicAuthUserOk

func (o *OutputConfig) GetBasicAuthUserOk() (*string, bool)

GetBasicAuthUserOk returns a tuple with the BasicAuthUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetClientId

func (o *OutputConfig) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*OutputConfig) GetClientIdOk

func (o *OutputConfig) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetCustomHeaderName

func (o *OutputConfig) GetCustomHeaderName() string

GetCustomHeaderName returns the CustomHeaderName field value if set, zero value otherwise.

func (*OutputConfig) GetCustomHeaderNameOk

func (o *OutputConfig) GetCustomHeaderNameOk() (*string, bool)

GetCustomHeaderNameOk returns a tuple with the CustomHeaderName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetCustomHeaderValue

func (o *OutputConfig) GetCustomHeaderValue() string

GetCustomHeaderValue returns the CustomHeaderValue field value if set, zero value otherwise.

func (*OutputConfig) GetCustomHeaderValueOk

func (o *OutputConfig) GetCustomHeaderValueOk() (*string, bool)

GetCustomHeaderValueOk returns a tuple with the CustomHeaderValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetDisableCertCheck

func (o *OutputConfig) GetDisableCertCheck() bool

GetDisableCertCheck returns the DisableCertCheck field value if set, zero value otherwise.

func (*OutputConfig) GetDisableCertCheckOk

func (o *OutputConfig) GetDisableCertCheckOk() (*bool, bool)

GetDisableCertCheckOk returns a tuple with the DisableCertCheck field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetEndpoint

func (o *OutputConfig) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*OutputConfig) GetEndpointOk

func (o *OutputConfig) GetEndpointOk() (*string, bool)

GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetEventName

func (o *OutputConfig) GetEventName() string

GetEventName returns the EventName field value if set, zero value otherwise.

func (*OutputConfig) GetEventNameOk

func (o *OutputConfig) GetEventNameOk() (*string, bool)

GetEventNameOk returns a tuple with the EventName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetHost

func (o *OutputConfig) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*OutputConfig) GetHostOk

func (o *OutputConfig) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetKey

func (o *OutputConfig) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*OutputConfig) GetKeyOk

func (o *OutputConfig) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetPassword

func (o *OutputConfig) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*OutputConfig) GetPasswordOk

func (o *OutputConfig) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetPayloadFormat added in v4.1.17

func (o *OutputConfig) GetPayloadFormat() string

GetPayloadFormat returns the PayloadFormat field value if set, zero value otherwise.

func (*OutputConfig) GetPayloadFormatOk added in v4.1.17

func (o *OutputConfig) GetPayloadFormatOk() (*string, bool)

GetPayloadFormatOk returns a tuple with the PayloadFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetPayloadTemplate added in v4.1.17

func (o *OutputConfig) GetPayloadTemplate() string

GetPayloadTemplate returns the PayloadTemplate field value if set, zero value otherwise.

func (*OutputConfig) GetPayloadTemplateOk added in v4.1.17

func (o *OutputConfig) GetPayloadTemplateOk() (*string, bool)

GetPayloadTemplateOk returns a tuple with the PayloadTemplate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetPort

func (o *OutputConfig) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*OutputConfig) GetPortOk

func (o *OutputConfig) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetTopicName

func (o *OutputConfig) GetTopicName() string

GetTopicName returns the TopicName field value if set, zero value otherwise.

func (*OutputConfig) GetTopicNameOk

func (o *OutputConfig) GetTopicNameOk() (*string, bool)

GetTopicNameOk returns a tuple with the TopicName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetTopicTemplate added in v4.1.17

func (o *OutputConfig) GetTopicTemplate() string

GetTopicTemplate returns the TopicTemplate field value if set, zero value otherwise.

func (*OutputConfig) GetTopicTemplateOk added in v4.1.17

func (o *OutputConfig) GetTopicTemplateOk() (*string, bool)

GetTopicTemplateOk returns a tuple with the TopicTemplate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetUrl

func (o *OutputConfig) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*OutputConfig) GetUrlOk

func (o *OutputConfig) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) GetUsername

func (o *OutputConfig) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*OutputConfig) GetUsernameOk

func (o *OutputConfig) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputConfig) HasAsIsPayload

func (o *OutputConfig) HasAsIsPayload() bool

HasAsIsPayload returns a boolean if a field has been set.

func (*OutputConfig) HasBasicAuthPass

func (o *OutputConfig) HasBasicAuthPass() bool

HasBasicAuthPass returns a boolean if a field has been set.

func (*OutputConfig) HasBasicAuthUser

func (o *OutputConfig) HasBasicAuthUser() bool

HasBasicAuthUser returns a boolean if a field has been set.

func (*OutputConfig) HasClientId

func (o *OutputConfig) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*OutputConfig) HasCustomHeaderName

func (o *OutputConfig) HasCustomHeaderName() bool

HasCustomHeaderName returns a boolean if a field has been set.

func (*OutputConfig) HasCustomHeaderValue

func (o *OutputConfig) HasCustomHeaderValue() bool

HasCustomHeaderValue returns a boolean if a field has been set.

func (*OutputConfig) HasDisableCertCheck

func (o *OutputConfig) HasDisableCertCheck() bool

HasDisableCertCheck returns a boolean if a field has been set.

func (*OutputConfig) HasEndpoint

func (o *OutputConfig) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*OutputConfig) HasEventName

func (o *OutputConfig) HasEventName() bool

HasEventName returns a boolean if a field has been set.

func (*OutputConfig) HasHost

func (o *OutputConfig) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*OutputConfig) HasKey

func (o *OutputConfig) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*OutputConfig) HasPassword

func (o *OutputConfig) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*OutputConfig) HasPayloadFormat added in v4.1.17

func (o *OutputConfig) HasPayloadFormat() bool

HasPayloadFormat returns a boolean if a field has been set.

func (*OutputConfig) HasPayloadTemplate added in v4.1.17

func (o *OutputConfig) HasPayloadTemplate() bool

HasPayloadTemplate returns a boolean if a field has been set.

func (*OutputConfig) HasPort

func (o *OutputConfig) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*OutputConfig) HasTopicName

func (o *OutputConfig) HasTopicName() bool

HasTopicName returns a boolean if a field has been set.

func (*OutputConfig) HasTopicTemplate added in v4.1.17

func (o *OutputConfig) HasTopicTemplate() bool

HasTopicTemplate returns a boolean if a field has been set.

func (*OutputConfig) HasUrl

func (o *OutputConfig) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*OutputConfig) HasUsername

func (o *OutputConfig) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (OutputConfig) MarshalJSON

func (o OutputConfig) MarshalJSON() ([]byte, error)

func (*OutputConfig) SetAsIsPayload

func (o *OutputConfig) SetAsIsPayload(v bool)

SetAsIsPayload gets a reference to the given bool and assigns it to the AsIsPayload field.

func (*OutputConfig) SetBasicAuthPass

func (o *OutputConfig) SetBasicAuthPass(v string)

SetBasicAuthPass gets a reference to the given string and assigns it to the BasicAuthPass field.

func (*OutputConfig) SetBasicAuthUser

func (o *OutputConfig) SetBasicAuthUser(v string)

SetBasicAuthUser gets a reference to the given string and assigns it to the BasicAuthUser field.

func (*OutputConfig) SetClientId

func (o *OutputConfig) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*OutputConfig) SetCustomHeaderName

func (o *OutputConfig) SetCustomHeaderName(v string)

SetCustomHeaderName gets a reference to the given string and assigns it to the CustomHeaderName field.

func (*OutputConfig) SetCustomHeaderValue

func (o *OutputConfig) SetCustomHeaderValue(v string)

SetCustomHeaderValue gets a reference to the given string and assigns it to the CustomHeaderValue field.

func (*OutputConfig) SetDisableCertCheck

func (o *OutputConfig) SetDisableCertCheck(v bool)

SetDisableCertCheck gets a reference to the given bool and assigns it to the DisableCertCheck field.

func (*OutputConfig) SetEndpoint

func (o *OutputConfig) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (*OutputConfig) SetEventName

func (o *OutputConfig) SetEventName(v string)

SetEventName gets a reference to the given string and assigns it to the EventName field.

func (*OutputConfig) SetHost

func (o *OutputConfig) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*OutputConfig) SetKey

func (o *OutputConfig) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*OutputConfig) SetPassword

func (o *OutputConfig) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*OutputConfig) SetPayloadFormat added in v4.1.17

func (o *OutputConfig) SetPayloadFormat(v string)

SetPayloadFormat gets a reference to the given string and assigns it to the PayloadFormat field.

func (*OutputConfig) SetPayloadTemplate added in v4.1.17

func (o *OutputConfig) SetPayloadTemplate(v string)

SetPayloadTemplate gets a reference to the given string and assigns it to the PayloadTemplate field.

func (*OutputConfig) SetPort

func (o *OutputConfig) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*OutputConfig) SetTopicName

func (o *OutputConfig) SetTopicName(v string)

SetTopicName gets a reference to the given string and assigns it to the TopicName field.

func (*OutputConfig) SetTopicTemplate added in v4.1.17

func (o *OutputConfig) SetTopicTemplate(v string)

SetTopicTemplate gets a reference to the given string and assigns it to the TopicTemplate field.

func (*OutputConfig) SetUrl

func (o *OutputConfig) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*OutputConfig) SetUsername

func (o *OutputConfig) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (OutputConfig) ToMap added in v4.5.0

func (o OutputConfig) ToMap() (map[string]interface{}, error)

type OutputDataMessage

type OutputDataMessage struct {
	Type    *OutputMessageType `json:"type,omitempty"`
	Device  *Device            `json:"device,omitempty"`
	Payload *string            `json:"payload,omitempty"`
	// Received time for message. Value is ms since epoch.
	Received        *string          `json:"received,omitempty"`
	Transport       *string          `json:"transport,omitempty"`
	UdpMetaData     *UDPMetadata     `json:"udpMetaData,omitempty"`
	CoapMetaData    *CoAPMetadata    `json:"coapMetaData,omitempty"`
	MessageId       *string          `json:"messageId,omitempty"`
	MqttMetaData    *MQTTMetadata    `json:"mqttMetaData,omitempty"`
	GatewayMetaData *GatewayMetadata `json:"gatewayMetaData,omitempty"`
	GatewayId       *string          `json:"gatewayId,omitempty"`
}

OutputDataMessage The output data message contains payload plus metadata for a payload received from a device.

func NewOutputDataMessage

func NewOutputDataMessage() *OutputDataMessage

NewOutputDataMessage instantiates a new OutputDataMessage 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 NewOutputDataMessageWithDefaults

func NewOutputDataMessageWithDefaults() *OutputDataMessage

NewOutputDataMessageWithDefaults instantiates a new OutputDataMessage 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 (*OutputDataMessage) GetCoapMetaData

func (o *OutputDataMessage) GetCoapMetaData() CoAPMetadata

GetCoapMetaData returns the CoapMetaData field value if set, zero value otherwise.

func (*OutputDataMessage) GetCoapMetaDataOk

func (o *OutputDataMessage) GetCoapMetaDataOk() (*CoAPMetadata, bool)

GetCoapMetaDataOk returns a tuple with the CoapMetaData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetDevice

func (o *OutputDataMessage) GetDevice() Device

GetDevice returns the Device field value if set, zero value otherwise.

func (*OutputDataMessage) GetDeviceOk

func (o *OutputDataMessage) GetDeviceOk() (*Device, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetGatewayId added in v4.4.0

func (o *OutputDataMessage) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*OutputDataMessage) GetGatewayIdOk added in v4.4.0

func (o *OutputDataMessage) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetGatewayMetaData added in v4.4.0

func (o *OutputDataMessage) GetGatewayMetaData() GatewayMetadata

GetGatewayMetaData returns the GatewayMetaData field value if set, zero value otherwise.

func (*OutputDataMessage) GetGatewayMetaDataOk added in v4.4.0

func (o *OutputDataMessage) GetGatewayMetaDataOk() (*GatewayMetadata, bool)

GetGatewayMetaDataOk returns a tuple with the GatewayMetaData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetMessageId

func (o *OutputDataMessage) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*OutputDataMessage) GetMessageIdOk

func (o *OutputDataMessage) GetMessageIdOk() (*string, bool)

GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetMqttMetaData added in v4.3.0

func (o *OutputDataMessage) GetMqttMetaData() MQTTMetadata

GetMqttMetaData returns the MqttMetaData field value if set, zero value otherwise.

func (*OutputDataMessage) GetMqttMetaDataOk added in v4.3.0

func (o *OutputDataMessage) GetMqttMetaDataOk() (*MQTTMetadata, bool)

GetMqttMetaDataOk returns a tuple with the MqttMetaData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetPayload

func (o *OutputDataMessage) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise.

func (*OutputDataMessage) GetPayloadOk

func (o *OutputDataMessage) GetPayloadOk() (*string, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetReceived

func (o *OutputDataMessage) GetReceived() string

GetReceived returns the Received field value if set, zero value otherwise.

func (*OutputDataMessage) GetReceivedOk

func (o *OutputDataMessage) GetReceivedOk() (*string, bool)

GetReceivedOk returns a tuple with the Received field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetTransport

func (o *OutputDataMessage) GetTransport() string

GetTransport returns the Transport field value if set, zero value otherwise.

func (*OutputDataMessage) GetTransportOk

func (o *OutputDataMessage) GetTransportOk() (*string, bool)

GetTransportOk returns a tuple with the Transport field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetType

func (o *OutputDataMessage) GetType() OutputMessageType

GetType returns the Type field value if set, zero value otherwise.

func (*OutputDataMessage) GetTypeOk

func (o *OutputDataMessage) GetTypeOk() (*OutputMessageType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) GetUdpMetaData

func (o *OutputDataMessage) GetUdpMetaData() UDPMetadata

GetUdpMetaData returns the UdpMetaData field value if set, zero value otherwise.

func (*OutputDataMessage) GetUdpMetaDataOk

func (o *OutputDataMessage) GetUdpMetaDataOk() (*UDPMetadata, bool)

GetUdpMetaDataOk returns a tuple with the UdpMetaData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputDataMessage) HasCoapMetaData

func (o *OutputDataMessage) HasCoapMetaData() bool

HasCoapMetaData returns a boolean if a field has been set.

func (*OutputDataMessage) HasDevice

func (o *OutputDataMessage) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*OutputDataMessage) HasGatewayId added in v4.4.0

func (o *OutputDataMessage) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*OutputDataMessage) HasGatewayMetaData added in v4.4.0

func (o *OutputDataMessage) HasGatewayMetaData() bool

HasGatewayMetaData returns a boolean if a field has been set.

func (*OutputDataMessage) HasMessageId

func (o *OutputDataMessage) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*OutputDataMessage) HasMqttMetaData added in v4.3.0

func (o *OutputDataMessage) HasMqttMetaData() bool

HasMqttMetaData returns a boolean if a field has been set.

func (*OutputDataMessage) HasPayload

func (o *OutputDataMessage) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*OutputDataMessage) HasReceived

func (o *OutputDataMessage) HasReceived() bool

HasReceived returns a boolean if a field has been set.

func (*OutputDataMessage) HasTransport

func (o *OutputDataMessage) HasTransport() bool

HasTransport returns a boolean if a field has been set.

func (*OutputDataMessage) HasType

func (o *OutputDataMessage) HasType() bool

HasType returns a boolean if a field has been set.

func (*OutputDataMessage) HasUdpMetaData

func (o *OutputDataMessage) HasUdpMetaData() bool

HasUdpMetaData returns a boolean if a field has been set.

func (OutputDataMessage) MarshalJSON

func (o OutputDataMessage) MarshalJSON() ([]byte, error)

func (*OutputDataMessage) SetCoapMetaData

func (o *OutputDataMessage) SetCoapMetaData(v CoAPMetadata)

SetCoapMetaData gets a reference to the given CoAPMetadata and assigns it to the CoapMetaData field.

func (*OutputDataMessage) SetDevice

func (o *OutputDataMessage) SetDevice(v Device)

SetDevice gets a reference to the given Device and assigns it to the Device field.

func (*OutputDataMessage) SetGatewayId added in v4.4.0

func (o *OutputDataMessage) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (*OutputDataMessage) SetGatewayMetaData added in v4.4.0

func (o *OutputDataMessage) SetGatewayMetaData(v GatewayMetadata)

SetGatewayMetaData gets a reference to the given GatewayMetadata and assigns it to the GatewayMetaData field.

func (*OutputDataMessage) SetMessageId

func (o *OutputDataMessage) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*OutputDataMessage) SetMqttMetaData added in v4.3.0

func (o *OutputDataMessage) SetMqttMetaData(v MQTTMetadata)

SetMqttMetaData gets a reference to the given MQTTMetadata and assigns it to the MqttMetaData field.

func (*OutputDataMessage) SetPayload

func (o *OutputDataMessage) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

func (*OutputDataMessage) SetReceived

func (o *OutputDataMessage) SetReceived(v string)

SetReceived gets a reference to the given string and assigns it to the Received field.

func (*OutputDataMessage) SetTransport

func (o *OutputDataMessage) SetTransport(v string)

SetTransport gets a reference to the given string and assigns it to the Transport field.

func (*OutputDataMessage) SetType

func (o *OutputDataMessage) SetType(v OutputMessageType)

SetType gets a reference to the given OutputMessageType and assigns it to the Type field.

func (*OutputDataMessage) SetUdpMetaData

func (o *OutputDataMessage) SetUdpMetaData(v UDPMetadata)

SetUdpMetaData gets a reference to the given UDPMetadata and assigns it to the UdpMetaData field.

func (OutputDataMessage) ToMap added in v4.5.0

func (o OutputDataMessage) ToMap() (map[string]interface{}, error)

type OutputLogEntry

type OutputLogEntry struct {
	Time     *string `json:"time,omitempty"`
	Message  *string `json:"message,omitempty"`
	Repeated *int32  `json:"repeated,omitempty"`
}

OutputLogEntry Log entries for outputs

func NewOutputLogEntry

func NewOutputLogEntry() *OutputLogEntry

NewOutputLogEntry instantiates a new OutputLogEntry 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 NewOutputLogEntryWithDefaults

func NewOutputLogEntryWithDefaults() *OutputLogEntry

NewOutputLogEntryWithDefaults instantiates a new OutputLogEntry 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 (*OutputLogEntry) GetMessage

func (o *OutputLogEntry) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*OutputLogEntry) GetMessageOk

func (o *OutputLogEntry) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputLogEntry) GetRepeated

func (o *OutputLogEntry) GetRepeated() int32

GetRepeated returns the Repeated field value if set, zero value otherwise.

func (*OutputLogEntry) GetRepeatedOk

func (o *OutputLogEntry) GetRepeatedOk() (*int32, bool)

GetRepeatedOk returns a tuple with the Repeated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputLogEntry) GetTime

func (o *OutputLogEntry) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*OutputLogEntry) GetTimeOk

func (o *OutputLogEntry) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputLogEntry) HasMessage

func (o *OutputLogEntry) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*OutputLogEntry) HasRepeated

func (o *OutputLogEntry) HasRepeated() bool

HasRepeated returns a boolean if a field has been set.

func (*OutputLogEntry) HasTime

func (o *OutputLogEntry) HasTime() bool

HasTime returns a boolean if a field has been set.

func (OutputLogEntry) MarshalJSON

func (o OutputLogEntry) MarshalJSON() ([]byte, error)

func (*OutputLogEntry) SetMessage

func (o *OutputLogEntry) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*OutputLogEntry) SetRepeated

func (o *OutputLogEntry) SetRepeated(v int32)

SetRepeated gets a reference to the given int32 and assigns it to the Repeated field.

func (*OutputLogEntry) SetTime

func (o *OutputLogEntry) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (OutputLogEntry) ToMap added in v4.5.0

func (o OutputLogEntry) ToMap() (map[string]interface{}, error)

type OutputLogResponse

type OutputLogResponse struct {
	Logs []OutputLogEntry `json:"logs,omitempty"`
}

OutputLogResponse List logs for output

func NewOutputLogResponse

func NewOutputLogResponse() *OutputLogResponse

NewOutputLogResponse instantiates a new OutputLogResponse 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 NewOutputLogResponseWithDefaults

func NewOutputLogResponseWithDefaults() *OutputLogResponse

NewOutputLogResponseWithDefaults instantiates a new OutputLogResponse 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 (*OutputLogResponse) GetLogs

func (o *OutputLogResponse) GetLogs() []OutputLogEntry

GetLogs returns the Logs field value if set, zero value otherwise.

func (*OutputLogResponse) GetLogsOk

func (o *OutputLogResponse) GetLogsOk() ([]OutputLogEntry, bool)

GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputLogResponse) HasLogs

func (o *OutputLogResponse) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (OutputLogResponse) MarshalJSON

func (o OutputLogResponse) MarshalJSON() ([]byte, error)

func (*OutputLogResponse) SetLogs

func (o *OutputLogResponse) SetLogs(v []OutputLogEntry)

SetLogs gets a reference to the given []OutputLogEntry and assigns it to the Logs field.

func (OutputLogResponse) ToMap added in v4.5.0

func (o OutputLogResponse) ToMap() (map[string]interface{}, error)

type OutputMessageType added in v4.2.0

type OutputMessageType string

OutputMessageType the model 'OutputMessageType'

const (
	OUTPUTMESSAGETYPE_UNKNOWN   OutputMessageType = "unknown"
	OUTPUTMESSAGETYPE_KEEPALIVE OutputMessageType = "keepalive"
	OUTPUTMESSAGETYPE_DATA      OutputMessageType = "data"
)

List of OutputMessageType

func NewOutputMessageTypeFromValue added in v4.2.0

func NewOutputMessageTypeFromValue(v string) (*OutputMessageType, error)

NewOutputMessageTypeFromValue returns a pointer to a valid OutputMessageType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OutputMessageType) IsValid added in v4.2.0

func (v OutputMessageType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OutputMessageType) Ptr added in v4.2.0

Ptr returns reference to OutputMessageType value

func (*OutputMessageType) UnmarshalJSON added in v4.2.0

func (v *OutputMessageType) UnmarshalJSON(src []byte) error

type OutputStats added in v4.6.0

type OutputStats struct {
	ForwardErrors     *int32  `json:"forwardErrors,omitempty"`
	MessagesForwarded *string `json:"messagesForwarded,omitempty"`
	BytesForwarded    *string `json:"bytesForwarded,omitempty"`
}

OutputStats Statistics for a single data router

func NewOutputStats added in v4.6.0

func NewOutputStats() *OutputStats

NewOutputStats instantiates a new OutputStats 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 NewOutputStatsWithDefaults added in v4.6.0

func NewOutputStatsWithDefaults() *OutputStats

NewOutputStatsWithDefaults instantiates a new OutputStats 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 (*OutputStats) GetBytesForwarded added in v4.9.5

func (o *OutputStats) GetBytesForwarded() string

GetBytesForwarded returns the BytesForwarded field value if set, zero value otherwise.

func (*OutputStats) GetBytesForwardedOk added in v4.9.5

func (o *OutputStats) GetBytesForwardedOk() (*string, bool)

GetBytesForwardedOk returns a tuple with the BytesForwarded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStats) GetForwardErrors added in v4.6.0

func (o *OutputStats) GetForwardErrors() int32

GetForwardErrors returns the ForwardErrors field value if set, zero value otherwise.

func (*OutputStats) GetForwardErrorsOk added in v4.6.0

func (o *OutputStats) GetForwardErrorsOk() (*int32, bool)

GetForwardErrorsOk returns a tuple with the ForwardErrors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStats) GetMessagesForwarded added in v4.6.0

func (o *OutputStats) GetMessagesForwarded() string

GetMessagesForwarded returns the MessagesForwarded field value if set, zero value otherwise.

func (*OutputStats) GetMessagesForwardedOk added in v4.6.0

func (o *OutputStats) GetMessagesForwardedOk() (*string, bool)

GetMessagesForwardedOk returns a tuple with the MessagesForwarded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStats) HasBytesForwarded added in v4.9.5

func (o *OutputStats) HasBytesForwarded() bool

HasBytesForwarded returns a boolean if a field has been set.

func (*OutputStats) HasForwardErrors added in v4.6.0

func (o *OutputStats) HasForwardErrors() bool

HasForwardErrors returns a boolean if a field has been set.

func (*OutputStats) HasMessagesForwarded added in v4.6.0

func (o *OutputStats) HasMessagesForwarded() bool

HasMessagesForwarded returns a boolean if a field has been set.

func (OutputStats) MarshalJSON added in v4.6.0

func (o OutputStats) MarshalJSON() ([]byte, error)

func (*OutputStats) SetBytesForwarded added in v4.9.5

func (o *OutputStats) SetBytesForwarded(v string)

SetBytesForwarded gets a reference to the given string and assigns it to the BytesForwarded field.

func (*OutputStats) SetForwardErrors added in v4.6.0

func (o *OutputStats) SetForwardErrors(v int32)

SetForwardErrors gets a reference to the given int32 and assigns it to the ForwardErrors field.

func (*OutputStats) SetMessagesForwarded added in v4.6.0

func (o *OutputStats) SetMessagesForwarded(v string)

SetMessagesForwarded gets a reference to the given string and assigns it to the MessagesForwarded field.

func (OutputStats) ToMap added in v4.6.0

func (o OutputStats) ToMap() (map[string]interface{}, error)

type OutputStatusResponse

type OutputStatusResponse struct {
	CollectionId *string `json:"collectionId,omitempty"`
	OutputId     *string `json:"outputId,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
	ErrorCount   *int32  `json:"errorCount,omitempty"`
	Forwarded    *int32  `json:"forwarded,omitempty"`
	Received     *int32  `json:"received,omitempty"`
	Retransmits  *int32  `json:"retransmits,omitempty"`
}

OutputStatusResponse Show status of output

func NewOutputStatusResponse

func NewOutputStatusResponse() *OutputStatusResponse

NewOutputStatusResponse instantiates a new OutputStatusResponse 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 NewOutputStatusResponseWithDefaults

func NewOutputStatusResponseWithDefaults() *OutputStatusResponse

NewOutputStatusResponseWithDefaults instantiates a new OutputStatusResponse 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 (*OutputStatusResponse) GetCollectionId

func (o *OutputStatusResponse) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*OutputStatusResponse) GetCollectionIdOk

func (o *OutputStatusResponse) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStatusResponse) GetEnabled

func (o *OutputStatusResponse) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*OutputStatusResponse) GetEnabledOk

func (o *OutputStatusResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStatusResponse) GetErrorCount

func (o *OutputStatusResponse) GetErrorCount() int32

GetErrorCount returns the ErrorCount field value if set, zero value otherwise.

func (*OutputStatusResponse) GetErrorCountOk

func (o *OutputStatusResponse) GetErrorCountOk() (*int32, bool)

GetErrorCountOk returns a tuple with the ErrorCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStatusResponse) GetForwarded

func (o *OutputStatusResponse) GetForwarded() int32

GetForwarded returns the Forwarded field value if set, zero value otherwise.

func (*OutputStatusResponse) GetForwardedOk

func (o *OutputStatusResponse) GetForwardedOk() (*int32, bool)

GetForwardedOk returns a tuple with the Forwarded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStatusResponse) GetOutputId

func (o *OutputStatusResponse) GetOutputId() string

GetOutputId returns the OutputId field value if set, zero value otherwise.

func (*OutputStatusResponse) GetOutputIdOk

func (o *OutputStatusResponse) GetOutputIdOk() (*string, bool)

GetOutputIdOk returns a tuple with the OutputId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStatusResponse) GetReceived

func (o *OutputStatusResponse) GetReceived() int32

GetReceived returns the Received field value if set, zero value otherwise.

func (*OutputStatusResponse) GetReceivedOk

func (o *OutputStatusResponse) GetReceivedOk() (*int32, bool)

GetReceivedOk returns a tuple with the Received field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStatusResponse) GetRetransmits

func (o *OutputStatusResponse) GetRetransmits() int32

GetRetransmits returns the Retransmits field value if set, zero value otherwise.

func (*OutputStatusResponse) GetRetransmitsOk

func (o *OutputStatusResponse) GetRetransmitsOk() (*int32, bool)

GetRetransmitsOk returns a tuple with the Retransmits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutputStatusResponse) HasCollectionId

func (o *OutputStatusResponse) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*OutputStatusResponse) HasEnabled

func (o *OutputStatusResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*OutputStatusResponse) HasErrorCount

func (o *OutputStatusResponse) HasErrorCount() bool

HasErrorCount returns a boolean if a field has been set.

func (*OutputStatusResponse) HasForwarded

func (o *OutputStatusResponse) HasForwarded() bool

HasForwarded returns a boolean if a field has been set.

func (*OutputStatusResponse) HasOutputId

func (o *OutputStatusResponse) HasOutputId() bool

HasOutputId returns a boolean if a field has been set.

func (*OutputStatusResponse) HasReceived

func (o *OutputStatusResponse) HasReceived() bool

HasReceived returns a boolean if a field has been set.

func (*OutputStatusResponse) HasRetransmits

func (o *OutputStatusResponse) HasRetransmits() bool

HasRetransmits returns a boolean if a field has been set.

func (OutputStatusResponse) MarshalJSON

func (o OutputStatusResponse) MarshalJSON() ([]byte, error)

func (*OutputStatusResponse) SetCollectionId

func (o *OutputStatusResponse) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*OutputStatusResponse) SetEnabled

func (o *OutputStatusResponse) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*OutputStatusResponse) SetErrorCount

func (o *OutputStatusResponse) SetErrorCount(v int32)

SetErrorCount gets a reference to the given int32 and assigns it to the ErrorCount field.

func (*OutputStatusResponse) SetForwarded

func (o *OutputStatusResponse) SetForwarded(v int32)

SetForwarded gets a reference to the given int32 and assigns it to the Forwarded field.

func (*OutputStatusResponse) SetOutputId

func (o *OutputStatusResponse) SetOutputId(v string)

SetOutputId gets a reference to the given string and assigns it to the OutputId field.

func (*OutputStatusResponse) SetReceived

func (o *OutputStatusResponse) SetReceived(v int32)

SetReceived gets a reference to the given int32 and assigns it to the Received field.

func (*OutputStatusResponse) SetRetransmits

func (o *OutputStatusResponse) SetRetransmits(v int32)

SetRetransmits gets a reference to the given int32 and assigns it to the Retransmits field.

func (OutputStatusResponse) ToMap added in v4.5.0

func (o OutputStatusResponse) ToMap() (map[string]interface{}, error)

type OutputType

type OutputType string

OutputType Output types available - undefined: The undefined output type is an invalid type

const (
	OUTPUTTYPE_UNDEFINED  OutputType = "undefined"
	OUTPUTTYPE_WEBHOOK    OutputType = "webhook"
	OUTPUTTYPE_UDPOUT     OutputType = "udpout"
	OUTPUTTYPE_MQTTCLIENT OutputType = "mqttclient"
	OUTPUTTYPE_IFTTT      OutputType = "ifttt"
	OUTPUTTYPE_MQTTBROKER OutputType = "mqttbroker"
)

List of OutputType

func NewOutputTypeFromValue added in v4.2.0

func NewOutputTypeFromValue(v string) (*OutputType, error)

NewOutputTypeFromValue returns a pointer to a valid OutputType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OutputType) IsValid added in v4.2.0

func (v OutputType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OutputType) Ptr

func (v OutputType) Ptr() *OutputType

Ptr returns reference to OutputType value

func (*OutputType) UnmarshalJSON

func (v *OutputType) UnmarshalJSON(src []byte) error

type OutputsApiService

type OutputsApiService service

OutputsApiService OutputsApi service

func (*OutputsApiService) CreateOutput added in v4.1.8

func (a *OutputsApiService) CreateOutput(ctx context.Context, collectionId string) ApiCreateOutputRequest

CreateOutput Create output

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiCreateOutputRequest

func (*OutputsApiService) CreateOutputExecute added in v4.1.8

func (a *OutputsApiService) CreateOutputExecute(r ApiCreateOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

func (*OutputsApiService) DeleteOutput added in v4.1.8

func (a *OutputsApiService) DeleteOutput(ctx context.Context, collectionId string, outputId string) ApiDeleteOutputRequest

DeleteOutput Delete output

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param outputId
@return ApiDeleteOutputRequest

func (*OutputsApiService) DeleteOutputExecute added in v4.1.8

func (a *OutputsApiService) DeleteOutputExecute(r ApiDeleteOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

func (*OutputsApiService) ListOutputs added in v4.1.8

func (a *OutputsApiService) ListOutputs(ctx context.Context, collectionId string) ApiListOutputsRequest

ListOutputs List outputs

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@return ApiListOutputsRequest

func (*OutputsApiService) ListOutputsExecute added in v4.1.8

Execute executes the request

@return ListOutputResponse

func (*OutputsApiService) Logs added in v4.1.8

func (a *OutputsApiService) Logs(ctx context.Context, collectionId string, outputId string) ApiLogsRequest

Logs Output logs

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param outputId
@return ApiLogsRequest

func (*OutputsApiService) LogsExecute added in v4.1.8

Execute executes the request

@return OutputLogResponse

func (*OutputsApiService) RetrieveOutput added in v4.1.8

func (a *OutputsApiService) RetrieveOutput(ctx context.Context, collectionId string, outputId string) ApiRetrieveOutputRequest

RetrieveOutput Retrieve output

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param outputId
@return ApiRetrieveOutputRequest

func (*OutputsApiService) RetrieveOutputExecute added in v4.1.8

func (a *OutputsApiService) RetrieveOutputExecute(r ApiRetrieveOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

func (*OutputsApiService) RetrieveOutputStats added in v4.6.0

func (a *OutputsApiService) RetrieveOutputStats(ctx context.Context, collectionId string, outputId string) ApiRetrieveOutputStatsRequest

RetrieveOutputStats Retrieve output statistics

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param outputId
@return ApiRetrieveOutputStatsRequest

func (*OutputsApiService) RetrieveOutputStatsExecute added in v4.6.0

func (a *OutputsApiService) RetrieveOutputStatsExecute(r ApiRetrieveOutputStatsRequest) (*OutputStats, *http.Response, error)

Execute executes the request

@return OutputStats

func (*OutputsApiService) Status added in v4.1.8

func (a *OutputsApiService) Status(ctx context.Context, collectionId string, outputId string) ApiStatusRequest

Status Output status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param collectionId
@param outputId
@return ApiStatusRequest

func (*OutputsApiService) StatusExecute added in v4.1.8

Execute executes the request

@return OutputStatusResponse

func (*OutputsApiService) UpdateOutput added in v4.1.8

func (a *OutputsApiService) UpdateOutput(ctx context.Context, existingCollectionId string, outputId string) ApiUpdateOutputRequest

UpdateOutput Update output

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param existingCollectionId
@param outputId
@return ApiUpdateOutputRequest

func (*OutputsApiService) UpdateOutputExecute added in v4.1.8

func (a *OutputsApiService) UpdateOutputExecute(r ApiUpdateOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

type RetrieveBlobResponse added in v4.4.0

type RetrieveBlobResponse struct {
	ContentType *string `json:"contentType,omitempty"`
	Size        *int32  `json:"size,omitempty"`
	Data        *string `json:"data,omitempty"`
}

RetrieveBlobResponse This is not available throught the API, just as a regular HTTP response

func NewRetrieveBlobResponse added in v4.4.0

func NewRetrieveBlobResponse() *RetrieveBlobResponse

NewRetrieveBlobResponse instantiates a new RetrieveBlobResponse 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 NewRetrieveBlobResponseWithDefaults added in v4.4.0

func NewRetrieveBlobResponseWithDefaults() *RetrieveBlobResponse

NewRetrieveBlobResponseWithDefaults instantiates a new RetrieveBlobResponse 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 (*RetrieveBlobResponse) GetContentType added in v4.4.0

func (o *RetrieveBlobResponse) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*RetrieveBlobResponse) GetContentTypeOk added in v4.4.0

func (o *RetrieveBlobResponse) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveBlobResponse) GetData added in v4.4.0

func (o *RetrieveBlobResponse) GetData() string

GetData returns the Data field value if set, zero value otherwise.

func (*RetrieveBlobResponse) GetDataOk added in v4.4.0

func (o *RetrieveBlobResponse) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveBlobResponse) GetSize added in v4.4.0

func (o *RetrieveBlobResponse) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*RetrieveBlobResponse) GetSizeOk added in v4.4.0

func (o *RetrieveBlobResponse) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveBlobResponse) HasContentType added in v4.4.0

func (o *RetrieveBlobResponse) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*RetrieveBlobResponse) HasData added in v4.4.0

func (o *RetrieveBlobResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*RetrieveBlobResponse) HasSize added in v4.4.0

func (o *RetrieveBlobResponse) HasSize() bool

HasSize returns a boolean if a field has been set.

func (RetrieveBlobResponse) MarshalJSON added in v4.4.0

func (o RetrieveBlobResponse) MarshalJSON() ([]byte, error)

func (*RetrieveBlobResponse) SetContentType added in v4.4.0

func (o *RetrieveBlobResponse) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*RetrieveBlobResponse) SetData added in v4.4.0

func (o *RetrieveBlobResponse) SetData(v string)

SetData gets a reference to the given string and assigns it to the Data field.

func (*RetrieveBlobResponse) SetSize added in v4.4.0

func (o *RetrieveBlobResponse) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (RetrieveBlobResponse) ToMap added in v4.5.0

func (o RetrieveBlobResponse) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SignCertificateRequest added in v4.2.0

type SignCertificateRequest struct {
	GatewayId *string `json:"gatewayId,omitempty"`
	DeviceId  *string `json:"deviceId,omitempty"`
	Csr       *string `json:"csr,omitempty"`
}

SignCertificateRequest Request certificate signing

func NewSignCertificateRequest added in v4.2.0

func NewSignCertificateRequest() *SignCertificateRequest

NewSignCertificateRequest instantiates a new SignCertificateRequest 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 NewSignCertificateRequestWithDefaults added in v4.2.0

func NewSignCertificateRequestWithDefaults() *SignCertificateRequest

NewSignCertificateRequestWithDefaults instantiates a new SignCertificateRequest 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 (*SignCertificateRequest) GetCsr added in v4.2.0

func (o *SignCertificateRequest) GetCsr() string

GetCsr returns the Csr field value if set, zero value otherwise.

func (*SignCertificateRequest) GetCsrOk added in v4.2.0

func (o *SignCertificateRequest) GetCsrOk() (*string, bool)

GetCsrOk returns a tuple with the Csr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignCertificateRequest) GetDeviceId added in v4.2.0

func (o *SignCertificateRequest) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*SignCertificateRequest) GetDeviceIdOk added in v4.2.0

func (o *SignCertificateRequest) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignCertificateRequest) GetGatewayId added in v4.2.0

func (o *SignCertificateRequest) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*SignCertificateRequest) GetGatewayIdOk added in v4.2.0

func (o *SignCertificateRequest) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignCertificateRequest) HasCsr added in v4.2.0

func (o *SignCertificateRequest) HasCsr() bool

HasCsr returns a boolean if a field has been set.

func (*SignCertificateRequest) HasDeviceId added in v4.2.0

func (o *SignCertificateRequest) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*SignCertificateRequest) HasGatewayId added in v4.2.0

func (o *SignCertificateRequest) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (SignCertificateRequest) MarshalJSON added in v4.2.0

func (o SignCertificateRequest) MarshalJSON() ([]byte, error)

func (*SignCertificateRequest) SetCsr added in v4.2.0

func (o *SignCertificateRequest) SetCsr(v string)

SetCsr gets a reference to the given string and assigns it to the Csr field.

func (*SignCertificateRequest) SetDeviceId added in v4.2.0

func (o *SignCertificateRequest) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*SignCertificateRequest) SetGatewayId added in v4.2.0

func (o *SignCertificateRequest) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (SignCertificateRequest) ToMap added in v4.5.0

func (o SignCertificateRequest) ToMap() (map[string]interface{}, error)

type SignCertificateResponse added in v4.2.0

type SignCertificateResponse struct {
	Certificate *string `json:"certificate,omitempty"`
	Chain       *string `json:"chain,omitempty"`
}

SignCertificateResponse Response when signing a certificate

func NewSignCertificateResponse added in v4.2.0

func NewSignCertificateResponse() *SignCertificateResponse

NewSignCertificateResponse instantiates a new SignCertificateResponse 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 NewSignCertificateResponseWithDefaults added in v4.2.0

func NewSignCertificateResponseWithDefaults() *SignCertificateResponse

NewSignCertificateResponseWithDefaults instantiates a new SignCertificateResponse 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 (*SignCertificateResponse) GetCertificate added in v4.2.0

func (o *SignCertificateResponse) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*SignCertificateResponse) GetCertificateOk added in v4.2.0

func (o *SignCertificateResponse) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignCertificateResponse) GetChain added in v4.2.0

func (o *SignCertificateResponse) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*SignCertificateResponse) GetChainOk added in v4.2.0

func (o *SignCertificateResponse) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignCertificateResponse) HasCertificate added in v4.2.0

func (o *SignCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*SignCertificateResponse) HasChain added in v4.2.0

func (o *SignCertificateResponse) HasChain() bool

HasChain returns a boolean if a field has been set.

func (SignCertificateResponse) MarshalJSON added in v4.2.0

func (o SignCertificateResponse) MarshalJSON() ([]byte, error)

func (*SignCertificateResponse) SetCertificate added in v4.2.0

func (o *SignCertificateResponse) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (*SignCertificateResponse) SetChain added in v4.2.0

func (o *SignCertificateResponse) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (SignCertificateResponse) ToMap added in v4.5.0

func (o SignCertificateResponse) ToMap() (map[string]interface{}, error)

type SpanApiService added in v4.2.0

type SpanApiService service

SpanApiService SpanApi service

func (*SpanApiService) GetSystemInfo added in v4.2.0

func (a *SpanApiService) GetSystemInfo(ctx context.Context) ApiGetSystemInfoRequest

GetSystemInfo System information

Get system information. This will show the current version of the API that you are using.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSystemInfoRequest

func (*SpanApiService) GetSystemInfoExecute added in v4.2.0

Execute executes the request

@return SystemInfoResponse

type Status added in v4.2.0

type Status struct {
	Code    *int32  `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Details []Any   `json:"details,omitempty"`
}

Status struct for Status

func NewStatus added in v4.2.0

func NewStatus() *Status

NewStatus instantiates a new Status 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 NewStatusWithDefaults added in v4.2.0

func NewStatusWithDefaults() *Status

NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCode added in v4.2.0

func (o *Status) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Status) GetCodeOk added in v4.2.0

func (o *Status) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Status) GetDetails added in v4.2.0

func (o *Status) GetDetails() []Any

GetDetails returns the Details field value if set, zero value otherwise.

func (*Status) GetDetailsOk added in v4.2.0

func (o *Status) GetDetailsOk() ([]Any, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Status) GetMessage added in v4.2.0

func (o *Status) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Status) GetMessageOk added in v4.2.0

func (o *Status) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Status) HasCode added in v4.2.0

func (o *Status) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Status) HasDetails added in v4.2.0

func (o *Status) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Status) HasMessage added in v4.2.0

func (o *Status) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Status) MarshalJSON added in v4.2.0

func (o Status) MarshalJSON() ([]byte, error)

func (*Status) SetCode added in v4.2.0

func (o *Status) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*Status) SetDetails added in v4.2.0

func (o *Status) SetDetails(v []Any)

SetDetails gets a reference to the given []Any and assigns it to the Details field.

func (*Status) SetMessage added in v4.2.0

func (o *Status) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (Status) ToMap added in v4.5.0

func (o Status) ToMap() (map[string]interface{}, error)

type SystemInfoResponse

type SystemInfoResponse struct {
	// This is the system version
	Version *string `json:"version,omitempty"`
	// The build time for this version.
	BuildDate *string `json:"buildDate,omitempty"`
	// Human-readable code name for this release. This can be easier to remember than the version number.
	ReleaseName *string `json:"releaseName,omitempty"`
}

SystemInfoResponse Response object for system information. This contains system-level information.

func NewSystemInfoResponse

func NewSystemInfoResponse() *SystemInfoResponse

NewSystemInfoResponse instantiates a new SystemInfoResponse 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 NewSystemInfoResponseWithDefaults

func NewSystemInfoResponseWithDefaults() *SystemInfoResponse

NewSystemInfoResponseWithDefaults instantiates a new SystemInfoResponse 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 (*SystemInfoResponse) GetBuildDate

func (o *SystemInfoResponse) GetBuildDate() string

GetBuildDate returns the BuildDate field value if set, zero value otherwise.

func (*SystemInfoResponse) GetBuildDateOk

func (o *SystemInfoResponse) GetBuildDateOk() (*string, bool)

GetBuildDateOk returns a tuple with the BuildDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SystemInfoResponse) GetReleaseName

func (o *SystemInfoResponse) GetReleaseName() string

GetReleaseName returns the ReleaseName field value if set, zero value otherwise.

func (*SystemInfoResponse) GetReleaseNameOk

func (o *SystemInfoResponse) GetReleaseNameOk() (*string, bool)

GetReleaseNameOk returns a tuple with the ReleaseName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SystemInfoResponse) GetVersion

func (o *SystemInfoResponse) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*SystemInfoResponse) GetVersionOk

func (o *SystemInfoResponse) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SystemInfoResponse) HasBuildDate

func (o *SystemInfoResponse) HasBuildDate() bool

HasBuildDate returns a boolean if a field has been set.

func (*SystemInfoResponse) HasReleaseName

func (o *SystemInfoResponse) HasReleaseName() bool

HasReleaseName returns a boolean if a field has been set.

func (*SystemInfoResponse) HasVersion

func (o *SystemInfoResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SystemInfoResponse) MarshalJSON

func (o SystemInfoResponse) MarshalJSON() ([]byte, error)

func (*SystemInfoResponse) SetBuildDate

func (o *SystemInfoResponse) SetBuildDate(v string)

SetBuildDate gets a reference to the given string and assigns it to the BuildDate field.

func (*SystemInfoResponse) SetReleaseName

func (o *SystemInfoResponse) SetReleaseName(v string)

SetReleaseName gets a reference to the given string and assigns it to the ReleaseName field.

func (*SystemInfoResponse) SetVersion

func (o *SystemInfoResponse) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (SystemInfoResponse) ToMap added in v4.5.0

func (o SystemInfoResponse) ToMap() (map[string]interface{}, error)

type UDPMetadata

type UDPMetadata struct {
	LocalPort  *int32 `json:"localPort,omitempty"`
	RemotePort *int32 `json:"remotePort,omitempty"`
}

UDPMetadata UDP metadata for messages receveied through one of the UDP endpoints

func NewUDPMetadata

func NewUDPMetadata() *UDPMetadata

NewUDPMetadata instantiates a new UDPMetadata 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 NewUDPMetadataWithDefaults

func NewUDPMetadataWithDefaults() *UDPMetadata

NewUDPMetadataWithDefaults instantiates a new UDPMetadata 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 (*UDPMetadata) GetLocalPort

func (o *UDPMetadata) GetLocalPort() int32

GetLocalPort returns the LocalPort field value if set, zero value otherwise.

func (*UDPMetadata) GetLocalPortOk

func (o *UDPMetadata) GetLocalPortOk() (*int32, bool)

GetLocalPortOk returns a tuple with the LocalPort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UDPMetadata) GetRemotePort

func (o *UDPMetadata) GetRemotePort() int32

GetRemotePort returns the RemotePort field value if set, zero value otherwise.

func (*UDPMetadata) GetRemotePortOk

func (o *UDPMetadata) GetRemotePortOk() (*int32, bool)

GetRemotePortOk returns a tuple with the RemotePort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UDPMetadata) HasLocalPort

func (o *UDPMetadata) HasLocalPort() bool

HasLocalPort returns a boolean if a field has been set.

func (*UDPMetadata) HasRemotePort

func (o *UDPMetadata) HasRemotePort() bool

HasRemotePort returns a boolean if a field has been set.

func (UDPMetadata) MarshalJSON

func (o UDPMetadata) MarshalJSON() ([]byte, error)

func (*UDPMetadata) SetLocalPort

func (o *UDPMetadata) SetLocalPort(v int32)

SetLocalPort gets a reference to the given int32 and assigns it to the LocalPort field.

func (*UDPMetadata) SetRemotePort

func (o *UDPMetadata) SetRemotePort(v int32)

SetRemotePort gets a reference to the given int32 and assigns it to the RemotePort field.

func (UDPMetadata) ToMap added in v4.5.0

func (o UDPMetadata) ToMap() (map[string]interface{}, error)

type UpdateCollectionRequest added in v4.2.0

type UpdateCollectionRequest struct {
	// The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID.
	TeamId   *string             `json:"teamId,omitempty"`
	Firmware *CollectionFirmware `json:"firmware,omitempty"`
	// Tags for the collection. Tags are metadata fields that you can assign to the collection.
	Tags *map[string]string `json:"tags,omitempty"`
}

UpdateCollectionRequest Request object when updating a collection

func NewUpdateCollectionRequest added in v4.2.0

func NewUpdateCollectionRequest() *UpdateCollectionRequest

NewUpdateCollectionRequest instantiates a new UpdateCollectionRequest 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 NewUpdateCollectionRequestWithDefaults added in v4.2.0

func NewUpdateCollectionRequestWithDefaults() *UpdateCollectionRequest

NewUpdateCollectionRequestWithDefaults instantiates a new UpdateCollectionRequest 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 (*UpdateCollectionRequest) GetFirmware added in v4.2.0

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetFirmwareOk added in v4.2.0

func (o *UpdateCollectionRequest) GetFirmwareOk() (*CollectionFirmware, bool)

GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) GetTags added in v4.2.0

func (o *UpdateCollectionRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetTagsOk added in v4.2.0

func (o *UpdateCollectionRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) GetTeamId added in v4.2.0

func (o *UpdateCollectionRequest) GetTeamId() string

GetTeamId returns the TeamId field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetTeamIdOk added in v4.2.0

func (o *UpdateCollectionRequest) GetTeamIdOk() (*string, bool)

GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) HasFirmware added in v4.2.0

func (o *UpdateCollectionRequest) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*UpdateCollectionRequest) HasTags added in v4.2.0

func (o *UpdateCollectionRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateCollectionRequest) HasTeamId added in v4.2.0

func (o *UpdateCollectionRequest) HasTeamId() bool

HasTeamId returns a boolean if a field has been set.

func (UpdateCollectionRequest) MarshalJSON added in v4.2.0

func (o UpdateCollectionRequest) MarshalJSON() ([]byte, error)

func (*UpdateCollectionRequest) SetFirmware added in v4.2.0

func (o *UpdateCollectionRequest) SetFirmware(v CollectionFirmware)

SetFirmware gets a reference to the given CollectionFirmware and assigns it to the Firmware field.

func (*UpdateCollectionRequest) SetTags added in v4.2.0

func (o *UpdateCollectionRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*UpdateCollectionRequest) SetTeamId added in v4.2.0

func (o *UpdateCollectionRequest) SetTeamId(v string)

SetTeamId gets a reference to the given string and assigns it to the TeamId field.

func (UpdateCollectionRequest) ToMap added in v4.5.0

func (o UpdateCollectionRequest) ToMap() (map[string]interface{}, error)

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	// The collection id for the device. This field is optional and can be omitted if the collection id isn't changed. When changing to a new collection you must be an owner of the other collection, ie an administrator of the team that owns the new collection.
	CollectionId *string `json:"collectionId,omitempty"`
	// Tags are metadata for the device that you can set. These are just strings.
	Tags     *map[string]string `json:"tags,omitempty"`
	Firmware *FirmwareMetadata  `json:"firmware,omitempty"`
	Config   *DeviceConfig      `json:"config,omitempty"`
}

UpdateDeviceRequest Updating the device

func NewUpdateDeviceRequest

func NewUpdateDeviceRequest() *UpdateDeviceRequest

NewUpdateDeviceRequest instantiates a new UpdateDeviceRequest 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 NewUpdateDeviceRequestWithDefaults

func NewUpdateDeviceRequestWithDefaults() *UpdateDeviceRequest

NewUpdateDeviceRequestWithDefaults instantiates a new UpdateDeviceRequest 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 (*UpdateDeviceRequest) GetCollectionId

func (o *UpdateDeviceRequest) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetCollectionIdOk

func (o *UpdateDeviceRequest) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDeviceRequest) GetConfig added in v4.2.0

func (o *UpdateDeviceRequest) GetConfig() DeviceConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetConfigOk added in v4.2.0

func (o *UpdateDeviceRequest) GetConfigOk() (*DeviceConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDeviceRequest) GetFirmware

func (o *UpdateDeviceRequest) GetFirmware() FirmwareMetadata

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetFirmwareOk

func (o *UpdateDeviceRequest) GetFirmwareOk() (*FirmwareMetadata, bool)

GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDeviceRequest) GetTags

func (o *UpdateDeviceRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetTagsOk

func (o *UpdateDeviceRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDeviceRequest) HasCollectionId

func (o *UpdateDeviceRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasConfig added in v4.2.0

func (o *UpdateDeviceRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasFirmware

func (o *UpdateDeviceRequest) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasTags

func (o *UpdateDeviceRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (UpdateDeviceRequest) MarshalJSON

func (o UpdateDeviceRequest) MarshalJSON() ([]byte, error)

func (*UpdateDeviceRequest) SetCollectionId

func (o *UpdateDeviceRequest) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*UpdateDeviceRequest) SetConfig added in v4.2.0

func (o *UpdateDeviceRequest) SetConfig(v DeviceConfig)

SetConfig gets a reference to the given DeviceConfig and assigns it to the Config field.

func (*UpdateDeviceRequest) SetFirmware

func (o *UpdateDeviceRequest) SetFirmware(v FirmwareMetadata)

SetFirmware gets a reference to the given FirmwareMetadata and assigns it to the Firmware field.

func (*UpdateDeviceRequest) SetTags

func (o *UpdateDeviceRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (UpdateDeviceRequest) ToMap added in v4.5.0

func (o UpdateDeviceRequest) ToMap() (map[string]interface{}, error)

type UpdateFirmwareRequest added in v4.2.0

type UpdateFirmwareRequest struct {
	CollectionId *string            `json:"collectionId,omitempty"`
	Version      *string            `json:"version,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
}

UpdateFirmwareRequest This is the request object when updating the firmware image

func NewUpdateFirmwareRequest added in v4.2.0

func NewUpdateFirmwareRequest() *UpdateFirmwareRequest

NewUpdateFirmwareRequest instantiates a new UpdateFirmwareRequest 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 NewUpdateFirmwareRequestWithDefaults added in v4.2.0

func NewUpdateFirmwareRequestWithDefaults() *UpdateFirmwareRequest

NewUpdateFirmwareRequestWithDefaults instantiates a new UpdateFirmwareRequest 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 (*UpdateFirmwareRequest) GetCollectionId added in v4.2.0

func (o *UpdateFirmwareRequest) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*UpdateFirmwareRequest) GetCollectionIdOk added in v4.2.0

func (o *UpdateFirmwareRequest) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFirmwareRequest) GetTags added in v4.2.0

func (o *UpdateFirmwareRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateFirmwareRequest) GetTagsOk added in v4.2.0

func (o *UpdateFirmwareRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFirmwareRequest) GetVersion added in v4.2.0

func (o *UpdateFirmwareRequest) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*UpdateFirmwareRequest) GetVersionOk added in v4.2.0

func (o *UpdateFirmwareRequest) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFirmwareRequest) HasCollectionId added in v4.2.0

func (o *UpdateFirmwareRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateFirmwareRequest) HasTags added in v4.2.0

func (o *UpdateFirmwareRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateFirmwareRequest) HasVersion added in v4.2.0

func (o *UpdateFirmwareRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (UpdateFirmwareRequest) MarshalJSON added in v4.2.0

func (o UpdateFirmwareRequest) MarshalJSON() ([]byte, error)

func (*UpdateFirmwareRequest) SetCollectionId added in v4.2.0

func (o *UpdateFirmwareRequest) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*UpdateFirmwareRequest) SetTags added in v4.2.0

func (o *UpdateFirmwareRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*UpdateFirmwareRequest) SetVersion added in v4.2.0

func (o *UpdateFirmwareRequest) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (UpdateFirmwareRequest) ToMap added in v4.5.0

func (o UpdateFirmwareRequest) ToMap() (map[string]interface{}, error)

type UpdateGatewayRequest added in v4.5.0

type UpdateGatewayRequest struct {
	Name         *string            `json:"name,omitempty"`
	CollectionId *string            `json:"collectionId,omitempty"`
	Type         *GatewayType       `json:"type,omitempty"`
	Config       *GatewayConfig     `json:"config,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
}

UpdateGatewayRequest struct for UpdateGatewayRequest

func NewUpdateGatewayRequest added in v4.5.0

func NewUpdateGatewayRequest() *UpdateGatewayRequest

NewUpdateGatewayRequest instantiates a new UpdateGatewayRequest 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 NewUpdateGatewayRequestWithDefaults added in v4.5.0

func NewUpdateGatewayRequestWithDefaults() *UpdateGatewayRequest

NewUpdateGatewayRequestWithDefaults instantiates a new UpdateGatewayRequest 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 (*UpdateGatewayRequest) GetCollectionId added in v4.5.0

func (o *UpdateGatewayRequest) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*UpdateGatewayRequest) GetCollectionIdOk added in v4.5.0

func (o *UpdateGatewayRequest) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayRequest) GetConfig added in v4.5.0

func (o *UpdateGatewayRequest) GetConfig() GatewayConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*UpdateGatewayRequest) GetConfigOk added in v4.5.0

func (o *UpdateGatewayRequest) GetConfigOk() (*GatewayConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayRequest) GetName added in v4.5.0

func (o *UpdateGatewayRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateGatewayRequest) GetNameOk added in v4.5.0

func (o *UpdateGatewayRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayRequest) GetTags added in v4.5.0

func (o *UpdateGatewayRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateGatewayRequest) GetTagsOk added in v4.5.0

func (o *UpdateGatewayRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayRequest) GetType added in v4.5.0

func (o *UpdateGatewayRequest) GetType() GatewayType

GetType returns the Type field value if set, zero value otherwise.

func (*UpdateGatewayRequest) GetTypeOk added in v4.5.0

func (o *UpdateGatewayRequest) GetTypeOk() (*GatewayType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayRequest) HasCollectionId added in v4.5.0

func (o *UpdateGatewayRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateGatewayRequest) HasConfig added in v4.5.0

func (o *UpdateGatewayRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateGatewayRequest) HasName added in v4.5.0

func (o *UpdateGatewayRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateGatewayRequest) HasTags added in v4.5.0

func (o *UpdateGatewayRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateGatewayRequest) HasType added in v4.5.0

func (o *UpdateGatewayRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (UpdateGatewayRequest) MarshalJSON added in v4.5.0

func (o UpdateGatewayRequest) MarshalJSON() ([]byte, error)

func (*UpdateGatewayRequest) SetCollectionId added in v4.5.0

func (o *UpdateGatewayRequest) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*UpdateGatewayRequest) SetConfig added in v4.5.0

func (o *UpdateGatewayRequest) SetConfig(v GatewayConfig)

SetConfig gets a reference to the given GatewayConfig and assigns it to the Config field.

func (*UpdateGatewayRequest) SetName added in v4.5.0

func (o *UpdateGatewayRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateGatewayRequest) SetTags added in v4.5.0

func (o *UpdateGatewayRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*UpdateGatewayRequest) SetType added in v4.5.0

func (o *UpdateGatewayRequest) SetType(v GatewayType)

SetType gets a reference to the given GatewayType and assigns it to the Type field.

func (UpdateGatewayRequest) ToMap added in v4.5.0

func (o UpdateGatewayRequest) ToMap() (map[string]interface{}, error)

type UpdateOutputRequest added in v4.2.0

type UpdateOutputRequest struct {
	CollectionId *string            `json:"collectionId,omitempty"`
	Type         *OutputType        `json:"type,omitempty"`
	Config       *OutputConfig      `json:"config,omitempty"`
	Enabled      *bool              `json:"enabled,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
}

UpdateOutputRequest Request type to update outputs

func NewUpdateOutputRequest added in v4.2.0

func NewUpdateOutputRequest() *UpdateOutputRequest

NewUpdateOutputRequest instantiates a new UpdateOutputRequest 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 NewUpdateOutputRequestWithDefaults added in v4.2.0

func NewUpdateOutputRequestWithDefaults() *UpdateOutputRequest

NewUpdateOutputRequestWithDefaults instantiates a new UpdateOutputRequest 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 (*UpdateOutputRequest) GetCollectionId added in v4.2.0

func (o *UpdateOutputRequest) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*UpdateOutputRequest) GetCollectionIdOk added in v4.2.0

func (o *UpdateOutputRequest) GetCollectionIdOk() (*string, bool)

GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateOutputRequest) GetConfig added in v4.2.0

func (o *UpdateOutputRequest) GetConfig() OutputConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*UpdateOutputRequest) GetConfigOk added in v4.2.0

func (o *UpdateOutputRequest) GetConfigOk() (*OutputConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateOutputRequest) GetEnabled added in v4.2.0

func (o *UpdateOutputRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*UpdateOutputRequest) GetEnabledOk added in v4.2.0

func (o *UpdateOutputRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateOutputRequest) GetTags added in v4.2.0

func (o *UpdateOutputRequest) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateOutputRequest) GetTagsOk added in v4.2.0

func (o *UpdateOutputRequest) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateOutputRequest) GetType added in v4.2.0

func (o *UpdateOutputRequest) GetType() OutputType

GetType returns the Type field value if set, zero value otherwise.

func (*UpdateOutputRequest) GetTypeOk added in v4.2.0

func (o *UpdateOutputRequest) GetTypeOk() (*OutputType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateOutputRequest) HasCollectionId added in v4.2.0

func (o *UpdateOutputRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateOutputRequest) HasConfig added in v4.2.0

func (o *UpdateOutputRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateOutputRequest) HasEnabled added in v4.2.0

func (o *UpdateOutputRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateOutputRequest) HasTags added in v4.2.0

func (o *UpdateOutputRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateOutputRequest) HasType added in v4.2.0

func (o *UpdateOutputRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (UpdateOutputRequest) MarshalJSON added in v4.2.0

func (o UpdateOutputRequest) MarshalJSON() ([]byte, error)

func (*UpdateOutputRequest) SetCollectionId added in v4.2.0

func (o *UpdateOutputRequest) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*UpdateOutputRequest) SetConfig added in v4.2.0

func (o *UpdateOutputRequest) SetConfig(v OutputConfig)

SetConfig gets a reference to the given OutputConfig and assigns it to the Config field.

func (*UpdateOutputRequest) SetEnabled added in v4.2.0

func (o *UpdateOutputRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*UpdateOutputRequest) SetTags added in v4.2.0

func (o *UpdateOutputRequest) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*UpdateOutputRequest) SetType added in v4.2.0

func (o *UpdateOutputRequest) SetType(v OutputType)

SetType gets a reference to the given OutputType and assigns it to the Type field.

func (UpdateOutputRequest) ToMap added in v4.5.0

func (o UpdateOutputRequest) ToMap() (map[string]interface{}, error)

type VerifyCertificateRequest added in v4.2.0

type VerifyCertificateRequest struct {
	GatewayId   *string `json:"gatewayId,omitempty"`
	DeviceId    *string `json:"deviceId,omitempty"`
	Certificate *string `json:"certificate,omitempty"`
}

VerifyCertificateRequest Verify a certificate

func NewVerifyCertificateRequest added in v4.2.0

func NewVerifyCertificateRequest() *VerifyCertificateRequest

NewVerifyCertificateRequest instantiates a new VerifyCertificateRequest 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 NewVerifyCertificateRequestWithDefaults added in v4.2.0

func NewVerifyCertificateRequestWithDefaults() *VerifyCertificateRequest

NewVerifyCertificateRequestWithDefaults instantiates a new VerifyCertificateRequest 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 (*VerifyCertificateRequest) GetCertificate added in v4.2.0

func (o *VerifyCertificateRequest) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*VerifyCertificateRequest) GetCertificateOk added in v4.2.0

func (o *VerifyCertificateRequest) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifyCertificateRequest) GetDeviceId added in v4.2.0

func (o *VerifyCertificateRequest) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*VerifyCertificateRequest) GetDeviceIdOk added in v4.2.0

func (o *VerifyCertificateRequest) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifyCertificateRequest) GetGatewayId added in v4.2.0

func (o *VerifyCertificateRequest) GetGatewayId() string

GetGatewayId returns the GatewayId field value if set, zero value otherwise.

func (*VerifyCertificateRequest) GetGatewayIdOk added in v4.2.0

func (o *VerifyCertificateRequest) GetGatewayIdOk() (*string, bool)

GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifyCertificateRequest) HasCertificate added in v4.2.0

func (o *VerifyCertificateRequest) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*VerifyCertificateRequest) HasDeviceId added in v4.2.0

func (o *VerifyCertificateRequest) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*VerifyCertificateRequest) HasGatewayId added in v4.2.0

func (o *VerifyCertificateRequest) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (VerifyCertificateRequest) MarshalJSON added in v4.2.0

func (o VerifyCertificateRequest) MarshalJSON() ([]byte, error)

func (*VerifyCertificateRequest) SetCertificate added in v4.2.0

func (o *VerifyCertificateRequest) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (*VerifyCertificateRequest) SetDeviceId added in v4.2.0

func (o *VerifyCertificateRequest) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*VerifyCertificateRequest) SetGatewayId added in v4.2.0

func (o *VerifyCertificateRequest) SetGatewayId(v string)

SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.

func (VerifyCertificateRequest) ToMap added in v4.5.0

func (o VerifyCertificateRequest) ToMap() (map[string]interface{}, error)

type VerifyCertificateResponse added in v4.2.0

type VerifyCertificateResponse struct {
	Valid  *bool    `json:"valid,omitempty"`
	Errors []string `json:"errors,omitempty"`
}

VerifyCertificateResponse Response when verifying a certificate. The valid flag is set to true when the certificate is valid. Any errors will be added to the errors array.

func NewVerifyCertificateResponse added in v4.2.0

func NewVerifyCertificateResponse() *VerifyCertificateResponse

NewVerifyCertificateResponse instantiates a new VerifyCertificateResponse 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 NewVerifyCertificateResponseWithDefaults added in v4.2.0

func NewVerifyCertificateResponseWithDefaults() *VerifyCertificateResponse

NewVerifyCertificateResponseWithDefaults instantiates a new VerifyCertificateResponse 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 (*VerifyCertificateResponse) GetErrors added in v4.2.0

func (o *VerifyCertificateResponse) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*VerifyCertificateResponse) GetErrorsOk added in v4.2.0

func (o *VerifyCertificateResponse) GetErrorsOk() ([]string, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifyCertificateResponse) GetValid added in v4.2.0

func (o *VerifyCertificateResponse) GetValid() bool

GetValid returns the Valid field value if set, zero value otherwise.

func (*VerifyCertificateResponse) GetValidOk added in v4.2.0

func (o *VerifyCertificateResponse) GetValidOk() (*bool, bool)

GetValidOk returns a tuple with the Valid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifyCertificateResponse) HasErrors added in v4.2.0

func (o *VerifyCertificateResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*VerifyCertificateResponse) HasValid added in v4.2.0

func (o *VerifyCertificateResponse) HasValid() bool

HasValid returns a boolean if a field has been set.

func (VerifyCertificateResponse) MarshalJSON added in v4.2.0

func (o VerifyCertificateResponse) MarshalJSON() ([]byte, error)

func (*VerifyCertificateResponse) SetErrors added in v4.2.0

func (o *VerifyCertificateResponse) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*VerifyCertificateResponse) SetValid added in v4.2.0

func (o *VerifyCertificateResponse) SetValid(v bool)

SetValid gets a reference to the given bool and assigns it to the Valid field.

func (VerifyCertificateResponse) ToMap added in v4.5.0

func (o VerifyCertificateResponse) ToMap() (map[string]interface{}, error)

Source Files

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL