spanapi

package module
v5.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: BSD-2-Clause Imports: 20 Imported by: 0

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: 5.0.3 pitch-dark-elza
  • 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

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 v5.0.3 pitch-dark-elza 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

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

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

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

func (o *ActivityEvent) GetCollectionId() string

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

func (*ActivityEvent) GetCollectionIdOk

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

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

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

func (*ActivityEvent) GetDataOk

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

func (o *ActivityEvent) GetDeviceId() string

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

func (*ActivityEvent) GetDeviceIdOk

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

func (o *ActivityEvent) GetEvent() string

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

func (*ActivityEvent) GetEventOk

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

func (o *ActivityEvent) GetGatewayId() string

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

func (*ActivityEvent) GetGatewayIdOk

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

func (o *ActivityEvent) GetTime() string

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

func (*ActivityEvent) GetTimeOk

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

func (o *ActivityEvent) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*ActivityEvent) HasData

func (o *ActivityEvent) HasData() bool

HasData returns a boolean if a field has been set.

func (*ActivityEvent) HasDeviceId

func (o *ActivityEvent) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*ActivityEvent) HasEvent

func (o *ActivityEvent) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (*ActivityEvent) HasGatewayId

func (o *ActivityEvent) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*ActivityEvent) HasTime

func (o *ActivityEvent) HasTime() bool

HasTime returns a boolean if a field has been set.

func (ActivityEvent) MarshalJSON

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

func (*ActivityEvent) SetCollectionId

func (o *ActivityEvent) SetCollectionId(v string)

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

func (*ActivityEvent) SetData

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

func (o *ActivityEvent) SetDeviceId(v string)

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

func (*ActivityEvent) SetEvent

func (o *ActivityEvent) SetEvent(v string)

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

func (*ActivityEvent) SetGatewayId

func (o *ActivityEvent) SetGatewayId(v string)

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

func (*ActivityEvent) SetTime

func (o *ActivityEvent) SetTime(v string)

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

func (ActivityEvent) ToMap

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

type AddDownstreamMessageBody

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

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

func NewAddDownstreamMessageBody

func NewAddDownstreamMessageBody() *AddDownstreamMessageBody

NewAddDownstreamMessageBody instantiates a new AddDownstreamMessageBody 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 NewAddDownstreamMessageBodyWithDefaults

func NewAddDownstreamMessageBodyWithDefaults() *AddDownstreamMessageBody

NewAddDownstreamMessageBodyWithDefaults instantiates a new AddDownstreamMessageBody 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 (*AddDownstreamMessageBody) GetPayload

func (o *AddDownstreamMessageBody) GetPayload() string

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

func (*AddDownstreamMessageBody) GetPayloadOk

func (o *AddDownstreamMessageBody) 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 (*AddDownstreamMessageBody) HasPayload

func (o *AddDownstreamMessageBody) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (AddDownstreamMessageBody) MarshalJSON

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

func (*AddDownstreamMessageBody) SetPayload

func (o *AddDownstreamMessageBody) SetPayload(v string)

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

func (AddDownstreamMessageBody) ToMap

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

type Any

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

Any struct for Any

func NewAny

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

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

func (o *Any) GetType() string

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

func (*Any) GetTypeOk

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

func (o *Any) HasType() bool

HasType returns a boolean if a field has been set.

func (Any) MarshalJSON

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

func (*Any) SetType

func (o *Any) SetType(v string)

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

func (Any) ToMap

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

type ApiAddDownstreamMessageRequest

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

func (ApiAddDownstreamMessageRequest) Body

func (ApiAddDownstreamMessageRequest) Execute

type ApiClearFirmwareErrorRequest

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

func (ApiClearFirmwareErrorRequest) Execute

type ApiCreateCertificateRequest

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

func (ApiCreateCertificateRequest) Body

func (ApiCreateCertificateRequest) Execute

type ApiCreateCollectionRequest

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

func (ApiCreateCollectionRequest) Body

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

func (ApiCreateCollectionRequest) Execute

type ApiCreateDeviceRequest

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

func (ApiCreateDeviceRequest) Body

func (ApiCreateDeviceRequest) Execute

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

type ApiCreateFirmwareRequest

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

func (ApiCreateFirmwareRequest) Body

func (ApiCreateFirmwareRequest) Execute

type ApiCreateGatewayRequest

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

func (ApiCreateGatewayRequest) Body

func (ApiCreateGatewayRequest) Execute

type ApiCreateOutputRequest

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

func (ApiCreateOutputRequest) Body

func (ApiCreateOutputRequest) Execute

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

type ApiDeleteBlobRequest

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

func (ApiDeleteBlobRequest) Execute

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

type ApiDeleteCollectionRequest

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

func (ApiDeleteCollectionRequest) Execute

type ApiDeleteDeviceRequest

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

func (ApiDeleteDeviceRequest) Execute

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

type ApiDeleteDownstreamMessageRequest

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

func (ApiDeleteDownstreamMessageRequest) Execute

type ApiDeleteFirmwareRequest

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

func (ApiDeleteFirmwareRequest) Execute

type ApiDeleteGatewayRequest

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

func (ApiDeleteGatewayRequest) Execute

type ApiDeleteOutputRequest

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

func (ApiDeleteOutputRequest) Execute

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

type ApiDeviceCertificateRequest

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

func (ApiDeviceCertificateRequest) Execute

type ApiFirmwareUsageRequest

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

func (ApiFirmwareUsageRequest) Execute

type ApiGatewayCertificatesRequest

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

func (ApiGatewayCertificatesRequest) Execute

type ApiGetSystemInfoRequest

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

func (ApiGetSystemInfoRequest) Execute

type ApiListBlobsRequest

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

func (ApiListBlobsRequest) Execute

func (ApiListBlobsRequest) Limit

type ApiListCollectionDataRequest

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

func (ApiListCollectionDataRequest) End

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

func (ApiListCollectionDataRequest) Execute

func (ApiListCollectionDataRequest) Limit

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

func (ApiListCollectionDataRequest) Offset

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

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

type ApiListCollectionsRequest

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

func (ApiListCollectionsRequest) Execute

type ApiListDeviceDataRequest

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

func (ApiListDeviceDataRequest) End

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

func (ApiListDeviceDataRequest) Execute

func (ApiListDeviceDataRequest) Limit

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

func (ApiListDeviceDataRequest) Offset

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

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

type ApiListDevicesRequest

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

func (ApiListDevicesRequest) Execute

type ApiListDownstreamMessagesRequest

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

func (ApiListDownstreamMessagesRequest) End

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

func (ApiListDownstreamMessagesRequest) Execute

func (ApiListDownstreamMessagesRequest) Limit

func (ApiListDownstreamMessagesRequest) Offset

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

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

type ApiListFirmwareRequest

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

func (ApiListFirmwareRequest) Execute

type ApiListGatewaysRequest

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

func (ApiListGatewaysRequest) Execute

type ApiListOutputsRequest

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

func (ApiListOutputsRequest) Execute

type ApiListUpstreamMessagesRequest

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

func (ApiListUpstreamMessagesRequest) End

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

func (ApiListUpstreamMessagesRequest) Execute

func (ApiListUpstreamMessagesRequest) Limit

func (ApiListUpstreamMessagesRequest) Offset

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

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

type ApiLogsRequest

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

func (ApiLogsRequest) Execute

type ApiRetrieveCertificateChainRequest

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

func (ApiRetrieveCertificateChainRequest) DeviceId

func (ApiRetrieveCertificateChainRequest) Execute

func (ApiRetrieveCertificateChainRequest) GatewayId

type ApiRetrieveCollectionRequest

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

func (ApiRetrieveCollectionRequest) Downstream

func (ApiRetrieveCollectionRequest) Execute

func (ApiRetrieveCollectionRequest) Upstream

type ApiRetrieveCollectionStatsRequest

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

func (ApiRetrieveCollectionStatsRequest) Execute

type ApiRetrieveDeviceRequest

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

func (ApiRetrieveDeviceRequest) Execute

type ApiRetrieveDeviceStatsRequest

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

func (ApiRetrieveDeviceStatsRequest) Execute

type ApiRetrieveFirmwareRequest

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

func (ApiRetrieveFirmwareRequest) Execute

type ApiRetrieveFirmwareStatsRequest

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

func (ApiRetrieveFirmwareStatsRequest) Execute

type ApiRetrieveGatewayRequest

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

func (ApiRetrieveGatewayRequest) Execute

type ApiRetrieveGatewayStatsRequest

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

func (ApiRetrieveGatewayStatsRequest) Execute

type ApiRetrieveOutputRequest

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

func (ApiRetrieveOutputRequest) Execute

type ApiRetrieveOutputStatsRequest

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

func (ApiRetrieveOutputStatsRequest) Execute

type ApiSignCertificateRequest

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

func (ApiSignCertificateRequest) Body

func (ApiSignCertificateRequest) Execute

type ApiStatusRequest

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

func (ApiStatusRequest) Execute

type ApiUpdateCollectionRequest

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

func (ApiUpdateCollectionRequest) Body

func (ApiUpdateCollectionRequest) Execute

type ApiUpdateDeviceRequest

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

func (ApiUpdateDeviceRequest) Body

func (ApiUpdateDeviceRequest) Execute

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

type ApiUpdateFirmwareRequest

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

func (ApiUpdateFirmwareRequest) Body

func (ApiUpdateFirmwareRequest) Execute

type ApiUpdateGatewayRequest

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

func (ApiUpdateGatewayRequest) Body

func (ApiUpdateGatewayRequest) Execute

type ApiUpdateOutputRequest

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

func (ApiUpdateOutputRequest) Body

func (ApiUpdateOutputRequest) Execute

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

type ApiVerifyCertificateRequest

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

func (ApiVerifyCertificateRequest) Body

func (ApiVerifyCertificateRequest) Execute

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

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

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

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

func (o *Blob) GetBlobId() string

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

func (*Blob) GetBlobIdOk

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

func (o *Blob) GetBlobPath() string

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

func (*Blob) GetBlobPathOk

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

func (o *Blob) GetCollectionId() string

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

func (*Blob) GetCollectionIdOk

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

func (o *Blob) GetContentType() string

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

func (*Blob) GetContentTypeOk

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

func (o *Blob) GetCreated() string

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

func (*Blob) GetCreatedOk

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

func (o *Blob) GetDeviceId() string

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

func (*Blob) GetDeviceIdOk

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

func (o *Blob) GetGatewayId() string

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

func (*Blob) GetGatewayIdOk

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

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

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

func (*Blob) GetPropertiesOk

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

func (o *Blob) GetSize() string

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

func (*Blob) GetSizeOk

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

func (o *Blob) HasBlobId() bool

HasBlobId returns a boolean if a field has been set.

func (*Blob) HasBlobPath

func (o *Blob) HasBlobPath() bool

HasBlobPath returns a boolean if a field has been set.

func (*Blob) HasCollectionId

func (o *Blob) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Blob) HasContentType

func (o *Blob) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*Blob) HasCreated

func (o *Blob) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Blob) HasDeviceId

func (o *Blob) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*Blob) HasGatewayId

func (o *Blob) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*Blob) HasProperties

func (o *Blob) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Blob) HasSize

func (o *Blob) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Blob) MarshalJSON

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

func (*Blob) SetBlobId

func (o *Blob) SetBlobId(v string)

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

func (*Blob) SetBlobPath

func (o *Blob) SetBlobPath(v string)

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

func (*Blob) SetCollectionId

func (o *Blob) SetCollectionId(v string)

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

func (*Blob) SetContentType

func (o *Blob) SetContentType(v string)

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

func (*Blob) SetCreated

func (o *Blob) SetCreated(v string)

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

func (*Blob) SetDeviceId

func (o *Blob) SetDeviceId(v string)

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

func (*Blob) SetGatewayId

func (o *Blob) SetGatewayId(v string)

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

func (*Blob) SetProperties

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

func (o *Blob) SetSize(v string)

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

func (Blob) ToMap

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

type BlobStats

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

BlobStats Statistics for a single blob

func NewBlobStats

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

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

func (o *BlobStats) GetBlobBytes() string

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

func (*BlobStats) GetBlobBytesOk

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

func (o *BlobStats) HasBlobBytes() bool

HasBlobBytes returns a boolean if a field has been set.

func (BlobStats) MarshalJSON

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

func (*BlobStats) SetBlobBytes

func (o *BlobStats) SetBlobBytes(v string)

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

func (BlobStats) ToMap

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

type BlobsApiService

type BlobsApiService service

BlobsApiService BlobsApi service

func (*BlobsApiService) DeleteBlob

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

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

Execute executes the request

@return map[string]interface{}

func (*BlobsApiService) ListBlobs

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

Execute executes the request

@return ListBlobResponse

type CellularIoTConfig

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

CellularIoTConfig This is the cellular IOT config

func NewCellularIoTConfig

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

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

func (o *CellularIoTConfig) GetImei() string

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

func (*CellularIoTConfig) GetImeiOk

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

func (o *CellularIoTConfig) GetImsi() string

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

func (*CellularIoTConfig) GetImsiOk

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

func (o *CellularIoTConfig) HasImei() bool

HasImei returns a boolean if a field has been set.

func (*CellularIoTConfig) HasImsi

func (o *CellularIoTConfig) HasImsi() bool

HasImsi returns a boolean if a field has been set.

func (CellularIoTConfig) MarshalJSON

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

func (*CellularIoTConfig) SetImei

func (o *CellularIoTConfig) SetImei(v string)

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

func (*CellularIoTConfig) SetImsi

func (o *CellularIoTConfig) SetImsi(v string)

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

func (CellularIoTConfig) ToMap

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

type CellularIoTMetadata

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

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

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

func (o *CellularIoTMetadata) GetAllocatedAt() string

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

func (*CellularIoTMetadata) GetAllocatedAtOk

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

func (o *CellularIoTMetadata) GetAllocatedIp() string

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

func (*CellularIoTMetadata) GetAllocatedIpOk

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

func (o *CellularIoTMetadata) GetCellId() string

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

func (*CellularIoTMetadata) GetCellIdOk

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

func (o *CellularIoTMetadata) GetCountry() string

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

func (*CellularIoTMetadata) GetCountryCode

func (o *CellularIoTMetadata) GetCountryCode() string

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

func (*CellularIoTMetadata) GetCountryCodeOk

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

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

func (o *CellularIoTMetadata) GetGatewayId() string

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

func (*CellularIoTMetadata) GetGatewayIdOk

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

func (o *CellularIoTMetadata) GetLastImei() string

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

func (*CellularIoTMetadata) GetLastImeiOk

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

func (o *CellularIoTMetadata) GetLastImsi() string

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

func (*CellularIoTMetadata) GetLastImsiOk

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

func (o *CellularIoTMetadata) GetLastUpdate() string

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

func (*CellularIoTMetadata) GetLastUpdateOk

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

func (o *CellularIoTMetadata) GetMcc() int32

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

func (*CellularIoTMetadata) GetMccOk

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

func (o *CellularIoTMetadata) GetMnc() int32

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

func (*CellularIoTMetadata) GetMncOk

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

func (o *CellularIoTMetadata) GetNetwork() string

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

func (*CellularIoTMetadata) GetNetworkOk

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

func (o *CellularIoTMetadata) HasAllocatedAt() bool

HasAllocatedAt returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasAllocatedIp

func (o *CellularIoTMetadata) HasAllocatedIp() bool

HasAllocatedIp returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasCellId

func (o *CellularIoTMetadata) HasCellId() bool

HasCellId returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasCountry

func (o *CellularIoTMetadata) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasCountryCode

func (o *CellularIoTMetadata) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasGatewayId

func (o *CellularIoTMetadata) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasLastImei

func (o *CellularIoTMetadata) HasLastImei() bool

HasLastImei returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasLastImsi

func (o *CellularIoTMetadata) HasLastImsi() bool

HasLastImsi returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasLastUpdate

func (o *CellularIoTMetadata) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasMcc

func (o *CellularIoTMetadata) HasMcc() bool

HasMcc returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasMnc

func (o *CellularIoTMetadata) HasMnc() bool

HasMnc returns a boolean if a field has been set.

func (*CellularIoTMetadata) HasNetwork

func (o *CellularIoTMetadata) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (CellularIoTMetadata) MarshalJSON

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

func (*CellularIoTMetadata) SetAllocatedAt

func (o *CellularIoTMetadata) SetAllocatedAt(v string)

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

func (*CellularIoTMetadata) SetAllocatedIp

func (o *CellularIoTMetadata) SetAllocatedIp(v string)

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

func (*CellularIoTMetadata) SetCellId

func (o *CellularIoTMetadata) SetCellId(v string)

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

func (*CellularIoTMetadata) SetCountry

func (o *CellularIoTMetadata) SetCountry(v string)

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

func (*CellularIoTMetadata) SetCountryCode

func (o *CellularIoTMetadata) SetCountryCode(v string)

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

func (*CellularIoTMetadata) SetGatewayId

func (o *CellularIoTMetadata) SetGatewayId(v string)

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

func (*CellularIoTMetadata) SetLastImei

func (o *CellularIoTMetadata) SetLastImei(v string)

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

func (*CellularIoTMetadata) SetLastImsi

func (o *CellularIoTMetadata) SetLastImsi(v string)

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

func (*CellularIoTMetadata) SetLastUpdate

func (o *CellularIoTMetadata) SetLastUpdate(v string)

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

func (*CellularIoTMetadata) SetMcc

func (o *CellularIoTMetadata) SetMcc(v int32)

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

func (*CellularIoTMetadata) SetMnc

func (o *CellularIoTMetadata) SetMnc(v int32)

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

func (*CellularIoTMetadata) SetNetwork

func (o *CellularIoTMetadata) SetNetwork(v string)

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

func (CellularIoTMetadata) ToMap

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

type CertificateChainResponse

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

CertificateChainResponse Response when retrieving a certificate chain

func NewCertificateChainResponse

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

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

