spanapi

package module
v4.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: BSD-2-Clause Imports: 22 Imported by: 18

README

Go API client for spanapi

API for device, collection, output and firmware management

Overview

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

  • API version: 4.1.8 adopted-kali
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://lab5e.com/span

Installation

Install the following dependencies:

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

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

import sw "./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(), sw.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(), sw.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 identifield 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(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

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

Class Method HTTP request Description
CollectionsApi BroadcastMessage Post /collections/{collectionId}/to Broadcast message
CollectionsApi CreateCollection Post /collections Create collection
CollectionsApi DeleteCollection Delete /collections/{collectionId} Delete collection
CollectionsApi ListCollectionData Get /collections/{collectionId}/data Get payloads
CollectionsApi ListCollections Get /collections List collections
CollectionsApi RetrieveCollection Get /collections/{collectionId} Retrieve collection
CollectionsApi UpdateCollection Patch /collections/{collectionId} Update collection
DatadumpApi DataDump Post /datadump Data dump
DevicesApi CreateDevice Post /collections/{collectionId}/devices Create device
DevicesApi DeleteDevice Delete /collections/{collectionId}/devices/{deviceId} Remove device
DevicesApi ListDeviceData Get /collections/{collectionId}/devices/{deviceId}/data Get payloads
DevicesApi ListDevices Get /collections/{collectionId}/devices List devices
DevicesApi RetrieveDevice Get /collections/{collectionId}/devices/{deviceId} Retrieve device
DevicesApi SendMessage Post /collections/{collectionId}/devices/{deviceId}/to Send message
DevicesApi UpdateDevice Patch /collections/{existingCollectionId}/devices/{deviceId} Update device
FotaApi ClearFirmwareError Delete /collections/{collectionId}/devices/{deviceId}/fwerror Clear FOTA error
FotaApi CreateFirmware Post /collections/{collectionId}/firmware Create firmware
FotaApi DeleteFirmware Delete /collections/{collectionId}/firmware/{imageId} Delete firmware
FotaApi FirmwareUsage Patch /collections/{collectionId}/firmware/{imageId}/usage Firmware usage
FotaApi ListFirmware Get /collections/{collectionId}/firmware List firmware
FotaApi RetrieveFirmware Get /collections/{collectionId}/firmware/{imageId} Retrieve firmware
FotaApi UpdateFirmware Patch /collections/{collectionId}/firmware/{imageId} Update firmware
OutputsApi CreateOutput Post /collections/{collectionId}/outputs Create output
OutputsApi DeleteOutput Delete /collections/{collectionId}/outputs/{outputId} Delete output
OutputsApi ListOutputs Get /collections/{collectionId}/outputs List outputs
OutputsApi Logs Get /collections/{collectionId}/outputs/{outputId}/logs Output logs
OutputsApi RetrieveOutput Get /collections/{collectionId}/outputs/{outputId} Retrieve output
OutputsApi Status Get /collections/{collectionId}/outputs/{outputId}/status Output status
OutputsApi UpdateOutput Patch /collections/{collectionId}/outputs/{outputId} Update output
SystemApi GetSystemInfo Get /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 (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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")
)

Functions

func CacheExpires

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

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

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 {
	CollectionsApi *CollectionsApiService

	DatadumpApi *DatadumpApiService

	DevicesApi *DevicesApiService

	FotaApi *FotaApiService

	OutputsApi *OutputsApiService

	SystemApi *SystemApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the The Span API API v4.1.8 adopted-kali 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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiBroadcastMessageRequest added in v4.1.8

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

func (ApiBroadcastMessageRequest) Body added in v4.1.8

func (ApiBroadcastMessageRequest) Execute added in v4.1.8

type ApiClearFirmwareErrorRequest added in v4.1.8

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

func (ApiClearFirmwareErrorRequest) Execute added in v4.1.8

type ApiCreateCollectionRequest added in v4.1.8

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

func (ApiCreateCollectionRequest) Body added in v4.1.8

func (ApiCreateCollectionRequest) Execute added in v4.1.8

type ApiCreateDeviceRequest added in v4.1.8

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

func (ApiCreateDeviceRequest) Body added in v4.1.8

func (ApiCreateDeviceRequest) Execute added in v4.1.8

type ApiCreateFirmwareRequest added in v4.1.8

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

func (ApiCreateFirmwareRequest) Body added in v4.1.8

func (ApiCreateFirmwareRequest) Execute added in v4.1.8

type ApiCreateOutputRequest added in v4.1.8

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

func (ApiCreateOutputRequest) Body added in v4.1.8

func (ApiCreateOutputRequest) Execute added in v4.1.8

type ApiDataDumpRequest added in v4.1.8

type ApiDataDumpRequest struct {
	ApiService *DatadumpApiService
	// contains filtered or unexported fields
}

func (ApiDataDumpRequest) Body added in v4.1.8

func (ApiDataDumpRequest) Execute added in v4.1.8

type ApiDeleteCollectionRequest added in v4.1.8

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

func (ApiDeleteCollectionRequest) Execute added in v4.1.8

type ApiDeleteDeviceRequest added in v4.1.8

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

func (ApiDeleteDeviceRequest) Execute added in v4.1.8

type ApiDeleteFirmwareRequest added in v4.1.8

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

func (ApiDeleteFirmwareRequest) Execute added in v4.1.8

type ApiDeleteOutputRequest added in v4.1.8

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

func (ApiDeleteOutputRequest) Execute added in v4.1.8

type ApiFirmwareUsageRequest added in v4.1.8

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

func (ApiFirmwareUsageRequest) Execute added in v4.1.8

type ApiGetSystemInfoRequest added in v4.1.8

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

func (ApiGetSystemInfoRequest) Execute added in v4.1.8

type ApiListCollectionDataRequest added in v4.1.8

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

func (ApiListCollectionDataRequest) End added in v4.1.8

func (ApiListCollectionDataRequest) Execute added in v4.1.8

func (ApiListCollectionDataRequest) Limit added in v4.1.8

func (ApiListCollectionDataRequest) Offset added in v4.1.8

func (ApiListCollectionDataRequest) Start added in v4.1.8

type ApiListCollectionsRequest added in v4.1.8

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

func (ApiListCollectionsRequest) Execute added in v4.1.8

type ApiListDeviceDataRequest added in v4.1.8

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

func (ApiListDeviceDataRequest) End added in v4.1.8

func (ApiListDeviceDataRequest) Execute added in v4.1.8

func (ApiListDeviceDataRequest) Limit added in v4.1.8

func (ApiListDeviceDataRequest) Offset added in v4.1.8

func (ApiListDeviceDataRequest) Start added in v4.1.8

type ApiListDevicesRequest added in v4.1.8

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

func (ApiListDevicesRequest) Execute added in v4.1.8

type ApiListFirmwareRequest added in v4.1.8

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

func (ApiListFirmwareRequest) Execute added in v4.1.8

type ApiListOutputsRequest added in v4.1.8

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

func (ApiListOutputsRequest) Execute added in v4.1.8

type ApiLogsRequest added in v4.1.8

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

func (ApiLogsRequest) Execute added in v4.1.8

type ApiRetrieveCollectionRequest added in v4.1.8

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

func (ApiRetrieveCollectionRequest) Execute added in v4.1.8

type ApiRetrieveDeviceRequest added in v4.1.8

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

func (ApiRetrieveDeviceRequest) Execute added in v4.1.8

type ApiRetrieveFirmwareRequest added in v4.1.8

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

func (ApiRetrieveFirmwareRequest) Execute added in v4.1.8

type ApiRetrieveOutputRequest added in v4.1.8

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

func (ApiRetrieveOutputRequest) Execute added in v4.1.8

type ApiSendMessageRequest added in v4.1.8

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

func (ApiSendMessageRequest) Body added in v4.1.8

func (ApiSendMessageRequest) Execute added in v4.1.8

type ApiStatusRequest added in v4.1.8

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

func (ApiStatusRequest) Execute added in v4.1.8

type ApiUpdateCollectionRequest added in v4.1.8

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

func (ApiUpdateCollectionRequest) Body added in v4.1.8

func (ApiUpdateCollectionRequest) Execute added in v4.1.8

type ApiUpdateDeviceRequest added in v4.1.8

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

func (ApiUpdateDeviceRequest) Body added in v4.1.8

func (ApiUpdateDeviceRequest) Execute added in v4.1.8

type ApiUpdateFirmwareRequest added in v4.1.8

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

func (ApiUpdateFirmwareRequest) Body added in v4.1.8

func (ApiUpdateFirmwareRequest) Execute added in v4.1.8

type ApiUpdateOutputRequest added in v4.1.8

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

func (ApiUpdateOutputRequest) Body added in v4.1.8

func (ApiUpdateOutputRequest) Execute added in v4.1.8

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 BroadcastMessageRequest

type BroadcastMessageRequest struct {
	CollectionId *string `json:"collectionId,omitempty"`
	Port         *int32  `json:"port,omitempty"`
	Payload      *string `json:"payload,omitempty"`
	// Valid transports are \"udp\", \"coap\", \"coap-pull\", \"udp-pull\", \"coap-push\", \"udp-push\". \"udp\" is equivalent to \"udp-push\" and \"coap\" is equivalent to \"coap-push\". Push messages are sent unsolicited to the device wheil pull messages are sent whenever the device wither sends data upstream (for UDP) or does a CoAP request to the CoAP service in span.
	Transport *string `json:"transport,omitempty"`
	CoapPath  *string `json:"coapPath,omitempty"`
}

BroadcastMessageRequest struct for BroadcastMessageRequest

func NewBroadcastMessageRequest

func NewBroadcastMessageRequest() *BroadcastMessageRequest

NewBroadcastMessageRequest instantiates a new BroadcastMessageRequest 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 NewBroadcastMessageRequestWithDefaults

func NewBroadcastMessageRequestWithDefaults() *BroadcastMessageRequest

NewBroadcastMessageRequestWithDefaults instantiates a new BroadcastMessageRequest 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 (*BroadcastMessageRequest) GetCoapPath

func (o *BroadcastMessageRequest) GetCoapPath() string

GetCoapPath returns the CoapPath field value if set, zero value otherwise.

func (*BroadcastMessageRequest) GetCoapPathOk

func (o *BroadcastMessageRequest) GetCoapPathOk() (*string, bool)

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

func (*BroadcastMessageRequest) GetCollectionId

func (o *BroadcastMessageRequest) GetCollectionId() string

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

func (*BroadcastMessageRequest) GetCollectionIdOk

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

func (o *BroadcastMessageRequest) GetPayload() string

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

func (*BroadcastMessageRequest) GetPayloadOk

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

func (o *BroadcastMessageRequest) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*BroadcastMessageRequest) GetPortOk

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

