Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiBroadcastMessageRequest
- type ApiClearFirmwareErrorRequest
- type ApiCreateCollectionRequest
- type ApiCreateDeviceRequest
- type ApiCreateFirmwareRequest
- type ApiCreateOutputRequest
- type ApiDataDumpRequest
- type ApiDeleteCollectionRequest
- type ApiDeleteDeviceRequest
- type ApiDeleteFirmwareRequest
- type ApiDeleteOutputRequest
- type ApiFirmwareUsageRequest
- type ApiGetSystemInfoRequest
- type ApiListCollectionDataRequest
- func (r ApiListCollectionDataRequest) End(end string) ApiListCollectionDataRequest
- func (r ApiListCollectionDataRequest) Execute() (ListDataResponse, *_nethttp.Response, error)
- func (r ApiListCollectionDataRequest) Limit(limit int32) ApiListCollectionDataRequest
- func (r ApiListCollectionDataRequest) Offset(offset string) ApiListCollectionDataRequest
- func (r ApiListCollectionDataRequest) Start(start string) ApiListCollectionDataRequest
- type ApiListCollectionsRequest
- type ApiListDeviceDataRequest
- func (r ApiListDeviceDataRequest) End(end string) ApiListDeviceDataRequest
- func (r ApiListDeviceDataRequest) Execute() (ListDataResponse, *_nethttp.Response, error)
- func (r ApiListDeviceDataRequest) Limit(limit int32) ApiListDeviceDataRequest
- func (r ApiListDeviceDataRequest) Offset(offset string) ApiListDeviceDataRequest
- func (r ApiListDeviceDataRequest) Start(start string) ApiListDeviceDataRequest
- type ApiListDevicesRequest
- type ApiListFirmwareRequest
- type ApiListOutputsRequest
- type ApiLogsRequest
- type ApiRetrieveCollectionRequest
- type ApiRetrieveDeviceRequest
- type ApiRetrieveFirmwareRequest
- type ApiRetrieveOutputRequest
- type ApiSendMessageRequest
- type ApiStatusRequest
- type ApiUpdateCollectionRequest
- type ApiUpdateDeviceRequest
- type ApiUpdateFirmwareRequest
- type ApiUpdateOutputRequest
- type BasicAuth
- type BroadcastMessageRequest
- func (o *BroadcastMessageRequest) GetCoapPath() string
- func (o *BroadcastMessageRequest) GetCoapPathOk() (*string, bool)
- func (o *BroadcastMessageRequest) GetCollectionId() string
- func (o *BroadcastMessageRequest) GetCollectionIdOk() (*string, bool)
- func (o *BroadcastMessageRequest) GetPayload() string
- func (o *BroadcastMessageRequest) GetPayloadOk() (*string, bool)
- func (o *BroadcastMessageRequest) GetPort() int32
- func (o *BroadcastMessageRequest) GetPortOk() (*int32, bool)
- func (o *BroadcastMessageRequest) GetTransport() string
- func (o *BroadcastMessageRequest) GetTransportOk() (*string, bool)
- func (o *BroadcastMessageRequest) HasCoapPath() bool
- func (o *BroadcastMessageRequest) HasCollectionId() bool
- func (o *BroadcastMessageRequest) HasPayload() bool
- func (o *BroadcastMessageRequest) HasPort() bool
- func (o *BroadcastMessageRequest) HasTransport() bool
- func (o BroadcastMessageRequest) MarshalJSON() ([]byte, error)
- func (o *BroadcastMessageRequest) SetCoapPath(v string)
- func (o *BroadcastMessageRequest) SetCollectionId(v string)
- func (o *BroadcastMessageRequest) SetPayload(v string)
- func (o *BroadcastMessageRequest) SetPort(v int32)
- func (o *BroadcastMessageRequest) SetTransport(v string)
- type ClearFirmwareErrorResponse
- type CoAPMetadata
- func (o *CoAPMetadata) GetCode() string
- func (o *CoAPMetadata) GetCodeOk() (*string, bool)
- func (o *CoAPMetadata) GetPath() string
- func (o *CoAPMetadata) GetPathOk() (*string, bool)
- func (o *CoAPMetadata) HasCode() bool
- func (o *CoAPMetadata) HasPath() bool
- func (o CoAPMetadata) MarshalJSON() ([]byte, error)
- func (o *CoAPMetadata) SetCode(v string)
- func (o *CoAPMetadata) SetPath(v string)
- type Collection
- func (o *Collection) GetCollectionId() string
- func (o *Collection) GetCollectionIdOk() (*string, bool)
- func (o *Collection) GetFieldMask() FieldMask
- func (o *Collection) GetFieldMaskOk() (*FieldMask, bool)
- func (o *Collection) GetFirmware() CollectionFirmware
- func (o *Collection) GetFirmwareOk() (*CollectionFirmware, bool)
- func (o *Collection) GetTags() map[string]string
- func (o *Collection) GetTagsOk() (*map[string]string, bool)
- func (o *Collection) GetTeamId() string
- func (o *Collection) GetTeamIdOk() (*string, bool)
- func (o *Collection) HasCollectionId() bool
- func (o *Collection) HasFieldMask() bool
- func (o *Collection) HasFirmware() bool
- func (o *Collection) HasTags() bool
- func (o *Collection) HasTeamId() bool
- func (o Collection) MarshalJSON() ([]byte, error)
- func (o *Collection) SetCollectionId(v string)
- func (o *Collection) SetFieldMask(v FieldMask)
- func (o *Collection) SetFirmware(v CollectionFirmware)
- func (o *Collection) SetTags(v map[string]string)
- func (o *Collection) SetTeamId(v string)
- type CollectionFirmware
- func (o *CollectionFirmware) GetCurrentFirmwareId() string
- func (o *CollectionFirmware) GetCurrentFirmwareIdOk() (*string, bool)
- func (o *CollectionFirmware) GetManagement() CollectionFirmwareFirmwareManagement
- func (o *CollectionFirmware) GetManagementOk() (*CollectionFirmwareFirmwareManagement, bool)
- func (o *CollectionFirmware) GetTargetFirmwareId() string
- func (o *CollectionFirmware) GetTargetFirmwareIdOk() (*string, bool)
- func (o *CollectionFirmware) HasCurrentFirmwareId() bool
- func (o *CollectionFirmware) HasManagement() bool
- func (o *CollectionFirmware) HasTargetFirmwareId() bool
- func (o CollectionFirmware) MarshalJSON() ([]byte, error)
- func (o *CollectionFirmware) SetCurrentFirmwareId(v string)
- func (o *CollectionFirmware) SetManagement(v CollectionFirmwareFirmwareManagement)
- func (o *CollectionFirmware) SetTargetFirmwareId(v string)
- type CollectionFirmwareFirmwareManagement
- type CollectionsApiService
- func (a *CollectionsApiService) BroadcastMessage(ctx _context.Context, collectionId string) ApiBroadcastMessageRequest
- func (a *CollectionsApiService) BroadcastMessageExecute(r ApiBroadcastMessageRequest) (MultiSendMessageResponse, *_nethttp.Response, error)
- func (a *CollectionsApiService) CreateCollection(ctx _context.Context) ApiCreateCollectionRequest
- func (a *CollectionsApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (Collection, *_nethttp.Response, error)
- func (a *CollectionsApiService) DeleteCollection(ctx _context.Context, collectionId string) ApiDeleteCollectionRequest
- func (a *CollectionsApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (Collection, *_nethttp.Response, error)
- func (a *CollectionsApiService) ListCollectionData(ctx _context.Context, collectionId string) ApiListCollectionDataRequest
- func (a *CollectionsApiService) ListCollectionDataExecute(r ApiListCollectionDataRequest) (ListDataResponse, *_nethttp.Response, error)
- func (a *CollectionsApiService) ListCollections(ctx _context.Context) ApiListCollectionsRequest
- func (a *CollectionsApiService) ListCollectionsExecute(r ApiListCollectionsRequest) (ListCollectionResponse, *_nethttp.Response, error)
- func (a *CollectionsApiService) RetrieveCollection(ctx _context.Context, collectionId string) ApiRetrieveCollectionRequest
- func (a *CollectionsApiService) RetrieveCollectionExecute(r ApiRetrieveCollectionRequest) (Collection, *_nethttp.Response, error)
- func (a *CollectionsApiService) UpdateCollection(ctx _context.Context, collectionId string) ApiUpdateCollectionRequest
- func (a *CollectionsApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (Collection, *_nethttp.Response, error)
- type Configuration
- type CreateFirmwareRequest
- func (o *CreateFirmwareRequest) GetCollectionId() string
- func (o *CreateFirmwareRequest) GetCollectionIdOk() (*string, bool)
- func (o *CreateFirmwareRequest) GetFilename() string
- func (o *CreateFirmwareRequest) GetFilenameOk() (*string, bool)
- func (o *CreateFirmwareRequest) GetImage() string
- func (o *CreateFirmwareRequest) GetImageOk() (*string, bool)
- func (o *CreateFirmwareRequest) GetTags() map[string]string
- func (o *CreateFirmwareRequest) GetTagsOk() (*map[string]string, bool)
- func (o *CreateFirmwareRequest) GetVersion() string
- func (o *CreateFirmwareRequest) GetVersionOk() (*string, bool)
- func (o *CreateFirmwareRequest) HasCollectionId() bool
- func (o *CreateFirmwareRequest) HasFilename() bool
- func (o *CreateFirmwareRequest) HasImage() bool
- func (o *CreateFirmwareRequest) HasTags() bool
- func (o *CreateFirmwareRequest) HasVersion() bool
- func (o CreateFirmwareRequest) MarshalJSON() ([]byte, error)
- func (o *CreateFirmwareRequest) SetCollectionId(v string)
- func (o *CreateFirmwareRequest) SetFilename(v string)
- func (o *CreateFirmwareRequest) SetImage(v string)
- func (o *CreateFirmwareRequest) SetTags(v map[string]string)
- func (o *CreateFirmwareRequest) SetVersion(v string)
- type DataDumpRequest
- type DataDumpResponse
- func (o *DataDumpResponse) GetCollections() []DumpedCollection
- func (o *DataDumpResponse) GetCollectionsOk() (*[]DumpedCollection, bool)
- func (o *DataDumpResponse) HasCollections() bool
- func (o DataDumpResponse) MarshalJSON() ([]byte, error)
- func (o *DataDumpResponse) SetCollections(v []DumpedCollection)
- type DatadumpApiService
- type Device
- func (o *Device) GetCollectionId() string
- func (o *Device) GetCollectionIdOk() (*string, bool)
- func (o *Device) GetDeviceId() string
- func (o *Device) GetDeviceIdOk() (*string, bool)
- func (o *Device) GetFirmware() FirmwareMetadata
- func (o *Device) GetFirmwareOk() (*FirmwareMetadata, bool)
- func (o *Device) GetImei() string
- func (o *Device) GetImeiOk() (*string, bool)
- func (o *Device) GetImsi() string
- func (o *Device) GetImsiOk() (*string, bool)
- func (o *Device) GetNetwork() NetworkMetadata
- func (o *Device) GetNetworkOk() (*NetworkMetadata, bool)
- func (o *Device) GetTags() map[string]string
- func (o *Device) GetTagsOk() (*map[string]string, bool)
- func (o *Device) HasCollectionId() bool
- func (o *Device) HasDeviceId() bool
- func (o *Device) HasFirmware() bool
- func (o *Device) HasImei() bool
- func (o *Device) HasImsi() bool
- func (o *Device) HasNetwork() bool
- func (o *Device) HasTags() bool
- func (o Device) MarshalJSON() ([]byte, error)
- func (o *Device) SetCollectionId(v string)
- func (o *Device) SetDeviceId(v string)
- func (o *Device) SetFirmware(v FirmwareMetadata)
- func (o *Device) SetImei(v string)
- func (o *Device) SetImsi(v string)
- func (o *Device) SetNetwork(v NetworkMetadata)
- func (o *Device) SetTags(v map[string]string)
- type DevicesApiService
- func (a *DevicesApiService) CreateDevice(ctx _context.Context, collectionId string) ApiCreateDeviceRequest
- func (a *DevicesApiService) CreateDeviceExecute(r ApiCreateDeviceRequest) (Device, *_nethttp.Response, error)
- func (a *DevicesApiService) DeleteDevice(ctx _context.Context, collectionId string, deviceId string) ApiDeleteDeviceRequest
- func (a *DevicesApiService) DeleteDeviceExecute(r ApiDeleteDeviceRequest) (Device, *_nethttp.Response, error)
- func (a *DevicesApiService) ListDeviceData(ctx _context.Context, collectionId string, deviceId string) ApiListDeviceDataRequest
- func (a *DevicesApiService) ListDeviceDataExecute(r ApiListDeviceDataRequest) (ListDataResponse, *_nethttp.Response, error)
- func (a *DevicesApiService) ListDevices(ctx _context.Context, collectionId string) ApiListDevicesRequest
- func (a *DevicesApiService) ListDevicesExecute(r ApiListDevicesRequest) (ListDevicesResponse, *_nethttp.Response, error)
- func (a *DevicesApiService) RetrieveDevice(ctx _context.Context, collectionId string, deviceId string) ApiRetrieveDeviceRequest
- func (a *DevicesApiService) RetrieveDeviceExecute(r ApiRetrieveDeviceRequest) (Device, *_nethttp.Response, error)
- func (a *DevicesApiService) SendMessage(ctx _context.Context, collectionId string, deviceId string) ApiSendMessageRequest
- func (a *DevicesApiService) SendMessageExecute(r ApiSendMessageRequest) (SendMessageResponse, *_nethttp.Response, error)
- func (a *DevicesApiService) UpdateDevice(ctx _context.Context, existingCollectionId string, deviceId string) ApiUpdateDeviceRequest
- func (a *DevicesApiService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (Device, *_nethttp.Response, error)
- type DumpedCollection
- func (o *DumpedCollection) GetCollection() Collection
- func (o *DumpedCollection) GetCollectionOk() (*Collection, bool)
- func (o *DumpedCollection) GetDevices() []DumpedDevice
- func (o *DumpedCollection) GetDevicesOk() (*[]DumpedDevice, bool)
- func (o *DumpedCollection) GetOutputs() []Output
- func (o *DumpedCollection) GetOutputsOk() (*[]Output, bool)
- func (o *DumpedCollection) HasCollection() bool
- func (o *DumpedCollection) HasDevices() bool
- func (o *DumpedCollection) HasOutputs() bool
- func (o DumpedCollection) MarshalJSON() ([]byte, error)
- func (o *DumpedCollection) SetCollection(v Collection)
- func (o *DumpedCollection) SetDevices(v []DumpedDevice)
- func (o *DumpedCollection) SetOutputs(v []Output)
- type DumpedDevice
- type FieldMask
- func (o *FieldMask) GetImei() bool
- func (o *FieldMask) GetImeiOk() (*bool, bool)
- func (o *FieldMask) GetImsi() bool
- func (o *FieldMask) GetImsiOk() (*bool, bool)
- func (o *FieldMask) GetLocation() bool
- func (o *FieldMask) GetLocationOk() (*bool, bool)
- func (o *FieldMask) GetMsisdn() bool
- func (o *FieldMask) GetMsisdnOk() (*bool, bool)
- func (o *FieldMask) HasImei() bool
- func (o *FieldMask) HasImsi() bool
- func (o *FieldMask) HasLocation() bool
- func (o *FieldMask) HasMsisdn() bool
- func (o FieldMask) MarshalJSON() ([]byte, error)
- func (o *FieldMask) SetImei(v bool)
- func (o *FieldMask) SetImsi(v bool)
- func (o *FieldMask) SetLocation(v bool)
- func (o *FieldMask) SetMsisdn(v bool)
- type Firmware
- func (o *Firmware) GetCollectionId() string
- func (o *Firmware) GetCollectionIdOk() (*string, bool)
- func (o *Firmware) GetCreated() string
- func (o *Firmware) GetCreatedOk() (*string, bool)
- func (o *Firmware) GetFilename() string
- func (o *Firmware) GetFilenameOk() (*string, bool)
- func (o *Firmware) GetImageId() string
- func (o *Firmware) GetImageIdOk() (*string, bool)
- func (o *Firmware) GetLength() int32
- func (o *Firmware) GetLengthOk() (*int32, bool)
- func (o *Firmware) GetSha256() string
- func (o *Firmware) GetSha256Ok() (*string, bool)
- func (o *Firmware) GetTags() map[string]string
- func (o *Firmware) GetTagsOk() (*map[string]string, bool)
- func (o *Firmware) GetVersion() string
- func (o *Firmware) GetVersionOk() (*string, bool)
- func (o *Firmware) HasCollectionId() bool
- func (o *Firmware) HasCreated() bool
- func (o *Firmware) HasFilename() bool
- func (o *Firmware) HasImageId() bool
- func (o *Firmware) HasLength() bool
- func (o *Firmware) HasSha256() bool
- func (o *Firmware) HasTags() bool
- func (o *Firmware) HasVersion() bool
- func (o Firmware) MarshalJSON() ([]byte, error)
- func (o *Firmware) SetCollectionId(v string)
- func (o *Firmware) SetCreated(v string)
- func (o *Firmware) SetFilename(v string)
- func (o *Firmware) SetImageId(v string)
- func (o *Firmware) SetLength(v int32)
- func (o *Firmware) SetSha256(v string)
- func (o *Firmware) SetTags(v map[string]string)
- func (o *Firmware) SetVersion(v string)
- type FirmwareMetadata
- func (o *FirmwareMetadata) GetCurrentFirmwareId() string
- func (o *FirmwareMetadata) GetCurrentFirmwareIdOk() (*string, bool)
- func (o *FirmwareMetadata) GetFirmwareVersion() string
- func (o *FirmwareMetadata) GetFirmwareVersionOk() (*string, bool)
- func (o *FirmwareMetadata) GetManufacturer() string
- func (o *FirmwareMetadata) GetManufacturerOk() (*string, bool)
- func (o *FirmwareMetadata) GetModelNumber() string
- func (o *FirmwareMetadata) GetModelNumberOk() (*string, bool)
- func (o *FirmwareMetadata) GetSerialNumber() string
- func (o *FirmwareMetadata) GetSerialNumberOk() (*string, bool)
- func (o *FirmwareMetadata) GetState() string
- func (o *FirmwareMetadata) GetStateMessage() string
- func (o *FirmwareMetadata) GetStateMessageOk() (*string, bool)
- func (o *FirmwareMetadata) GetStateOk() (*string, bool)
- func (o *FirmwareMetadata) GetTargetFirmwareId() string
- func (o *FirmwareMetadata) GetTargetFirmwareIdOk() (*string, bool)
- func (o *FirmwareMetadata) HasCurrentFirmwareId() bool
- func (o *FirmwareMetadata) HasFirmwareVersion() bool
- func (o *FirmwareMetadata) HasManufacturer() bool
- func (o *FirmwareMetadata) HasModelNumber() bool
- func (o *FirmwareMetadata) HasSerialNumber() bool
- func (o *FirmwareMetadata) HasState() bool
- func (o *FirmwareMetadata) HasStateMessage() bool
- func (o *FirmwareMetadata) HasTargetFirmwareId() bool
- func (o FirmwareMetadata) MarshalJSON() ([]byte, error)
- func (o *FirmwareMetadata) SetCurrentFirmwareId(v string)
- func (o *FirmwareMetadata) SetFirmwareVersion(v string)
- func (o *FirmwareMetadata) SetManufacturer(v string)
- func (o *FirmwareMetadata) SetModelNumber(v string)
- func (o *FirmwareMetadata) SetSerialNumber(v string)
- func (o *FirmwareMetadata) SetState(v string)
- func (o *FirmwareMetadata) SetStateMessage(v string)
- func (o *FirmwareMetadata) SetTargetFirmwareId(v string)
- type FirmwareUsageResponse
- func (o *FirmwareUsageResponse) GetCurrent() []string
- func (o *FirmwareUsageResponse) GetCurrentOk() (*[]string, bool)
- func (o *FirmwareUsageResponse) GetImageId() string
- func (o *FirmwareUsageResponse) GetImageIdOk() (*string, bool)
- func (o *FirmwareUsageResponse) GetTargeted() []string
- func (o *FirmwareUsageResponse) GetTargetedOk() (*[]string, bool)
- func (o *FirmwareUsageResponse) HasCurrent() bool
- func (o *FirmwareUsageResponse) HasImageId() bool
- func (o *FirmwareUsageResponse) HasTargeted() bool
- func (o FirmwareUsageResponse) MarshalJSON() ([]byte, error)
- func (o *FirmwareUsageResponse) SetCurrent(v []string)
- func (o *FirmwareUsageResponse) SetImageId(v string)
- func (o *FirmwareUsageResponse) SetTargeted(v []string)
- type FotaApiService
- func (a *FotaApiService) ClearFirmwareError(ctx _context.Context, collectionId string, deviceId string) ApiClearFirmwareErrorRequest
- func (a *FotaApiService) ClearFirmwareErrorExecute(r ApiClearFirmwareErrorRequest) (ClearFirmwareErrorResponse, *_nethttp.Response, error)
- func (a *FotaApiService) CreateFirmware(ctx _context.Context, collectionId string) ApiCreateFirmwareRequest
- func (a *FotaApiService) CreateFirmwareExecute(r ApiCreateFirmwareRequest) (Firmware, *_nethttp.Response, error)
- func (a *FotaApiService) DeleteFirmware(ctx _context.Context, collectionId string, imageId string) ApiDeleteFirmwareRequest
- func (a *FotaApiService) DeleteFirmwareExecute(r ApiDeleteFirmwareRequest) (Firmware, *_nethttp.Response, error)
- func (a *FotaApiService) FirmwareUsage(ctx _context.Context, collectionId string, imageId string) ApiFirmwareUsageRequest
- func (a *FotaApiService) FirmwareUsageExecute(r ApiFirmwareUsageRequest) (FirmwareUsageResponse, *_nethttp.Response, error)
- func (a *FotaApiService) ListFirmware(ctx _context.Context, collectionId string) ApiListFirmwareRequest
- func (a *FotaApiService) ListFirmwareExecute(r ApiListFirmwareRequest) (ListFirmwareResponse, *_nethttp.Response, error)
- func (a *FotaApiService) RetrieveFirmware(ctx _context.Context, collectionId string, imageId string) ApiRetrieveFirmwareRequest
- func (a *FotaApiService) RetrieveFirmwareExecute(r ApiRetrieveFirmwareRequest) (Firmware, *_nethttp.Response, error)
- func (a *FotaApiService) UpdateFirmware(ctx _context.Context, collectionId string, imageId string) ApiUpdateFirmwareRequest
- func (a *FotaApiService) UpdateFirmwareExecute(r ApiUpdateFirmwareRequest) (Firmware, *_nethttp.Response, error)
- type GenericOpenAPIError
- type ListCollectionResponse
- func (o *ListCollectionResponse) GetCollections() []Collection
- func (o *ListCollectionResponse) GetCollectionsOk() (*[]Collection, bool)
- func (o *ListCollectionResponse) HasCollections() bool
- func (o ListCollectionResponse) MarshalJSON() ([]byte, error)
- func (o *ListCollectionResponse) SetCollections(v []Collection)
- type ListDataResponse
- type ListDevicesResponse
- type ListFirmwareResponse
- type ListOutputResponse
- func (o *ListOutputResponse) GetCollectionId() string
- func (o *ListOutputResponse) GetCollectionIdOk() (*string, bool)
- func (o *ListOutputResponse) GetOutputs() []Output
- func (o *ListOutputResponse) GetOutputsOk() (*[]Output, bool)
- func (o *ListOutputResponse) HasCollectionId() bool
- func (o *ListOutputResponse) HasOutputs() bool
- func (o ListOutputResponse) MarshalJSON() ([]byte, error)
- func (o *ListOutputResponse) SetCollectionId(v string)
- func (o *ListOutputResponse) SetOutputs(v []Output)
- type MessageSendResult
- func (o *MessageSendResult) GetDeviceId() string
- func (o *MessageSendResult) GetDeviceIdOk() (*string, bool)
- func (o *MessageSendResult) GetMessage() string
- func (o *MessageSendResult) GetMessageOk() (*string, bool)
- func (o *MessageSendResult) HasDeviceId() bool
- func (o *MessageSendResult) HasMessage() bool
- func (o MessageSendResult) MarshalJSON() ([]byte, error)
- func (o *MessageSendResult) SetDeviceId(v string)
- func (o *MessageSendResult) SetMessage(v string)
- type MultiSendMessageResponse
- func (o *MultiSendMessageResponse) GetErrors() []MessageSendResult
- func (o *MultiSendMessageResponse) GetErrorsOk() (*[]MessageSendResult, bool)
- func (o *MultiSendMessageResponse) GetFailed() int32
- func (o *MultiSendMessageResponse) GetFailedOk() (*int32, bool)
- func (o *MultiSendMessageResponse) GetSent() int32
- func (o *MultiSendMessageResponse) GetSentOk() (*int32, bool)
- func (o *MultiSendMessageResponse) HasErrors() bool
- func (o *MultiSendMessageResponse) HasFailed() bool
- func (o *MultiSendMessageResponse) HasSent() bool
- func (o MultiSendMessageResponse) MarshalJSON() ([]byte, error)
- func (o *MultiSendMessageResponse) SetErrors(v []MessageSendResult)
- func (o *MultiSendMessageResponse) SetFailed(v int32)
- func (o *MultiSendMessageResponse) SetSent(v int32)
- type NetworkMetadata
- func (o *NetworkMetadata) GetAllocatedAt() string
- func (o *NetworkMetadata) GetAllocatedAtOk() (*string, bool)
- func (o *NetworkMetadata) GetAllocatedIp() string
- func (o *NetworkMetadata) GetAllocatedIpOk() (*string, bool)
- func (o *NetworkMetadata) GetCellId() string
- func (o *NetworkMetadata) GetCellIdOk() (*string, bool)
- func (o *NetworkMetadata) HasAllocatedAt() bool
- func (o *NetworkMetadata) HasAllocatedIp() bool
- func (o *NetworkMetadata) HasCellId() bool
- func (o NetworkMetadata) MarshalJSON() ([]byte, error)
- func (o *NetworkMetadata) SetAllocatedAt(v string)
- func (o *NetworkMetadata) SetAllocatedIp(v string)
- func (o *NetworkMetadata) SetCellId(v string)
- type NullableBool
- type NullableBroadcastMessageRequest
- func (v NullableBroadcastMessageRequest) Get() *BroadcastMessageRequest
- func (v NullableBroadcastMessageRequest) IsSet() bool
- func (v NullableBroadcastMessageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBroadcastMessageRequest) Set(val *BroadcastMessageRequest)
- func (v *NullableBroadcastMessageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBroadcastMessageRequest) Unset()
- type NullableClearFirmwareErrorResponse
- func (v NullableClearFirmwareErrorResponse) Get() *ClearFirmwareErrorResponse
- func (v NullableClearFirmwareErrorResponse) IsSet() bool
- func (v NullableClearFirmwareErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClearFirmwareErrorResponse) Set(val *ClearFirmwareErrorResponse)
- func (v *NullableClearFirmwareErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClearFirmwareErrorResponse) Unset()
- type NullableCoAPMetadata
- func (v NullableCoAPMetadata) Get() *CoAPMetadata
- func (v NullableCoAPMetadata) IsSet() bool
- func (v NullableCoAPMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableCoAPMetadata) Set(val *CoAPMetadata)
- func (v *NullableCoAPMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableCoAPMetadata) Unset()
- type NullableCollection
- type NullableCollectionFirmware
- func (v NullableCollectionFirmware) Get() *CollectionFirmware
- func (v NullableCollectionFirmware) IsSet() bool
- func (v NullableCollectionFirmware) MarshalJSON() ([]byte, error)
- func (v *NullableCollectionFirmware) Set(val *CollectionFirmware)
- func (v *NullableCollectionFirmware) UnmarshalJSON(src []byte) error
- func (v *NullableCollectionFirmware) Unset()
- type NullableCollectionFirmwareFirmwareManagement
- func (v NullableCollectionFirmwareFirmwareManagement) Get() *CollectionFirmwareFirmwareManagement
- func (v NullableCollectionFirmwareFirmwareManagement) IsSet() bool
- func (v NullableCollectionFirmwareFirmwareManagement) MarshalJSON() ([]byte, error)
- func (v *NullableCollectionFirmwareFirmwareManagement) Set(val *CollectionFirmwareFirmwareManagement)
- func (v *NullableCollectionFirmwareFirmwareManagement) UnmarshalJSON(src []byte) error
- func (v *NullableCollectionFirmwareFirmwareManagement) Unset()
- type NullableCreateFirmwareRequest
- func (v NullableCreateFirmwareRequest) Get() *CreateFirmwareRequest
- func (v NullableCreateFirmwareRequest) IsSet() bool
- func (v NullableCreateFirmwareRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFirmwareRequest) Set(val *CreateFirmwareRequest)
- func (v *NullableCreateFirmwareRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFirmwareRequest) Unset()
- type NullableDataDumpRequest
- func (v NullableDataDumpRequest) Get() *DataDumpRequest
- func (v NullableDataDumpRequest) IsSet() bool
- func (v NullableDataDumpRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDataDumpRequest) Set(val *DataDumpRequest)
- func (v *NullableDataDumpRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDataDumpRequest) Unset()
- type NullableDataDumpResponse
- func (v NullableDataDumpResponse) Get() *DataDumpResponse
- func (v NullableDataDumpResponse) IsSet() bool
- func (v NullableDataDumpResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDataDumpResponse) Set(val *DataDumpResponse)
- func (v *NullableDataDumpResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDataDumpResponse) Unset()
- type NullableDevice
- type NullableDumpedCollection
- func (v NullableDumpedCollection) Get() *DumpedCollection
- func (v NullableDumpedCollection) IsSet() bool
- func (v NullableDumpedCollection) MarshalJSON() ([]byte, error)
- func (v *NullableDumpedCollection) Set(val *DumpedCollection)
- func (v *NullableDumpedCollection) UnmarshalJSON(src []byte) error
- func (v *NullableDumpedCollection) Unset()
- type NullableDumpedDevice
- func (v NullableDumpedDevice) Get() *DumpedDevice
- func (v NullableDumpedDevice) IsSet() bool
- func (v NullableDumpedDevice) MarshalJSON() ([]byte, error)
- func (v *NullableDumpedDevice) Set(val *DumpedDevice)
- func (v *NullableDumpedDevice) UnmarshalJSON(src []byte) error
- func (v *NullableDumpedDevice) Unset()
- type NullableFieldMask
- type NullableFirmware
- type NullableFirmwareMetadata
- func (v NullableFirmwareMetadata) Get() *FirmwareMetadata
- func (v NullableFirmwareMetadata) IsSet() bool
- func (v NullableFirmwareMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableFirmwareMetadata) Set(val *FirmwareMetadata)
- func (v *NullableFirmwareMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableFirmwareMetadata) Unset()
- type NullableFirmwareUsageResponse
- func (v NullableFirmwareUsageResponse) Get() *FirmwareUsageResponse
- func (v NullableFirmwareUsageResponse) IsSet() bool
- func (v NullableFirmwareUsageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFirmwareUsageResponse) Set(val *FirmwareUsageResponse)
- func (v *NullableFirmwareUsageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFirmwareUsageResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListCollectionResponse
- func (v NullableListCollectionResponse) Get() *ListCollectionResponse
- func (v NullableListCollectionResponse) IsSet() bool
- func (v NullableListCollectionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCollectionResponse) Set(val *ListCollectionResponse)
- func (v *NullableListCollectionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCollectionResponse) Unset()
- type NullableListDataResponse
- func (v NullableListDataResponse) Get() *ListDataResponse
- func (v NullableListDataResponse) IsSet() bool
- func (v NullableListDataResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListDataResponse) Set(val *ListDataResponse)
- func (v *NullableListDataResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListDataResponse) Unset()
- type NullableListDevicesResponse
- func (v NullableListDevicesResponse) Get() *ListDevicesResponse
- func (v NullableListDevicesResponse) IsSet() bool
- func (v NullableListDevicesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListDevicesResponse) Set(val *ListDevicesResponse)
- func (v *NullableListDevicesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListDevicesResponse) Unset()
- type NullableListFirmwareResponse
- func (v NullableListFirmwareResponse) Get() *ListFirmwareResponse
- func (v NullableListFirmwareResponse) IsSet() bool
- func (v NullableListFirmwareResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListFirmwareResponse) Set(val *ListFirmwareResponse)
- func (v *NullableListFirmwareResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListFirmwareResponse) Unset()
- type NullableListOutputResponse
- func (v NullableListOutputResponse) Get() *ListOutputResponse
- func (v NullableListOutputResponse) IsSet() bool
- func (v NullableListOutputResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListOutputResponse) Set(val *ListOutputResponse)
- func (v *NullableListOutputResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListOutputResponse) Unset()
- type NullableMessageSendResult
- func (v NullableMessageSendResult) Get() *MessageSendResult
- func (v NullableMessageSendResult) IsSet() bool
- func (v NullableMessageSendResult) MarshalJSON() ([]byte, error)
- func (v *NullableMessageSendResult) Set(val *MessageSendResult)
- func (v *NullableMessageSendResult) UnmarshalJSON(src []byte) error
- func (v *NullableMessageSendResult) Unset()
- type NullableMultiSendMessageResponse
- func (v NullableMultiSendMessageResponse) Get() *MultiSendMessageResponse
- func (v NullableMultiSendMessageResponse) IsSet() bool
- func (v NullableMultiSendMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMultiSendMessageResponse) Set(val *MultiSendMessageResponse)
- func (v *NullableMultiSendMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMultiSendMessageResponse) Unset()
- type NullableNetworkMetadata
- func (v NullableNetworkMetadata) Get() *NetworkMetadata
- func (v NullableNetworkMetadata) IsSet() bool
- func (v NullableNetworkMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkMetadata) Set(val *NetworkMetadata)
- func (v *NullableNetworkMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkMetadata) Unset()
- type NullableOutput
- type NullableOutputConfig
- func (v NullableOutputConfig) Get() *OutputConfig
- func (v NullableOutputConfig) IsSet() bool
- func (v NullableOutputConfig) MarshalJSON() ([]byte, error)
- func (v *NullableOutputConfig) Set(val *OutputConfig)
- func (v *NullableOutputConfig) UnmarshalJSON(src []byte) error
- func (v *NullableOutputConfig) Unset()
- type NullableOutputDataMessage
- func (v NullableOutputDataMessage) Get() *OutputDataMessage
- func (v NullableOutputDataMessage) IsSet() bool
- func (v NullableOutputDataMessage) MarshalJSON() ([]byte, error)
- func (v *NullableOutputDataMessage) Set(val *OutputDataMessage)
- func (v *NullableOutputDataMessage) UnmarshalJSON(src []byte) error
- func (v *NullableOutputDataMessage) Unset()
- type NullableOutputDataMessageOutputMessageType
- func (v NullableOutputDataMessageOutputMessageType) Get() *OutputDataMessageOutputMessageType
- func (v NullableOutputDataMessageOutputMessageType) IsSet() bool
- func (v NullableOutputDataMessageOutputMessageType) MarshalJSON() ([]byte, error)
- func (v *NullableOutputDataMessageOutputMessageType) Set(val *OutputDataMessageOutputMessageType)
- func (v *NullableOutputDataMessageOutputMessageType) UnmarshalJSON(src []byte) error
- func (v *NullableOutputDataMessageOutputMessageType) Unset()
- type NullableOutputLogEntry
- func (v NullableOutputLogEntry) Get() *OutputLogEntry
- func (v NullableOutputLogEntry) IsSet() bool
- func (v NullableOutputLogEntry) MarshalJSON() ([]byte, error)
- func (v *NullableOutputLogEntry) Set(val *OutputLogEntry)
- func (v *NullableOutputLogEntry) UnmarshalJSON(src []byte) error
- func (v *NullableOutputLogEntry) Unset()
- type NullableOutputLogResponse
- func (v NullableOutputLogResponse) Get() *OutputLogResponse
- func (v NullableOutputLogResponse) IsSet() bool
- func (v NullableOutputLogResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOutputLogResponse) Set(val *OutputLogResponse)
- func (v *NullableOutputLogResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOutputLogResponse) Unset()
- type NullableOutputStatusResponse
- func (v NullableOutputStatusResponse) Get() *OutputStatusResponse
- func (v NullableOutputStatusResponse) IsSet() bool
- func (v NullableOutputStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOutputStatusResponse) Set(val *OutputStatusResponse)
- func (v *NullableOutputStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOutputStatusResponse) Unset()
- type NullableOutputType
- type NullableProtobufAny
- func (v NullableProtobufAny) Get() *ProtobufAny
- func (v NullableProtobufAny) IsSet() bool
- func (v NullableProtobufAny) MarshalJSON() ([]byte, error)
- func (v *NullableProtobufAny) Set(val *ProtobufAny)
- func (v *NullableProtobufAny) UnmarshalJSON(src []byte) error
- func (v *NullableProtobufAny) Unset()
- type NullableRpcStatus
- type NullableSendMessageRequest
- func (v NullableSendMessageRequest) Get() *SendMessageRequest
- func (v NullableSendMessageRequest) IsSet() bool
- func (v NullableSendMessageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendMessageRequest) Set(val *SendMessageRequest)
- func (v *NullableSendMessageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendMessageRequest) Unset()
- type NullableSendMessageResponse
- func (v NullableSendMessageResponse) Get() *SendMessageResponse
- func (v NullableSendMessageResponse) IsSet() bool
- func (v NullableSendMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSendMessageResponse) Set(val *SendMessageResponse)
- func (v *NullableSendMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSendMessageResponse) Unset()
- type NullableString
- type NullableSystemInfoResponse
- func (v NullableSystemInfoResponse) Get() *SystemInfoResponse
- func (v NullableSystemInfoResponse) IsSet() bool
- func (v NullableSystemInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSystemInfoResponse) Set(val *SystemInfoResponse)
- func (v *NullableSystemInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSystemInfoResponse) Unset()
- type NullableTime
- type NullableUDPMetadata
- func (v NullableUDPMetadata) Get() *UDPMetadata
- func (v NullableUDPMetadata) IsSet() bool
- func (v NullableUDPMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableUDPMetadata) Set(val *UDPMetadata)
- func (v *NullableUDPMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableUDPMetadata) Unset()
- type NullableUpdateDeviceRequest
- func (v NullableUpdateDeviceRequest) Get() *UpdateDeviceRequest
- func (v NullableUpdateDeviceRequest) IsSet() bool
- func (v NullableUpdateDeviceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDeviceRequest) Set(val *UpdateDeviceRequest)
- func (v *NullableUpdateDeviceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDeviceRequest) Unset()
- type Output
- func (o *Output) GetCollectionId() string
- func (o *Output) GetCollectionIdOk() (*string, bool)
- func (o *Output) GetConfig() OutputConfig
- func (o *Output) GetConfigOk() (*OutputConfig, bool)
- func (o *Output) GetEnabled() bool
- func (o *Output) GetEnabledOk() (*bool, bool)
- func (o *Output) GetOutputId() string
- func (o *Output) GetOutputIdOk() (*string, bool)
- func (o *Output) GetTags() map[string]string
- func (o *Output) GetTagsOk() (*map[string]string, bool)
- func (o *Output) GetType() OutputType
- func (o *Output) GetTypeOk() (*OutputType, bool)
- func (o *Output) HasCollectionId() bool
- func (o *Output) HasConfig() bool
- func (o *Output) HasEnabled() bool
- func (o *Output) HasOutputId() bool
- func (o *Output) HasTags() bool
- func (o *Output) HasType() bool
- func (o Output) MarshalJSON() ([]byte, error)
- func (o *Output) SetCollectionId(v string)
- func (o *Output) SetConfig(v OutputConfig)
- func (o *Output) SetEnabled(v bool)
- func (o *Output) SetOutputId(v string)
- func (o *Output) SetTags(v map[string]string)
- func (o *Output) SetType(v OutputType)
- type OutputConfig
- func (o *OutputConfig) GetAsIsPayload() bool
- func (o *OutputConfig) GetAsIsPayloadOk() (*bool, bool)
- func (o *OutputConfig) GetBasicAuthPass() string
- func (o *OutputConfig) GetBasicAuthPassOk() (*string, bool)
- func (o *OutputConfig) GetBasicAuthUser() string
- func (o *OutputConfig) GetBasicAuthUserOk() (*string, bool)
- func (o *OutputConfig) GetClientId() string
- func (o *OutputConfig) GetClientIdOk() (*string, bool)
- func (o *OutputConfig) GetCustomHeaderName() string
- func (o *OutputConfig) GetCustomHeaderNameOk() (*string, bool)
- func (o *OutputConfig) GetCustomHeaderValue() string
- func (o *OutputConfig) GetCustomHeaderValueOk() (*string, bool)
- func (o *OutputConfig) GetDisableCertCheck() bool
- func (o *OutputConfig) GetDisableCertCheckOk() (*bool, bool)
- func (o *OutputConfig) GetEndpoint() string
- func (o *OutputConfig) GetEndpointOk() (*string, bool)
- func (o *OutputConfig) GetEventName() string
- func (o *OutputConfig) GetEventNameOk() (*string, bool)
- func (o *OutputConfig) GetHost() string
- func (o *OutputConfig) GetHostOk() (*string, bool)
- func (o *OutputConfig) GetKey() string
- func (o *OutputConfig) GetKeyOk() (*string, bool)
- func (o *OutputConfig) GetPassword() string
- func (o *OutputConfig) GetPasswordOk() (*string, bool)
- func (o *OutputConfig) GetPort() int32
- func (o *OutputConfig) GetPortOk() (*int32, bool)
- func (o *OutputConfig) GetTopicName() string
- func (o *OutputConfig) GetTopicNameOk() (*string, bool)
- func (o *OutputConfig) GetUrl() string
- func (o *OutputConfig) GetUrlOk() (*string, bool)
- func (o *OutputConfig) GetUsername() string
- func (o *OutputConfig) GetUsernameOk() (*string, bool)
- func (o *OutputConfig) HasAsIsPayload() bool
- func (o *OutputConfig) HasBasicAuthPass() bool
- func (o *OutputConfig) HasBasicAuthUser() bool
- func (o *OutputConfig) HasClientId() bool
- func (o *OutputConfig) HasCustomHeaderName() bool
- func (o *OutputConfig) HasCustomHeaderValue() bool
- func (o *OutputConfig) HasDisableCertCheck() bool
- func (o *OutputConfig) HasEndpoint() bool
- func (o *OutputConfig) HasEventName() bool
- func (o *OutputConfig) HasHost() bool
- func (o *OutputConfig) HasKey() bool
- func (o *OutputConfig) HasPassword() bool
- func (o *OutputConfig) HasPort() bool
- func (o *OutputConfig) HasTopicName() bool
- func (o *OutputConfig) HasUrl() bool
- func (o *OutputConfig) HasUsername() bool
- func (o OutputConfig) MarshalJSON() ([]byte, error)
- func (o *OutputConfig) SetAsIsPayload(v bool)
- func (o *OutputConfig) SetBasicAuthPass(v string)
- func (o *OutputConfig) SetBasicAuthUser(v string)
- func (o *OutputConfig) SetClientId(v string)
- func (o *OutputConfig) SetCustomHeaderName(v string)
- func (o *OutputConfig) SetCustomHeaderValue(v string)
- func (o *OutputConfig) SetDisableCertCheck(v bool)
- func (o *OutputConfig) SetEndpoint(v string)
- func (o *OutputConfig) SetEventName(v string)
- func (o *OutputConfig) SetHost(v string)
- func (o *OutputConfig) SetKey(v string)
- func (o *OutputConfig) SetPassword(v string)
- func (o *OutputConfig) SetPort(v int32)
- func (o *OutputConfig) SetTopicName(v string)
- func (o *OutputConfig) SetUrl(v string)
- func (o *OutputConfig) SetUsername(v string)
- type OutputDataMessage
- func (o *OutputDataMessage) GetCoapMetaData() CoAPMetadata
- func (o *OutputDataMessage) GetCoapMetaDataOk() (*CoAPMetadata, bool)
- func (o *OutputDataMessage) GetDevice() Device
- func (o *OutputDataMessage) GetDeviceOk() (*Device, bool)
- func (o *OutputDataMessage) GetMessageId() string
- func (o *OutputDataMessage) GetMessageIdOk() (*string, bool)
- func (o *OutputDataMessage) GetPayload() string
- func (o *OutputDataMessage) GetPayloadOk() (*string, bool)
- func (o *OutputDataMessage) GetReceived() string
- func (o *OutputDataMessage) GetReceivedOk() (*string, bool)
- func (o *OutputDataMessage) GetTransport() string
- func (o *OutputDataMessage) GetTransportOk() (*string, bool)
- func (o *OutputDataMessage) GetType() OutputDataMessageOutputMessageType
- func (o *OutputDataMessage) GetTypeOk() (*OutputDataMessageOutputMessageType, bool)
- func (o *OutputDataMessage) GetUdpMetaData() UDPMetadata
- func (o *OutputDataMessage) GetUdpMetaDataOk() (*UDPMetadata, bool)
- func (o *OutputDataMessage) HasCoapMetaData() bool
- func (o *OutputDataMessage) HasDevice() bool
- func (o *OutputDataMessage) HasMessageId() bool
- func (o *OutputDataMessage) HasPayload() bool
- func (o *OutputDataMessage) HasReceived() bool
- func (o *OutputDataMessage) HasTransport() bool
- func (o *OutputDataMessage) HasType() bool
- func (o *OutputDataMessage) HasUdpMetaData() bool
- func (o OutputDataMessage) MarshalJSON() ([]byte, error)
- func (o *OutputDataMessage) SetCoapMetaData(v CoAPMetadata)
- func (o *OutputDataMessage) SetDevice(v Device)
- func (o *OutputDataMessage) SetMessageId(v string)
- func (o *OutputDataMessage) SetPayload(v string)
- func (o *OutputDataMessage) SetReceived(v string)
- func (o *OutputDataMessage) SetTransport(v string)
- func (o *OutputDataMessage) SetType(v OutputDataMessageOutputMessageType)
- func (o *OutputDataMessage) SetUdpMetaData(v UDPMetadata)
- type OutputDataMessageOutputMessageType
- type OutputLogEntry
- func (o *OutputLogEntry) GetMessage() string
- func (o *OutputLogEntry) GetMessageOk() (*string, bool)
- func (o *OutputLogEntry) GetRepeated() int32
- func (o *OutputLogEntry) GetRepeatedOk() (*int32, bool)
- func (o *OutputLogEntry) GetTime() string
- func (o *OutputLogEntry) GetTimeOk() (*string, bool)
- func (o *OutputLogEntry) HasMessage() bool
- func (o *OutputLogEntry) HasRepeated() bool
- func (o *OutputLogEntry) HasTime() bool
- func (o OutputLogEntry) MarshalJSON() ([]byte, error)
- func (o *OutputLogEntry) SetMessage(v string)
- func (o *OutputLogEntry) SetRepeated(v int32)
- func (o *OutputLogEntry) SetTime(v string)
- type OutputLogResponse
- type OutputStatusResponse
- func (o *OutputStatusResponse) GetCollectionId() string
- func (o *OutputStatusResponse) GetCollectionIdOk() (*string, bool)
- func (o *OutputStatusResponse) GetEnabled() bool
- func (o *OutputStatusResponse) GetEnabledOk() (*bool, bool)
- func (o *OutputStatusResponse) GetErrorCount() int32
- func (o *OutputStatusResponse) GetErrorCountOk() (*int32, bool)
- func (o *OutputStatusResponse) GetForwarded() int32
- func (o *OutputStatusResponse) GetForwardedOk() (*int32, bool)
- func (o *OutputStatusResponse) GetOutputId() string
- func (o *OutputStatusResponse) GetOutputIdOk() (*string, bool)
- func (o *OutputStatusResponse) GetReceived() int32
- func (o *OutputStatusResponse) GetReceivedOk() (*int32, bool)
- func (o *OutputStatusResponse) GetRetransmits() int32
- func (o *OutputStatusResponse) GetRetransmitsOk() (*int32, bool)
- func (o *OutputStatusResponse) HasCollectionId() bool
- func (o *OutputStatusResponse) HasEnabled() bool
- func (o *OutputStatusResponse) HasErrorCount() bool
- func (o *OutputStatusResponse) HasForwarded() bool
- func (o *OutputStatusResponse) HasOutputId() bool
- func (o *OutputStatusResponse) HasReceived() bool
- func (o *OutputStatusResponse) HasRetransmits() bool
- func (o OutputStatusResponse) MarshalJSON() ([]byte, error)
- func (o *OutputStatusResponse) SetCollectionId(v string)
- func (o *OutputStatusResponse) SetEnabled(v bool)
- func (o *OutputStatusResponse) SetErrorCount(v int32)
- func (o *OutputStatusResponse) SetForwarded(v int32)
- func (o *OutputStatusResponse) SetOutputId(v string)
- func (o *OutputStatusResponse) SetReceived(v int32)
- func (o *OutputStatusResponse) SetRetransmits(v int32)
- type OutputType
- type OutputsApiService
- func (a *OutputsApiService) CreateOutput(ctx _context.Context, collectionId string) ApiCreateOutputRequest
- func (a *OutputsApiService) CreateOutputExecute(r ApiCreateOutputRequest) (Output, *_nethttp.Response, error)
- func (a *OutputsApiService) DeleteOutput(ctx _context.Context, collectionId string, outputId string) ApiDeleteOutputRequest
- func (a *OutputsApiService) DeleteOutputExecute(r ApiDeleteOutputRequest) (Output, *_nethttp.Response, error)
- func (a *OutputsApiService) ListOutputs(ctx _context.Context, collectionId string) ApiListOutputsRequest
- func (a *OutputsApiService) ListOutputsExecute(r ApiListOutputsRequest) (ListOutputResponse, *_nethttp.Response, error)
- func (a *OutputsApiService) Logs(ctx _context.Context, collectionId string, outputId string) ApiLogsRequest
- func (a *OutputsApiService) LogsExecute(r ApiLogsRequest) (OutputLogResponse, *_nethttp.Response, error)
- func (a *OutputsApiService) RetrieveOutput(ctx _context.Context, collectionId string, outputId string) ApiRetrieveOutputRequest
- func (a *OutputsApiService) RetrieveOutputExecute(r ApiRetrieveOutputRequest) (Output, *_nethttp.Response, error)
- func (a *OutputsApiService) Status(ctx _context.Context, collectionId string, outputId string) ApiStatusRequest
- func (a *OutputsApiService) StatusExecute(r ApiStatusRequest) (OutputStatusResponse, *_nethttp.Response, error)
- func (a *OutputsApiService) UpdateOutput(ctx _context.Context, collectionId string, outputId string) ApiUpdateOutputRequest
- func (a *OutputsApiService) UpdateOutputExecute(r ApiUpdateOutputRequest) (Output, *_nethttp.Response, error)
- type ProtobufAny
- func (o *ProtobufAny) GetTypeUrl() string
- func (o *ProtobufAny) GetTypeUrlOk() (*string, bool)
- func (o *ProtobufAny) GetValue() string
- func (o *ProtobufAny) GetValueOk() (*string, bool)
- func (o *ProtobufAny) HasTypeUrl() bool
- func (o *ProtobufAny) HasValue() bool
- func (o ProtobufAny) MarshalJSON() ([]byte, error)
- func (o *ProtobufAny) SetTypeUrl(v string)
- func (o *ProtobufAny) SetValue(v string)
- type RpcStatus
- func (o *RpcStatus) GetCode() int32
- func (o *RpcStatus) GetCodeOk() (*int32, bool)
- func (o *RpcStatus) GetDetails() []ProtobufAny
- func (o *RpcStatus) GetDetailsOk() (*[]ProtobufAny, bool)
- func (o *RpcStatus) GetMessage() string
- func (o *RpcStatus) GetMessageOk() (*string, bool)
- func (o *RpcStatus) HasCode() bool
- func (o *RpcStatus) HasDetails() bool
- func (o *RpcStatus) HasMessage() bool
- func (o RpcStatus) MarshalJSON() ([]byte, error)
- func (o *RpcStatus) SetCode(v int32)
- func (o *RpcStatus) SetDetails(v []ProtobufAny)
- func (o *RpcStatus) SetMessage(v string)
- type SendMessageRequest
- func (o *SendMessageRequest) GetCoapPath() string
- func (o *SendMessageRequest) GetCoapPathOk() (*string, bool)
- func (o *SendMessageRequest) GetCollectionId() string
- func (o *SendMessageRequest) GetCollectionIdOk() (*string, bool)
- func (o *SendMessageRequest) GetDeviceId() string
- func (o *SendMessageRequest) GetDeviceIdOk() (*string, bool)
- func (o *SendMessageRequest) GetPayload() string
- func (o *SendMessageRequest) GetPayloadOk() (*string, bool)
- func (o *SendMessageRequest) GetPort() int32
- func (o *SendMessageRequest) GetPortOk() (*int32, bool)
- func (o *SendMessageRequest) GetTransport() string
- func (o *SendMessageRequest) GetTransportOk() (*string, bool)
- func (o *SendMessageRequest) HasCoapPath() bool
- func (o *SendMessageRequest) HasCollectionId() bool
- func (o *SendMessageRequest) HasDeviceId() bool
- func (o *SendMessageRequest) HasPayload() bool
- func (o *SendMessageRequest) HasPort() bool
- func (o *SendMessageRequest) HasTransport() bool
- func (o SendMessageRequest) MarshalJSON() ([]byte, error)
- func (o *SendMessageRequest) SetCoapPath(v string)
- func (o *SendMessageRequest) SetCollectionId(v string)
- func (o *SendMessageRequest) SetDeviceId(v string)
- func (o *SendMessageRequest) SetPayload(v string)
- func (o *SendMessageRequest) SetPort(v int32)
- func (o *SendMessageRequest) SetTransport(v string)
- type SendMessageResponse
- func (o *SendMessageResponse) GetBytesSent() int32
- func (o *SendMessageResponse) GetBytesSentOk() (*int32, bool)
- func (o *SendMessageResponse) GetCollectionId() string
- func (o *SendMessageResponse) GetCollectionIdOk() (*string, bool)
- func (o *SendMessageResponse) GetDeviceId() string
- func (o *SendMessageResponse) GetDeviceIdOk() (*string, bool)
- func (o *SendMessageResponse) HasBytesSent() bool
- func (o *SendMessageResponse) HasCollectionId() bool
- func (o *SendMessageResponse) HasDeviceId() bool
- func (o SendMessageResponse) MarshalJSON() ([]byte, error)
- func (o *SendMessageResponse) SetBytesSent(v int32)
- func (o *SendMessageResponse) SetCollectionId(v string)
- func (o *SendMessageResponse) SetDeviceId(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SystemApiService
- type SystemInfoResponse
- func (o *SystemInfoResponse) GetBuildDate() string
- func (o *SystemInfoResponse) GetBuildDateOk() (*string, bool)
- func (o *SystemInfoResponse) GetDefaultFieldMask() FieldMask
- func (o *SystemInfoResponse) GetDefaultFieldMaskOk() (*FieldMask, bool)
- func (o *SystemInfoResponse) GetForcedFieldMask() FieldMask
- func (o *SystemInfoResponse) GetForcedFieldMaskOk() (*FieldMask, bool)
- func (o *SystemInfoResponse) GetReleaseName() string
- func (o *SystemInfoResponse) GetReleaseNameOk() (*string, bool)
- func (o *SystemInfoResponse) GetVersion() string
- func (o *SystemInfoResponse) GetVersionOk() (*string, bool)
- func (o *SystemInfoResponse) HasBuildDate() bool
- func (o *SystemInfoResponse) HasDefaultFieldMask() bool
- func (o *SystemInfoResponse) HasForcedFieldMask() bool
- func (o *SystemInfoResponse) HasReleaseName() bool
- func (o *SystemInfoResponse) HasVersion() bool
- func (o SystemInfoResponse) MarshalJSON() ([]byte, error)
- func (o *SystemInfoResponse) SetBuildDate(v string)
- func (o *SystemInfoResponse) SetDefaultFieldMask(v FieldMask)
- func (o *SystemInfoResponse) SetForcedFieldMask(v FieldMask)
- func (o *SystemInfoResponse) SetReleaseName(v string)
- func (o *SystemInfoResponse) SetVersion(v string)
- type UDPMetadata
- func (o *UDPMetadata) GetLocalPort() int32
- func (o *UDPMetadata) GetLocalPortOk() (*int32, bool)
- func (o *UDPMetadata) GetRemotePort() int32
- func (o *UDPMetadata) GetRemotePortOk() (*int32, bool)
- func (o *UDPMetadata) HasLocalPort() bool
- func (o *UDPMetadata) HasRemotePort() bool
- func (o UDPMetadata) MarshalJSON() ([]byte, error)
- func (o *UDPMetadata) SetLocalPort(v int32)
- func (o *UDPMetadata) SetRemotePort(v int32)
- type UpdateDeviceRequest
- func (o *UpdateDeviceRequest) GetCollectionId() string
- func (o *UpdateDeviceRequest) GetCollectionIdOk() (*string, bool)
- func (o *UpdateDeviceRequest) GetDeviceId() string
- func (o *UpdateDeviceRequest) GetDeviceIdOk() (*string, bool)
- func (o *UpdateDeviceRequest) GetExistingCollectionId() string
- func (o *UpdateDeviceRequest) GetExistingCollectionIdOk() (*string, bool)
- func (o *UpdateDeviceRequest) GetFirmware() FirmwareMetadata
- func (o *UpdateDeviceRequest) GetFirmwareOk() (*FirmwareMetadata, bool)
- func (o *UpdateDeviceRequest) GetImei() string
- func (o *UpdateDeviceRequest) GetImeiOk() (*string, bool)
- func (o *UpdateDeviceRequest) GetImsi() string
- func (o *UpdateDeviceRequest) GetImsiOk() (*string, bool)
- func (o *UpdateDeviceRequest) GetTags() map[string]string
- func (o *UpdateDeviceRequest) GetTagsOk() (*map[string]string, bool)
- func (o *UpdateDeviceRequest) HasCollectionId() bool
- func (o *UpdateDeviceRequest) HasDeviceId() bool
- func (o *UpdateDeviceRequest) HasExistingCollectionId() bool
- func (o *UpdateDeviceRequest) HasFirmware() bool
- func (o *UpdateDeviceRequest) HasImei() bool
- func (o *UpdateDeviceRequest) HasImsi() bool
- func (o *UpdateDeviceRequest) HasTags() bool
- func (o UpdateDeviceRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateDeviceRequest) SetCollectionId(v string)
- func (o *UpdateDeviceRequest) SetDeviceId(v string)
- func (o *UpdateDeviceRequest) SetExistingCollectionId(v string)
- func (o *UpdateDeviceRequest) SetFirmware(v FirmwareMetadata)
- func (o *UpdateDeviceRequest) SetImei(v string)
- func (o *UpdateDeviceRequest) SetImsi(v string)
- func (o *UpdateDeviceRequest) SetTags(v map[string]string)
Constants ¶
This section is empty.
Variables ¶
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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
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 (r ApiBroadcastMessageRequest) Body(body BroadcastMessageRequest) ApiBroadcastMessageRequest
func (ApiBroadcastMessageRequest) Execute ¶ added in v4.1.8
func (r ApiBroadcastMessageRequest) Execute() (MultiSendMessageResponse, *_nethttp.Response, error)
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
func (r ApiClearFirmwareErrorRequest) Execute() (ClearFirmwareErrorResponse, *_nethttp.Response, error)
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 (r ApiCreateCollectionRequest) Body(body Collection) ApiCreateCollectionRequest
func (ApiCreateCollectionRequest) Execute ¶ added in v4.1.8
func (r ApiCreateCollectionRequest) Execute() (Collection, *_nethttp.Response, error)
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 (r ApiCreateDeviceRequest) Body(body Device) ApiCreateDeviceRequest
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 (r ApiCreateFirmwareRequest) Body(body CreateFirmwareRequest) ApiCreateFirmwareRequest
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 (r ApiCreateOutputRequest) Body(body Output) ApiCreateOutputRequest
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 (r ApiDataDumpRequest) Body(body DataDumpRequest) ApiDataDumpRequest
func (ApiDataDumpRequest) Execute ¶ added in v4.1.8
func (r ApiDataDumpRequest) Execute() (DataDumpResponse, *_nethttp.Response, error)
type ApiDeleteCollectionRequest ¶ added in v4.1.8
type ApiDeleteCollectionRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiDeleteCollectionRequest) Execute ¶ added in v4.1.8
func (r ApiDeleteCollectionRequest) Execute() (Collection, *_nethttp.Response, error)
type ApiDeleteDeviceRequest ¶ added in v4.1.8
type ApiDeleteDeviceRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
type ApiDeleteFirmwareRequest ¶ added in v4.1.8
type ApiDeleteFirmwareRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
type ApiDeleteOutputRequest ¶ added in v4.1.8
type ApiDeleteOutputRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
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
func (r ApiFirmwareUsageRequest) Execute() (FirmwareUsageResponse, *_nethttp.Response, error)
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
func (r ApiGetSystemInfoRequest) Execute() (SystemInfoResponse, *_nethttp.Response, error)
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 (r ApiListCollectionDataRequest) End(end string) ApiListCollectionDataRequest
func (ApiListCollectionDataRequest) Execute ¶ added in v4.1.8
func (r ApiListCollectionDataRequest) Execute() (ListDataResponse, *_nethttp.Response, error)
func (ApiListCollectionDataRequest) Limit ¶ added in v4.1.8
func (r ApiListCollectionDataRequest) Limit(limit int32) ApiListCollectionDataRequest
func (ApiListCollectionDataRequest) Offset ¶ added in v4.1.8
func (r ApiListCollectionDataRequest) Offset(offset string) ApiListCollectionDataRequest
func (ApiListCollectionDataRequest) Start ¶ added in v4.1.8
func (r ApiListCollectionDataRequest) Start(start string) ApiListCollectionDataRequest
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
func (r ApiListCollectionsRequest) Execute() (ListCollectionResponse, *_nethttp.Response, error)
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 (r ApiListDeviceDataRequest) End(end string) ApiListDeviceDataRequest
func (ApiListDeviceDataRequest) Execute ¶ added in v4.1.8
func (r ApiListDeviceDataRequest) Execute() (ListDataResponse, *_nethttp.Response, error)
func (ApiListDeviceDataRequest) Limit ¶ added in v4.1.8
func (r ApiListDeviceDataRequest) Limit(limit int32) ApiListDeviceDataRequest
func (ApiListDeviceDataRequest) Offset ¶ added in v4.1.8
func (r ApiListDeviceDataRequest) Offset(offset string) ApiListDeviceDataRequest
func (ApiListDeviceDataRequest) Start ¶ added in v4.1.8
func (r ApiListDeviceDataRequest) Start(start string) ApiListDeviceDataRequest
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
func (r ApiListDevicesRequest) Execute() (ListDevicesResponse, *_nethttp.Response, error)
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
func (r ApiListFirmwareRequest) Execute() (ListFirmwareResponse, *_nethttp.Response, error)
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
func (r ApiListOutputsRequest) Execute() (ListOutputResponse, *_nethttp.Response, error)
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
func (r ApiLogsRequest) Execute() (OutputLogResponse, *_nethttp.Response, error)
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
func (r ApiRetrieveCollectionRequest) Execute() (Collection, *_nethttp.Response, error)
type ApiRetrieveDeviceRequest ¶ added in v4.1.8
type ApiRetrieveDeviceRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
type ApiRetrieveFirmwareRequest ¶ added in v4.1.8
type ApiRetrieveFirmwareRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
type ApiRetrieveOutputRequest ¶ added in v4.1.8
type ApiRetrieveOutputRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
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 (r ApiSendMessageRequest) Body(body SendMessageRequest) ApiSendMessageRequest
func (ApiSendMessageRequest) Execute ¶ added in v4.1.8
func (r ApiSendMessageRequest) Execute() (SendMessageResponse, *_nethttp.Response, error)
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
func (r ApiStatusRequest) Execute() (OutputStatusResponse, *_nethttp.Response, error)
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 (r ApiUpdateCollectionRequest) Body(body Collection) ApiUpdateCollectionRequest
func (ApiUpdateCollectionRequest) Execute ¶ added in v4.1.8
func (r ApiUpdateCollectionRequest) Execute() (Collection, *_nethttp.Response, error)
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 (r ApiUpdateDeviceRequest) Body(body UpdateDeviceRequest) ApiUpdateDeviceRequest
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 (r ApiUpdateFirmwareRequest) Body(body Firmware) ApiUpdateFirmwareRequest
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 (r ApiUpdateOutputRequest) Body(body Output) ApiUpdateOutputRequest
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 ¶
func (o *CollectionFirmware) GetManagement() CollectionFirmwareFirmwareManagement
GetManagement returns the Management field value if set, zero value otherwise.
func (*CollectionFirmware) GetManagementOk ¶
func (o *CollectionFirmware) GetManagementOk() (*CollectionFirmwareFirmwareManagement, bool)
GetManagementOk returns a tuple with the Management field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionFirmware) GetTargetFirmwareId ¶
func (o *CollectionFirmware) GetTargetFirmwareId() string
GetTargetFirmwareId returns the TargetFirmwareId field value if set, zero value otherwise.
func (*CollectionFirmware) GetTargetFirmwareIdOk ¶
func (o *CollectionFirmware) GetTargetFirmwareIdOk() (*string, bool)
GetTargetFirmwareIdOk returns a tuple with the TargetFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionFirmware) HasCurrentFirmwareId ¶
func (o *CollectionFirmware) HasCurrentFirmwareId() bool
HasCurrentFirmwareId returns a boolean if a field has been set.
func (*CollectionFirmware) HasManagement ¶
func (o *CollectionFirmware) HasManagement() bool
HasManagement returns a boolean if a field has been set.
func (*CollectionFirmware) HasTargetFirmwareId ¶
func (o *CollectionFirmware) HasTargetFirmwareId() bool
HasTargetFirmwareId returns a boolean if a field has been set.
func (CollectionFirmware) MarshalJSON ¶
func (o CollectionFirmware) MarshalJSON() ([]byte, error)
func (*CollectionFirmware) SetCurrentFirmwareId ¶
func (o *CollectionFirmware) SetCurrentFirmwareId(v string)
SetCurrentFirmwareId gets a reference to the given string and assigns it to the CurrentFirmwareId field.
func (*CollectionFirmware) SetManagement ¶
func (o *CollectionFirmware) SetManagement(v CollectionFirmwareFirmwareManagement)
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
func (a *CollectionsApiService) BroadcastMessageExecute(r ApiBroadcastMessageRequest) (MultiSendMessageResponse, *_nethttp.Response, error)
* Execute executes the request * @return MultiSendMessageResponse
func (*CollectionsApiService) CreateCollection ¶ added in v4.1.8
func (a *CollectionsApiService) CreateCollection(ctx _context.Context) ApiCreateCollectionRequest
* 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
func (a *CollectionsApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (Collection, *_nethttp.Response, error)
* Execute executes the request * @return Collection
func (*CollectionsApiService) DeleteCollection ¶ added in v4.1.8
func (a *CollectionsApiService) DeleteCollection(ctx _context.Context, collectionId string) ApiDeleteCollectionRequest
* DeleteCollection Delete collection * 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
func (a *CollectionsApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (Collection, *_nethttp.Response, error)
* Execute executes the request * @return Collection
func (*CollectionsApiService) ListCollectionData ¶ added in v4.1.8
func (a *CollectionsApiService) ListCollectionData(ctx _context.Context, collectionId string) ApiListCollectionDataRequest
* ListCollectionData 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
func (a *CollectionsApiService) ListCollectionDataExecute(r ApiListCollectionDataRequest) (ListDataResponse, *_nethttp.Response, error)
* Execute executes the request * @return ListDataResponse
func (*CollectionsApiService) ListCollections ¶ added in v4.1.8
func (a *CollectionsApiService) ListCollections(ctx _context.Context) ApiListCollectionsRequest
* 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
func (a *CollectionsApiService) ListCollectionsExecute(r ApiListCollectionsRequest) (ListCollectionResponse, *_nethttp.Response, error)
* 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
func (a *CollectionsApiService) RetrieveCollectionExecute(r ApiRetrieveCollectionRequest) (Collection, *_nethttp.Response, error)
* 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
func (a *CollectionsApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (Collection, *_nethttp.Response, error)
* Execute executes the request * @return Collection
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
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
func (a *DatadumpApiService) DataDump(ctx _context.Context) ApiDataDumpRequest
* 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
func (a *DatadumpApiService) DataDumpExecute(r ApiDataDumpRequest) (DataDumpResponse, *_nethttp.Response, error)
* 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 ¶
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*Device) GetCollectionIdOk ¶
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 ¶
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*Device) GetDeviceIdOk ¶
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) GetImeiOk ¶
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) GetImsiOk ¶
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) GetTagsOk ¶
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 ¶
HasCollectionId returns a boolean if a field has been set.
func (*Device) HasDeviceId ¶
HasDeviceId returns a boolean if a field has been set.
func (*Device) HasFirmware ¶
HasFirmware returns a boolean if a field has been set.
func (*Device) HasNetwork ¶
HasNetwork returns a boolean if a field has been set.
func (Device) MarshalJSON ¶
func (*Device) SetCollectionId ¶
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*Device) SetDeviceId ¶
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 ¶
SetImei gets a reference to the given string and assigns it to the Imei field.
func (*Device) SetImsi ¶
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.
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
func (a *DevicesApiService) ListDeviceDataExecute(r ApiListDeviceDataRequest) (ListDataResponse, *_nethttp.Response, error)
* 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
func (a *DevicesApiService) ListDevicesExecute(r ApiListDevicesRequest) (ListDevicesResponse, *_nethttp.Response, error)
* 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
func (a *DevicesApiService) SendMessageExecute(r ApiSendMessageRequest) (SendMessageResponse, *_nethttp.Response, error)
* 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) GetImeiOk ¶
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) GetImsiOk ¶
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 ¶
GetLocation returns the Location field value if set, zero value otherwise.
func (*FieldMask) GetLocationOk ¶
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 ¶
GetMsisdn returns the Msisdn field value if set, zero value otherwise.
func (*FieldMask) GetMsisdnOk ¶
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) HasLocation ¶
HasLocation returns a boolean if a field has been set.
func (FieldMask) MarshalJSON ¶
func (*FieldMask) SetImei ¶
SetImei gets a reference to the given bool and assigns it to the Imei field.
func (*FieldMask) SetImsi ¶
SetImsi gets a reference to the given bool and assigns it to the Imsi field.
func (*FieldMask) SetLocation ¶
SetLocation gets a reference to the given bool and assigns it to the Location 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 ¶
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*Firmware) GetCollectionIdOk ¶
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 ¶
GetCreated returns the Created field value if set, zero value otherwise.
func (*Firmware) GetCreatedOk ¶
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 ¶
GetFilename returns the Filename field value if set, zero value otherwise.
func (*Firmware) GetFilenameOk ¶
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 ¶
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*Firmware) GetImageIdOk ¶
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) GetLengthOk ¶
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) GetSha256Ok ¶
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) GetTagsOk ¶
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 ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Firmware) GetVersionOk ¶
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 ¶
HasCollectionId returns a boolean if a field has been set.
func (*Firmware) HasCreated ¶
HasCreated returns a boolean if a field has been set.
func (*Firmware) HasFilename ¶
HasFilename returns a boolean if a field has been set.
func (*Firmware) HasImageId ¶
HasImageId returns a boolean if a field has been set.
func (*Firmware) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Firmware) MarshalJSON ¶
func (*Firmware) SetCollectionId ¶
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*Firmware) SetCreated ¶
SetCreated gets a reference to the given string and assigns it to the Created field.
func (*Firmware) SetFilename ¶
SetFilename gets a reference to the given string and assigns it to the Filename field.
func (*Firmware) SetImageId ¶
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (*Firmware) SetLength ¶
SetLength gets a reference to the given int32 and assigns it to the Length field.
func (*Firmware) SetSha256 ¶
SetSha256 gets a reference to the given string and assigns it to the Sha256 field.
func (*Firmware) SetTags ¶
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*Firmware) SetVersion ¶
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
func (a *FotaApiService) ClearFirmwareErrorExecute(r ApiClearFirmwareErrorRequest) (ClearFirmwareErrorResponse, *_nethttp.Response, error)
* 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
func (a *FotaApiService) FirmwareUsageExecute(r ApiFirmwareUsageRequest) (FirmwareUsageResponse, *_nethttp.Response, error)
* 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
func (a *FotaApiService) ListFirmwareExecute(r ApiListFirmwareRequest) (ListFirmwareResponse, *_nethttp.Response, error)
* 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 ¶
func (o *MultiSendMessageResponse) GetErrors() []MessageSendResult
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 NewNullableBroadcastMessageRequest ¶
func NewNullableBroadcastMessageRequest(val *BroadcastMessageRequest) *NullableBroadcastMessageRequest
func (NullableBroadcastMessageRequest) Get ¶
func (v NullableBroadcastMessageRequest) Get() *BroadcastMessageRequest
func (NullableBroadcastMessageRequest) IsSet ¶
func (v NullableBroadcastMessageRequest) IsSet() bool
func (NullableBroadcastMessageRequest) MarshalJSON ¶
func (v NullableBroadcastMessageRequest) MarshalJSON() ([]byte, error)
func (*NullableBroadcastMessageRequest) Set ¶
func (v *NullableBroadcastMessageRequest) Set(val *BroadcastMessageRequest)
func (*NullableBroadcastMessageRequest) UnmarshalJSON ¶
func (v *NullableBroadcastMessageRequest) UnmarshalJSON(src []byte) error
func (*NullableBroadcastMessageRequest) Unset ¶
func (v *NullableBroadcastMessageRequest) Unset()
type NullableClearFirmwareErrorResponse ¶
type NullableClearFirmwareErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableClearFirmwareErrorResponse ¶
func NewNullableClearFirmwareErrorResponse(val *ClearFirmwareErrorResponse) *NullableClearFirmwareErrorResponse
func (NullableClearFirmwareErrorResponse) Get ¶
func (v NullableClearFirmwareErrorResponse) Get() *ClearFirmwareErrorResponse
func (NullableClearFirmwareErrorResponse) IsSet ¶
func (v NullableClearFirmwareErrorResponse) IsSet() bool
func (NullableClearFirmwareErrorResponse) MarshalJSON ¶
func (v NullableClearFirmwareErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableClearFirmwareErrorResponse) Set ¶
func (v *NullableClearFirmwareErrorResponse) Set(val *ClearFirmwareErrorResponse)
func (*NullableClearFirmwareErrorResponse) UnmarshalJSON ¶
func (v *NullableClearFirmwareErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableClearFirmwareErrorResponse) Unset ¶
func (v *NullableClearFirmwareErrorResponse) Unset()
type NullableCoAPMetadata ¶
type NullableCoAPMetadata struct {
// contains filtered or unexported fields
}
func NewNullableCoAPMetadata ¶
func NewNullableCoAPMetadata(val *CoAPMetadata) *NullableCoAPMetadata
func (NullableCoAPMetadata) Get ¶
func (v NullableCoAPMetadata) Get() *CoAPMetadata
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 (v NullableCollectionFirmware) Get() *CollectionFirmware
func (NullableCollectionFirmware) IsSet ¶
func (v NullableCollectionFirmware) IsSet() bool
func (NullableCollectionFirmware) MarshalJSON ¶
func (v NullableCollectionFirmware) MarshalJSON() ([]byte, error)
func (*NullableCollectionFirmware) Set ¶
func (v *NullableCollectionFirmware) Set(val *CollectionFirmware)
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 NewNullableCollectionFirmwareFirmwareManagement ¶
func NewNullableCollectionFirmwareFirmwareManagement(val *CollectionFirmwareFirmwareManagement) *NullableCollectionFirmwareFirmwareManagement
func (NullableCollectionFirmwareFirmwareManagement) IsSet ¶
func (v NullableCollectionFirmwareFirmwareManagement) IsSet() bool
func (NullableCollectionFirmwareFirmwareManagement) MarshalJSON ¶
func (v NullableCollectionFirmwareFirmwareManagement) MarshalJSON() ([]byte, error)
func (*NullableCollectionFirmwareFirmwareManagement) Set ¶
func (v *NullableCollectionFirmwareFirmwareManagement) Set(val *CollectionFirmwareFirmwareManagement)
func (*NullableCollectionFirmwareFirmwareManagement) UnmarshalJSON ¶
func (v *NullableCollectionFirmwareFirmwareManagement) UnmarshalJSON(src []byte) error
func (*NullableCollectionFirmwareFirmwareManagement) Unset ¶
func (v *NullableCollectionFirmwareFirmwareManagement) Unset()
type NullableCreateFirmwareRequest ¶
type NullableCreateFirmwareRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateFirmwareRequest ¶
func NewNullableCreateFirmwareRequest(val *CreateFirmwareRequest) *NullableCreateFirmwareRequest
func (NullableCreateFirmwareRequest) Get ¶
func (v NullableCreateFirmwareRequest) Get() *CreateFirmwareRequest
func (NullableCreateFirmwareRequest) IsSet ¶
func (v NullableCreateFirmwareRequest) IsSet() bool
func (NullableCreateFirmwareRequest) MarshalJSON ¶
func (v NullableCreateFirmwareRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateFirmwareRequest) Set ¶
func (v *NullableCreateFirmwareRequest) Set(val *CreateFirmwareRequest)
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 (v NullableDataDumpRequest) Get() *DataDumpRequest
func (NullableDataDumpRequest) IsSet ¶
func (v NullableDataDumpRequest) IsSet() bool
func (NullableDataDumpRequest) MarshalJSON ¶
func (v NullableDataDumpRequest) MarshalJSON() ([]byte, error)
func (*NullableDataDumpRequest) Set ¶
func (v *NullableDataDumpRequest) Set(val *DataDumpRequest)
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 (v NullableDataDumpResponse) Get() *DataDumpResponse
func (NullableDataDumpResponse) IsSet ¶
func (v NullableDataDumpResponse) IsSet() bool
func (NullableDataDumpResponse) MarshalJSON ¶
func (v NullableDataDumpResponse) MarshalJSON() ([]byte, error)
func (*NullableDataDumpResponse) Set ¶
func (v *NullableDataDumpResponse) Set(val *DataDumpResponse)
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 (v NullableDumpedCollection) Get() *DumpedCollection
func (NullableDumpedCollection) IsSet ¶
func (v NullableDumpedCollection) IsSet() bool
func (NullableDumpedCollection) MarshalJSON ¶
func (v NullableDumpedCollection) MarshalJSON() ([]byte, error)
func (*NullableDumpedCollection) Set ¶
func (v *NullableDumpedCollection) Set(val *DumpedCollection)
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 (v NullableDumpedDevice) Get() *DumpedDevice
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 (v NullableFirmwareMetadata) Get() *FirmwareMetadata
func (NullableFirmwareMetadata) IsSet ¶
func (v NullableFirmwareMetadata) IsSet() bool
func (NullableFirmwareMetadata) MarshalJSON ¶
func (v NullableFirmwareMetadata) MarshalJSON() ([]byte, error)
func (*NullableFirmwareMetadata) Set ¶
func (v *NullableFirmwareMetadata) Set(val *FirmwareMetadata)
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 NewNullableFirmwareUsageResponse ¶
func NewNullableFirmwareUsageResponse(val *FirmwareUsageResponse) *NullableFirmwareUsageResponse
func (NullableFirmwareUsageResponse) Get ¶
func (v NullableFirmwareUsageResponse) Get() *FirmwareUsageResponse
func (NullableFirmwareUsageResponse) IsSet ¶
func (v NullableFirmwareUsageResponse) IsSet() bool
func (NullableFirmwareUsageResponse) MarshalJSON ¶
func (v NullableFirmwareUsageResponse) MarshalJSON() ([]byte, error)
func (*NullableFirmwareUsageResponse) Set ¶
func (v *NullableFirmwareUsageResponse) Set(val *FirmwareUsageResponse)
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 NewNullableListCollectionResponse ¶
func NewNullableListCollectionResponse(val *ListCollectionResponse) *NullableListCollectionResponse
func (NullableListCollectionResponse) Get ¶
func (v NullableListCollectionResponse) Get() *ListCollectionResponse
func (NullableListCollectionResponse) IsSet ¶
func (v NullableListCollectionResponse) IsSet() bool
func (NullableListCollectionResponse) MarshalJSON ¶
func (v NullableListCollectionResponse) MarshalJSON() ([]byte, error)
func (*NullableListCollectionResponse) Set ¶
func (v *NullableListCollectionResponse) Set(val *ListCollectionResponse)
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 (v NullableListDataResponse) Get() *ListDataResponse
func (NullableListDataResponse) IsSet ¶
func (v NullableListDataResponse) IsSet() bool
func (NullableListDataResponse) MarshalJSON ¶
func (v NullableListDataResponse) MarshalJSON() ([]byte, error)
func (*NullableListDataResponse) Set ¶
func (v *NullableListDataResponse) Set(val *ListDataResponse)
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 (v NullableListDevicesResponse) Get() *ListDevicesResponse
func (NullableListDevicesResponse) IsSet ¶
func (v NullableListDevicesResponse) IsSet() bool
func (NullableListDevicesResponse) MarshalJSON ¶
func (v NullableListDevicesResponse) MarshalJSON() ([]byte, error)
func (*NullableListDevicesResponse) Set ¶
func (v *NullableListDevicesResponse) Set(val *ListDevicesResponse)
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 (v NullableListFirmwareResponse) Get() *ListFirmwareResponse
func (NullableListFirmwareResponse) IsSet ¶
func (v NullableListFirmwareResponse) IsSet() bool
func (NullableListFirmwareResponse) MarshalJSON ¶
func (v NullableListFirmwareResponse) MarshalJSON() ([]byte, error)
func (*NullableListFirmwareResponse) Set ¶
func (v *NullableListFirmwareResponse) Set(val *ListFirmwareResponse)
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 (v NullableListOutputResponse) Get() *ListOutputResponse
func (NullableListOutputResponse) IsSet ¶
func (v NullableListOutputResponse) IsSet() bool
func (NullableListOutputResponse) MarshalJSON ¶
func (v NullableListOutputResponse) MarshalJSON() ([]byte, error)
func (*NullableListOutputResponse) Set ¶
func (v *NullableListOutputResponse) Set(val *ListOutputResponse)
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 (v NullableMessageSendResult) Get() *MessageSendResult
func (NullableMessageSendResult) IsSet ¶
func (v NullableMessageSendResult) IsSet() bool
func (NullableMessageSendResult) MarshalJSON ¶
func (v NullableMessageSendResult) MarshalJSON() ([]byte, error)
func (*NullableMessageSendResult) Set ¶
func (v *NullableMessageSendResult) Set(val *MessageSendResult)
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 NewNullableMultiSendMessageResponse ¶
func NewNullableMultiSendMessageResponse(val *MultiSendMessageResponse) *NullableMultiSendMessageResponse
func (NullableMultiSendMessageResponse) Get ¶
func (v NullableMultiSendMessageResponse) Get() *MultiSendMessageResponse
func (NullableMultiSendMessageResponse) IsSet ¶
func (v NullableMultiSendMessageResponse) IsSet() bool
func (NullableMultiSendMessageResponse) MarshalJSON ¶
func (v NullableMultiSendMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableMultiSendMessageResponse) Set ¶
func (v *NullableMultiSendMessageResponse) Set(val *MultiSendMessageResponse)
func (*NullableMultiSendMessageResponse) UnmarshalJSON ¶
func (v *NullableMultiSendMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableMultiSendMessageResponse) Unset ¶
func (v *NullableMultiSendMessageResponse) Unset()
type NullableNetworkMetadata ¶
type NullableNetworkMetadata struct {
// contains filtered or unexported fields
}
func NewNullableNetworkMetadata ¶
func NewNullableNetworkMetadata(val *NetworkMetadata) *NullableNetworkMetadata
func (NullableNetworkMetadata) Get ¶
func (v NullableNetworkMetadata) Get() *NetworkMetadata
func (NullableNetworkMetadata) IsSet ¶
func (v NullableNetworkMetadata) IsSet() bool
func (NullableNetworkMetadata) MarshalJSON ¶
func (v NullableNetworkMetadata) MarshalJSON() ([]byte, error)
func (*NullableNetworkMetadata) Set ¶
func (v *NullableNetworkMetadata) Set(val *NetworkMetadata)
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 (v NullableOutputConfig) Get() *OutputConfig
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 (v NullableOutputDataMessage) Get() *OutputDataMessage
func (NullableOutputDataMessage) IsSet ¶
func (v NullableOutputDataMessage) IsSet() bool
func (NullableOutputDataMessage) MarshalJSON ¶
func (v NullableOutputDataMessage) MarshalJSON() ([]byte, error)
func (*NullableOutputDataMessage) Set ¶
func (v *NullableOutputDataMessage) Set(val *OutputDataMessage)
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 NewNullableOutputDataMessageOutputMessageType ¶
func NewNullableOutputDataMessageOutputMessageType(val *OutputDataMessageOutputMessageType) *NullableOutputDataMessageOutputMessageType
func (NullableOutputDataMessageOutputMessageType) IsSet ¶
func (v NullableOutputDataMessageOutputMessageType) IsSet() bool
func (NullableOutputDataMessageOutputMessageType) MarshalJSON ¶
func (v NullableOutputDataMessageOutputMessageType) MarshalJSON() ([]byte, error)
func (*NullableOutputDataMessageOutputMessageType) Set ¶
func (v *NullableOutputDataMessageOutputMessageType) Set(val *OutputDataMessageOutputMessageType)
func (*NullableOutputDataMessageOutputMessageType) UnmarshalJSON ¶
func (v *NullableOutputDataMessageOutputMessageType) UnmarshalJSON(src []byte) error
func (*NullableOutputDataMessageOutputMessageType) Unset ¶
func (v *NullableOutputDataMessageOutputMessageType) Unset()
type NullableOutputLogEntry ¶
type NullableOutputLogEntry struct {
// contains filtered or unexported fields
}
func NewNullableOutputLogEntry ¶
func NewNullableOutputLogEntry(val *OutputLogEntry) *NullableOutputLogEntry
func (NullableOutputLogEntry) Get ¶
func (v NullableOutputLogEntry) Get() *OutputLogEntry
func (NullableOutputLogEntry) IsSet ¶
func (v NullableOutputLogEntry) IsSet() bool
func (NullableOutputLogEntry) MarshalJSON ¶
func (v NullableOutputLogEntry) MarshalJSON() ([]byte, error)
func (*NullableOutputLogEntry) Set ¶
func (v *NullableOutputLogEntry) Set(val *OutputLogEntry)
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 (v NullableOutputLogResponse) Get() *OutputLogResponse
func (NullableOutputLogResponse) IsSet ¶
func (v NullableOutputLogResponse) IsSet() bool
func (NullableOutputLogResponse) MarshalJSON ¶
func (v NullableOutputLogResponse) MarshalJSON() ([]byte, error)
func (*NullableOutputLogResponse) Set ¶
func (v *NullableOutputLogResponse) Set(val *OutputLogResponse)
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 (v NullableOutputStatusResponse) Get() *OutputStatusResponse
func (NullableOutputStatusResponse) IsSet ¶
func (v NullableOutputStatusResponse) IsSet() bool
func (NullableOutputStatusResponse) MarshalJSON ¶
func (v NullableOutputStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableOutputStatusResponse) Set ¶
func (v *NullableOutputStatusResponse) Set(val *OutputStatusResponse)
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 (v NullableProtobufAny) Get() *ProtobufAny
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 (v NullableSendMessageRequest) Get() *SendMessageRequest
func (NullableSendMessageRequest) IsSet ¶
func (v NullableSendMessageRequest) IsSet() bool
func (NullableSendMessageRequest) MarshalJSON ¶
func (v NullableSendMessageRequest) MarshalJSON() ([]byte, error)
func (*NullableSendMessageRequest) Set ¶
func (v *NullableSendMessageRequest) Set(val *SendMessageRequest)
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 (v NullableSendMessageResponse) Get() *SendMessageResponse
func (NullableSendMessageResponse) IsSet ¶
func (v NullableSendMessageResponse) IsSet() bool
func (NullableSendMessageResponse) MarshalJSON ¶
func (v NullableSendMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableSendMessageResponse) Set ¶
func (v *NullableSendMessageResponse) Set(val *SendMessageResponse)
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 (v NullableSystemInfoResponse) Get() *SystemInfoResponse
func (NullableSystemInfoResponse) IsSet ¶
func (v NullableSystemInfoResponse) IsSet() bool
func (NullableSystemInfoResponse) MarshalJSON ¶
func (v NullableSystemInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableSystemInfoResponse) Set ¶
func (v *NullableSystemInfoResponse) Set(val *SystemInfoResponse)
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 (v NullableUDPMetadata) Get() *UDPMetadata
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 (v NullableUpdateDeviceRequest) Get() *UpdateDeviceRequest
func (NullableUpdateDeviceRequest) IsSet ¶
func (v NullableUpdateDeviceRequest) IsSet() bool
func (NullableUpdateDeviceRequest) MarshalJSON ¶
func (v NullableUpdateDeviceRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateDeviceRequest) Set ¶
func (v *NullableUpdateDeviceRequest) Set(val *UpdateDeviceRequest)
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 ¶
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*Output) GetCollectionIdOk ¶
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 ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*Output) GetEnabledOk ¶
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 ¶
GetOutputId returns the OutputId field value if set, zero value otherwise.
func (*Output) GetOutputIdOk ¶
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) GetTagsOk ¶
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 ¶
HasCollectionId returns a boolean if a field has been set.
func (*Output) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*Output) HasOutputId ¶
HasOutputId returns a boolean if a field has been set.
func (Output) MarshalJSON ¶
func (*Output) SetCollectionId ¶
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 ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*Output) SetOutputId ¶
SetOutputId gets a reference to the given string and assigns it to the OutputId field.
func (*Output) SetTags ¶
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 ¶
func (o *OutputDataMessage) GetType() OutputDataMessageOutputMessageType
GetType returns the Type field value if set, zero value otherwise.
func (*OutputDataMessage) GetTypeOk ¶
func (o *OutputDataMessage) GetTypeOk() (*OutputDataMessageOutputMessageType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetUdpMetaData ¶
func (o *OutputDataMessage) GetUdpMetaData() UDPMetadata
GetUdpMetaData returns the UdpMetaData field value if set, zero value otherwise.
func (*OutputDataMessage) GetUdpMetaDataOk ¶
func (o *OutputDataMessage) GetUdpMetaDataOk() (*UDPMetadata, bool)
GetUdpMetaDataOk returns a tuple with the UdpMetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) HasCoapMetaData ¶
func (o *OutputDataMessage) HasCoapMetaData() bool
HasCoapMetaData returns a boolean if a field has been set.
func (*OutputDataMessage) HasDevice ¶
func (o *OutputDataMessage) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (*OutputDataMessage) 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 ¶
func (o *OutputDataMessage) SetType(v OutputDataMessageOutputMessageType)
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 ¶
func (v OutputDataMessageOutputMessageType) Ptr() *OutputDataMessageOutputMessageType
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
func (a *OutputsApiService) ListOutputsExecute(r ApiListOutputsRequest) (ListOutputResponse, *_nethttp.Response, error)
* 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
func (a *OutputsApiService) LogsExecute(r ApiLogsRequest) (OutputLogResponse, *_nethttp.Response, error)
* 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
func (a *OutputsApiService) StatusExecute(r ApiStatusRequest) (OutputStatusResponse, *_nethttp.Response, error)
* 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) GetCodeOk ¶
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 ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*RpcStatus) GetMessageOk ¶
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) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*RpcStatus) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (RpcStatus) MarshalJSON ¶
func (*RpcStatus) SetCode ¶
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 ¶
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
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SystemApiService ¶
type SystemApiService service
SystemApiService SystemApi service
func (*SystemApiService) GetSystemInfo ¶ added in v4.1.8
func (a *SystemApiService) GetSystemInfo(ctx _context.Context) ApiGetSystemInfoRequest
* 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
func (a *SystemApiService) GetSystemInfoExecute(r ApiGetSystemInfoRequest) (SystemInfoResponse, *_nethttp.Response, error)
* 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.
Source Files ¶
- api_collections.go
- api_datadump.go
- api_devices.go
- api_fota.go
- api_outputs.go
- api_system.go
- client.go
- configuration.go
- model_broadcast_message_request.go
- model_clear_firmware_error_response.go
- model_co_ap_metadata.go
- model_collection.go
- model_collection_firmware.go
- model_collection_firmware_firmware_management.go
- model_create_firmware_request.go
- model_data_dump_request.go
- model_data_dump_response.go
- model_device.go
- model_dumped_collection.go
- model_dumped_device.go
- model_field_mask.go
- model_firmware.go
- model_firmware_metadata.go
- model_firmware_usage_response.go
- model_list_collection_response.go
- model_list_data_response.go
- model_list_devices_response.go
- model_list_firmware_response.go
- model_list_output_response.go
- model_message_send_result.go
- model_multi_send_message_response.go
- model_network_metadata.go
- model_output.go
- model_output_config.go
- model_output_data_message.go
- model_output_data_message_output_message_type.go
- model_output_log_entry.go
- model_output_log_response.go
- model_output_status_response.go
- model_output_type.go
- model_protobuf_any.go
- model_rpc_status.go
- model_send_message_request.go
- model_send_message_response.go
- model_system_info_response.go
- model_udp_metadata.go
- model_update_device_request.go
- response.go
- utils.go