func (o *CertificateChainResponse) GetChain() string

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

func (*CertificateChainResponse) GetChainOk

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

func (o *CertificateChainResponse) HasChain() bool

HasChain returns a boolean if a field has been set.

func (CertificateChainResponse) MarshalJSON

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

func (*CertificateChainResponse) SetChain

func (o *CertificateChainResponse) SetChain(v string)

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

func (CertificateChainResponse) ToMap

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

type CertificateInfo

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

CertificateInfo Certificate information

func NewCertificateInfo

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

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

func (o *CertificateInfo) GetCertificateSerial() string

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

func (*CertificateInfo) GetCertificateSerialOk

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

func (o *CertificateInfo) GetExpires() string

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

func (*CertificateInfo) GetExpiresOk

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

func (o *CertificateInfo) HasCertificateSerial() bool

HasCertificateSerial returns a boolean if a field has been set.

func (*CertificateInfo) HasExpires

func (o *CertificateInfo) HasExpires() bool

HasExpires returns a boolean if a field has been set.

func (CertificateInfo) MarshalJSON

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

func (*CertificateInfo) SetCertificateSerial

func (o *CertificateInfo) SetCertificateSerial(v string)

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

func (*CertificateInfo) SetExpires

func (o *CertificateInfo) SetExpires(v string)

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

func (CertificateInfo) ToMap

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

type CertificatesApiService

type CertificatesApiService service

CertificatesApiService CertificatesApi service

func (*CertificatesApiService) CreateCertificate

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

Execute executes the request

@return CreateCertificateResponse

func (*CertificatesApiService) RetrieveCertificateChain

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

Execute executes the request

@return CertificateChainResponse

func (*CertificatesApiService) SignCertificate

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

Execute executes the request

@return SignCertificateResponse

func (*CertificatesApiService) VerifyCertificate

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

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

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

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"`
	// Disabled flag for collection. If the collection is disabled it is in effect read only and inactive. You can't update a disabled collection.
	Enabled *bool `json:"enabled,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

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

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

func (*Collection) GetDownstreamTimestampsOk

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) GetEnabled

func (o *Collection) GetEnabled() bool

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

func (*Collection) GetEnabledOk

func (o *Collection) 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 (*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

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

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

func (*Collection) GetUpstreamTimestampsOk

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

func (o *Collection) HasDownstreamTimestamps() bool

HasDownstreamTimestamps returns a boolean if a field has been set.

func (*Collection) HasEnabled

func (o *Collection) HasEnabled() bool

HasEnabled 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

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

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

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

func (*Collection) SetEnabled

func (o *Collection) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled 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

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

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

func (Collection) ToMap

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

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

type CollectionStats

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

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

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

func (o *CollectionStats) GetBlobCount() int32

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

func (*CollectionStats) GetBlobCountOk

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

func (o *CollectionStats) GetBlobs() BlobStats

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

func (*CollectionStats) GetBlobsOk

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

func (o *CollectionStats) GetDeviceCount() int32

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

func (*CollectionStats) GetDeviceCountOk

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

func (o *CollectionStats) GetDevices() DeviceStats

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

func (*CollectionStats) GetDevicesOk

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

func (o *CollectionStats) GetFirmware() FirmwareStats

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

func (*CollectionStats) GetFirmwareCount

func (o *CollectionStats) GetFirmwareCount() int32

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

func (*CollectionStats) GetFirmwareCountOk

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

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

func (o *CollectionStats) GetGatewayCount() int32

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

func (*CollectionStats) GetGatewayCountOk

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

func (o *CollectionStats) GetGateways() GatewayStats

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

func (*CollectionStats) GetGatewaysOk

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

func (o *CollectionStats) GetOutputCount() int32

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

func (*CollectionStats) GetOutputCountOk

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

func (o *CollectionStats) GetOutputs() OutputStats

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

func (*CollectionStats) GetOutputsOk

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

func (o *CollectionStats) HasBlobCount() bool

HasBlobCount returns a boolean if a field has been set.

func (*CollectionStats) HasBlobs

func (o *CollectionStats) HasBlobs() bool

HasBlobs returns a boolean if a field has been set.

func (*CollectionStats) HasDeviceCount

func (o *CollectionStats) HasDeviceCount() bool

HasDeviceCount returns a boolean if a field has been set.

func (*CollectionStats) HasDevices

func (o *CollectionStats) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*CollectionStats) HasFirmware

func (o *CollectionStats) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*CollectionStats) HasFirmwareCount

func (o *CollectionStats) HasFirmwareCount() bool

HasFirmwareCount returns a boolean if a field has been set.

func (*CollectionStats) HasGatewayCount

func (o *CollectionStats) HasGatewayCount() bool

HasGatewayCount returns a boolean if a field has been set.

func (*CollectionStats) HasGateways

func (o *CollectionStats) HasGateways() bool

HasGateways returns a boolean if a field has been set.

func (*CollectionStats) HasOutputCount

func (o *CollectionStats) HasOutputCount() bool

HasOutputCount returns a boolean if a field has been set.

func (*CollectionStats) HasOutputs

func (o *CollectionStats) HasOutputs() bool

HasOutputs returns a boolean if a field has been set.

func (CollectionStats) MarshalJSON

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

func (*CollectionStats) SetBlobCount

func (o *CollectionStats) SetBlobCount(v int32)

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

func (*CollectionStats) SetBlobs

func (o *CollectionStats) SetBlobs(v BlobStats)

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

func (*CollectionStats) SetDeviceCount

func (o *CollectionStats) SetDeviceCount(v int32)

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

func (*CollectionStats) SetDevices

func (o *CollectionStats) SetDevices(v DeviceStats)

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

func (*CollectionStats) SetFirmware

func (o *CollectionStats) SetFirmware(v FirmwareStats)

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

func (*CollectionStats) SetFirmwareCount

func (o *CollectionStats) SetFirmwareCount(v int32)

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

func (*CollectionStats) SetGatewayCount

func (o *CollectionStats) SetGatewayCount(v int32)

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

func (*CollectionStats) SetGateways

func (o *CollectionStats) SetGateways(v GatewayStats)

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

func (*CollectionStats) SetOutputCount

func (o *CollectionStats) SetOutputCount(v int32)

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

func (*CollectionStats) SetOutputs

func (o *CollectionStats) SetOutputs(v OutputStats)

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

func (CollectionStats) ToMap

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

type CollectionsApiService

type CollectionsApiService service

CollectionsApiService CollectionsApi service

func (*CollectionsApiService) CreateCollection

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

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

Execute executes the request

@return Collection

func (*CollectionsApiService) DeleteCollection

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

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

Execute executes the request

@return Collection

func (*CollectionsApiService) ListCollectionData

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

Execute executes the request

@return ListDataResponse

func (*CollectionsApiService) ListCollections

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

Execute executes the request

@return ListCollectionResponse

func (*CollectionsApiService) RetrieveCollection

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

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

Execute executes the request

@return Collection

func (*CollectionsApiService) RetrieveCollectionStats

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

Execute executes the request

@return CollectionStats

func (*CollectionsApiService) UpdateCollection

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

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 CreateCertificateBody

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

CreateCertificateBody Request object to create a new certificate.

func NewCreateCertificateBody

func NewCreateCertificateBody() *CreateCertificateBody

NewCreateCertificateBody instantiates a new CreateCertificateBody 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 NewCreateCertificateBodyWithDefaults

func NewCreateCertificateBodyWithDefaults() *CreateCertificateBody

NewCreateCertificateBodyWithDefaults instantiates a new CreateCertificateBody 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 (*CreateCertificateBody) GetDeviceId

func (o *CreateCertificateBody) GetDeviceId() string

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

func (*CreateCertificateBody) GetDeviceIdOk

func (o *CreateCertificateBody) 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 (*CreateCertificateBody) GetGatewayId

func (o *CreateCertificateBody) GetGatewayId() string

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

func (*CreateCertificateBody) GetGatewayIdOk

func (o *CreateCertificateBody) 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 (*CreateCertificateBody) HasDeviceId

func (o *CreateCertificateBody) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*CreateCertificateBody) HasGatewayId

func (o *CreateCertificateBody) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (CreateCertificateBody) MarshalJSON

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

func (*CreateCertificateBody) SetDeviceId

func (o *CreateCertificateBody) SetDeviceId(v string)

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

func (*CreateCertificateBody) SetGatewayId

func (o *CreateCertificateBody) SetGatewayId(v string)

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

func (CreateCertificateBody) ToMap

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

type CreateCertificateResponse

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

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

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

func (o *CreateCertificateResponse) GetCertificate() string

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

func (*CreateCertificateResponse) GetCertificateOk

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

func (o *CreateCertificateResponse) GetChain() string

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

func (*CreateCertificateResponse) GetChainOk

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

func (o *CreateCertificateResponse) GetPrivateKey() string

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

func (*CreateCertificateResponse) GetPrivateKeyOk

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

func (o *CreateCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*CreateCertificateResponse) HasChain

func (o *CreateCertificateResponse) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*CreateCertificateResponse) HasPrivateKey

func (o *CreateCertificateResponse) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (CreateCertificateResponse) MarshalJSON

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

func (*CreateCertificateResponse) SetCertificate

func (o *CreateCertificateResponse) SetCertificate(v string)

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

func (*CreateCertificateResponse) SetChain

func (o *CreateCertificateResponse) SetChain(v string)

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

func (*CreateCertificateResponse) SetPrivateKey

func (o *CreateCertificateResponse) SetPrivateKey(v string)

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

func (CreateCertificateResponse) ToMap

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

type CreateCollectionRequest

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

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

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

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

func (*CreateCollectionRequest) GetFirmwareOk

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

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

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

func (*CreateCollectionRequest) GetTagsOk

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

func (o *CreateCollectionRequest) GetTeamId() string

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

func (*CreateCollectionRequest) GetTeamIdOk

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

func (o *CreateCollectionRequest) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*CreateCollectionRequest) HasTags

func (o *CreateCollectionRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateCollectionRequest) HasTeamId

func (o *CreateCollectionRequest) HasTeamId() bool

HasTeamId returns a boolean if a field has been set.

func (CreateCollectionRequest) MarshalJSON

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

func (*CreateCollectionRequest) SetFirmware

func (o *CreateCollectionRequest) SetFirmware(v CollectionFirmware)

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

func (*CreateCollectionRequest) SetTags

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

func (o *CreateCollectionRequest) SetTeamId(v string)

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

func (CreateCollectionRequest) ToMap

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

type CreateDeviceBody

type CreateDeviceBody 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"`
}

CreateDeviceBody Request object to create new devices

func NewCreateDeviceBody

func NewCreateDeviceBody() *CreateDeviceBody

NewCreateDeviceBody instantiates a new CreateDeviceBody 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 NewCreateDeviceBodyWithDefaults

func NewCreateDeviceBodyWithDefaults() *CreateDeviceBody

NewCreateDeviceBodyWithDefaults instantiates a new CreateDeviceBody 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 (*CreateDeviceBody) GetConfig

func (o *CreateDeviceBody) GetConfig() DeviceConfig

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

func (*CreateDeviceBody) GetConfigOk

func (o *CreateDeviceBody) 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 (*CreateDeviceBody) GetFirmware

func (o *CreateDeviceBody) GetFirmware() FirmwareMetadata

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

func (*CreateDeviceBody) GetFirmwareOk

func (o *CreateDeviceBody) 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 (*CreateDeviceBody) GetMetadata

func (o *CreateDeviceBody) GetMetadata() DeviceMetadata

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

func (*CreateDeviceBody) GetMetadataOk

func (o *CreateDeviceBody) 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 (*CreateDeviceBody) GetTags

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

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

func (*CreateDeviceBody) GetTagsOk

func (o *CreateDeviceBody) 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 (*CreateDeviceBody) HasConfig

func (o *CreateDeviceBody) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateDeviceBody) HasFirmware

func (o *CreateDeviceBody) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*CreateDeviceBody) HasMetadata

func (o *CreateDeviceBody) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CreateDeviceBody) HasTags

func (o *CreateDeviceBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (CreateDeviceBody) MarshalJSON

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

func (*CreateDeviceBody) SetConfig

func (o *CreateDeviceBody) SetConfig(v DeviceConfig)

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

func (*CreateDeviceBody) SetFirmware

func (o *CreateDeviceBody) SetFirmware(v FirmwareMetadata)

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

func (*CreateDeviceBody) SetMetadata

func (o *CreateDeviceBody) SetMetadata(v DeviceMetadata)

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

func (*CreateDeviceBody) SetTags

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

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

func (CreateDeviceBody) ToMap

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

type CreateFirmwareBody

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

CreateFirmwareBody Create a new firmware image

func NewCreateFirmwareBody

func NewCreateFirmwareBody() *CreateFirmwareBody

NewCreateFirmwareBody instantiates a new CreateFirmwareBody 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 NewCreateFirmwareBodyWithDefaults

func NewCreateFirmwareBodyWithDefaults() *CreateFirmwareBody

NewCreateFirmwareBodyWithDefaults instantiates a new CreateFirmwareBody 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 (*CreateFirmwareBody) GetFilename

func (o *CreateFirmwareBody) GetFilename() string

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

func (*CreateFirmwareBody) GetFilenameOk

func (o *CreateFirmwareBody) 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 (*CreateFirmwareBody) GetImage

func (o *CreateFirmwareBody) GetImage() string

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

func (*CreateFirmwareBody) GetImageOk

func (o *CreateFirmwareBody) 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 (*CreateFirmwareBody) GetTags

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

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

func (*CreateFirmwareBody) GetTagsOk

func (o *CreateFirmwareBody) 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 (*CreateFirmwareBody) GetVersion

func (o *CreateFirmwareBody) GetVersion() string

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

func (*CreateFirmwareBody) GetVersionOk

func (o *CreateFirmwareBody) 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 (*CreateFirmwareBody) HasFilename

func (o *CreateFirmwareBody) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*CreateFirmwareBody) HasImage

func (o *CreateFirmwareBody) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*CreateFirmwareBody) HasTags

func (o *CreateFirmwareBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateFirmwareBody) HasVersion

func (o *CreateFirmwareBody) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CreateFirmwareBody) MarshalJSON

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

func (*CreateFirmwareBody) SetFilename

func (o *CreateFirmwareBody) SetFilename(v string)

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

func (*CreateFirmwareBody) SetImage

func (o *CreateFirmwareBody) SetImage(v string)

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

func (*CreateFirmwareBody) SetTags

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

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

func (*CreateFirmwareBody) SetVersion

func (o *CreateFirmwareBody) SetVersion(v string)

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

func (CreateFirmwareBody) ToMap

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

type CreateGatewayBody

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

CreateGatewayBody struct for CreateGatewayBody

func NewCreateGatewayBody

func NewCreateGatewayBody() *CreateGatewayBody

NewCreateGatewayBody instantiates a new CreateGatewayBody 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 NewCreateGatewayBodyWithDefaults

func NewCreateGatewayBodyWithDefaults() *CreateGatewayBody

NewCreateGatewayBodyWithDefaults instantiates a new CreateGatewayBody 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 (*CreateGatewayBody) GetConfig

func (o *CreateGatewayBody) GetConfig() GatewayConfig

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

func (*CreateGatewayBody) GetConfigOk

func (o *CreateGatewayBody) 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 (*CreateGatewayBody) GetName

func (o *CreateGatewayBody) GetName() string

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

func (*CreateGatewayBody) GetNameOk

func (o *CreateGatewayBody) 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 (*CreateGatewayBody) GetTags

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

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

func (*CreateGatewayBody) GetTagsOk

func (o *CreateGatewayBody) 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 (*CreateGatewayBody) GetType

func (o *CreateGatewayBody) GetType() GatewayType

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

func (*CreateGatewayBody) GetTypeOk

func (o *CreateGatewayBody) 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 (*CreateGatewayBody) HasConfig

func (o *CreateGatewayBody) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateGatewayBody) HasName

func (o *CreateGatewayBody) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateGatewayBody) HasTags

func (o *CreateGatewayBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateGatewayBody) HasType

func (o *CreateGatewayBody) HasType() bool

HasType returns a boolean if a field has been set.

func (CreateGatewayBody) MarshalJSON

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

func (*CreateGatewayBody) SetConfig

func (o *CreateGatewayBody) SetConfig(v GatewayConfig)

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

func (*CreateGatewayBody) SetName

func (o *CreateGatewayBody) SetName(v string)

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

func (*CreateGatewayBody) SetTags

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

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

func (*CreateGatewayBody) SetType

func (o *CreateGatewayBody) SetType(v GatewayType)

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

func (CreateGatewayBody) ToMap

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

type CreateOutputBody

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

CreateOutputBody Request type when creating new outputs

func NewCreateOutputBody

func NewCreateOutputBody() *CreateOutputBody

NewCreateOutputBody instantiates a new CreateOutputBody 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 NewCreateOutputBodyWithDefaults

func NewCreateOutputBodyWithDefaults() *CreateOutputBody

NewCreateOutputBodyWithDefaults instantiates a new CreateOutputBody 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 (*CreateOutputBody) GetConfig

func (o *CreateOutputBody) GetConfig() OutputConfig

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

func (*CreateOutputBody) GetConfigOk

func (o *CreateOutputBody) 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 (*CreateOutputBody) GetEnabled

func (o *CreateOutputBody) GetEnabled() bool

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

func (*CreateOutputBody) GetEnabledOk

func (o *CreateOutputBody) 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 (*CreateOutputBody) GetTags

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

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

func (*CreateOutputBody) GetTagsOk

func (o *CreateOutputBody) 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 (*CreateOutputBody) GetType

func (o *CreateOutputBody) GetType() OutputType

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

func (*CreateOutputBody) GetTypeOk

func (o *CreateOutputBody) 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 (*CreateOutputBody) HasConfig

func (o *CreateOutputBody) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateOutputBody) HasEnabled