func (o *BroadcastMessageRequest) GetTransport() string

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

func (*BroadcastMessageRequest) GetTransportOk

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

func (o *BroadcastMessageRequest) HasCoapPath() bool

HasCoapPath returns a boolean if a field has been set.

func (*BroadcastMessageRequest) HasCollectionId

func (o *BroadcastMessageRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*BroadcastMessageRequest) HasPayload

func (o *BroadcastMessageRequest) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*BroadcastMessageRequest) HasPort

func (o *BroadcastMessageRequest) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*BroadcastMessageRequest) HasTransport

func (o *BroadcastMessageRequest) HasTransport() bool

HasTransport returns a boolean if a field has been set.

func (BroadcastMessageRequest) MarshalJSON

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

func (*BroadcastMessageRequest) SetCoapPath

func (o *BroadcastMessageRequest) SetCoapPath(v string)

SetCoapPath gets a reference to the given string and assigns it to the CoapPath field.

func (*BroadcastMessageRequest) SetCollectionId

func (o *BroadcastMessageRequest) SetCollectionId(v string)

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

func (*BroadcastMessageRequest) SetPayload

func (o *BroadcastMessageRequest) SetPayload(v string)

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

func (*BroadcastMessageRequest) SetPort

func (o *BroadcastMessageRequest) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*BroadcastMessageRequest) SetTransport

func (o *BroadcastMessageRequest) SetTransport(v string)

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

type ClearFirmwareErrorResponse

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

ClearFirmwareErrorResponse struct for ClearFirmwareErrorResponse

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.

type CoAPMetadata

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

CoAPMetadata struct for CoAPMetadata

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.

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"`
	FieldMask *FieldMask          `json:"fieldMask,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"`
}

Collection struct for 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) GetFieldMask

func (o *Collection) GetFieldMask() FieldMask

GetFieldMask returns the FieldMask field value if set, zero value otherwise.

func (*Collection) GetFieldMaskOk

func (o *Collection) GetFieldMaskOk() (*FieldMask, bool)

GetFieldMaskOk returns a tuple with the FieldMask 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) HasCollectionId

func (o *Collection) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Collection) HasFieldMask

func (o *Collection) HasFieldMask() bool

HasFieldMask 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) 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) SetFieldMask

func (o *Collection) SetFieldMask(v FieldMask)

SetFieldMask gets a reference to the given FieldMask and assigns it to the FieldMask 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.

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       *CollectionFirmwareFirmwareManagement `json:"management,omitempty"`
}

CollectionFirmware struct for CollectionFirmware

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

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

func (*CollectionFirmware) GetManagementOk

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

SetManagement gets a reference to the given CollectionFirmwareFirmwareManagement 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.

type CollectionFirmwareFirmwareManagement

type CollectionFirmwareFirmwareManagement string

CollectionFirmwareFirmwareManagement 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 (
	UNSPECIFIED CollectionFirmwareFirmwareManagement = "unspecified"
	DISABLED    CollectionFirmwareFirmwareManagement = "disabled"
	COLLECTION  CollectionFirmwareFirmwareManagement = "collection"
	DEVICE      CollectionFirmwareFirmwareManagement = "device"
)

List of CollectionFirmwareFirmwareManagement

func (CollectionFirmwareFirmwareManagement) Ptr

Ptr returns reference to CollectionFirmwareFirmwareManagement value

func (*CollectionFirmwareFirmwareManagement) UnmarshalJSON

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

type CollectionsApiService

type CollectionsApiService service

CollectionsApiService CollectionsApi service

func (*CollectionsApiService) BroadcastMessage added in v4.1.8

func (a *CollectionsApiService) BroadcastMessage(ctx _context.Context, collectionId string) ApiBroadcastMessageRequest

* BroadcastMessage Broadcast message * Broadcast a message to all devices in the collection. This request will always succeed if the collection exists, even if there are one or more send errors. Individual errors are returned as an array of error messages in the response. Use equivalent to resource for devices to send a message to single device. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @return ApiBroadcastMessageRequest

func (*CollectionsApiService) BroadcastMessageExecute added in v4.1.8

* Execute executes the request * @return MultiSendMessageResponse

func (*CollectionsApiService) CreateCollection added in v4.1.8

* CreateCollection Create collection * The returned collection is the collection stored in the backend. Defaults have been set. There are no required fields in a collection * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCreateCollectionRequest

func (*CollectionsApiService) CreateCollectionExecute added in v4.1.8

* Execute executes the request * @return Collection

func (*CollectionsApiService) DeleteCollection added in v4.1.8

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

* DeleteCollection Delete collection * You must have write access to the 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 you want to delete * @return ApiDeleteCollectionRequest

func (*CollectionsApiService) DeleteCollectionExecute added in v4.1.8

* Execute executes the request * @return Collection

func (*CollectionsApiService) ListCollectionData added in v4.1.8

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

* ListCollectionData Get payloads * List the data received from all the devices 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 requested. This is included in the request path. * @return ApiListCollectionDataRequest

func (*CollectionsApiService) ListCollectionDataExecute added in v4.1.8

* Execute executes the request * @return ListDataResponse

func (*CollectionsApiService) ListCollections added in v4.1.8

* ListCollections List collections * Lists all the collections that one of your teams owns. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListCollectionsRequest

func (*CollectionsApiService) ListCollectionsExecute added in v4.1.8

* Execute executes the request * @return ListCollectionResponse

func (*CollectionsApiService) RetrieveCollection added in v4.1.8

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

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

func (*CollectionsApiService) RetrieveCollectionExecute added in v4.1.8

* Execute executes the request * @return Collection

func (*CollectionsApiService) UpdateCollection added in v4.1.8

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

* UpdateCollection Update collection * You must have write access to the collection, ie. you must administer it * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The ID of the collection. This is assigned by the backend. * @return ApiUpdateCollectionRequest

func (*CollectionsApiService) UpdateCollectionExecute added in v4.1.8

* 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 CreateFirmwareRequest

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

CreateFirmwareRequest struct for CreateFirmwareRequest

func NewCreateFirmwareRequest

func NewCreateFirmwareRequest() *CreateFirmwareRequest

NewCreateFirmwareRequest instantiates a new CreateFirmwareRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateFirmwareRequestWithDefaults

func NewCreateFirmwareRequestWithDefaults() *CreateFirmwareRequest

NewCreateFirmwareRequestWithDefaults instantiates a new CreateFirmwareRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateFirmwareRequest) GetCollectionId

func (o *CreateFirmwareRequest) GetCollectionId() string

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

func (*CreateFirmwareRequest) GetCollectionIdOk

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

func (o *CreateFirmwareRequest) GetFilename() string

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

func (*CreateFirmwareRequest) GetFilenameOk

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

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

func (*CreateFirmwareRequest) GetImage

func (o *CreateFirmwareRequest) GetImage() string

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

func (*CreateFirmwareRequest) GetImageOk

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

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

func (*CreateFirmwareRequest) GetTags

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

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

func (*CreateFirmwareRequest) GetTagsOk

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

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

func (*CreateFirmwareRequest) GetVersion

func (o *CreateFirmwareRequest) GetVersion() string

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

func (*CreateFirmwareRequest) GetVersionOk

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

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

func (*CreateFirmwareRequest) HasCollectionId

func (o *CreateFirmwareRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*CreateFirmwareRequest) HasFilename

func (o *CreateFirmwareRequest) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*CreateFirmwareRequest) HasImage

func (o *CreateFirmwareRequest) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*CreateFirmwareRequest) HasTags

func (o *CreateFirmwareRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateFirmwareRequest) HasVersion

func (o *CreateFirmwareRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CreateFirmwareRequest) MarshalJSON

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

func (*CreateFirmwareRequest) SetCollectionId

func (o *CreateFirmwareRequest) SetCollectionId(v string)

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

func (*CreateFirmwareRequest) SetFilename

func (o *CreateFirmwareRequest) SetFilename(v string)

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

func (*CreateFirmwareRequest) SetImage

func (o *CreateFirmwareRequest) SetImage(v string)

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

func (*CreateFirmwareRequest) SetTags

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

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

func (*CreateFirmwareRequest) SetVersion

func (o *CreateFirmwareRequest) SetVersion(v string)

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

type DataDumpRequest

type DataDumpRequest struct {
	Comment *string `json:"comment,omitempty"`
}

DataDumpRequest struct for DataDumpRequest

func NewDataDumpRequest

func NewDataDumpRequest() *DataDumpRequest

NewDataDumpRequest instantiates a new DataDumpRequest 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 NewDataDumpRequestWithDefaults

func NewDataDumpRequestWithDefaults() *DataDumpRequest

NewDataDumpRequestWithDefaults instantiates a new DataDumpRequest 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 (*DataDumpRequest) GetComment

func (o *DataDumpRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*DataDumpRequest) GetCommentOk

func (o *DataDumpRequest) GetCommentOk() (*string, bool)

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

func (*DataDumpRequest) HasComment

func (o *DataDumpRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (DataDumpRequest) MarshalJSON

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

func (*DataDumpRequest) SetComment

func (o *DataDumpRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

type DataDumpResponse

type DataDumpResponse struct {
	Collections *[]DumpedCollection `json:"collections,omitempty"`
}

DataDumpResponse struct for DataDumpResponse

func NewDataDumpResponse

func NewDataDumpResponse() *DataDumpResponse

NewDataDumpResponse instantiates a new DataDumpResponse 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 NewDataDumpResponseWithDefaults

func NewDataDumpResponseWithDefaults() *DataDumpResponse

NewDataDumpResponseWithDefaults instantiates a new DataDumpResponse 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 (*DataDumpResponse) GetCollections

func (o *DataDumpResponse) GetCollections() []DumpedCollection

GetCollections returns the Collections field value if set, zero value otherwise.

func (*DataDumpResponse) GetCollectionsOk

func (o *DataDumpResponse) GetCollectionsOk() (*[]DumpedCollection, 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 (*DataDumpResponse) HasCollections

func (o *DataDumpResponse) HasCollections() bool

HasCollections returns a boolean if a field has been set.

func (DataDumpResponse) MarshalJSON

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

func (*DataDumpResponse) SetCollections

func (o *DataDumpResponse) SetCollections(v []DumpedCollection)

SetCollections gets a reference to the given []DumpedCollection and assigns it to the Collections field.

type DatadumpApiService

type DatadumpApiService service

DatadumpApiService DatadumpApi service

func (*DatadumpApiService) DataDump added in v4.1.8

* DataDump Data dump * Do a complete data dump of your data, devices, outputs and collections. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDataDumpRequest

func (*DatadumpApiService) DataDumpExecute added in v4.1.8

* Execute executes the request * @return DataDumpResponse

type Device

type Device struct {
	// The device ID is assigned by the backend.
	DeviceId     *string `json:"deviceId,omitempty"`
	CollectionId *string `json:"collectionId,omitempty"`
	// The IMSI is the unique ID for the (e|nu|whatever)SIM card on your device. This is the primary identifier for your device on the network.
	Imsi *string `json:"imsi,omitempty"`
	// The IMEI number is the unique ID for your hardware as seen by the network. Obviously you might have a completely different view on things.
	Imei *string `json:"imei,omitempty"`
	// Tags are metadata for the device that you can set. These are just strings.
	Tags     *map[string]string `json:"tags,omitempty"`
	Network  *NetworkMetadata   `json:"network,omitempty"`
	Firmware *FirmwareMetadata  `json:"firmware,omitempty"`
}

Device struct for 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) GetDeviceId

func (o *Device) GetDeviceId() string

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

func (*Device) GetDeviceIdOk

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

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

func (*Device) GetFirmware

func (o *Device) GetFirmware() FirmwareMetadata

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

func (*Device) GetFirmwareOk

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

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

func (*Device) GetImei

func (o *Device) GetImei() string

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

func (*Device) GetImeiOk

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

func (o *Device) GetImsi() string

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

func (*Device) GetImsiOk

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

func (o *Device) GetNetwork() NetworkMetadata

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

func (*Device) GetNetworkOk

func (o *Device) GetNetworkOk() (*NetworkMetadata, 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 (*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) HasDeviceId

func (o *Device) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*Device) HasFirmware

func (o *Device) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*Device) HasImei

func (o *Device) HasImei() bool

HasImei returns a boolean if a field has been set.

func (*Device) HasImsi

func (o *Device) HasImsi() bool

HasImsi returns a boolean if a field has been set.

func (*Device) HasNetwork

func (o *Device) HasNetwork() bool

HasNetwork 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) SetDeviceId

func (o *Device) SetDeviceId(v string)

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

func (*Device) SetFirmware

func (o *Device) SetFirmware(v FirmwareMetadata)

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

func (*Device) SetImei

func (o *Device) SetImei(v string)

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

func (*Device) SetImsi

func (o *Device) SetImsi(v string)

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

func (*Device) SetNetwork

func (o *Device) SetNetwork(v NetworkMetadata)

SetNetwork gets a reference to the given NetworkMetadata and assigns it to the Network 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.

type DevicesApiService

type DevicesApiService service

DevicesApiService DevicesApi service

func (*DevicesApiService) CreateDevice added in v4.1.8

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

* CreateDevice Create device * Create a new device. This will add a device to the collection. You must have write access to the collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId This is the containing collection * @return ApiCreateDeviceRequest

func (*DevicesApiService) CreateDeviceExecute added in v4.1.8

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

* Execute executes the request * @return Device

func (*DevicesApiService) DeleteDevice added in v4.1.8

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

* DeleteDevice Remove device * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param deviceId * @return ApiDeleteDeviceRequest

func (*DevicesApiService) DeleteDeviceExecute added in v4.1.8

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

* Execute executes the request * @return Device

func (*DevicesApiService) ListDeviceData added in v4.1.8

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

* ListDeviceData Get payloads * List the data received from the device. Use the query parameters to control what data you retrieve. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection ID. This is included in the request path. * @param deviceId The device ID. This is included in the request path. * @return ApiListDeviceDataRequest

func (*DevicesApiService) ListDeviceDataExecute added in v4.1.8

* Execute executes the request * @return ListDataResponse

func (*DevicesApiService) ListDevices added in v4.1.8

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

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

func (*DevicesApiService) ListDevicesExecute added in v4.1.8

* Execute executes the request * @return ListDevicesResponse

func (*DevicesApiService) RetrieveDevice added in v4.1.8

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

* RetrieveDevice Retrieve device * Retrieve a single device * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param deviceId * @return ApiRetrieveDeviceRequest

func (*DevicesApiService) RetrieveDeviceExecute added in v4.1.8

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

* Execute executes the request * @return Device

func (*DevicesApiService) SendMessage added in v4.1.8

func (a *DevicesApiService) SendMessage(ctx _context.Context, collectionId string, deviceId string) ApiSendMessageRequest

* SendMessage Send message * Send a message to the device * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param deviceId * @return ApiSendMessageRequest

func (*DevicesApiService) SendMessageExecute added in v4.1.8

* Execute executes the request * @return SendMessageResponse

func (*DevicesApiService) UpdateDevice added in v4.1.8

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

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

func (*DevicesApiService) UpdateDeviceExecute added in v4.1.8

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

* Execute executes the request * @return Device

type DumpedCollection

type DumpedCollection struct {
	Collection *Collection     `json:"collection,omitempty"`
	Devices    *[]DumpedDevice `json:"devices,omitempty"`
	Outputs    *[]Output       `json:"outputs,omitempty"`
}

DumpedCollection struct for DumpedCollection

func NewDumpedCollection

func NewDumpedCollection() *DumpedCollection

NewDumpedCollection instantiates a new DumpedCollection 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 NewDumpedCollectionWithDefaults

func NewDumpedCollectionWithDefaults() *DumpedCollection

NewDumpedCollectionWithDefaults instantiates a new DumpedCollection 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 (*DumpedCollection) GetCollection

func (o *DumpedCollection) GetCollection() Collection

GetCollection returns the Collection field value if set, zero value otherwise.

func (*DumpedCollection) GetCollectionOk

func (o *DumpedCollection) GetCollectionOk() (*Collection, bool)

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

func (*DumpedCollection) GetDevices

func (o *DumpedCollection) GetDevices() []DumpedDevice

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

func (*DumpedCollection) GetDevicesOk