func (o *CreateOutputBody) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateOutputBody) HasTags

func (o *CreateOutputBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateOutputBody) HasType

func (o *CreateOutputBody) HasType() bool

HasType returns a boolean if a field has been set.

func (CreateOutputBody) MarshalJSON

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

func (*CreateOutputBody) SetConfig

func (o *CreateOutputBody) SetConfig(v OutputConfig)

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

func (*CreateOutputBody) SetEnabled

func (o *CreateOutputBody) SetEnabled(v bool)

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

func (*CreateOutputBody) SetTags

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

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

func (*CreateOutputBody) SetType

func (o *CreateOutputBody) SetType(v OutputType)

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

func (CreateOutputBody) ToMap

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

type DeleteDownstreamMessageResponse

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

DeleteDownstreamMessageResponse Response object when deleting a downstream message

func NewDeleteDownstreamMessageResponse

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

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

func (o *DeleteDownstreamMessageResponse) GetMessageId() string

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

func (*DeleteDownstreamMessageResponse) GetMessageIdOk

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

func (o *DeleteDownstreamMessageResponse) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (DeleteDownstreamMessageResponse) MarshalJSON

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

func (*DeleteDownstreamMessageResponse) SetMessageId

func (o *DeleteDownstreamMessageResponse) SetMessageId(v string)

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

func (DeleteDownstreamMessageResponse) ToMap

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"`
	Enabled       *bool              `json:"enabled,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

func (o *Device) GetConfig() DeviceConfig

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

func (*Device) GetConfigOk

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) GetEnabled

func (o *Device) GetEnabled() bool

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

func (*Device) GetEnabledOk

func (o *Device) 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 (*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

func (o *Device) GetLastGatewayId() string

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

func (*Device) GetLastGatewayIdOk

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

func (o *Device) GetLastPayload() string

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

func (*Device) GetLastPayloadOk

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

func (o *Device) GetLastReceived() string

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

func (*Device) GetLastReceivedOk

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

func (o *Device) GetLastTransport() MessageTransport

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

func (*Device) GetLastTransportOk

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

func (o *Device) GetMetadata() DeviceMetadata

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

func (*Device) GetMetadataOk

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

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) HasEnabled

func (o *Device) HasEnabled() bool

HasEnabled 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

func (o *Device) HasLastGatewayId() bool

HasLastGatewayId returns a boolean if a field has been set.

func (*Device) HasLastPayload

func (o *Device) HasLastPayload() bool

HasLastPayload returns a boolean if a field has been set.

func (*Device) HasLastReceived

func (o *Device) HasLastReceived() bool

HasLastReceived returns a boolean if a field has been set.

func (*Device) HasLastTransport

func (o *Device) HasLastTransport() bool

HasLastTransport returns a boolean if a field has been set.

func (*Device) HasMetadata

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

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) SetEnabled

func (o *Device) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled 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

func (o *Device) SetLastGatewayId(v string)

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

func (*Device) SetLastPayload

func (o *Device) SetLastPayload(v string)

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

func (*Device) SetLastReceived

func (o *Device) SetLastReceived(v string)

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

func (*Device) SetLastTransport

func (o *Device) SetLastTransport(v MessageTransport)

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

func (*Device) SetMetadata

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

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

type DeviceCertificateResponse

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

DeviceCertificateResponse Response object for certificate info resource

func NewDeviceCertificateResponse

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

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

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

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

func (*DeviceCertificateResponse) GetCertificatesOk

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

func (o *DeviceCertificateResponse) HasCertificates() bool

HasCertificates returns a boolean if a field has been set.

func (DeviceCertificateResponse) MarshalJSON

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

func (*DeviceCertificateResponse) SetCertificates

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

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

func (DeviceCertificateResponse) ToMap

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

type DeviceConfig

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

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

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

func (o *DeviceConfig) GetCiot() CellularIoTConfig

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

func (*DeviceConfig) GetCiotOk

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

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

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

func (*DeviceConfig) GetGatewayOk

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

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

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

func (*DeviceConfig) GetInetOk

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

func (o *DeviceConfig) HasCiot() bool

HasCiot returns a boolean if a field has been set.

func (*DeviceConfig) HasGateway

func (o *DeviceConfig) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*DeviceConfig) HasInet

func (o *DeviceConfig) HasInet() bool

HasInet returns a boolean if a field has been set.

func (DeviceConfig) MarshalJSON

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

func (*DeviceConfig) SetCiot

func (o *DeviceConfig) SetCiot(v CellularIoTConfig)

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

func (*DeviceConfig) SetGateway

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

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

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

type DeviceMetadata

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

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

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

func (o *DeviceMetadata) GetCiot() CellularIoTMetadata

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

func (*DeviceMetadata) GetCiotOk

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

func (o *DeviceMetadata) GetGateway() GatewayDeviceMetadata

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

func (*DeviceMetadata) GetGatewayOk

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

func (o *DeviceMetadata) GetInet() InetMetadata

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

func (*DeviceMetadata) GetInetOk

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

func (o *DeviceMetadata) HasCiot() bool

HasCiot returns a boolean if a field has been set.

func (*DeviceMetadata) HasGateway

func (o *DeviceMetadata) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*DeviceMetadata) HasInet

func (o *DeviceMetadata) HasInet() bool

HasInet returns a boolean if a field has been set.

func (DeviceMetadata) MarshalJSON

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

func (*DeviceMetadata) SetCiot

func (o *DeviceMetadata) SetCiot(v CellularIoTMetadata)

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

func (*DeviceMetadata) SetGateway

func (o *DeviceMetadata) SetGateway(v GatewayDeviceMetadata)

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

func (*DeviceMetadata) SetInet

func (o *DeviceMetadata) SetInet(v InetMetadata)

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

func (DeviceMetadata) ToMap

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

type DeviceStats

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

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

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

func (o *DeviceStats) GetBytesDownstream() string

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

func (*DeviceStats) GetBytesDownstreamOk

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

func (o *DeviceStats) GetBytesUpstream() string

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

func (*DeviceStats) GetBytesUpstreamOk

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

func (o *DeviceStats) GetMessagesDownstream() string

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

func (*DeviceStats) GetMessagesDownstreamOk

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

func (o *DeviceStats) GetMessagesUpstream() string

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

func (*DeviceStats) GetMessagesUpstreamOk

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

func (o *DeviceStats) GetSessionCount() int32

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

func (*DeviceStats) GetSessionCountOk

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

func (o *DeviceStats) HasBytesDownstream() bool

HasBytesDownstream returns a boolean if a field has been set.

func (*DeviceStats) HasBytesUpstream

func (o *DeviceStats) HasBytesUpstream() bool

HasBytesUpstream returns a boolean if a field has been set.

func (*DeviceStats) HasMessagesDownstream

func (o *DeviceStats) HasMessagesDownstream() bool

HasMessagesDownstream returns a boolean if a field has been set.

func (*DeviceStats) HasMessagesUpstream

func (o *DeviceStats) HasMessagesUpstream() bool

HasMessagesUpstream returns a boolean if a field has been set.

func (*DeviceStats) HasSessionCount

func (o *DeviceStats) HasSessionCount() bool

HasSessionCount returns a boolean if a field has been set.

func (DeviceStats) MarshalJSON

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

func (*DeviceStats) SetBytesDownstream

func (o *DeviceStats) SetBytesDownstream(v string)

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

func (*DeviceStats) SetBytesUpstream

func (o *DeviceStats) SetBytesUpstream(v string)

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

func (*DeviceStats) SetMessagesDownstream

func (o *DeviceStats) SetMessagesDownstream(v string)

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

func (*DeviceStats) SetMessagesUpstream

func (o *DeviceStats) SetMessagesUpstream(v string)

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

func (*DeviceStats) SetSessionCount

func (o *DeviceStats) SetSessionCount(v int32)

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

func (DeviceStats) ToMap

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

type DevicesApiService

type DevicesApiService service

DevicesApiService DevicesApi service

func (*DevicesApiService) AddDownstreamMessage

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

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

Execute executes the request

@return MessageDownstream

func (*DevicesApiService) CreateDevice

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

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

Execute executes the request

@return Device

func (*DevicesApiService) DeleteDevice

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

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

Execute executes the request

@return Device

func (*DevicesApiService) DeleteDownstreamMessage

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

Execute executes the request

@return DeleteDownstreamMessageResponse

func (*DevicesApiService) DeviceCertificate

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

Execute executes the request

@return DeviceCertificateResponse

func (*DevicesApiService) ListDeviceData

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

Execute executes the request

@return ListDataResponse

func (*DevicesApiService) ListDevices

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

Execute executes the request

@return ListDevicesResponse

func (*DevicesApiService) ListDownstreamMessages

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

Execute executes the request

@return ListDownstreamMessagesResponse

func (*DevicesApiService) ListUpstreamMessages

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

Execute executes the request

@return ListUpstreamMessagesResponse

func (*DevicesApiService) RetrieveDevice

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

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

Execute executes the request

@return Device

func (*DevicesApiService) RetrieveDeviceStats

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

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

Execute executes the request

@return DeviceStats

func (*DevicesApiService) UpdateDevice

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

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"`
	Enabled *bool              `json:"enabled,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) GetEnabled

func (o *Firmware) GetEnabled() bool

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

func (*Firmware) GetEnabledOk

func (o *Firmware) 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 (*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) HasEnabled

func (o *Firmware) HasEnabled() bool

HasEnabled 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) SetEnabled

func (o *Firmware) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled 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

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

type FirmwareManagement

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

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

func (v FirmwareManagement) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirmwareManagement) Ptr

Ptr returns reference to FirmwareManagement value

func (*FirmwareManagement) UnmarshalJSON

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

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

type FirmwareStats

type FirmwareStats struct {
	FirmwareImageSize *int32 `json:"firmwareImageSize,omitempty"`
}

FirmwareStats Statistics for a single firmware image

func NewFirmwareStats

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

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

func (o *FirmwareStats) GetFirmwareImageSize() int32

GetFirmwareImageSize returns the FirmwareImageSize field value if set, zero value otherwise.

func (*FirmwareStats) GetFirmwareImageSizeOk

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

func (o *FirmwareStats) HasFirmwareImageSize() bool

HasFirmwareImageSize returns a boolean if a field has been set.

func (FirmwareStats) MarshalJSON

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

func (*FirmwareStats) SetFirmwareImageSize

func (o *FirmwareStats) SetFirmwareImageSize(v int32)

SetFirmwareImageSize gets a reference to the given int32 and assigns it to the FirmwareImageSize field.

func (FirmwareStats) ToMap

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

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

type FotaApiService

type FotaApiService service

FotaApiService FotaApi service

func (*FotaApiService) ClearFirmwareError

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

Execute executes the request

@return ClearFirmwareErrorResponse

func (*FotaApiService) CreateFirmware

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

func (a *FotaApiService) CreateFirmwareExecute(r ApiCreateFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

func (*FotaApiService) DeleteFirmware

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

func (a *FotaApiService) DeleteFirmwareExecute(r ApiDeleteFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

func (*FotaApiService) FirmwareUsage

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

Execute executes the request

@return FirmwareUsageResponse

func (*FotaApiService) ListFirmware

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

Execute executes the request

@return ListFirmwareResponse

func (*FotaApiService) RetrieveFirmware

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

func (a *FotaApiService) RetrieveFirmwareExecute(r ApiRetrieveFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

func (*FotaApiService) RetrieveFirmwareStats

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

func (a *FotaApiService) RetrieveFirmwareStatsExecute(r ApiRetrieveFirmwareStatsRequest) (*FirmwareStats, *http.Response, error)

Execute executes the request

@return FirmwareStats

func (*FotaApiService) UpdateFirmware

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

func (a *FotaApiService) UpdateFirmwareExecute(r ApiUpdateFirmwareRequest) (*Firmware, *http.Response, error)

Execute executes the request

@return Firmware

type Gateway

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"`
	Enabled      *bool              `json:"enabled,omitempty"`
}

Gateway A gateway is a connection between devices and Span

func NewGateway

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

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

func (o *Gateway) GetBuiltIn() bool

GetBuiltIn returns the BuiltIn field value if set, zero value otherwise.

func (*Gateway) GetBuiltInOk

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

func (o *Gateway) GetCollectionId() string

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

func (*Gateway) GetCollectionIdOk

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

func (o *Gateway) GetConfig() GatewayConfig

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

func (*Gateway) GetConfigOk

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) GetEnabled

func (o *Gateway) GetEnabled() bool

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

func (*Gateway) GetEnabledOk

func (o *Gateway) 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 (*Gateway) GetGatewayId

func (o *Gateway) GetGatewayId() string

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

func (*Gateway) GetGatewayIdOk

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

func (o *Gateway) GetName() string

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

func (*Gateway) GetNameOk

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

func (o *Gateway) GetStatus() GatewayStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Gateway) GetStatusOk

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

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

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

func (*Gateway) GetTagsOk

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

func (o *Gateway) GetType() GatewayType

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

func (*Gateway) GetTypeOk

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

func (o *Gateway) HasBuiltIn() bool

HasBuiltIn returns a boolean if a field has been set.

func (*Gateway) HasCollectionId

func (o *Gateway) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Gateway) HasConfig

func (o *Gateway) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Gateway) HasEnabled

func (o *Gateway) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*Gateway) HasGatewayId

func (o *Gateway) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*Gateway) HasName

func (o *Gateway) HasName() bool

HasName returns a boolean if a field has been set.

func (*Gateway) HasStatus

func (o *Gateway) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Gateway) HasTags

func (o *Gateway) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Gateway) HasType

func (o *Gateway) HasType() bool

HasType returns a boolean if a field has been set.

func (Gateway) MarshalJSON

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

func (*Gateway) SetBuiltIn

func (o *Gateway) SetBuiltIn(v bool)

SetBuiltIn gets a reference to the given bool and assigns it to the BuiltIn field.

func (*Gateway) SetCollectionId

func (o *Gateway) SetCollectionId(v string)

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

func (*Gateway) SetConfig

func (o *Gateway) SetConfig(v GatewayConfig)

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

func (*Gateway) SetEnabled

func (o *Gateway) SetEnabled(v bool)

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

func (*Gateway) SetGatewayId

func (o *Gateway) SetGatewayId(v string)

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

func (*Gateway) SetName

func (o *Gateway) SetName(v string)

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

func (*Gateway) SetStatus

func (o *Gateway) SetStatus(v GatewayStatus)

SetStatus gets a reference to the given GatewayStatus and assigns it to the Status field.

func (*Gateway) SetTags

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

func (o *Gateway) SetType(v GatewayType)

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

func (Gateway) ToMap

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

type GatewayCIoTConfig

type GatewayCIoTConfig struct {
	Apn          *string `json:"apn,omitempty"`
	UdpEndpoint  *string `json:"udpEndpoint,omitempty"`
	CoapEndpoint *string `json:"coapEndpoint,omitempty"`
}

GatewayCIoTConfig struct for GatewayCIoTConfig

func NewGatewayCIoTConfig

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

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

func (o *GatewayCIoTConfig) GetApn() string

GetApn returns the Apn field value if set, zero value otherwise.

func (*GatewayCIoTConfig) GetApnOk

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

func (o *GatewayCIoTConfig) GetCoapEndpoint() string

GetCoapEndpoint returns the CoapEndpoint field value if set, zero value otherwise.

func (*GatewayCIoTConfig) GetCoapEndpointOk

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

func (o *GatewayCIoTConfig) GetUdpEndpoint() string

GetUdpEndpoint returns the UdpEndpoint field value if set, zero value otherwise.

func (*GatewayCIoTConfig) GetUdpEndpointOk

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

func (o *GatewayCIoTConfig) HasApn() bool

HasApn returns a boolean if a field has been set.

func (*GatewayCIoTConfig) HasCoapEndpoint

func (o *GatewayCIoTConfig) HasCoapEndpoint() bool

HasCoapEndpoint returns a boolean if a field has been set.

func (*GatewayCIoTConfig) HasUdpEndpoint

func (o *GatewayCIoTConfig) HasUdpEndpoint() bool

HasUdpEndpoint returns a boolean if a field has been set.

func (GatewayCIoTConfig) MarshalJSON

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

func (*GatewayCIoTConfig) SetApn

func (o *GatewayCIoTConfig) SetApn(v string)

SetApn gets a reference to the given string and assigns it to the Apn field.

func (*GatewayCIoTConfig) SetCoapEndpoint

func (o *GatewayCIoTConfig) SetCoapEndpoint(v string)

SetCoapEndpoint gets a reference to the given string and assigns it to the CoapEndpoint field.

func (*GatewayCIoTConfig) SetUdpEndpoint

func (o *GatewayCIoTConfig) SetUdpEndpoint(v string)

SetUdpEndpoint gets a reference to the given string and assigns it to the UdpEndpoint field.

func (GatewayCIoTConfig) ToMap

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

type GatewayCertificateResponse

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

GatewayCertificateResponse struct for GatewayCertificateResponse

func NewGatewayCertificateResponse

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

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

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

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

func (*GatewayCertificateResponse) GetCertificatesOk

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

func (o *GatewayCertificateResponse) HasCertificates() bool

HasCertificates returns a boolean if a field has been set.

func (GatewayCertificateResponse) MarshalJSON

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

func (*GatewayCertificateResponse) SetCertificates

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

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

func (GatewayCertificateResponse) ToMap

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

type GatewayConfig

type GatewayConfig struct {
	Ciot *GatewayCIoTConfig   `json:"ciot,omitempty"`
	Inet *GatewayInetConfig   `json:"inet,omitempty"`
	User *GatewayCustomConfig `json:"user,omitempty"`
}

GatewayConfig struct for GatewayConfig

func NewGatewayConfig

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

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

func (o *GatewayConfig) GetCiot() GatewayCIoTConfig

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

func (*GatewayConfig) GetCiotOk

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

func (o *GatewayConfig) GetInet() GatewayInetConfig

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