func (o *DumpedCollection) GetDevicesOk() (*[]DumpedDevice, 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 (*DumpedCollection) GetOutputs

func (o *DumpedCollection) GetOutputs() []Output

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

func (*DumpedCollection) GetOutputsOk

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

func (o *DumpedCollection) HasCollection() bool

HasCollection returns a boolean if a field has been set.

func (*DumpedCollection) HasDevices

func (o *DumpedCollection) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*DumpedCollection) HasOutputs

func (o *DumpedCollection) HasOutputs() bool

HasOutputs returns a boolean if a field has been set.

func (DumpedCollection) MarshalJSON

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

func (*DumpedCollection) SetCollection

func (o *DumpedCollection) SetCollection(v Collection)

SetCollection gets a reference to the given Collection and assigns it to the Collection field.

func (*DumpedCollection) SetDevices

func (o *DumpedCollection) SetDevices(v []DumpedDevice)

SetDevices gets a reference to the given []DumpedDevice and assigns it to the Devices field.

func (*DumpedCollection) SetOutputs

func (o *DumpedCollection) SetOutputs(v []Output)

SetOutputs gets a reference to the given []Output and assigns it to the Outputs field.

type DumpedDevice

type DumpedDevice struct {
	Device *Device `json:"device,omitempty"`
}

DumpedDevice struct for DumpedDevice

func NewDumpedDevice

func NewDumpedDevice() *DumpedDevice

NewDumpedDevice instantiates a new DumpedDevice 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 NewDumpedDeviceWithDefaults

func NewDumpedDeviceWithDefaults() *DumpedDevice

NewDumpedDeviceWithDefaults instantiates a new DumpedDevice 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 (*DumpedDevice) GetDevice

func (o *DumpedDevice) GetDevice() Device

GetDevice returns the Device field value if set, zero value otherwise.

func (*DumpedDevice) GetDeviceOk

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

func (o *DumpedDevice) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (DumpedDevice) MarshalJSON

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

func (*DumpedDevice) SetDevice

func (o *DumpedDevice) SetDevice(v Device)

SetDevice gets a reference to the given Device and assigns it to the Device field.

type FieldMask

type FieldMask struct {
	Imsi     *bool `json:"imsi,omitempty"`
	Imei     *bool `json:"imei,omitempty"`
	Msisdn   *bool `json:"msisdn,omitempty"`
	Location *bool `json:"location,omitempty"`
}

FieldMask struct for FieldMask

func NewFieldMask

func NewFieldMask() *FieldMask

NewFieldMask instantiates a new FieldMask 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 NewFieldMaskWithDefaults

func NewFieldMaskWithDefaults() *FieldMask

NewFieldMaskWithDefaults instantiates a new FieldMask 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 (*FieldMask) GetImei

func (o *FieldMask) GetImei() bool

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

func (*FieldMask) GetImeiOk

func (o *FieldMask) GetImeiOk() (*bool, 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 (*FieldMask) GetImsi

func (o *FieldMask) GetImsi() bool

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

func (*FieldMask) GetImsiOk

func (o *FieldMask) GetImsiOk() (*bool, 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 (*FieldMask) GetLocation

func (o *FieldMask) GetLocation() bool

GetLocation returns the Location field value if set, zero value otherwise.

func (*FieldMask) GetLocationOk

func (o *FieldMask) GetLocationOk() (*bool, bool)

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

func (*FieldMask) GetMsisdn

func (o *FieldMask) GetMsisdn() bool

GetMsisdn returns the Msisdn field value if set, zero value otherwise.

func (*FieldMask) GetMsisdnOk

func (o *FieldMask) GetMsisdnOk() (*bool, bool)

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

func (*FieldMask) HasImei

func (o *FieldMask) HasImei() bool

HasImei returns a boolean if a field has been set.

func (*FieldMask) HasImsi

func (o *FieldMask) HasImsi() bool

HasImsi returns a boolean if a field has been set.

func (*FieldMask) HasLocation

func (o *FieldMask) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*FieldMask) HasMsisdn

func (o *FieldMask) HasMsisdn() bool

HasMsisdn returns a boolean if a field has been set.

func (FieldMask) MarshalJSON

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

func (*FieldMask) SetImei

func (o *FieldMask) SetImei(v bool)

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

func (*FieldMask) SetImsi

func (o *FieldMask) SetImsi(v bool)

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

func (*FieldMask) SetLocation

func (o *FieldMask) SetLocation(v bool)

SetLocation gets a reference to the given bool and assigns it to the Location field.

func (*FieldMask) SetMsisdn

func (o *FieldMask) SetMsisdn(v bool)

SetMsisdn gets a reference to the given bool and assigns it to the Msisdn field.

type Firmware

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

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

func NewFirmware

func NewFirmware() *Firmware

NewFirmware instantiates a new Firmware object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFirmwareWithDefaults

func NewFirmwareWithDefaults() *Firmware

NewFirmwareWithDefaults instantiates a new Firmware object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Firmware) GetCollectionId

func (o *Firmware) GetCollectionId() string

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

func (*Firmware) GetCollectionIdOk

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

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

func (*Firmware) GetCreated

func (o *Firmware) GetCreated() string

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

func (*Firmware) GetCreatedOk

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

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

func (*Firmware) GetFilename

func (o *Firmware) GetFilename() string

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

func (*Firmware) GetFilenameOk

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

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

func (*Firmware) GetImageId

func (o *Firmware) GetImageId() string

GetImageId returns the ImageId field value if set, zero value otherwise.

func (*Firmware) GetImageIdOk

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

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

func (*Firmware) GetLength

func (o *Firmware) GetLength() int32

GetLength returns the Length field value if set, zero value otherwise.

func (*Firmware) GetLengthOk

func (o *Firmware) GetLengthOk() (*int32, bool)

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

func (*Firmware) GetSha256

func (o *Firmware) GetSha256() string

GetSha256 returns the Sha256 field value if set, zero value otherwise.

func (*Firmware) GetSha256Ok

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

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

func (*Firmware) GetTags

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

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

func (*Firmware) GetTagsOk

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

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

func (*Firmware) GetVersion

func (o *Firmware) GetVersion() string

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

func (*Firmware) GetVersionOk

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

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

func (*Firmware) HasCollectionId

func (o *Firmware) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Firmware) HasCreated

func (o *Firmware) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Firmware) HasFilename

func (o *Firmware) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*Firmware) HasImageId

func (o *Firmware) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*Firmware) HasLength

func (o *Firmware) HasLength() bool

HasLength returns a boolean if a field has been set.

func (*Firmware) HasSha256

func (o *Firmware) HasSha256() bool

HasSha256 returns a boolean if a field has been set.

func (*Firmware) HasTags

func (o *Firmware) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Firmware) HasVersion

func (o *Firmware) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Firmware) MarshalJSON

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

func (*Firmware) SetCollectionId

func (o *Firmware) SetCollectionId(v string)

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

func (*Firmware) SetCreated

func (o *Firmware) SetCreated(v string)

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

func (*Firmware) SetFilename

func (o *Firmware) SetFilename(v string)

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

func (*Firmware) SetImageId

func (o *Firmware) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (*Firmware) SetLength

func (o *Firmware) SetLength(v int32)

SetLength gets a reference to the given int32 and assigns it to the Length field.

func (*Firmware) SetSha256

func (o *Firmware) SetSha256(v string)

SetSha256 gets a reference to the given string and assigns it to the Sha256 field.

func (*Firmware) SetTags

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

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

func (*Firmware) SetVersion

func (o *Firmware) SetVersion(v string)

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

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 of the firmware.
	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.

type FirmwareUsageResponse

type FirmwareUsageResponse struct {
	ImageId  *string   `json:"imageId,omitempty"`
	Targeted *[]string `json:"targeted,omitempty"`
	Current  *[]string `json:"current,omitempty"`
}

FirmwareUsageResponse struct for FirmwareUsageResponse

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.

type FotaApiService

type FotaApiService service

FotaApiService FotaApi service

func (*FotaApiService) ClearFirmwareError added in v4.1.8

func (a *FotaApiService) ClearFirmwareError(ctx _context.Context, collectionId string, deviceId string) ApiClearFirmwareErrorRequest

* ClearFirmwareError Clear FOTA error * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param deviceId * @return ApiClearFirmwareErrorRequest

func (*FotaApiService) ClearFirmwareErrorExecute added in v4.1.8

* Execute executes the request * @return ClearFirmwareErrorResponse

func (*FotaApiService) CreateFirmware added in v4.1.8

func (a *FotaApiService) CreateFirmware(ctx _context.Context, collectionId string) ApiCreateFirmwareRequest

* CreateFirmware Create firmware * Create a new firmware image. This is also invoked by the custom HTTP uploader if the POST uses multipart/formdata for the request. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @return ApiCreateFirmwareRequest

func (*FotaApiService) CreateFirmwareExecute added in v4.1.8

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

* Execute executes the request * @return Firmware

func (*FotaApiService) DeleteFirmware added in v4.1.8