func (*GatewayConfig) GetInetOk

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

func (o *GatewayConfig) GetUser() GatewayCustomConfig

GetUser returns the User field value if set, zero value otherwise.

func (*GatewayConfig) GetUserOk

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

func (o *GatewayConfig) HasCiot() bool

HasCiot returns a boolean if a field has been set.

func (*GatewayConfig) HasInet

func (o *GatewayConfig) HasInet() bool

HasInet returns a boolean if a field has been set.

func (*GatewayConfig) HasUser

func (o *GatewayConfig) HasUser() bool

HasUser returns a boolean if a field has been set.

func (GatewayConfig) MarshalJSON

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

func (*GatewayConfig) SetCiot

func (o *GatewayConfig) SetCiot(v GatewayCIoTConfig)

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

func (*GatewayConfig) SetInet

func (o *GatewayConfig) SetInet(v GatewayInetConfig)

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

func (*GatewayConfig) SetUser

func (o *GatewayConfig) SetUser(v GatewayCustomConfig)

SetUser gets a reference to the given GatewayCustomConfig and assigns it to the User field.

func (GatewayConfig) ToMap

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

type GatewayCustomConfig

type GatewayCustomConfig struct {
	Params *map[string]string `json:"params,omitempty"`
}

GatewayCustomConfig struct for GatewayCustomConfig

func NewGatewayCustomConfig

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

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

func (o *GatewayCustomConfig) GetParams() map[string]string

GetParams returns the Params field value if set, zero value otherwise.

func (*GatewayCustomConfig) GetParamsOk

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

func (o *GatewayCustomConfig) HasParams() bool

HasParams returns a boolean if a field has been set.

func (GatewayCustomConfig) MarshalJSON

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

func (*GatewayCustomConfig) SetParams

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

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

type GatewayDeviceConfig

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

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

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

func (o *GatewayDeviceConfig) GetGatewayId() string

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

func (*GatewayDeviceConfig) GetGatewayIdOk

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

func (o *GatewayDeviceConfig) GetParams() map[string]string

GetParams returns the Params field value if set, zero value otherwise.

func (*GatewayDeviceConfig) GetParamsOk

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

func (o *GatewayDeviceConfig) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*GatewayDeviceConfig) HasParams

func (o *GatewayDeviceConfig) HasParams() bool

HasParams returns a boolean if a field has been set.

func (GatewayDeviceConfig) MarshalJSON

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

func (*GatewayDeviceConfig) SetGatewayId

func (o *GatewayDeviceConfig) SetGatewayId(v string)

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

func (*GatewayDeviceConfig) SetParams

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

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

type GatewayDeviceMetadata

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

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

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

func (o *GatewayDeviceMetadata) GetGatewayId() string

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

func (*GatewayDeviceMetadata) GetGatewayIdOk

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

func (o *GatewayDeviceMetadata) GetLastUpdate() string

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

func (*GatewayDeviceMetadata) GetLastUpdateOk

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

func (o *GatewayDeviceMetadata) GetParams() map[string]string

GetParams returns the Params field value if set, zero value otherwise.

func (*GatewayDeviceMetadata) GetParamsOk

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

func (o *GatewayDeviceMetadata) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*GatewayDeviceMetadata) HasLastUpdate

func (o *GatewayDeviceMetadata) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

func (*GatewayDeviceMetadata) HasParams

func (o *GatewayDeviceMetadata) HasParams() bool

HasParams returns a boolean if a field has been set.

func (GatewayDeviceMetadata) MarshalJSON

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

func (*GatewayDeviceMetadata) SetGatewayId

func (o *GatewayDeviceMetadata) SetGatewayId(v string)

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

func (*GatewayDeviceMetadata) SetLastUpdate

func (o *GatewayDeviceMetadata) SetLastUpdate(v string)

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

func (*GatewayDeviceMetadata) SetParams

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

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

type GatewayInetConfig

type GatewayInetConfig struct {
	DtlsEndpoint *string `json:"dtlsEndpoint,omitempty"`
	CoapEndpoint *string `json:"coapEndpoint,omitempty"`
	MqttEndpoint *string `json:"mqttEndpoint,omitempty"`
}

GatewayInetConfig struct for GatewayInetConfig

func NewGatewayInetConfig

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

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

func (o *GatewayInetConfig) GetCoapEndpoint() string

GetCoapEndpoint returns the CoapEndpoint field value if set, zero value otherwise.

func (*GatewayInetConfig) GetCoapEndpointOk

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

func (o *GatewayInetConfig) GetDtlsEndpoint() string

GetDtlsEndpoint returns the DtlsEndpoint field value if set, zero value otherwise.

func (*GatewayInetConfig) GetDtlsEndpointOk

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

func (o *GatewayInetConfig) GetMqttEndpoint() string

GetMqttEndpoint returns the MqttEndpoint field value if set, zero value otherwise.

func (*GatewayInetConfig) GetMqttEndpointOk

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

func (o *GatewayInetConfig) HasCoapEndpoint() bool

HasCoapEndpoint returns a boolean if a field has been set.

func (*GatewayInetConfig) HasDtlsEndpoint

func (o *GatewayInetConfig) HasDtlsEndpoint() bool

HasDtlsEndpoint returns a boolean if a field has been set.

func (*GatewayInetConfig) HasMqttEndpoint

func (o *GatewayInetConfig) HasMqttEndpoint() bool

HasMqttEndpoint returns a boolean if a field has been set.

func (GatewayInetConfig) MarshalJSON

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

func (*GatewayInetConfig) SetCoapEndpoint

func (o *GatewayInetConfig) SetCoapEndpoint(v string)

SetCoapEndpoint gets a reference to the given string and assigns it to the CoapEndpoint field.

func (*GatewayInetConfig) SetDtlsEndpoint

func (o *GatewayInetConfig) SetDtlsEndpoint(v string)

SetDtlsEndpoint gets a reference to the given string and assigns it to the DtlsEndpoint field.

func (*GatewayInetConfig) SetMqttEndpoint

func (o *GatewayInetConfig) SetMqttEndpoint(v string)

SetMqttEndpoint gets a reference to the given string and assigns it to the MqttEndpoint field.

func (GatewayInetConfig) ToMap

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

type GatewayMetadata

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

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

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

func (o *GatewayMetadata) GetMetadata() map[string]string

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

func (*GatewayMetadata) GetMetadataOk

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

func (o *GatewayMetadata) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GatewayMetadata) MarshalJSON

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

func (*GatewayMetadata) SetMetadata

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

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

type GatewayStats

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

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

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

func (o *GatewayStats) GetBytesDownstream() string

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

func (*GatewayStats) GetBytesDownstreamOk

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

func (o *GatewayStats) GetBytesUpstream() string

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

func (*GatewayStats) GetBytesUpstreamOk

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

func (o *GatewayStats) GetMessagesDownstream() string

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

func (*GatewayStats) GetMessagesDownstreamOk

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

func (o *GatewayStats) GetMessagesUpstream() string

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

func (*GatewayStats) GetMessagesUpstreamOk

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

func (o *GatewayStats) HasBytesDownstream() bool

HasBytesDownstream returns a boolean if a field has been set.

func (*GatewayStats) HasBytesUpstream

func (o *GatewayStats) HasBytesUpstream() bool

HasBytesUpstream returns a boolean if a field has been set.

func (*GatewayStats) HasMessagesDownstream

func (o *GatewayStats) HasMessagesDownstream() bool

HasMessagesDownstream returns a boolean if a field has been set.

func (*GatewayStats) HasMessagesUpstream

func (o *GatewayStats) HasMessagesUpstream() bool

HasMessagesUpstream returns a boolean if a field has been set.

func (GatewayStats) MarshalJSON

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

func (*GatewayStats) SetBytesDownstream

func (o *GatewayStats) SetBytesDownstream(v string)

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

func (*GatewayStats) SetBytesUpstream

func (o *GatewayStats) SetBytesUpstream(v string)

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

func (*GatewayStats) SetMessagesDownstream

func (o *GatewayStats) SetMessagesDownstream(v string)

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

func (*GatewayStats) SetMessagesUpstream

func (o *GatewayStats) SetMessagesUpstream(v string)

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

func (GatewayStats) ToMap

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

type GatewayStatus

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

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

func (v GatewayStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (GatewayStatus) Ptr

func (v GatewayStatus) Ptr() *GatewayStatus

Ptr returns reference to GatewayStatus value

func (*GatewayStatus) UnmarshalJSON

func (v *GatewayStatus) UnmarshalJSON(src []byte) error

type GatewayType

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

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

func (v GatewayType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (GatewayType) Ptr

func (v GatewayType) Ptr() *GatewayType

Ptr returns reference to GatewayType value

func (*GatewayType) UnmarshalJSON

func (v *GatewayType) UnmarshalJSON(src []byte) error

type GatewaysApiService

type GatewaysApiService service

GatewaysApiService GatewaysApi service

func (*GatewaysApiService) CreateGateway

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

func (a *GatewaysApiService) CreateGatewayExecute(r ApiCreateGatewayRequest) (*Gateway, *http.Response, error)

Execute executes the request

@return Gateway

func (*GatewaysApiService) DeleteGateway

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

func (a *GatewaysApiService) DeleteGatewayExecute(r ApiDeleteGatewayRequest) (*Gateway, *http.Response, error)

Execute executes the request

@return Gateway

func (*GatewaysApiService) GatewayCertificates

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

Execute executes the request

@return GatewayCertificateResponse

func (*GatewaysApiService) ListGateways

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

Execute executes the request

@return ListGatewayResponse

func (*GatewaysApiService) RetrieveGateway

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

func (a *GatewaysApiService) RetrieveGatewayExecute(r ApiRetrieveGatewayRequest) (*Gateway, *http.Response, error)

Execute executes the request

@return Gateway

func (*GatewaysApiService) RetrieveGatewayStats

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

func (a *GatewaysApiService) RetrieveGatewayStatsExecute(r ApiRetrieveGatewayStatsRequest) (*GatewayStats, *http.Response, error)

Execute executes the request

@return GatewayStats

func (*GatewaysApiService) UpdateGateway

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

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

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

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

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

func (o *InetMetadata) GetCertificateSerial() string

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

func (*InetMetadata) GetCertificateSerialOk

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

func (o *InetMetadata) GetGatewayId() string

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

func (*InetMetadata) GetGatewayIdOk

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

func (o *InetMetadata) GetLastUpdate() string

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

func (*InetMetadata) GetLastUpdateOk

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

func (o *InetMetadata) GetRemoteAddress() string

GetRemoteAddress returns the RemoteAddress field value if set, zero value otherwise.

func (*InetMetadata) GetRemoteAddressOk

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

func (o *InetMetadata) HasCertificateSerial() bool

HasCertificateSerial returns a boolean if a field has been set.

func (*InetMetadata) HasGatewayId

func (o *InetMetadata) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*InetMetadata) HasLastUpdate

func (o *InetMetadata) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

func (*InetMetadata) HasRemoteAddress

func (o *InetMetadata) HasRemoteAddress() bool

HasRemoteAddress returns a boolean if a field has been set.

func (InetMetadata) MarshalJSON

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

func (*InetMetadata) SetCertificateSerial

func (o *InetMetadata) SetCertificateSerial(v string)

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

func (*InetMetadata) SetGatewayId

func (o *InetMetadata) SetGatewayId(v string)

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

func (*InetMetadata) SetLastUpdate

func (o *InetMetadata) SetLastUpdate(v string)

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

func (*InetMetadata) SetRemoteAddress

func (o *InetMetadata) SetRemoteAddress(v string)

SetRemoteAddress gets a reference to the given string and assigns it to the RemoteAddress field.

func (InetMetadata) ToMap

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

type ListBlobResponse

type ListBlobResponse struct {
	Blobs []Blob `json:"blobs,omitempty"`
}

ListBlobResponse Response object when listing blobs for a collection

func NewListBlobResponse

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

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

func (o *ListBlobResponse) GetBlobs() []Blob

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

func (*ListBlobResponse) GetBlobsOk

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

func (o *ListBlobResponse) HasBlobs() bool

HasBlobs returns a boolean if a field has been set.

func (ListBlobResponse) MarshalJSON

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

func (*ListBlobResponse) SetBlobs

func (o *ListBlobResponse) SetBlobs(v []Blob)

SetBlobs gets a reference to the given []Blob and assigns it to the Blobs field.

func (ListBlobResponse) ToMap

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

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

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

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

type ListDownstreamMessagesResponse

type ListDownstreamMessagesResponse struct {
	Messages []MessageDownstream `json:"messages,omitempty"`
}

ListDownstreamMessagesResponse Response object when listing downstream messages

func NewListDownstreamMessagesResponse

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

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

GetMessages returns the Messages field value if set, zero value otherwise.

func (*ListDownstreamMessagesResponse) GetMessagesOk

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

func (o *ListDownstreamMessagesResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ListDownstreamMessagesResponse) MarshalJSON

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

func (*ListDownstreamMessagesResponse) SetMessages

SetMessages gets a reference to the given []MessageDownstream and assigns it to the Messages field.

func (ListDownstreamMessagesResponse) ToMap

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

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

type ListGatewayResponse

type ListGatewayResponse struct {
	Gateways []Gateway `json:"gateways,omitempty"`
}

ListGatewayResponse Response when listing gateways

func NewListGatewayResponse

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

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

func (o *ListGatewayResponse) GetGateways() []Gateway

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

func (*ListGatewayResponse) GetGatewaysOk

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

func (o *ListGatewayResponse) HasGateways() bool

HasGateways returns a boolean if a field has been set.

func (ListGatewayResponse) MarshalJSON

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

func (*ListGatewayResponse) SetGateways

func (o *ListGatewayResponse) SetGateways(v []Gateway)

SetGateways gets a reference to the given []Gateway and assigns it to the Gateways field.

func (ListGatewayResponse) ToMap

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

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

type ListUpstreamMessagesResponse

type ListUpstreamMessagesResponse struct {
	Messages []MessageUpstream `json:"messages,omitempty"`
}

ListUpstreamMessagesResponse Response object when listing upstream messages

func NewListUpstreamMessagesResponse

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

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

func (o *ListUpstreamMessagesResponse) GetMessages() []MessageUpstream

GetMessages returns the Messages field value if set, zero value otherwise.

func (*ListUpstreamMessagesResponse) GetMessagesOk

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

func (o *ListUpstreamMessagesResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ListUpstreamMessagesResponse) MarshalJSON

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

func (*ListUpstreamMessagesResponse) SetMessages

func (o *ListUpstreamMessagesResponse) SetMessages(v []MessageUpstream)

SetMessages gets a reference to the given []MessageUpstream and assigns it to the Messages field.

func (ListUpstreamMessagesResponse) ToMap

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

type MQTTMetadata

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

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

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

func (o *MQTTMetadata) GetTopic() string

GetTopic returns the Topic field value if set, zero value otherwise.

func (*MQTTMetadata) GetTopicOk

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

func (o *MQTTMetadata) HasTopic() bool

HasTopic returns a boolean if a field has been set.

func (MQTTMetadata) MarshalJSON

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

func (*MQTTMetadata) SetTopic

func (o *MQTTMetadata) SetTopic(v string)

SetTopic gets a reference to the given string and assigns it to the Topic field.

func (MQTTMetadata) ToMap

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MessageDownstream

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

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

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

func (o *MessageDownstream) GetCollectionId() string

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

func (*MessageDownstream) GetCollectionIdOk

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

func (o *MessageDownstream) GetCreatedTime() string

GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.

func (*MessageDownstream) GetCreatedTimeOk

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

func (o *MessageDownstream) GetDeviceId() string

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

func (*MessageDownstream) GetDeviceIdOk

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

func (o *MessageDownstream) GetGatewayId() string

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

func (*MessageDownstream) GetGatewayIdOk

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

func (o *MessageDownstream) GetMessageId() string

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

func (*MessageDownstream) GetMessageIdOk

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

func (o *MessageDownstream) GetPayload() string

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

func (*MessageDownstream) GetPayloadOk

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

func (o *MessageDownstream) GetSentTime() string

GetSentTime returns the SentTime field value if set, zero value otherwise.

func (*MessageDownstream) GetSentTimeOk

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

func (o *MessageDownstream) GetState() MessageState

GetState returns the State field value if set, zero value otherwise.

func (*MessageDownstream) GetStateOk

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

func (o *MessageDownstream) GetTransport() MessageTransport

GetTransport returns the Transport field value if set, zero value otherwise.

func (*MessageDownstream) GetTransportOk

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

func (o *MessageDownstream) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*MessageDownstream) HasCreatedTime

func (o *MessageDownstream) HasCreatedTime() bool

HasCreatedTime returns a boolean if a field has been set.

func (*MessageDownstream) HasDeviceId

func (o *MessageDownstream) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*MessageDownstream) HasGatewayId

func (o *MessageDownstream) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*MessageDownstream) HasMessageId

func (o *MessageDownstream) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*MessageDownstream) HasPayload

func (o *MessageDownstream) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*MessageDownstream) HasSentTime

func (o *MessageDownstream) HasSentTime() bool

HasSentTime returns a boolean if a field has been set.

func (*MessageDownstream) HasState

func (o *MessageDownstream) HasState() bool

HasState returns a boolean if a field has been set.

func (*MessageDownstream) HasTransport

func (o *MessageDownstream) HasTransport() bool

HasTransport returns a boolean if a field has been set.

func (MessageDownstream) MarshalJSON

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

func (*MessageDownstream) SetCollectionId

func (o *MessageDownstream) SetCollectionId(v string)

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

func (*MessageDownstream) SetCreatedTime

func (o *MessageDownstream) SetCreatedTime(v string)

SetCreatedTime gets a reference to the given string and assigns it to the CreatedTime field.

func (*MessageDownstream) SetDeviceId

func (o *MessageDownstream) SetDeviceId(v string)

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

func (*MessageDownstream) SetGatewayId