func (a *FotaApiService) DeleteFirmware(ctx _context.Context, collectionId string, imageId string) ApiDeleteFirmwareRequest

* DeleteFirmware Delete firmware * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param imageId * @return ApiDeleteFirmwareRequest

func (*FotaApiService) DeleteFirmwareExecute added in v4.1.8

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

* Execute executes the request * @return Firmware

func (*FotaApiService) FirmwareUsage added in v4.1.8

func (a *FotaApiService) FirmwareUsage(ctx _context.Context, collectionId string, imageId string) ApiFirmwareUsageRequest

* FirmwareUsage Firmware usage * Shows the firmware usage for devices in the collection * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param imageId * @return ApiFirmwareUsageRequest

func (*FotaApiService) FirmwareUsageExecute added in v4.1.8

* Execute executes the request * @return FirmwareUsageResponse

func (*FotaApiService) ListFirmware added in v4.1.8

func (a *FotaApiService) ListFirmware(ctx _context.Context, collectionId string) ApiListFirmwareRequest

* ListFirmware List firmware * Lists available firmware images in collection * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @return ApiListFirmwareRequest

func (*FotaApiService) ListFirmwareExecute added in v4.1.8

* Execute executes the request * @return ListFirmwareResponse

func (*FotaApiService) RetrieveFirmware added in v4.1.8

func (a *FotaApiService) RetrieveFirmware(ctx _context.Context, collectionId string, imageId string) ApiRetrieveFirmwareRequest

* RetrieveFirmware Retrieve firmware * Retrieve information on a firmware image * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param imageId * @return ApiRetrieveFirmwareRequest

func (*FotaApiService) RetrieveFirmwareExecute added in v4.1.8

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

* Execute executes the request * @return Firmware

func (*FotaApiService) UpdateFirmware added in v4.1.8

func (a *FotaApiService) UpdateFirmware(ctx _context.Context, collectionId string, imageId string) ApiUpdateFirmwareRequest

* UpdateFirmware Update firmware * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId Collection ID Collection ID for the collection owning the firmware image. * @param imageId Firmware image ID * @return ApiUpdateFirmwareRequest

func (*FotaApiService) UpdateFirmwareExecute added in v4.1.8

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

* Execute executes the request * @return Firmware

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

type ListDataResponse

type ListDataResponse struct {
	Data *[]OutputDataMessage `json:"data,omitempty"`
}

ListDataResponse struct for ListDataResponse

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.

type ListDevicesResponse

type ListDevicesResponse struct {
	Devices *[]Device `json:"devices,omitempty"`
}

ListDevicesResponse struct for ListDevicesResponse

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.

type ListFirmwareResponse

type ListFirmwareResponse struct {
	Images *[]Firmware `json:"images,omitempty"`
}

ListFirmwareResponse struct for ListFirmwareResponse

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.

type ListOutputResponse

type ListOutputResponse struct {
	CollectionId *string   `json:"collectionId,omitempty"`
	Outputs      *[]Output `json:"outputs,omitempty"`
}

ListOutputResponse struct for ListOutputResponse

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.

type MessageSendResult

type MessageSendResult struct {
	DeviceId *string `json:"deviceId,omitempty"`
	Message  *string `json:"message,omitempty"`
}

MessageSendResult struct for MessageSendResult

func NewMessageSendResult

func NewMessageSendResult() *MessageSendResult

NewMessageSendResult instantiates a new MessageSendResult 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 NewMessageSendResultWithDefaults

func NewMessageSendResultWithDefaults() *MessageSendResult

NewMessageSendResultWithDefaults instantiates a new MessageSendResult 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 (*MessageSendResult) GetDeviceId

func (o *MessageSendResult) GetDeviceId() string

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

func (*MessageSendResult) GetDeviceIdOk

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

func (o *MessageSendResult) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*MessageSendResult) GetMessageOk

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

func (o *MessageSendResult) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*MessageSendResult) HasMessage

func (o *MessageSendResult) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (MessageSendResult) MarshalJSON

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

func (*MessageSendResult) SetDeviceId

func (o *MessageSendResult) SetDeviceId(v string)

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

func (*MessageSendResult) SetMessage

func (o *MessageSendResult) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type MultiSendMessageResponse

type MultiSendMessageResponse struct {
	Errors *[]MessageSendResult `json:"errors,omitempty"`
	Sent   *int32               `json:"sent,omitempty"`
	Failed *int32               `json:"failed,omitempty"`
}

MultiSendMessageResponse Broadcast message result. The errors array contains the list of errors ocurred when sending a message.

func NewMultiSendMessageResponse

func NewMultiSendMessageResponse() *MultiSendMessageResponse

NewMultiSendMessageResponse instantiates a new MultiSendMessageResponse 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 NewMultiSendMessageResponseWithDefaults

func NewMultiSendMessageResponseWithDefaults() *MultiSendMessageResponse

NewMultiSendMessageResponseWithDefaults instantiates a new MultiSendMessageResponse 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 (*MultiSendMessageResponse) GetErrors

GetErrors returns the Errors field value if set, zero value otherwise.

func (*MultiSendMessageResponse) GetErrorsOk

func (o *MultiSendMessageResponse) GetErrorsOk() (*[]MessageSendResult, 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 (*MultiSendMessageResponse) GetFailed

func (o *MultiSendMessageResponse) GetFailed() int32

GetFailed returns the Failed field value if set, zero value otherwise.

func (*MultiSendMessageResponse) GetFailedOk

func (o *MultiSendMessageResponse) GetFailedOk() (*int32, bool)

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

func (*MultiSendMessageResponse) GetSent

func (o *MultiSendMessageResponse) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*MultiSendMessageResponse) GetSentOk

func (o *MultiSendMessageResponse) GetSentOk() (*int32, bool)

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

func (*MultiSendMessageResponse) HasErrors

func (o *MultiSendMessageResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*MultiSendMessageResponse) HasFailed

func (o *MultiSendMessageResponse) HasFailed() bool

HasFailed returns a boolean if a field has been set.

func (*MultiSendMessageResponse) HasSent

func (o *MultiSendMessageResponse) HasSent() bool

HasSent returns a boolean if a field has been set.

func (MultiSendMessageResponse) MarshalJSON

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

func (*MultiSendMessageResponse) SetErrors

func (o *MultiSendMessageResponse) SetErrors(v []MessageSendResult)

SetErrors gets a reference to the given []MessageSendResult and assigns it to the Errors field.

func (*MultiSendMessageResponse) SetFailed

func (o *MultiSendMessageResponse) SetFailed(v int32)

SetFailed gets a reference to the given int32 and assigns it to the Failed field.

func (*MultiSendMessageResponse) SetSent

func (o *MultiSendMessageResponse) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

type NetworkMetadata

type NetworkMetadata struct {
	// Allocated IP address.
	AllocatedIp *string `json:"allocatedIp,omitempty"`
	AllocatedAt *string `json:"allocatedAt,omitempty"`
	// Cell ID for device. This might not be set, depending on the provider in use.
	CellId *string `json:"cellId,omitempty"`
}

NetworkMetadata Network metadata for devices.

func NewNetworkMetadata

func NewNetworkMetadata() *NetworkMetadata

NewNetworkMetadata instantiates a new NetworkMetadata 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 NewNetworkMetadataWithDefaults

func NewNetworkMetadataWithDefaults() *NetworkMetadata

NewNetworkMetadataWithDefaults instantiates a new NetworkMetadata 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 (*NetworkMetadata) GetAllocatedAt

func (o *NetworkMetadata) GetAllocatedAt() string

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

func (*NetworkMetadata) GetAllocatedAtOk

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

func (o *NetworkMetadata) GetAllocatedIp() string

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

func (*NetworkMetadata) GetAllocatedIpOk

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

func (o *NetworkMetadata) GetCellId() string

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

func (*NetworkMetadata) GetCellIdOk

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

func (o *NetworkMetadata) HasAllocatedAt() bool

HasAllocatedAt returns a boolean if a field has been set.

func (*NetworkMetadata) HasAllocatedIp

func (o *NetworkMetadata) HasAllocatedIp() bool

HasAllocatedIp returns a boolean if a field has been set.

func (*NetworkMetadata) HasCellId

func (o *NetworkMetadata) HasCellId() bool

HasCellId returns a boolean if a field has been set.

func (NetworkMetadata) MarshalJSON

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

func (*NetworkMetadata) SetAllocatedAt

func (o *NetworkMetadata) SetAllocatedAt(v string)

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

func (*NetworkMetadata) SetAllocatedIp

func (o *NetworkMetadata) SetAllocatedIp(v string)

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

func (*NetworkMetadata) SetCellId

func (o *NetworkMetadata) SetCellId(v string)

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

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 NullableBroadcastMessageRequest

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

func (NullableBroadcastMessageRequest) Get

func (NullableBroadcastMessageRequest) IsSet

func (NullableBroadcastMessageRequest) MarshalJSON

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

func (*NullableBroadcastMessageRequest) Set

func (*NullableBroadcastMessageRequest) UnmarshalJSON

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

func (*NullableBroadcastMessageRequest) 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 NullableCollectionFirmwareFirmwareManagement

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

func (NullableCollectionFirmwareFirmwareManagement) Get

func (NullableCollectionFirmwareFirmwareManagement) IsSet

func (NullableCollectionFirmwareFirmwareManagement) MarshalJSON

func (*NullableCollectionFirmwareFirmwareManagement) Set

func (*NullableCollectionFirmwareFirmwareManagement) UnmarshalJSON

func (*NullableCollectionFirmwareFirmwareManagement) Unset

type NullableCreateFirmwareRequest

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

func (NullableCreateFirmwareRequest) Get

func (NullableCreateFirmwareRequest) IsSet

func (NullableCreateFirmwareRequest) MarshalJSON

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

func (*NullableCreateFirmwareRequest) Set

func (*NullableCreateFirmwareRequest) UnmarshalJSON

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

func (*NullableCreateFirmwareRequest) Unset

func (v *NullableCreateFirmwareRequest) Unset()

type NullableDataDumpRequest

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

func NewNullableDataDumpRequest

func NewNullableDataDumpRequest(val *DataDumpRequest) *NullableDataDumpRequest

func (NullableDataDumpRequest) Get

func (NullableDataDumpRequest) IsSet

func (v NullableDataDumpRequest) IsSet() bool

func (NullableDataDumpRequest) MarshalJSON

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

func (*NullableDataDumpRequest) Set

func (*NullableDataDumpRequest) UnmarshalJSON

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

func (*NullableDataDumpRequest) Unset

func (v *NullableDataDumpRequest) Unset()

type NullableDataDumpResponse

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

func NewNullableDataDumpResponse

func NewNullableDataDumpResponse(val *DataDumpResponse) *NullableDataDumpResponse

func (NullableDataDumpResponse) Get

func (NullableDataDumpResponse) IsSet

func (v NullableDataDumpResponse) IsSet() bool

func (NullableDataDumpResponse) MarshalJSON

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

func (*NullableDataDumpResponse) Set

func (*NullableDataDumpResponse) UnmarshalJSON

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

func (*NullableDataDumpResponse) Unset

func (v *NullableDataDumpResponse) 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 NullableDumpedCollection

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

func NewNullableDumpedCollection

func NewNullableDumpedCollection(val *DumpedCollection) *NullableDumpedCollection

func (NullableDumpedCollection) Get

func (NullableDumpedCollection) IsSet

func (v NullableDumpedCollection) IsSet() bool

func (NullableDumpedCollection) MarshalJSON

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

func (*NullableDumpedCollection) Set

func (*NullableDumpedCollection) UnmarshalJSON

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

func (*NullableDumpedCollection) Unset

func (v *NullableDumpedCollection) Unset()

type NullableDumpedDevice

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

func NewNullableDumpedDevice

func NewNullableDumpedDevice(val *DumpedDevice) *NullableDumpedDevice

func (NullableDumpedDevice) Get

func (NullableDumpedDevice) IsSet

func (v NullableDumpedDevice) IsSet() bool

func (NullableDumpedDevice) MarshalJSON

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

func (*NullableDumpedDevice) Set

func (v *NullableDumpedDevice) Set(val *DumpedDevice)

func (*NullableDumpedDevice) UnmarshalJSON

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

func (*NullableDumpedDevice) Unset

func (v *NullableDumpedDevice) Unset()

type NullableFieldMask

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

func NewNullableFieldMask

func NewNullableFieldMask(val *FieldMask) *NullableFieldMask

func (NullableFieldMask) Get

func (v NullableFieldMask) Get() *FieldMask

func (NullableFieldMask) IsSet

func (v NullableFieldMask) IsSet() bool

func (NullableFieldMask) MarshalJSON

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

func (*NullableFieldMask) Set

func (v *NullableFieldMask) Set(val *FieldMask)

func (*NullableFieldMask) UnmarshalJSON

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

func (*NullableFieldMask) Unset

func (v *NullableFieldMask) 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 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 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 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 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 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 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 NullableMessageSendResult

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

func NewNullableMessageSendResult

func NewNullableMessageSendResult(val *MessageSendResult) *NullableMessageSendResult

func (NullableMessageSendResult) Get

func (NullableMessageSendResult) IsSet

func (v NullableMessageSendResult) IsSet() bool

func (NullableMessageSendResult) MarshalJSON

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

func (*NullableMessageSendResult) Set

func (*NullableMessageSendResult) UnmarshalJSON

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

func (*NullableMessageSendResult) Unset

func (v *NullableMessageSendResult) Unset()

type NullableMultiSendMessageResponse

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

func (NullableMultiSendMessageResponse) Get

func (NullableMultiSendMessageResponse) IsSet

func (NullableMultiSendMessageResponse) MarshalJSON

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

func (*NullableMultiSendMessageResponse) Set

func (*NullableMultiSendMessageResponse) UnmarshalJSON

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

func (*NullableMultiSendMessageResponse) Unset

type NullableNetworkMetadata

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

func NewNullableNetworkMetadata

func NewNullableNetworkMetadata(val *NetworkMetadata) *NullableNetworkMetadata

func (NullableNetworkMetadata) Get

func (NullableNetworkMetadata) IsSet

func (v NullableNetworkMetadata) IsSet() bool

func (NullableNetworkMetadata) MarshalJSON

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

func (*NullableNetworkMetadata) Set

func (*NullableNetworkMetadata) UnmarshalJSON

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

func (*NullableNetworkMetadata) Unset

func (v *NullableNetworkMetadata) 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 NullableOutputDataMessageOutputMessageType

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

func (NullableOutputDataMessageOutputMessageType) Get

func (NullableOutputDataMessageOutputMessageType) IsSet

func (NullableOutputDataMessageOutputMessageType) MarshalJSON

func (*NullableOutputDataMessageOutputMessageType) Set

func (*NullableOutputDataMessageOutputMessageType) UnmarshalJSON

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

func (*NullableOutputDataMessageOutputMessageType) 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 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 NullableProtobufAny

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

func NewNullableProtobufAny

func NewNullableProtobufAny(val *ProtobufAny) *NullableProtobufAny

func (NullableProtobufAny) Get

func (NullableProtobufAny) IsSet

func (v NullableProtobufAny) IsSet() bool

func (NullableProtobufAny) MarshalJSON

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

func (*NullableProtobufAny) Set

func (v *NullableProtobufAny) Set(val *ProtobufAny)

func (*NullableProtobufAny) UnmarshalJSON

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

func (*NullableProtobufAny) Unset

func (v *NullableProtobufAny) 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 NullableSendMessageRequest

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

func NewNullableSendMessageRequest

func NewNullableSendMessageRequest(val *SendMessageRequest) *NullableSendMessageRequest

func (NullableSendMessageRequest) Get

func (NullableSendMessageRequest) IsSet

func (v NullableSendMessageRequest) IsSet() bool

func (NullableSendMessageRequest) MarshalJSON

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

func (*NullableSendMessageRequest) Set

func (*NullableSendMessageRequest) UnmarshalJSON

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

func (*NullableSendMessageRequest) Unset

func (v *NullableSendMessageRequest) Unset()

type NullableSendMessageResponse

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

func NewNullableSendMessageResponse

func NewNullableSendMessageResponse(val *SendMessageResponse) *NullableSendMessageResponse

func (NullableSendMessageResponse) Get

func (NullableSendMessageResponse) IsSet

func (NullableSendMessageResponse) MarshalJSON

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

func (*NullableSendMessageResponse) Set

func (*NullableSendMessageResponse) UnmarshalJSON

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

func (*NullableSendMessageResponse) Unset

func (v *NullableSendMessageResponse) 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 NullableUpdateDeviceRequest

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

func NewNullableUpdateDeviceRequest

func NewNullableUpdateDeviceRequest(val *UpdateDeviceRequest) *NullableUpdateDeviceRequest

func (NullableUpdateDeviceRequest) Get

func (NullableUpdateDeviceRequest) IsSet

func (NullableUpdateDeviceRequest) MarshalJSON

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

func (*NullableUpdateDeviceRequest) Set

func (*NullableUpdateDeviceRequest) UnmarshalJSON

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

func (*NullableUpdateDeviceRequest) Unset

func (v *NullableUpdateDeviceRequest) Unset()

type 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 struct for Output

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.

type OutputConfig

type OutputConfig struct {
	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"`
}

OutputConfig Output configuration.

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

type OutputDataMessage

type OutputDataMessage struct {
	Type    *OutputDataMessageOutputMessageType `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"`
}

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

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

func (*OutputDataMessage) GetTypeOk

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

func (o *OutputDataMessage) HasMessageId() bool

HasMessageId 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) SetMessageId

func (o *OutputDataMessage) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId 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

SetType gets a reference to the given OutputDataMessageOutputMessageType 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.

type OutputDataMessageOutputMessageType

type OutputDataMessageOutputMessageType string

OutputDataMessageOutputMessageType the model 'OutputDataMessageOutputMessageType'