func (o *MessageDownstream) SetGatewayId(v string)

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

func (*MessageDownstream) SetMessageId

func (o *MessageDownstream) SetMessageId(v string)

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

func (*MessageDownstream) SetPayload

func (o *MessageDownstream) SetPayload(v string)

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

func (*MessageDownstream) SetSentTime

func (o *MessageDownstream) SetSentTime(v string)

SetSentTime gets a reference to the given string and assigns it to the SentTime field.

func (*MessageDownstream) SetState

func (o *MessageDownstream) SetState(v MessageState)

SetState gets a reference to the given MessageState and assigns it to the State field.

func (*MessageDownstream) SetTransport

func (o *MessageDownstream) SetTransport(v MessageTransport)

SetTransport gets a reference to the given MessageTransport and assigns it to the Transport field.

func (MessageDownstream) ToMap

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

type MessageState

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

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

func (v MessageState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MessageState) Ptr

func (v MessageState) Ptr() *MessageState

Ptr returns reference to MessageState value

func (*MessageState) UnmarshalJSON

func (v *MessageState) UnmarshalJSON(src []byte) error

type MessageTransport

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

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

func (v MessageTransport) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MessageTransport) Ptr

Ptr returns reference to MessageTransport value

func (*MessageTransport) UnmarshalJSON

func (v *MessageTransport) UnmarshalJSON(src []byte) error

type MessageUpstream

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

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

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

func (o *MessageUpstream) GetCollectionId() string

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

func (*MessageUpstream) GetCollectionIdOk

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

func (o *MessageUpstream) GetDeviceId() string

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

func (*MessageUpstream) GetDeviceIdOk

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

func (o *MessageUpstream) GetGatewayId() string

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

func (*MessageUpstream) GetGatewayIdOk

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

func (o *MessageUpstream) GetMessageId() string

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

func (*MessageUpstream) GetMessageIdOk

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

func (o *MessageUpstream) GetPayload() string

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

func (*MessageUpstream) GetPayloadOk

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

func (o *MessageUpstream) GetReceived() string

GetReceived returns the Received field value if set, zero value otherwise.

func (*MessageUpstream) GetReceivedOk

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

func (o *MessageUpstream) GetTransport() MessageTransport

GetTransport returns the Transport field value if set, zero value otherwise.

func (*MessageUpstream) GetTransportOk

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

func (o *MessageUpstream) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*MessageUpstream) HasDeviceId

func (o *MessageUpstream) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*MessageUpstream) HasGatewayId

func (o *MessageUpstream) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*MessageUpstream) HasMessageId

func (o *MessageUpstream) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*MessageUpstream) HasPayload

func (o *MessageUpstream) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*MessageUpstream) HasReceived

func (o *MessageUpstream) HasReceived() bool

HasReceived returns a boolean if a field has been set.

func (*MessageUpstream) HasTransport

func (o *MessageUpstream) HasTransport() bool

HasTransport returns a boolean if a field has been set.

func (MessageUpstream) MarshalJSON

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

func (*MessageUpstream) SetCollectionId

func (o *MessageUpstream) SetCollectionId(v string)

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

func (*MessageUpstream) SetDeviceId

func (o *MessageUpstream) SetDeviceId(v string)

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

func (*MessageUpstream) SetGatewayId

func (o *MessageUpstream) SetGatewayId(v string)

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

func (*MessageUpstream) SetMessageId

func (o *MessageUpstream) SetMessageId(v string)

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

func (*MessageUpstream) SetPayload

func (o *MessageUpstream) SetPayload(v string)

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

func (*MessageUpstream) SetReceived

func (o *MessageUpstream) SetReceived(v string)

SetReceived gets a reference to the given string and assigns it to the Received field.

func (*MessageUpstream) SetTransport

func (o *MessageUpstream) SetTransport(v MessageTransport)

SetTransport gets a reference to the given MessageTransport and assigns it to the Transport field.

func (MessageUpstream) ToMap

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

type NullableActivityEvent

type NullableActivityEvent struct {
	// contains filtered or unexported fields
}

func NewNullableActivityEvent

func NewNullableActivityEvent(val *ActivityEvent) *NullableActivityEvent

func (NullableActivityEvent) Get

func (NullableActivityEvent) IsSet

func (v NullableActivityEvent) IsSet() bool

func (NullableActivityEvent) MarshalJSON

func (v NullableActivityEvent) MarshalJSON() ([]byte, error)

func (*NullableActivityEvent) Set

func (v *NullableActivityEvent) Set(val *ActivityEvent)

func (*NullableActivityEvent) UnmarshalJSON

func (v *NullableActivityEvent) UnmarshalJSON(src []byte) error

func (*NullableActivityEvent) Unset

func (v *NullableActivityEvent) Unset()

type NullableAddDownstreamMessageBody

type NullableAddDownstreamMessageBody struct {
	// contains filtered or unexported fields
}

func (NullableAddDownstreamMessageBody) Get

func (NullableAddDownstreamMessageBody) IsSet

func (NullableAddDownstreamMessageBody) MarshalJSON

func (v NullableAddDownstreamMessageBody) MarshalJSON() ([]byte, error)

func (*NullableAddDownstreamMessageBody) Set

func (*NullableAddDownstreamMessageBody) UnmarshalJSON

func (v *NullableAddDownstreamMessageBody) UnmarshalJSON(src []byte) error

func (*NullableAddDownstreamMessageBody) Unset

type NullableAny

type NullableAny struct {
	// contains filtered or unexported fields
}

func NewNullableAny

func NewNullableAny(val *Any) *NullableAny

func (NullableAny) Get

func (v NullableAny) Get() *Any

func (NullableAny) IsSet

func (v NullableAny) IsSet() bool

func (NullableAny) MarshalJSON

func (v NullableAny) MarshalJSON() ([]byte, error)

func (*NullableAny) Set

func (v *NullableAny) Set(val *Any)

func (*NullableAny) UnmarshalJSON

func (v *NullableAny) UnmarshalJSON(src []byte) error

func (*NullableAny) Unset

func (v *NullableAny) Unset()

type NullableBlob

type NullableBlob struct {
	// contains filtered or unexported fields
}

func NewNullableBlob

func NewNullableBlob(val *Blob) *NullableBlob

func (NullableBlob) Get

func (v NullableBlob) Get() *Blob

func (NullableBlob) IsSet

func (v NullableBlob) IsSet() bool

func (NullableBlob) MarshalJSON

func (v NullableBlob) MarshalJSON() ([]byte, error)

func (*NullableBlob) Set

func (v *NullableBlob) Set(val *Blob)

func (*NullableBlob) UnmarshalJSON

func (v *NullableBlob) UnmarshalJSON(src []byte) error

func (*NullableBlob) Unset

func (v *NullableBlob) Unset()

type NullableBlobStats

type NullableBlobStats struct {
	// contains filtered or unexported fields
}

func NewNullableBlobStats

func NewNullableBlobStats(val *BlobStats) *NullableBlobStats

func (NullableBlobStats) Get

func (v NullableBlobStats) Get() *BlobStats

func (NullableBlobStats) IsSet

func (v NullableBlobStats) IsSet() bool

func (NullableBlobStats) MarshalJSON

func (v NullableBlobStats) MarshalJSON() ([]byte, error)

func (*NullableBlobStats) Set

func (v *NullableBlobStats) Set(val *BlobStats)

func (*NullableBlobStats) UnmarshalJSON

func (v *NullableBlobStats) UnmarshalJSON(src []byte) error

func (*NullableBlobStats) Unset

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

type NullableCellularIoTConfig struct {
	// contains filtered or unexported fields
}

func NewNullableCellularIoTConfig

func NewNullableCellularIoTConfig(val *CellularIoTConfig) *NullableCellularIoTConfig

func (NullableCellularIoTConfig) Get

func (NullableCellularIoTConfig) IsSet

func (v NullableCellularIoTConfig) IsSet() bool

func (NullableCellularIoTConfig) MarshalJSON

func (v NullableCellularIoTConfig) MarshalJSON() ([]byte, error)

func (*NullableCellularIoTConfig) Set

func (*NullableCellularIoTConfig) UnmarshalJSON

func (v *NullableCellularIoTConfig) UnmarshalJSON(src []byte) error

func (*NullableCellularIoTConfig) Unset

func (v *NullableCellularIoTConfig) Unset()

type NullableCellularIoTMetadata

type NullableCellularIoTMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableCellularIoTMetadata

func NewNullableCellularIoTMetadata(val *CellularIoTMetadata) *NullableCellularIoTMetadata

func (NullableCellularIoTMetadata) Get

func (NullableCellularIoTMetadata) IsSet

func (NullableCellularIoTMetadata) MarshalJSON

func (v NullableCellularIoTMetadata) MarshalJSON() ([]byte, error)

func (*NullableCellularIoTMetadata) Set

func (*NullableCellularIoTMetadata) UnmarshalJSON

func (v *NullableCellularIoTMetadata) UnmarshalJSON(src []byte) error

func (*NullableCellularIoTMetadata) Unset

func (v *NullableCellularIoTMetadata) Unset()

type NullableCertificateChainResponse

type NullableCertificateChainResponse struct {
	// contains filtered or unexported fields
}

func (NullableCertificateChainResponse) Get

func (NullableCertificateChainResponse) IsSet

func (NullableCertificateChainResponse) MarshalJSON

func (v NullableCertificateChainResponse) MarshalJSON() ([]byte, error)

func (*NullableCertificateChainResponse) Set

func (*NullableCertificateChainResponse) UnmarshalJSON

func (v *NullableCertificateChainResponse) UnmarshalJSON(src []byte) error

func (*NullableCertificateChainResponse) Unset

type NullableCertificateInfo

type NullableCertificateInfo struct {
	// contains filtered or unexported fields
}

func NewNullableCertificateInfo

func NewNullableCertificateInfo(val *CertificateInfo) *NullableCertificateInfo

func (NullableCertificateInfo) Get

func (NullableCertificateInfo) IsSet

func (v NullableCertificateInfo) IsSet() bool

func (NullableCertificateInfo) MarshalJSON

func (v NullableCertificateInfo) MarshalJSON() ([]byte, error)

func (*NullableCertificateInfo) Set

func (*NullableCertificateInfo) UnmarshalJSON

func (v *NullableCertificateInfo) UnmarshalJSON(src []byte) error

func (*NullableCertificateInfo) Unset

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

type NullableCollectionStats struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionStats

func NewNullableCollectionStats(val *CollectionStats) *NullableCollectionStats

func (NullableCollectionStats) Get

func (NullableCollectionStats) IsSet

func (v NullableCollectionStats) IsSet() bool

func (NullableCollectionStats) MarshalJSON

func (v NullableCollectionStats) MarshalJSON() ([]byte, error)

func (*NullableCollectionStats) Set

func (*NullableCollectionStats) UnmarshalJSON

func (v *NullableCollectionStats) UnmarshalJSON(src []byte) error

func (*NullableCollectionStats) Unset

func (v *NullableCollectionStats) Unset()

type NullableCreateCertificateBody

type NullableCreateCertificateBody struct {
	// contains filtered or unexported fields
}

func (NullableCreateCertificateBody) Get

func (NullableCreateCertificateBody) IsSet

func (NullableCreateCertificateBody) MarshalJSON

func (v NullableCreateCertificateBody) MarshalJSON() ([]byte, error)

func (*NullableCreateCertificateBody) Set

func (*NullableCreateCertificateBody) UnmarshalJSON

func (v *NullableCreateCertificateBody) UnmarshalJSON(src []byte) error

func (*NullableCreateCertificateBody) Unset

func (v *NullableCreateCertificateBody) Unset()

type NullableCreateCertificateResponse

type NullableCreateCertificateResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateCertificateResponse) Get

func (NullableCreateCertificateResponse) IsSet

func (NullableCreateCertificateResponse) MarshalJSON

func (v NullableCreateCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateCertificateResponse) Set

func (*NullableCreateCertificateResponse) UnmarshalJSON

func (v *NullableCreateCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateCertificateResponse) Unset

type NullableCreateCollectionRequest

type NullableCreateCollectionRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateCollectionRequest) Get

func (NullableCreateCollectionRequest) IsSet

func (NullableCreateCollectionRequest) MarshalJSON

func (v NullableCreateCollectionRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateCollectionRequest) Set

func (*NullableCreateCollectionRequest) UnmarshalJSON

func (v *NullableCreateCollectionRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateCollectionRequest) Unset

type NullableCreateDeviceBody

type NullableCreateDeviceBody struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDeviceBody

func NewNullableCreateDeviceBody(val *CreateDeviceBody) *NullableCreateDeviceBody

func (NullableCreateDeviceBody) Get

func (NullableCreateDeviceBody) IsSet

func (v NullableCreateDeviceBody) IsSet() bool

func (NullableCreateDeviceBody) MarshalJSON

func (v NullableCreateDeviceBody) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceBody) Set

func (*NullableCreateDeviceBody) UnmarshalJSON

func (v *NullableCreateDeviceBody) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceBody) Unset

func (v *NullableCreateDeviceBody) Unset()

type NullableCreateFirmwareBody

type NullableCreateFirmwareBody struct {
	// contains filtered or unexported fields
}

func NewNullableCreateFirmwareBody

func NewNullableCreateFirmwareBody(val *CreateFirmwareBody) *NullableCreateFirmwareBody

func (NullableCreateFirmwareBody) Get

func (NullableCreateFirmwareBody) IsSet

func (v NullableCreateFirmwareBody) IsSet() bool

func (NullableCreateFirmwareBody) MarshalJSON

func (v NullableCreateFirmwareBody) MarshalJSON() ([]byte, error)

func (*NullableCreateFirmwareBody) Set

func (*NullableCreateFirmwareBody) UnmarshalJSON

func (v *NullableCreateFirmwareBody) UnmarshalJSON(src []byte) error

func (*NullableCreateFirmwareBody) Unset

func (v *NullableCreateFirmwareBody) Unset()

type NullableCreateGatewayBody

type NullableCreateGatewayBody struct {
	// contains filtered or unexported fields
}

func NewNullableCreateGatewayBody

func NewNullableCreateGatewayBody(val *CreateGatewayBody) *NullableCreateGatewayBody

func (NullableCreateGatewayBody) Get

func (NullableCreateGatewayBody) IsSet

func (v NullableCreateGatewayBody) IsSet() bool

func (NullableCreateGatewayBody) MarshalJSON

func (v NullableCreateGatewayBody) MarshalJSON() ([]byte, error)

func (*NullableCreateGatewayBody) Set

func (*NullableCreateGatewayBody) UnmarshalJSON

func (v *NullableCreateGatewayBody) UnmarshalJSON(src []byte) error

func (*NullableCreateGatewayBody) Unset

func (v *NullableCreateGatewayBody) Unset()

type NullableCreateOutputBody

type NullableCreateOutputBody struct {
	// contains filtered or unexported fields
}

func NewNullableCreateOutputBody

func NewNullableCreateOutputBody(val *CreateOutputBody) *NullableCreateOutputBody

func (NullableCreateOutputBody) Get

func (NullableCreateOutputBody) IsSet

func (v NullableCreateOutputBody) IsSet() bool

func (NullableCreateOutputBody) MarshalJSON

func (v NullableCreateOutputBody) MarshalJSON() ([]byte, error)

func (*NullableCreateOutputBody) Set

func (*NullableCreateOutputBody) UnmarshalJSON

func (v *NullableCreateOutputBody) UnmarshalJSON(src []byte) error

func (*NullableCreateOutputBody) Unset

func (v *NullableCreateOutputBody) Unset()

type NullableDeleteDownstreamMessageResponse

type NullableDeleteDownstreamMessageResponse struct {
	// contains filtered or unexported fields
}

func (NullableDeleteDownstreamMessageResponse) Get

func (NullableDeleteDownstreamMessageResponse) IsSet

func (NullableDeleteDownstreamMessageResponse) MarshalJSON

func (v NullableDeleteDownstreamMessageResponse) MarshalJSON() ([]byte, error)

func (*NullableDeleteDownstreamMessageResponse) Set

func (*NullableDeleteDownstreamMessageResponse) UnmarshalJSON

func (v *NullableDeleteDownstreamMessageResponse) UnmarshalJSON(src []byte) error

func (*NullableDeleteDownstreamMessageResponse) Unset

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

type NullableDeviceCertificateResponse struct {
	// contains filtered or unexported fields
}

func (NullableDeviceCertificateResponse) Get

func (NullableDeviceCertificateResponse) IsSet

func (NullableDeviceCertificateResponse) MarshalJSON

func (v NullableDeviceCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableDeviceCertificateResponse) Set

func (*NullableDeviceCertificateResponse) UnmarshalJSON

func (v *NullableDeviceCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableDeviceCertificateResponse) Unset

type NullableDeviceConfig

type NullableDeviceConfig struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceConfig

func NewNullableDeviceConfig(val *DeviceConfig) *NullableDeviceConfig

func (NullableDeviceConfig) Get

func (NullableDeviceConfig) IsSet

func (v NullableDeviceConfig) IsSet() bool

func (NullableDeviceConfig) MarshalJSON

func (v NullableDeviceConfig) MarshalJSON() ([]byte, error)

func (*NullableDeviceConfig) Set

func (v *NullableDeviceConfig) Set(val *DeviceConfig)

func (*NullableDeviceConfig) UnmarshalJSON

func (v *NullableDeviceConfig) UnmarshalJSON(src []byte) error

func (*NullableDeviceConfig) Unset

func (v *NullableDeviceConfig) Unset()

type NullableDeviceMetadata

type NullableDeviceMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceMetadata

func NewNullableDeviceMetadata(val *DeviceMetadata) *NullableDeviceMetadata

func (NullableDeviceMetadata) Get

func (NullableDeviceMetadata) IsSet

func (v NullableDeviceMetadata) IsSet() bool

func (NullableDeviceMetadata) MarshalJSON

func (v NullableDeviceMetadata) MarshalJSON() ([]byte, error)

func (*NullableDeviceMetadata) Set

func (*NullableDeviceMetadata) UnmarshalJSON

func (v *NullableDeviceMetadata) UnmarshalJSON(src []byte) error

func (*NullableDeviceMetadata) Unset

func (v *NullableDeviceMetadata) Unset()

type NullableDeviceStats

type NullableDeviceStats struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceStats

func NewNullableDeviceStats(val *DeviceStats) *NullableDeviceStats

func (NullableDeviceStats) Get

func (NullableDeviceStats) IsSet

func (v NullableDeviceStats) IsSet() bool

func (NullableDeviceStats) MarshalJSON

func (v NullableDeviceStats) MarshalJSON() ([]byte, error)

func (*NullableDeviceStats) Set

func (v *NullableDeviceStats) Set(val *DeviceStats)

func (*NullableDeviceStats) UnmarshalJSON

func (v *NullableDeviceStats) UnmarshalJSON(src []byte) error

func (*NullableDeviceStats) Unset

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

type NullableFirmwareManagement struct {
	// contains filtered or unexported fields
}

func NewNullableFirmwareManagement

func NewNullableFirmwareManagement(val *FirmwareManagement) *NullableFirmwareManagement

func (NullableFirmwareManagement) Get

func (NullableFirmwareManagement) IsSet

func (v NullableFirmwareManagement) IsSet() bool

func (NullableFirmwareManagement) MarshalJSON

func (v NullableFirmwareManagement) MarshalJSON() ([]byte, error)

func (*NullableFirmwareManagement) Set

func (*NullableFirmwareManagement) UnmarshalJSON

func (v *NullableFirmwareManagement) UnmarshalJSON(src []byte) error

func (*NullableFirmwareManagement) Unset

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

type NullableFirmwareStats struct {
	// contains filtered or unexported fields
}

func NewNullableFirmwareStats

func NewNullableFirmwareStats(val *FirmwareStats) *NullableFirmwareStats

func (NullableFirmwareStats) Get

func (NullableFirmwareStats) IsSet

func (v NullableFirmwareStats) IsSet() bool

func (NullableFirmwareStats) MarshalJSON

func (v NullableFirmwareStats) MarshalJSON() ([]byte, error)

func (*NullableFirmwareStats) Set

func (v *NullableFirmwareStats) Set(val *FirmwareStats)

func (*NullableFirmwareStats) UnmarshalJSON

func (v *NullableFirmwareStats) UnmarshalJSON(src []byte) error

func (*NullableFirmwareStats) Unset

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

type NullableGateway struct {
	// contains filtered or unexported fields
}

func NewNullableGateway

func NewNullableGateway(val *Gateway) *NullableGateway

func (NullableGateway) Get

func (v NullableGateway) Get() *Gateway

func (NullableGateway) IsSet

func (v NullableGateway) IsSet() bool

func (NullableGateway) MarshalJSON

func (v NullableGateway) MarshalJSON() ([]byte, error)

func (*NullableGateway) Set

func (v *NullableGateway) Set(val *Gateway)

func (*NullableGateway) UnmarshalJSON

func (v *NullableGateway) UnmarshalJSON(src []byte) error

func (*NullableGateway) Unset

func (v *NullableGateway) Unset()

type NullableGatewayCIoTConfig

type NullableGatewayCIoTConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayCIoTConfig

func NewNullableGatewayCIoTConfig(val *GatewayCIoTConfig) *NullableGatewayCIoTConfig

func (NullableGatewayCIoTConfig) Get

func (NullableGatewayCIoTConfig) IsSet

func (v NullableGatewayCIoTConfig) IsSet() bool

func (NullableGatewayCIoTConfig) MarshalJSON

func (v NullableGatewayCIoTConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayCIoTConfig) Set

func (*NullableGatewayCIoTConfig) UnmarshalJSON

func (v *NullableGatewayCIoTConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayCIoTConfig) Unset

func (v *NullableGatewayCIoTConfig) Unset()

type NullableGatewayCertificateResponse

type NullableGatewayCertificateResponse struct {
	// contains filtered or unexported fields
}

func (NullableGatewayCertificateResponse) Get

func (NullableGatewayCertificateResponse) IsSet

func (NullableGatewayCertificateResponse) MarshalJSON

func (v NullableGatewayCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableGatewayCertificateResponse) Set

func (*NullableGatewayCertificateResponse) UnmarshalJSON

func (v *NullableGatewayCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableGatewayCertificateResponse) Unset

type NullableGatewayConfig

type NullableGatewayConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayConfig

func NewNullableGatewayConfig(val *GatewayConfig) *NullableGatewayConfig

func (NullableGatewayConfig) Get

func (NullableGatewayConfig) IsSet

func (v NullableGatewayConfig) IsSet() bool

func (NullableGatewayConfig) MarshalJSON

func (v NullableGatewayConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayConfig) Set

func (v *NullableGatewayConfig) Set(val *GatewayConfig)

func (*NullableGatewayConfig) UnmarshalJSON

func (v *NullableGatewayConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayConfig) Unset

func (v *NullableGatewayConfig) Unset()

type NullableGatewayCustomConfig

type NullableGatewayCustomConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayCustomConfig

func NewNullableGatewayCustomConfig(val *GatewayCustomConfig) *NullableGatewayCustomConfig

func (NullableGatewayCustomConfig) Get

func (NullableGatewayCustomConfig) IsSet

func (NullableGatewayCustomConfig) MarshalJSON

func (v NullableGatewayCustomConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayCustomConfig) Set

func (*NullableGatewayCustomConfig) UnmarshalJSON

func (v *NullableGatewayCustomConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayCustomConfig) Unset

func (v *NullableGatewayCustomConfig) Unset()

type NullableGatewayDeviceConfig

type NullableGatewayDeviceConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayDeviceConfig

func NewNullableGatewayDeviceConfig(val *GatewayDeviceConfig) *NullableGatewayDeviceConfig

func (NullableGatewayDeviceConfig) Get

func (NullableGatewayDeviceConfig) IsSet

func (NullableGatewayDeviceConfig) MarshalJSON

func (v NullableGatewayDeviceConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayDeviceConfig) Set

func (*NullableGatewayDeviceConfig) UnmarshalJSON

func (v *NullableGatewayDeviceConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayDeviceConfig) Unset

func (v *NullableGatewayDeviceConfig) Unset()

type NullableGatewayDeviceMetadata

type NullableGatewayDeviceMetadata struct {
	// contains filtered or unexported fields
}

func (NullableGatewayDeviceMetadata) Get

func (NullableGatewayDeviceMetadata) IsSet

func (NullableGatewayDeviceMetadata) MarshalJSON

func (v NullableGatewayDeviceMetadata) MarshalJSON() ([]byte, error)

func (*NullableGatewayDeviceMetadata) Set

func (*NullableGatewayDeviceMetadata) UnmarshalJSON

func (v *NullableGatewayDeviceMetadata) UnmarshalJSON(src []byte) error

func (*NullableGatewayDeviceMetadata) Unset

func (v *NullableGatewayDeviceMetadata) Unset()

type NullableGatewayInetConfig

type NullableGatewayInetConfig struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayInetConfig

func NewNullableGatewayInetConfig(val *GatewayInetConfig) *NullableGatewayInetConfig

func (NullableGatewayInetConfig) Get

func (NullableGatewayInetConfig) IsSet

func (v NullableGatewayInetConfig) IsSet() bool

func (NullableGatewayInetConfig) MarshalJSON

func (v NullableGatewayInetConfig) MarshalJSON() ([]byte, error)

func (*NullableGatewayInetConfig) Set

func (*NullableGatewayInetConfig) UnmarshalJSON

func (v *NullableGatewayInetConfig) UnmarshalJSON(src []byte) error

func (*NullableGatewayInetConfig) Unset

func (v *NullableGatewayInetConfig) Unset()

type NullableGatewayMetadata

type NullableGatewayMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayMetadata

func NewNullableGatewayMetadata(val *GatewayMetadata) *NullableGatewayMetadata

func (NullableGatewayMetadata) Get

func (NullableGatewayMetadata) IsSet

func (v NullableGatewayMetadata) IsSet() bool

func (NullableGatewayMetadata) MarshalJSON

func (v NullableGatewayMetadata) MarshalJSON() ([]byte, error)

func (*NullableGatewayMetadata) Set

func (*NullableGatewayMetadata) UnmarshalJSON

func (v *NullableGatewayMetadata) UnmarshalJSON(src []byte) error

func (*NullableGatewayMetadata) Unset

func (v *NullableGatewayMetadata) Unset()

type NullableGatewayStats

type NullableGatewayStats struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayStats

func NewNullableGatewayStats(val *GatewayStats) *NullableGatewayStats

func (NullableGatewayStats) Get

func (NullableGatewayStats) IsSet

func (v NullableGatewayStats) IsSet() bool

func (NullableGatewayStats) MarshalJSON

func (v NullableGatewayStats) MarshalJSON() ([]byte, error)

func (*NullableGatewayStats) Set

func (v *NullableGatewayStats) Set(val *GatewayStats)

func (*NullableGatewayStats) UnmarshalJSON

func (v *NullableGatewayStats) UnmarshalJSON(src []byte) error

func (*NullableGatewayStats) Unset

func (v *NullableGatewayStats) Unset()

type NullableGatewayStatus

type NullableGatewayStatus struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayStatus

func NewNullableGatewayStatus(val *GatewayStatus) *NullableGatewayStatus

func (NullableGatewayStatus) Get

func (NullableGatewayStatus) IsSet

func (v NullableGatewayStatus) IsSet() bool

func (NullableGatewayStatus) MarshalJSON

func (v NullableGatewayStatus) MarshalJSON() ([]byte, error)

func (*NullableGatewayStatus) Set

func (v *NullableGatewayStatus) Set(val *GatewayStatus)

func (*NullableGatewayStatus) UnmarshalJSON

func (v *NullableGatewayStatus) UnmarshalJSON(src []byte) error

func (*NullableGatewayStatus) Unset

func (v *NullableGatewayStatus) Unset()

type NullableGatewayType

type NullableGatewayType struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayType

func NewNullableGatewayType(val *GatewayType) *NullableGatewayType

func (NullableGatewayType) Get

func (NullableGatewayType) IsSet

func (v NullableGatewayType) IsSet() bool

func (NullableGatewayType) MarshalJSON

func (v NullableGatewayType) MarshalJSON() ([]byte, error)

func (*NullableGatewayType) Set

func (v *NullableGatewayType) Set(val *GatewayType)

func (*NullableGatewayType) UnmarshalJSON

func (v *NullableGatewayType) UnmarshalJSON(src []byte) error

func (*NullableGatewayType) Unset

func (v *NullableGatewayType) Unset()

type NullableInetMetadata

type NullableInetMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableInetMetadata

func NewNullableInetMetadata(val *InetMetadata) *NullableInetMetadata

func (NullableInetMetadata) Get

func (NullableInetMetadata) IsSet

func (v NullableInetMetadata) IsSet() bool

func (NullableInetMetadata) MarshalJSON

func (v NullableInetMetadata) MarshalJSON() ([]byte, error)

func (*NullableInetMetadata) Set

func (v *NullableInetMetadata) Set(val *InetMetadata)

func (*NullableInetMetadata) UnmarshalJSON

func (v *NullableInetMetadata) UnmarshalJSON(src []byte) error

func (*NullableInetMetadata) Unset

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

type NullableListBlobResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListBlobResponse

func NewNullableListBlobResponse(val *ListBlobResponse) *NullableListBlobResponse

func (NullableListBlobResponse) Get

func (NullableListBlobResponse) IsSet

func (v NullableListBlobResponse) IsSet() bool

func (NullableListBlobResponse) MarshalJSON

func (v NullableListBlobResponse) MarshalJSON() ([]byte, error)

func (*NullableListBlobResponse) Set

func (*NullableListBlobResponse) UnmarshalJSON

func (v *NullableListBlobResponse) UnmarshalJSON(src []byte) error

func (*NullableListBlobResponse) Unset

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

type NullableListDownstreamMessagesResponse struct {
	// contains filtered or unexported fields
}

func (NullableListDownstreamMessagesResponse) Get

func (NullableListDownstreamMessagesResponse) IsSet

func (NullableListDownstreamMessagesResponse) MarshalJSON

func (v NullableListDownstreamMessagesResponse) MarshalJSON() ([]byte, error)

func (*NullableListDownstreamMessagesResponse) Set

func (*NullableListDownstreamMessagesResponse) UnmarshalJSON

func (v *NullableListDownstreamMessagesResponse) UnmarshalJSON(src []byte) error

func (*NullableListDownstreamMessagesResponse) Unset

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

type NullableListGatewayResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListGatewayResponse

func NewNullableListGatewayResponse(val *ListGatewayResponse) *NullableListGatewayResponse

func (NullableListGatewayResponse) Get

func (NullableListGatewayResponse) IsSet

func (NullableListGatewayResponse) MarshalJSON

func (v NullableListGatewayResponse) MarshalJSON() ([]byte, error)

func (*NullableListGatewayResponse) Set

func (*NullableListGatewayResponse) UnmarshalJSON

func (v *NullableListGatewayResponse) UnmarshalJSON(src []byte) error

func (*NullableListGatewayResponse) Unset

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

type NullableListUpstreamMessagesResponse struct {
	// contains filtered or unexported fields
}

func (NullableListUpstreamMessagesResponse) Get

func (NullableListUpstreamMessagesResponse) IsSet

func (NullableListUpstreamMessagesResponse) MarshalJSON

func (v NullableListUpstreamMessagesResponse) MarshalJSON() ([]byte, error)

func (*NullableListUpstreamMessagesResponse) Set

func (*NullableListUpstreamMessagesResponse) UnmarshalJSON

func (v *NullableListUpstreamMessagesResponse) UnmarshalJSON(src []byte) error

func (*NullableListUpstreamMessagesResponse) Unset

type NullableMQTTMetadata

type NullableMQTTMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMQTTMetadata

func NewNullableMQTTMetadata(val *MQTTMetadata) *NullableMQTTMetadata

func (NullableMQTTMetadata) Get

func (NullableMQTTMetadata) IsSet

func (v NullableMQTTMetadata) IsSet() bool

func (NullableMQTTMetadata) MarshalJSON

func (v NullableMQTTMetadata) MarshalJSON() ([]byte, error)

func (*NullableMQTTMetadata) Set

func (v *NullableMQTTMetadata) Set(val *MQTTMetadata)

func (*NullableMQTTMetadata) UnmarshalJSON

func (v *NullableMQTTMetadata) UnmarshalJSON(src []byte) error

func (*NullableMQTTMetadata) Unset

func (v *NullableMQTTMetadata) Unset()

type NullableMessageDownstream

type NullableMessageDownstream struct {
	// contains filtered or unexported fields
}

func NewNullableMessageDownstream

func NewNullableMessageDownstream(val *MessageDownstream) *NullableMessageDownstream

func (NullableMessageDownstream) Get

func (NullableMessageDownstream) IsSet

func (v NullableMessageDownstream) IsSet() bool

func (NullableMessageDownstream) MarshalJSON

func (v NullableMessageDownstream) MarshalJSON() ([]byte, error)

func (*NullableMessageDownstream) Set

func (*NullableMessageDownstream) UnmarshalJSON

func (v *NullableMessageDownstream) UnmarshalJSON(src []byte) error

func (*NullableMessageDownstream) Unset

func (v *NullableMessageDownstream) Unset()

type NullableMessageState

type NullableMessageState struct {
	// contains filtered or unexported fields
}

func NewNullableMessageState

func NewNullableMessageState(val *MessageState) *NullableMessageState

func (NullableMessageState) Get

func (NullableMessageState) IsSet

func (v NullableMessageState) IsSet() bool

func (NullableMessageState) MarshalJSON

func (v NullableMessageState) MarshalJSON() ([]byte, error)

func (*NullableMessageState) Set

func (v *NullableMessageState) Set(val *MessageState)

func (*NullableMessageState) UnmarshalJSON

func (v *NullableMessageState) UnmarshalJSON(src []byte) error

func (*NullableMessageState) Unset

func (v *NullableMessageState) Unset()

type NullableMessageTransport

type NullableMessageTransport struct {
	// contains filtered or unexported fields
}

func NewNullableMessageTransport

func NewNullableMessageTransport(val *MessageTransport) *NullableMessageTransport

func (NullableMessageTransport) Get

func (NullableMessageTransport) IsSet

func (v NullableMessageTransport) IsSet() bool

func (NullableMessageTransport) MarshalJSON

func (v NullableMessageTransport) MarshalJSON() ([]byte, error)

func (*NullableMessageTransport) Set

func (*NullableMessageTransport) UnmarshalJSON

func (v *NullableMessageTransport) UnmarshalJSON(src []byte) error

func (*NullableMessageTransport) Unset

func (v *NullableMessageTransport) Unset()

type NullableMessageUpstream

type NullableMessageUpstream struct {
	// contains filtered or unexported fields
}

func NewNullableMessageUpstream

func NewNullableMessageUpstream(val *MessageUpstream) *NullableMessageUpstream

func (NullableMessageUpstream) Get

func (NullableMessageUpstream) IsSet

func (v NullableMessageUpstream) IsSet() bool

func (NullableMessageUpstream) MarshalJSON

func (v NullableMessageUpstream) MarshalJSON() ([]byte, error)

func (*NullableMessageUpstream) Set

func (*NullableMessageUpstream) UnmarshalJSON

func (v *NullableMessageUpstream) UnmarshalJSON(src []byte) error

func (*NullableMessageUpstream) Unset

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

type NullableOutputMessageType struct {
	// contains filtered or unexported fields
}

func NewNullableOutputMessageType

func NewNullableOutputMessageType(val *OutputMessageType) *NullableOutputMessageType

func (NullableOutputMessageType) Get

func (NullableOutputMessageType) IsSet

func (v NullableOutputMessageType) IsSet() bool

func (NullableOutputMessageType) MarshalJSON

func (v NullableOutputMessageType) MarshalJSON() ([]byte, error)

func (*NullableOutputMessageType) Set

func (*NullableOutputMessageType) UnmarshalJSON

func (v *NullableOutputMessageType) UnmarshalJSON(src []byte) error

func (*NullableOutputMessageType) Unset

func (v *NullableOutputMessageType) Unset()

type NullableOutputStats

type NullableOutputStats struct {
	// contains filtered or unexported fields
}

func NewNullableOutputStats

func NewNullableOutputStats(val *OutputStats) *NullableOutputStats

func (NullableOutputStats) Get

func (NullableOutputStats) IsSet

func (v NullableOutputStats) IsSet() bool

func (NullableOutputStats) MarshalJSON

func (v NullableOutputStats) MarshalJSON() ([]byte, error)

func (*NullableOutputStats) Set

func (v *NullableOutputStats) Set(val *OutputStats)

func (*NullableOutputStats) UnmarshalJSON

func (v *NullableOutputStats) UnmarshalJSON(src []byte) error

func (*NullableOutputStats) Unset

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

type NullableRetrieveBlobResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRetrieveBlobResponse

func NewNullableRetrieveBlobResponse(val *RetrieveBlobResponse) *NullableRetrieveBlobResponse

func (NullableRetrieveBlobResponse) Get

func (NullableRetrieveBlobResponse) IsSet

func (NullableRetrieveBlobResponse) MarshalJSON

func (v NullableRetrieveBlobResponse) MarshalJSON() ([]byte, error)

func (*NullableRetrieveBlobResponse) Set

func (*NullableRetrieveBlobResponse) UnmarshalJSON

func (v *NullableRetrieveBlobResponse) UnmarshalJSON(src []byte) error

func (*NullableRetrieveBlobResponse) Unset

func (v *NullableRetrieveBlobResponse) Unset()

type NullableRpcStatus

type NullableRpcStatus struct {
	// contains filtered or unexported fields
}

func NewNullableRpcStatus

func NewNullableRpcStatus(val *RpcStatus) *NullableRpcStatus

func (NullableRpcStatus) Get

func (v NullableRpcStatus) Get() *RpcStatus

func (NullableRpcStatus) IsSet

func (v NullableRpcStatus) IsSet() bool

func (NullableRpcStatus) MarshalJSON

func (v NullableRpcStatus) MarshalJSON() ([]byte, error)

func (*NullableRpcStatus) Set

func (v *NullableRpcStatus) Set(val *RpcStatus)

func (*NullableRpcStatus) UnmarshalJSON

func (v *NullableRpcStatus) UnmarshalJSON(src []byte) error

func (*NullableRpcStatus) Unset

func (v *NullableRpcStatus) Unset()

type NullableSignCertificateBody

type NullableSignCertificateBody struct {
	// contains filtered or unexported fields
}

func NewNullableSignCertificateBody

func NewNullableSignCertificateBody(val *SignCertificateBody) *NullableSignCertificateBody

func (NullableSignCertificateBody) Get

func (NullableSignCertificateBody) IsSet

func (NullableSignCertificateBody) MarshalJSON

func (v NullableSignCertificateBody) MarshalJSON() ([]byte, error)

func (*NullableSignCertificateBody) Set

func (*NullableSignCertificateBody) UnmarshalJSON

func (v *NullableSignCertificateBody) UnmarshalJSON(src []byte) error

func (*NullableSignCertificateBody) Unset

func (v *NullableSignCertificateBody) Unset()

type NullableSignCertificateResponse

type NullableSignCertificateResponse struct {
	// contains filtered or unexported fields
}

func (NullableSignCertificateResponse) Get

func (NullableSignCertificateResponse) IsSet

func (NullableSignCertificateResponse) MarshalJSON

func (v NullableSignCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableSignCertificateResponse) Set

func (*NullableSignCertificateResponse) UnmarshalJSON

func (v *NullableSignCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableSignCertificateResponse) 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 NullableUpdateCollectionBody

type NullableUpdateCollectionBody struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateCollectionBody

func NewNullableUpdateCollectionBody(val *UpdateCollectionBody) *NullableUpdateCollectionBody

func (NullableUpdateCollectionBody) Get

func (NullableUpdateCollectionBody) IsSet

func (NullableUpdateCollectionBody) MarshalJSON

func (v NullableUpdateCollectionBody) MarshalJSON() ([]byte, error)

func (*NullableUpdateCollectionBody) Set

func (*NullableUpdateCollectionBody) UnmarshalJSON

func (v *NullableUpdateCollectionBody) UnmarshalJSON(src []byte) error

func (*NullableUpdateCollectionBody) Unset

func (v *NullableUpdateCollectionBody) Unset()

type NullableUpdateDeviceBody

type NullableUpdateDeviceBody struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateDeviceBody

func NewNullableUpdateDeviceBody(val *UpdateDeviceBody) *NullableUpdateDeviceBody

func (NullableUpdateDeviceBody) Get

func (NullableUpdateDeviceBody) IsSet

func (v NullableUpdateDeviceBody) IsSet() bool

func (NullableUpdateDeviceBody) MarshalJSON

func (v NullableUpdateDeviceBody) MarshalJSON() ([]byte, error)

func (*NullableUpdateDeviceBody) Set

func (*NullableUpdateDeviceBody) UnmarshalJSON

func (v *NullableUpdateDeviceBody) UnmarshalJSON(src []byte) error

func (*NullableUpdateDeviceBody) Unset

func (v *NullableUpdateDeviceBody) Unset()

type NullableUpdateFirmwareBody

type NullableUpdateFirmwareBody struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateFirmwareBody

func NewNullableUpdateFirmwareBody(val *UpdateFirmwareBody) *NullableUpdateFirmwareBody

func (NullableUpdateFirmwareBody) Get

func (NullableUpdateFirmwareBody) IsSet

func (v NullableUpdateFirmwareBody) IsSet() bool

func (NullableUpdateFirmwareBody) MarshalJSON

func (v NullableUpdateFirmwareBody) MarshalJSON() ([]byte, error)

func (*NullableUpdateFirmwareBody) Set

func (*NullableUpdateFirmwareBody) UnmarshalJSON

func (v *NullableUpdateFirmwareBody) UnmarshalJSON(src []byte) error

func (*NullableUpdateFirmwareBody) Unset

func (v *NullableUpdateFirmwareBody) Unset()

type NullableUpdateGatewayBody

type NullableUpdateGatewayBody struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateGatewayBody

func NewNullableUpdateGatewayBody(val *UpdateGatewayBody) *NullableUpdateGatewayBody

func (NullableUpdateGatewayBody) Get

func (NullableUpdateGatewayBody) IsSet

func (v NullableUpdateGatewayBody) IsSet() bool

func (NullableUpdateGatewayBody) MarshalJSON

func (v NullableUpdateGatewayBody) MarshalJSON() ([]byte, error)

func (*NullableUpdateGatewayBody) Set

func (*NullableUpdateGatewayBody) UnmarshalJSON

func (v *NullableUpdateGatewayBody) UnmarshalJSON(src []byte) error

func (*NullableUpdateGatewayBody) Unset

func (v *NullableUpdateGatewayBody) Unset()

type NullableUpdateOutputBody

type NullableUpdateOutputBody struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateOutputBody

func NewNullableUpdateOutputBody(val *UpdateOutputBody) *NullableUpdateOutputBody

func (NullableUpdateOutputBody) Get

func (NullableUpdateOutputBody) IsSet

func (v NullableUpdateOutputBody) IsSet() bool

func (NullableUpdateOutputBody) MarshalJSON

func (v NullableUpdateOutputBody) MarshalJSON() ([]byte, error)

func (*NullableUpdateOutputBody) Set

func (*NullableUpdateOutputBody) UnmarshalJSON

func (v *NullableUpdateOutputBody) UnmarshalJSON(src []byte) error

func (*NullableUpdateOutputBody) Unset

func (v *NullableUpdateOutputBody) Unset()

type NullableVerifyCertificateBody

type NullableVerifyCertificateBody struct {
	// contains filtered or unexported fields
}

func (NullableVerifyCertificateBody) Get

func (NullableVerifyCertificateBody) IsSet

func (NullableVerifyCertificateBody) MarshalJSON

func (v NullableVerifyCertificateBody) MarshalJSON() ([]byte, error)

func (*NullableVerifyCertificateBody) Set

func (*NullableVerifyCertificateBody) UnmarshalJSON

func (v *NullableVerifyCertificateBody) UnmarshalJSON(src []byte) error

func (*NullableVerifyCertificateBody) Unset

func (v *NullableVerifyCertificateBody) Unset()

type NullableVerifyCertificateResponse

type NullableVerifyCertificateResponse struct {
	// contains filtered or unexported fields
}

func (NullableVerifyCertificateResponse) Get

func (NullableVerifyCertificateResponse) IsSet

func (NullableVerifyCertificateResponse) MarshalJSON

func (v NullableVerifyCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableVerifyCertificateResponse) Set

func (*NullableVerifyCertificateResponse) UnmarshalJSON

func (v *NullableVerifyCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableVerifyCertificateResponse) Unset

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

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

func (o *OutputConfig) GetPayloadFormat() string

GetPayloadFormat returns the PayloadFormat field value if set, zero value otherwise.

func (*OutputConfig) GetPayloadFormatOk

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

func (o *OutputConfig) GetPayloadTemplate() string

GetPayloadTemplate returns the PayloadTemplate field value if set, zero value otherwise.

func (*OutputConfig) GetPayloadTemplateOk

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

func (o *OutputConfig) GetTopicTemplate() string

GetTopicTemplate returns the TopicTemplate field value if set, zero value otherwise.

func (*OutputConfig) GetTopicTemplateOk

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

func (o *OutputConfig) HasPayloadFormat() bool

HasPayloadFormat returns a boolean if a field has been set.

func (*OutputConfig) HasPayloadTemplate

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

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

func (o *OutputConfig) SetPayloadFormat(v string)

SetPayloadFormat gets a reference to the given string and assigns it to the PayloadFormat field.

func (*OutputConfig) SetPayloadTemplate

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

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

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

func (o *OutputDataMessage) GetGatewayId() string

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

func (*OutputDataMessage) GetGatewayIdOk

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

func (o *OutputDataMessage) GetGatewayMetaData() GatewayMetadata

GetGatewayMetaData returns the GatewayMetaData field value if set, zero value otherwise.

func (*OutputDataMessage) GetGatewayMetaDataOk

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

func (o *OutputDataMessage) GetMqttMetaData() MQTTMetadata

GetMqttMetaData returns the MqttMetaData field value if set, zero value otherwise.

func (*OutputDataMessage) GetMqttMetaDataOk

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

func (o *OutputDataMessage) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (*OutputDataMessage) HasGatewayMetaData

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

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

func (o *OutputDataMessage) SetGatewayId(v string)

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

func (*OutputDataMessage) SetGatewayMetaData

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

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

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

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

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

type OutputMessageType

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

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

func (v OutputMessageType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OutputMessageType) Ptr

Ptr returns reference to OutputMessageType value

func (*OutputMessageType) UnmarshalJSON

func (v *OutputMessageType) UnmarshalJSON(src []byte) error

type OutputStats

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

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

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

func (o *OutputStats) GetBytesForwarded() string

GetBytesForwarded returns the BytesForwarded field value if set, zero value otherwise.

func (*OutputStats) GetBytesForwardedOk

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

func (o *OutputStats) GetForwardErrors() int32

GetForwardErrors returns the ForwardErrors field value if set, zero value otherwise.

func (*OutputStats) GetForwardErrorsOk

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

func (o *OutputStats) GetMessagesForwarded() string

GetMessagesForwarded returns the MessagesForwarded field value if set, zero value otherwise.

func (*OutputStats) GetMessagesForwardedOk

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

func (o *OutputStats) HasBytesForwarded() bool

HasBytesForwarded returns a boolean if a field has been set.

func (*OutputStats) HasForwardErrors

func (o *OutputStats) HasForwardErrors() bool

HasForwardErrors returns a boolean if a field has been set.

func (*OutputStats) HasMessagesForwarded

func (o *OutputStats) HasMessagesForwarded() bool

HasMessagesForwarded returns a boolean if a field has been set.

func (OutputStats) MarshalJSON

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

func (*OutputStats) SetBytesForwarded

func (o *OutputStats) SetBytesForwarded(v string)

SetBytesForwarded gets a reference to the given string and assigns it to the BytesForwarded field.

func (*OutputStats) SetForwardErrors

func (o *OutputStats) SetForwardErrors(v int32)

SetForwardErrors gets a reference to the given int32 and assigns it to the ForwardErrors field.

func (*OutputStats) SetMessagesForwarded

func (o *OutputStats) SetMessagesForwarded(v string)

SetMessagesForwarded gets a reference to the given string and assigns it to the MessagesForwarded field.

func (OutputStats) ToMap

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

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

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

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

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

func (a *OutputsApiService) CreateOutputExecute(r ApiCreateOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

func (*OutputsApiService) DeleteOutput

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

func (a *OutputsApiService) DeleteOutputExecute(r ApiDeleteOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

func (*OutputsApiService) ListOutputs

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

Execute executes the request

@return ListOutputResponse

func (*OutputsApiService) Logs

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

Execute executes the request

@return OutputLogResponse

func (*OutputsApiService) RetrieveOutput

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

func (a *OutputsApiService) RetrieveOutputExecute(r ApiRetrieveOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

func (*OutputsApiService) RetrieveOutputStats

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

func (a *OutputsApiService) RetrieveOutputStatsExecute(r ApiRetrieveOutputStatsRequest) (*OutputStats, *http.Response, error)

Execute executes the request

@return OutputStats

func (*OutputsApiService) Status

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

Execute executes the request

@return OutputStatusResponse

func (*OutputsApiService) UpdateOutput

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

func (a *OutputsApiService) UpdateOutputExecute(r ApiUpdateOutputRequest) (*Output, *http.Response, error)

Execute executes the request

@return Output

type RetrieveBlobResponse

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

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

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

func (o *RetrieveBlobResponse) GetContentType() string

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

func (*RetrieveBlobResponse) GetContentTypeOk

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

func (o *RetrieveBlobResponse) GetData() string

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

func (*RetrieveBlobResponse) GetDataOk

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

func (o *RetrieveBlobResponse) GetSize() int32

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

func (*RetrieveBlobResponse) GetSizeOk

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

func (o *RetrieveBlobResponse) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*RetrieveBlobResponse) HasData

func (o *RetrieveBlobResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*RetrieveBlobResponse) HasSize

func (o *RetrieveBlobResponse) HasSize() bool

HasSize returns a boolean if a field has been set.

func (RetrieveBlobResponse) MarshalJSON

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

func (*RetrieveBlobResponse) SetContentType

func (o *RetrieveBlobResponse) SetContentType(v string)

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

func (*RetrieveBlobResponse) SetData

func (o *RetrieveBlobResponse) SetData(v string)

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

func (*RetrieveBlobResponse) SetSize

func (o *RetrieveBlobResponse) SetSize(v int32)

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

func (RetrieveBlobResponse) ToMap

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

type RpcStatus

type RpcStatus struct {
	Code    *int32  `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Details []Any   `json:"details,omitempty"`
}

RpcStatus struct for RpcStatus

func NewRpcStatus

func NewRpcStatus() *RpcStatus

NewRpcStatus instantiates a new RpcStatus 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 NewRpcStatusWithDefaults

func NewRpcStatusWithDefaults() *RpcStatus

NewRpcStatusWithDefaults instantiates a new RpcStatus 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 (*RpcStatus) GetCode

func (o *RpcStatus) GetCode() int32

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

func (*RpcStatus) GetCodeOk

func (o *RpcStatus) 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 (*RpcStatus) GetDetails

func (o *RpcStatus) GetDetails() []Any

GetDetails returns the Details field value if set, zero value otherwise.

func (*RpcStatus) GetDetailsOk

func (o *RpcStatus) 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 (*RpcStatus) GetMessage

func (o *RpcStatus) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*RpcStatus) GetMessageOk

func (o *RpcStatus) 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 (*RpcStatus) HasCode

func (o *RpcStatus) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*RpcStatus) HasDetails

func (o *RpcStatus) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*RpcStatus) HasMessage

func (o *RpcStatus) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (RpcStatus) MarshalJSON

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

func (*RpcStatus) SetCode

func (o *RpcStatus) SetCode(v int32)

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

func (*RpcStatus) SetDetails

func (o *RpcStatus) SetDetails(v []Any)

SetDetails gets a reference to the given []Any and assigns it to the Details field.

func (*RpcStatus) SetMessage

func (o *RpcStatus) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (RpcStatus) ToMap

func (o RpcStatus) 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 SignCertificateBody

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

SignCertificateBody Request certificate signing

func NewSignCertificateBody

func NewSignCertificateBody() *SignCertificateBody

NewSignCertificateBody instantiates a new SignCertificateBody 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 NewSignCertificateBodyWithDefaults

func NewSignCertificateBodyWithDefaults() *SignCertificateBody

NewSignCertificateBodyWithDefaults instantiates a new SignCertificateBody 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 (*SignCertificateBody) GetCsr

func (o *SignCertificateBody) GetCsr() string

GetCsr returns the Csr field value if set, zero value otherwise.

func (*SignCertificateBody) GetCsrOk

func (o *SignCertificateBody) 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 (*SignCertificateBody) GetDeviceId

func (o *SignCertificateBody) GetDeviceId() string

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

func (*SignCertificateBody) GetDeviceIdOk

func (o *SignCertificateBody) 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 (*SignCertificateBody) GetGatewayId

func (o *SignCertificateBody) GetGatewayId() string

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

func (*SignCertificateBody) GetGatewayIdOk

func (o *SignCertificateBody) 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 (*SignCertificateBody) HasCsr

func (o *SignCertificateBody) HasCsr() bool

HasCsr returns a boolean if a field has been set.

func (*SignCertificateBody) HasDeviceId

func (o *SignCertificateBody) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*SignCertificateBody) HasGatewayId

func (o *SignCertificateBody) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (SignCertificateBody) MarshalJSON

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

func (*SignCertificateBody) SetCsr

func (o *SignCertificateBody) SetCsr(v string)

SetCsr gets a reference to the given string and assigns it to the Csr field.

func (*SignCertificateBody) SetDeviceId

func (o *SignCertificateBody) SetDeviceId(v string)

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

func (*SignCertificateBody) SetGatewayId

func (o *SignCertificateBody) SetGatewayId(v string)

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

func (SignCertificateBody) ToMap

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

type SignCertificateResponse

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

SignCertificateResponse Response when signing a certificate

func NewSignCertificateResponse

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

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

func (o *SignCertificateResponse) GetCertificate() string

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

func (*SignCertificateResponse) GetCertificateOk

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

func (o *SignCertificateResponse) GetChain() string

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

func (*SignCertificateResponse) GetChainOk

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

func (o *SignCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*SignCertificateResponse) HasChain

func (o *SignCertificateResponse) HasChain() bool

HasChain returns a boolean if a field has been set.

func (SignCertificateResponse) MarshalJSON

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

func (*SignCertificateResponse) SetCertificate

func (o *SignCertificateResponse) SetCertificate(v string)

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

func (*SignCertificateResponse) SetChain

func (o *SignCertificateResponse) SetChain(v string)

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

func (SignCertificateResponse) ToMap

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

type SpanApiService

type SpanApiService service

SpanApiService SpanApi service

func (*SpanApiService) GetSystemInfo

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

Execute executes the request

@return SystemInfoResponse

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

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

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

type UpdateCollectionBody

type UpdateCollectionBody 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"`
	// Enabled flag for the collection. A collection may be disabled or enabled to save time.
	Enabled *bool `json:"enabled,omitempty"`
}

UpdateCollectionBody Request object when updating a collection

func NewUpdateCollectionBody

func NewUpdateCollectionBody() *UpdateCollectionBody

NewUpdateCollectionBody instantiates a new UpdateCollectionBody 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 NewUpdateCollectionBodyWithDefaults

func NewUpdateCollectionBodyWithDefaults() *UpdateCollectionBody

NewUpdateCollectionBodyWithDefaults instantiates a new UpdateCollectionBody 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 (*UpdateCollectionBody) GetEnabled

func (o *UpdateCollectionBody) GetEnabled() bool

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

func (*UpdateCollectionBody) GetEnabledOk

func (o *UpdateCollectionBody) 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 (*UpdateCollectionBody) GetFirmware

func (o *UpdateCollectionBody) GetFirmware() CollectionFirmware

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

func (*UpdateCollectionBody) GetFirmwareOk

func (o *UpdateCollectionBody) 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 (*UpdateCollectionBody) GetTags

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

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

func (*UpdateCollectionBody) GetTagsOk

func (o *UpdateCollectionBody) 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 (*UpdateCollectionBody) GetTeamId

func (o *UpdateCollectionBody) GetTeamId() string

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

func (*UpdateCollectionBody) GetTeamIdOk

func (o *UpdateCollectionBody) 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 (*UpdateCollectionBody) HasEnabled

func (o *UpdateCollectionBody) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateCollectionBody) HasFirmware

func (o *UpdateCollectionBody) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*UpdateCollectionBody) HasTags

func (o *UpdateCollectionBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateCollectionBody) HasTeamId

func (o *UpdateCollectionBody) HasTeamId() bool

HasTeamId returns a boolean if a field has been set.

func (UpdateCollectionBody) MarshalJSON

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

func (*UpdateCollectionBody) SetEnabled

func (o *UpdateCollectionBody) SetEnabled(v bool)

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

func (*UpdateCollectionBody) SetFirmware

func (o *UpdateCollectionBody) SetFirmware(v CollectionFirmware)

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

func (*UpdateCollectionBody) SetTags

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

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

func (*UpdateCollectionBody) SetTeamId

func (o *UpdateCollectionBody) SetTeamId(v string)

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

func (UpdateCollectionBody) ToMap

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

type UpdateDeviceBody

type UpdateDeviceBody 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"`
	Enabled  *bool              `json:"enabled,omitempty"`
}

UpdateDeviceBody Updating the device

func NewUpdateDeviceBody

func NewUpdateDeviceBody() *UpdateDeviceBody

NewUpdateDeviceBody instantiates a new UpdateDeviceBody 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 NewUpdateDeviceBodyWithDefaults

func NewUpdateDeviceBodyWithDefaults() *UpdateDeviceBody

NewUpdateDeviceBodyWithDefaults instantiates a new UpdateDeviceBody 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 (*UpdateDeviceBody) GetCollectionId

func (o *UpdateDeviceBody) GetCollectionId() string

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

func (*UpdateDeviceBody) GetCollectionIdOk

func (o *UpdateDeviceBody) 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 (*UpdateDeviceBody) GetConfig

func (o *UpdateDeviceBody) GetConfig() DeviceConfig

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

func (*UpdateDeviceBody) GetConfigOk

func (o *UpdateDeviceBody) 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 (*UpdateDeviceBody) GetEnabled

func (o *UpdateDeviceBody) GetEnabled() bool

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

func (*UpdateDeviceBody) GetEnabledOk

func (o *UpdateDeviceBody) 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 (*UpdateDeviceBody) GetFirmware

func (o *UpdateDeviceBody) GetFirmware() FirmwareMetadata

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

func (*UpdateDeviceBody) GetFirmwareOk

func (o *UpdateDeviceBody) 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 (*UpdateDeviceBody) GetTags

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

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

func (*UpdateDeviceBody) GetTagsOk

func (o *UpdateDeviceBody) 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 (*UpdateDeviceBody) HasCollectionId

func (o *UpdateDeviceBody) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateDeviceBody) HasConfig

func (o *UpdateDeviceBody) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateDeviceBody) HasEnabled

func (o *UpdateDeviceBody) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateDeviceBody) HasFirmware

func (o *UpdateDeviceBody) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*UpdateDeviceBody) HasTags

func (o *UpdateDeviceBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (UpdateDeviceBody) MarshalJSON

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

func (*UpdateDeviceBody) SetCollectionId

func (o *UpdateDeviceBody) SetCollectionId(v string)

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

func (*UpdateDeviceBody) SetConfig

func (o *UpdateDeviceBody) SetConfig(v DeviceConfig)

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

func (*UpdateDeviceBody) SetEnabled

func (o *UpdateDeviceBody) SetEnabled(v bool)

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

func (*UpdateDeviceBody) SetFirmware

func (o *UpdateDeviceBody) SetFirmware(v FirmwareMetadata)

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

func (*UpdateDeviceBody) SetTags

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

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

func (UpdateDeviceBody) ToMap

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

type UpdateFirmwareBody

type UpdateFirmwareBody struct {
	CollectionId *string            `json:"collectionId,omitempty"`
	Version      *string            `json:"version,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
	Enabled      *bool              `json:"enabled,omitempty"`
}

UpdateFirmwareBody This is the request object when updating the firmware image

func NewUpdateFirmwareBody

func NewUpdateFirmwareBody() *UpdateFirmwareBody

NewUpdateFirmwareBody instantiates a new UpdateFirmwareBody 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 NewUpdateFirmwareBodyWithDefaults

func NewUpdateFirmwareBodyWithDefaults() *UpdateFirmwareBody

NewUpdateFirmwareBodyWithDefaults instantiates a new UpdateFirmwareBody 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 (*UpdateFirmwareBody) GetCollectionId

func (o *UpdateFirmwareBody) GetCollectionId() string

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

func (*UpdateFirmwareBody) GetCollectionIdOk

func (o *UpdateFirmwareBody) 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 (*UpdateFirmwareBody) GetEnabled

func (o *UpdateFirmwareBody) GetEnabled() bool

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

func (*UpdateFirmwareBody) GetEnabledOk

func (o *UpdateFirmwareBody) 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 (*UpdateFirmwareBody) GetTags

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

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

func (*UpdateFirmwareBody) GetTagsOk

func (o *UpdateFirmwareBody) 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 (*UpdateFirmwareBody) GetVersion

func (o *UpdateFirmwareBody) GetVersion() string

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

func (*UpdateFirmwareBody) GetVersionOk

func (o *UpdateFirmwareBody) 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 (*UpdateFirmwareBody) HasCollectionId

func (o *UpdateFirmwareBody) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateFirmwareBody) HasEnabled

func (o *UpdateFirmwareBody) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateFirmwareBody) HasTags

func (o *UpdateFirmwareBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateFirmwareBody) HasVersion

func (o *UpdateFirmwareBody) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (UpdateFirmwareBody) MarshalJSON

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

func (*UpdateFirmwareBody) SetCollectionId

func (o *UpdateFirmwareBody) SetCollectionId(v string)

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

func (*UpdateFirmwareBody) SetEnabled

func (o *UpdateFirmwareBody) SetEnabled(v bool)

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

func (*UpdateFirmwareBody) SetTags

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

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

func (*UpdateFirmwareBody) SetVersion

func (o *UpdateFirmwareBody) SetVersion(v string)

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

func (UpdateFirmwareBody) ToMap

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

type UpdateGatewayBody

type UpdateGatewayBody 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"`
	Enabled      *bool              `json:"enabled,omitempty"`
}

UpdateGatewayBody struct for UpdateGatewayBody

func NewUpdateGatewayBody

func NewUpdateGatewayBody() *UpdateGatewayBody

NewUpdateGatewayBody instantiates a new UpdateGatewayBody 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 NewUpdateGatewayBodyWithDefaults

func NewUpdateGatewayBodyWithDefaults() *UpdateGatewayBody

NewUpdateGatewayBodyWithDefaults instantiates a new UpdateGatewayBody 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 (*UpdateGatewayBody) GetCollectionId

func (o *UpdateGatewayBody) GetCollectionId() string

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

func (*UpdateGatewayBody) GetCollectionIdOk

func (o *UpdateGatewayBody) 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 (*UpdateGatewayBody) GetConfig

func (o *UpdateGatewayBody) GetConfig() GatewayConfig

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

func (*UpdateGatewayBody) GetConfigOk

func (o *UpdateGatewayBody) 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 (*UpdateGatewayBody) GetEnabled

func (o *UpdateGatewayBody) GetEnabled() bool

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

func (*UpdateGatewayBody) GetEnabledOk

func (o *UpdateGatewayBody) 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 (*UpdateGatewayBody) GetName

func (o *UpdateGatewayBody) GetName() string

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

func (*UpdateGatewayBody) GetNameOk

func (o *UpdateGatewayBody) 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 (*UpdateGatewayBody) GetTags

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

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

func (*UpdateGatewayBody) GetTagsOk

func (o *UpdateGatewayBody) 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 (*UpdateGatewayBody) GetType

func (o *UpdateGatewayBody) GetType() GatewayType

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

func (*UpdateGatewayBody) GetTypeOk

func (o *UpdateGatewayBody) 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 (*UpdateGatewayBody) HasCollectionId

func (o *UpdateGatewayBody) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateGatewayBody) HasConfig

func (o *UpdateGatewayBody) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateGatewayBody) HasEnabled

func (o *UpdateGatewayBody) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateGatewayBody) HasName

func (o *UpdateGatewayBody) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateGatewayBody) HasTags

func (o *UpdateGatewayBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateGatewayBody) HasType

func (o *UpdateGatewayBody) HasType() bool

HasType returns a boolean if a field has been set.

func (UpdateGatewayBody) MarshalJSON

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

func (*UpdateGatewayBody) SetCollectionId

func (o *UpdateGatewayBody) SetCollectionId(v string)

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

func (*UpdateGatewayBody) SetConfig

func (o *UpdateGatewayBody) SetConfig(v GatewayConfig)

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

func (*UpdateGatewayBody) SetEnabled

func (o *UpdateGatewayBody) SetEnabled(v bool)

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

func (*UpdateGatewayBody) SetName

func (o *UpdateGatewayBody) SetName(v string)

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

func (*UpdateGatewayBody) SetTags

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

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

func (*UpdateGatewayBody) SetType

func (o *UpdateGatewayBody) SetType(v GatewayType)

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

func (UpdateGatewayBody) ToMap

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

type UpdateOutputBody

type UpdateOutputBody 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"`
}

UpdateOutputBody Request type to update outputs

func NewUpdateOutputBody

func NewUpdateOutputBody() *UpdateOutputBody

NewUpdateOutputBody instantiates a new UpdateOutputBody 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 NewUpdateOutputBodyWithDefaults

func NewUpdateOutputBodyWithDefaults() *UpdateOutputBody

NewUpdateOutputBodyWithDefaults instantiates a new UpdateOutputBody 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 (*UpdateOutputBody) GetCollectionId

func (o *UpdateOutputBody) GetCollectionId() string

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

func (*UpdateOutputBody) GetCollectionIdOk

func (o *UpdateOutputBody) 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 (*UpdateOutputBody) GetConfig

func (o *UpdateOutputBody) GetConfig() OutputConfig

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

func (*UpdateOutputBody) GetConfigOk

func (o *UpdateOutputBody) 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 (*UpdateOutputBody) GetEnabled

func (o *UpdateOutputBody) GetEnabled() bool

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

func (*UpdateOutputBody) GetEnabledOk

func (o *UpdateOutputBody) 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 (*UpdateOutputBody) GetTags

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

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

func (*UpdateOutputBody) GetTagsOk

func (o *UpdateOutputBody) 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 (*UpdateOutputBody) GetType

func (o *UpdateOutputBody) GetType() OutputType

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

func (*UpdateOutputBody) GetTypeOk

func (o *UpdateOutputBody) 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 (*UpdateOutputBody) HasCollectionId

func (o *UpdateOutputBody) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateOutputBody) HasConfig

func (o *UpdateOutputBody) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateOutputBody) HasEnabled

func (o *UpdateOutputBody) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateOutputBody) HasTags

func (o *UpdateOutputBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateOutputBody) HasType

func (o *UpdateOutputBody) HasType() bool

HasType returns a boolean if a field has been set.

func (UpdateOutputBody) MarshalJSON

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

func (*UpdateOutputBody) SetCollectionId

func (o *UpdateOutputBody) SetCollectionId(v string)

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

func (*UpdateOutputBody) SetConfig

func (o *UpdateOutputBody) SetConfig(v OutputConfig)

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

func (*UpdateOutputBody) SetEnabled

func (o *UpdateOutputBody) SetEnabled(v bool)

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

func (*UpdateOutputBody) SetTags

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

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

func (*UpdateOutputBody) SetType

func (o *UpdateOutputBody) SetType(v OutputType)

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

func (UpdateOutputBody) ToMap

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

type VerifyCertificateBody

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

VerifyCertificateBody Verify a certificate

func NewVerifyCertificateBody

func NewVerifyCertificateBody() *VerifyCertificateBody

NewVerifyCertificateBody instantiates a new VerifyCertificateBody 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 NewVerifyCertificateBodyWithDefaults

func NewVerifyCertificateBodyWithDefaults() *VerifyCertificateBody

NewVerifyCertificateBodyWithDefaults instantiates a new VerifyCertificateBody 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 (*VerifyCertificateBody) GetCertificate

func (o *VerifyCertificateBody) GetCertificate() string

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

func (*VerifyCertificateBody) GetCertificateOk

func (o *VerifyCertificateBody) 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 (*VerifyCertificateBody) GetDeviceId

func (o *VerifyCertificateBody) GetDeviceId() string

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

func (*VerifyCertificateBody) GetDeviceIdOk

func (o *VerifyCertificateBody) 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 (*VerifyCertificateBody) GetGatewayId

func (o *VerifyCertificateBody) GetGatewayId() string

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

func (*VerifyCertificateBody) GetGatewayIdOk

func (o *VerifyCertificateBody) 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 (*VerifyCertificateBody) HasCertificate

func (o *VerifyCertificateBody) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*VerifyCertificateBody) HasDeviceId

func (o *VerifyCertificateBody) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*VerifyCertificateBody) HasGatewayId

func (o *VerifyCertificateBody) HasGatewayId() bool

HasGatewayId returns a boolean if a field has been set.

func (VerifyCertificateBody) MarshalJSON

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

func (*VerifyCertificateBody) SetCertificate

func (o *VerifyCertificateBody) SetCertificate(v string)

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

func (*VerifyCertificateBody) SetDeviceId

func (o *VerifyCertificateBody) SetDeviceId(v string)

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

func (*VerifyCertificateBody) SetGatewayId

func (o *VerifyCertificateBody) SetGatewayId(v string)

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

func (VerifyCertificateBody) ToMap

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

type VerifyCertificateResponse

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

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

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

func (o *VerifyCertificateResponse) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*VerifyCertificateResponse) GetErrorsOk

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

func (o *VerifyCertificateResponse) GetValid() bool

GetValid returns the Valid field value if set, zero value otherwise.

func (*VerifyCertificateResponse) GetValidOk

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

func (o *VerifyCertificateResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*VerifyCertificateResponse) HasValid

func (o *VerifyCertificateResponse) HasValid() bool

HasValid returns a boolean if a field has been set.

func (VerifyCertificateResponse) MarshalJSON

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

func (*VerifyCertificateResponse) SetErrors

func (o *VerifyCertificateResponse) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*VerifyCertificateResponse) SetValid

func (o *VerifyCertificateResponse) SetValid(v bool)

SetValid gets a reference to the given bool and assigns it to the Valid field.

func (VerifyCertificateResponse) ToMap

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