const (
	UNKNOWN   OutputDataMessageOutputMessageType = "unknown"
	KEEPALIVE OutputDataMessageOutputMessageType = "keepalive"
	DATA      OutputDataMessageOutputMessageType = "data"
)

List of OutputDataMessageOutputMessageType

func (OutputDataMessageOutputMessageType) Ptr

Ptr returns reference to OutputDataMessageOutputMessageType value

func (*OutputDataMessageOutputMessageType) UnmarshalJSON

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

type OutputLogEntry

type OutputLogEntry struct {
	Time     *string `json:"time,omitempty"`
	Message  *string `json:"message,omitempty"`
	Repeated *int32  `json:"repeated,omitempty"`
}

OutputLogEntry struct for OutputLogEntry

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.

type OutputLogResponse

type OutputLogResponse struct {
	Logs *[]OutputLogEntry `json:"logs,omitempty"`
}

OutputLogResponse struct for OutputLogResponse

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.

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 struct for OutputStatusResponse

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.

type OutputType

type OutputType string

OutputType the model 'OutputType'

const (
	UNDEFINED OutputType = "undefined"
	WEBHOOK   OutputType = "webhook"
	UDP       OutputType = "udp"
	MQTT      OutputType = "mqtt"
	IFTTT     OutputType = "ifttt"
)

List of OutputType

func (OutputType) Ptr

func (v OutputType) Ptr() *OutputType

Ptr returns reference to OutputType value

func (*OutputType) UnmarshalJSON

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

type OutputsApiService

type OutputsApiService service

OutputsApiService OutputsApi service

func (*OutputsApiService) CreateOutput added in v4.1.8

func (a *OutputsApiService) CreateOutput(ctx _context.Context, collectionId string) ApiCreateOutputRequest

* CreateOutput Create output * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @return ApiCreateOutputRequest

func (*OutputsApiService) CreateOutputExecute added in v4.1.8

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

* Execute executes the request * @return Output

func (*OutputsApiService) DeleteOutput added in v4.1.8

func (a *OutputsApiService) DeleteOutput(ctx _context.Context, collectionId string, outputId string) ApiDeleteOutputRequest

* DeleteOutput Delete output * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param outputId * @return ApiDeleteOutputRequest

func (*OutputsApiService) DeleteOutputExecute added in v4.1.8

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

* Execute executes the request * @return Output

func (*OutputsApiService) ListOutputs added in v4.1.8

func (a *OutputsApiService) ListOutputs(ctx _context.Context, collectionId string) ApiListOutputsRequest

* ListOutputs List outputs * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @return ApiListOutputsRequest

func (*OutputsApiService) ListOutputsExecute added in v4.1.8

* Execute executes the request * @return ListOutputResponse

func (*OutputsApiService) Logs added in v4.1.8

func (a *OutputsApiService) Logs(ctx _context.Context, collectionId string, outputId string) ApiLogsRequest

* Logs Output logs * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param outputId * @return ApiLogsRequest

func (*OutputsApiService) LogsExecute added in v4.1.8

* Execute executes the request * @return OutputLogResponse

func (*OutputsApiService) RetrieveOutput added in v4.1.8

func (a *OutputsApiService) RetrieveOutput(ctx _context.Context, collectionId string, outputId string) ApiRetrieveOutputRequest

* RetrieveOutput Retrieve output * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param outputId * @return ApiRetrieveOutputRequest

func (*OutputsApiService) RetrieveOutputExecute added in v4.1.8

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

* Execute executes the request * @return Output

func (*OutputsApiService) Status added in v4.1.8

func (a *OutputsApiService) Status(ctx _context.Context, collectionId string, outputId string) ApiStatusRequest

* Status Output status * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param outputId * @return ApiStatusRequest

func (*OutputsApiService) StatusExecute added in v4.1.8

* Execute executes the request * @return OutputStatusResponse

func (*OutputsApiService) UpdateOutput added in v4.1.8

func (a *OutputsApiService) UpdateOutput(ctx _context.Context, collectionId string, outputId string) ApiUpdateOutputRequest

* UpdateOutput Update output * Running outputs will be restarted if required. Note that the collection ID can't be changed on an existing output. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId * @param outputId * @return ApiUpdateOutputRequest

func (*OutputsApiService) UpdateOutputExecute added in v4.1.8

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

* Execute executes the request * @return Output

type ProtobufAny

type ProtobufAny struct {
	TypeUrl *string `json:"typeUrl,omitempty"`
	Value   *string `json:"value,omitempty"`
}

ProtobufAny struct for ProtobufAny

func NewProtobufAny

func NewProtobufAny() *ProtobufAny

NewProtobufAny instantiates a new ProtobufAny 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 NewProtobufAnyWithDefaults

func NewProtobufAnyWithDefaults() *ProtobufAny

NewProtobufAnyWithDefaults instantiates a new ProtobufAny 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 (*ProtobufAny) GetTypeUrl

func (o *ProtobufAny) GetTypeUrl() string

GetTypeUrl returns the TypeUrl field value if set, zero value otherwise.

func (*ProtobufAny) GetTypeUrlOk

func (o *ProtobufAny) GetTypeUrlOk() (*string, bool)

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

func (*ProtobufAny) GetValue

func (o *ProtobufAny) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*ProtobufAny) GetValueOk

func (o *ProtobufAny) GetValueOk() (*string, bool)

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

func (*ProtobufAny) HasTypeUrl

func (o *ProtobufAny) HasTypeUrl() bool

HasTypeUrl returns a boolean if a field has been set.

func (*ProtobufAny) HasValue

func (o *ProtobufAny) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ProtobufAny) MarshalJSON

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

func (*ProtobufAny) SetTypeUrl

func (o *ProtobufAny) SetTypeUrl(v string)

SetTypeUrl gets a reference to the given string and assigns it to the TypeUrl field.

func (*ProtobufAny) SetValue

func (o *ProtobufAny) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

type RpcStatus

type RpcStatus struct {
	Code    *int32         `json:"code,omitempty"`
	Message *string        `json:"message,omitempty"`
	Details *[]ProtobufAny `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() []ProtobufAny

GetDetails returns the Details field value if set, zero value otherwise.

func (*RpcStatus) GetDetailsOk

func (o *RpcStatus) GetDetailsOk() (*[]ProtobufAny, 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 []ProtobufAny)

SetDetails gets a reference to the given []ProtobufAny 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.

type SendMessageRequest

type SendMessageRequest struct {
	CollectionId *string `json:"collectionId,omitempty"`
	DeviceId     *string `json:"deviceId,omitempty"`
	Port         *int32  `json:"port,omitempty"`
	Payload      *string `json:"payload,omitempty"`
	// Valid transports are \"udp\", \"coap\", \"coap-pull\", \"udp-pull\", \"coap-push\", \"udp-push\". \"udp\" is equivalent to \"udp-push\" and \"coap\" is equivalent to \"coap-push\". Push messages are sent unsolicited to the device wheil pull messages are sent whenever the device wither sends data upstream (for UDP) or does a CoAP request to the CoAP service in span.
	Transport *string `json:"transport,omitempty"`
	CoapPath  *string `json:"coapPath,omitempty"`
}

SendMessageRequest struct for SendMessageRequest

func NewSendMessageRequest

func NewSendMessageRequest() *SendMessageRequest

NewSendMessageRequest instantiates a new SendMessageRequest 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 NewSendMessageRequestWithDefaults

func NewSendMessageRequestWithDefaults() *SendMessageRequest

NewSendMessageRequestWithDefaults instantiates a new SendMessageRequest 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 (*SendMessageRequest) GetCoapPath

func (o *SendMessageRequest) GetCoapPath() string

GetCoapPath returns the CoapPath field value if set, zero value otherwise.

func (*SendMessageRequest) GetCoapPathOk

func (o *SendMessageRequest) GetCoapPathOk() (*string, bool)

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

func (*SendMessageRequest) GetCollectionId

func (o *SendMessageRequest) GetCollectionId() string

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

func (*SendMessageRequest) GetCollectionIdOk

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

func (o *SendMessageRequest) GetDeviceId() string

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

func (*SendMessageRequest) GetDeviceIdOk

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

func (o *SendMessageRequest) GetPayload() string

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

func (*SendMessageRequest) GetPayloadOk

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

func (o *SendMessageRequest) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*SendMessageRequest) GetPortOk

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

func (o *SendMessageRequest) GetTransport() string

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

func (*SendMessageRequest) GetTransportOk

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

func (o *SendMessageRequest) HasCoapPath() bool

HasCoapPath returns a boolean if a field has been set.

func (*SendMessageRequest) HasCollectionId

func (o *SendMessageRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*SendMessageRequest) HasDeviceId

func (o *SendMessageRequest) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*SendMessageRequest) HasPayload

func (o *SendMessageRequest) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*SendMessageRequest) HasPort

func (o *SendMessageRequest) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*SendMessageRequest) HasTransport

func (o *SendMessageRequest) HasTransport() bool

HasTransport returns a boolean if a field has been set.

func (SendMessageRequest) MarshalJSON

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

func (*SendMessageRequest) SetCoapPath

func (o *SendMessageRequest) SetCoapPath(v string)

SetCoapPath gets a reference to the given string and assigns it to the CoapPath field.

func (*SendMessageRequest) SetCollectionId

func (o *SendMessageRequest) SetCollectionId(v string)

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

func (*SendMessageRequest) SetDeviceId

func (o *SendMessageRequest) SetDeviceId(v string)

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

func (*SendMessageRequest) SetPayload

func (o *SendMessageRequest) SetPayload(v string)

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

func (*SendMessageRequest) SetPort

func (o *SendMessageRequest) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*SendMessageRequest) SetTransport

func (o *SendMessageRequest) SetTransport(v string)

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

type SendMessageResponse

type SendMessageResponse struct {
	CollectionId *string `json:"collectionId,omitempty"`
	DeviceId     *string `json:"deviceId,omitempty"`
	BytesSent    *int32  `json:"bytesSent,omitempty"`
}

SendMessageResponse struct for SendMessageResponse

func NewSendMessageResponse

func NewSendMessageResponse() *SendMessageResponse

NewSendMessageResponse instantiates a new SendMessageResponse 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 NewSendMessageResponseWithDefaults

func NewSendMessageResponseWithDefaults() *SendMessageResponse

NewSendMessageResponseWithDefaults instantiates a new SendMessageResponse 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 (*SendMessageResponse) GetBytesSent

func (o *SendMessageResponse) GetBytesSent() int32

GetBytesSent returns the BytesSent field value if set, zero value otherwise.

func (*SendMessageResponse) GetBytesSentOk

func (o *SendMessageResponse) GetBytesSentOk() (*int32, bool)

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

func (*SendMessageResponse) GetCollectionId

func (o *SendMessageResponse) GetCollectionId() string

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

func (*SendMessageResponse) GetCollectionIdOk

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

func (o *SendMessageResponse) GetDeviceId() string

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

func (*SendMessageResponse) GetDeviceIdOk

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

func (o *SendMessageResponse) HasBytesSent() bool

HasBytesSent returns a boolean if a field has been set.

func (*SendMessageResponse) HasCollectionId

func (o *SendMessageResponse) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*SendMessageResponse) HasDeviceId

func (o *SendMessageResponse) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (SendMessageResponse) MarshalJSON

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

func (*SendMessageResponse) SetBytesSent

func (o *SendMessageResponse) SetBytesSent(v int32)

SetBytesSent gets a reference to the given int32 and assigns it to the BytesSent field.

func (*SendMessageResponse) SetCollectionId

func (o *SendMessageResponse) SetCollectionId(v string)

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

func (*SendMessageResponse) SetDeviceId

func (o *SendMessageResponse) SetDeviceId(v string)

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

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 SystemApiService

type SystemApiService service

SystemApiService SystemApi service

func (*SystemApiService) GetSystemInfo added in v4.1.8

* GetSystemInfo System information * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetSystemInfoRequest

func (*SystemApiService) GetSystemInfoExecute added in v4.1.8

* Execute executes the request * @return SystemInfoResponse

type SystemInfoResponse

type SystemInfoResponse struct {
	Version          *string    `json:"version,omitempty"`
	BuildDate        *string    `json:"buildDate,omitempty"`
	ReleaseName      *string    `json:"releaseName,omitempty"`
	DefaultFieldMask *FieldMask `json:"defaultFieldMask,omitempty"`
	ForcedFieldMask  *FieldMask `json:"forcedFieldMask,omitempty"`
}

SystemInfoResponse struct for SystemInfoResponse

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

func (o *SystemInfoResponse) GetDefaultFieldMask() FieldMask

GetDefaultFieldMask returns the DefaultFieldMask field value if set, zero value otherwise.

func (*SystemInfoResponse) GetDefaultFieldMaskOk

func (o *SystemInfoResponse) GetDefaultFieldMaskOk() (*FieldMask, bool)

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

func (*SystemInfoResponse) GetForcedFieldMask

func (o *SystemInfoResponse) GetForcedFieldMask() FieldMask

GetForcedFieldMask returns the ForcedFieldMask field value if set, zero value otherwise.

func (*SystemInfoResponse) GetForcedFieldMaskOk

func (o *SystemInfoResponse) GetForcedFieldMaskOk() (*FieldMask, bool)

GetForcedFieldMaskOk returns a tuple with the ForcedFieldMask 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) HasDefaultFieldMask

func (o *SystemInfoResponse) HasDefaultFieldMask() bool

HasDefaultFieldMask returns a boolean if a field has been set.

func (*SystemInfoResponse) HasForcedFieldMask

func (o *SystemInfoResponse) HasForcedFieldMask() bool

HasForcedFieldMask 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) SetDefaultFieldMask

func (o *SystemInfoResponse) SetDefaultFieldMask(v FieldMask)

SetDefaultFieldMask gets a reference to the given FieldMask and assigns it to the DefaultFieldMask field.

func (*SystemInfoResponse) SetForcedFieldMask

func (o *SystemInfoResponse) SetForcedFieldMask(v FieldMask)

SetForcedFieldMask gets a reference to the given FieldMask and assigns it to the ForcedFieldMask 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.

type UDPMetadata

type UDPMetadata struct {
	LocalPort  *int32 `json:"localPort,omitempty"`
	RemotePort *int32 `json:"remotePort,omitempty"`
}

UDPMetadata struct for UDPMetadata

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.

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	ExistingCollectionId *string `json:"existingCollectionId,omitempty"`
	DeviceId             *string `json:"deviceId,omitempty"`
	// 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"`
	// The IMSI is the unique ID for the (e|nu|whatever)SIM card on your device. This is the primary identifier for your device on the network.
	Imsi *string `json:"imsi,omitempty"`
	// The IMEI number is the unique ID for your hardware as seen by the network. Obviously you might have a completely different view on things.
	Imei *string `json:"imei,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"`
}

UpdateDeviceRequest struct for UpdateDeviceRequest

func NewUpdateDeviceRequest

func NewUpdateDeviceRequest() *UpdateDeviceRequest

NewUpdateDeviceRequest instantiates a new UpdateDeviceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateDeviceRequestWithDefaults

func NewUpdateDeviceRequestWithDefaults() *UpdateDeviceRequest

NewUpdateDeviceRequestWithDefaults instantiates a new UpdateDeviceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateDeviceRequest) GetCollectionId

func (o *UpdateDeviceRequest) GetCollectionId() string

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

func (*UpdateDeviceRequest) GetCollectionIdOk

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

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

func (*UpdateDeviceRequest) GetDeviceId

func (o *UpdateDeviceRequest) GetDeviceId() string

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

func (*UpdateDeviceRequest) GetDeviceIdOk

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

func (o *UpdateDeviceRequest) GetExistingCollectionId() string

GetExistingCollectionId returns the ExistingCollectionId field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetExistingCollectionIdOk

func (o *UpdateDeviceRequest) GetExistingCollectionIdOk() (*string, bool)

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

func (*UpdateDeviceRequest) GetFirmware

func (o *UpdateDeviceRequest) GetFirmware() FirmwareMetadata

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

func (*UpdateDeviceRequest) GetFirmwareOk

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

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

func (*UpdateDeviceRequest) GetImei

func (o *UpdateDeviceRequest) GetImei() string

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

func (*UpdateDeviceRequest) GetImeiOk

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

func (o *UpdateDeviceRequest) GetImsi() string

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

func (*UpdateDeviceRequest) GetImsiOk

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

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

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

func (*UpdateDeviceRequest) GetTagsOk

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

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

func (*UpdateDeviceRequest) HasCollectionId

func (o *UpdateDeviceRequest) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasDeviceId

func (o *UpdateDeviceRequest) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasExistingCollectionId

func (o *UpdateDeviceRequest) HasExistingCollectionId() bool

HasExistingCollectionId returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasFirmware

func (o *UpdateDeviceRequest) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasImei

func (o *UpdateDeviceRequest) HasImei() bool

HasImei returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasImsi

func (o *UpdateDeviceRequest) HasImsi() bool

HasImsi returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasTags

func (o *UpdateDeviceRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (UpdateDeviceRequest) MarshalJSON

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

func (*UpdateDeviceRequest) SetCollectionId

func (o *UpdateDeviceRequest) SetCollectionId(v string)

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

func (*UpdateDeviceRequest) SetDeviceId

func (o *UpdateDeviceRequest) SetDeviceId(v string)

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

func (*UpdateDeviceRequest) SetExistingCollectionId

func (o *UpdateDeviceRequest) SetExistingCollectionId(v string)

SetExistingCollectionId gets a reference to the given string and assigns it to the ExistingCollectionId field.

func (*UpdateDeviceRequest) SetFirmware

func (o *UpdateDeviceRequest) SetFirmware(v FirmwareMetadata)

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

func (*UpdateDeviceRequest) SetImei

func (o *UpdateDeviceRequest) SetImei(v string)

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

func (*UpdateDeviceRequest) SetImsi

func (o *UpdateDeviceRequest) SetImsi(v string)

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

func (*UpdateDeviceRequest) SetTags

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

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

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL