Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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 ActivityEvent
- func (o *ActivityEvent) GetCollectionId() string
- func (o *ActivityEvent) GetCollectionIdOk() (*string, bool)
- func (o *ActivityEvent) GetData() map[string]string
- func (o *ActivityEvent) GetDataOk() (*map[string]string, bool)
- func (o *ActivityEvent) GetDeviceId() string
- func (o *ActivityEvent) GetDeviceIdOk() (*string, bool)
- func (o *ActivityEvent) GetEvent() string
- func (o *ActivityEvent) GetEventOk() (*string, bool)
- func (o *ActivityEvent) GetGatewayId() string
- func (o *ActivityEvent) GetGatewayIdOk() (*string, bool)
- func (o *ActivityEvent) GetTime() string
- func (o *ActivityEvent) GetTimeOk() (*string, bool)
- func (o *ActivityEvent) HasCollectionId() bool
- func (o *ActivityEvent) HasData() bool
- func (o *ActivityEvent) HasDeviceId() bool
- func (o *ActivityEvent) HasEvent() bool
- func (o *ActivityEvent) HasGatewayId() bool
- func (o *ActivityEvent) HasTime() bool
- func (o ActivityEvent) MarshalJSON() ([]byte, error)
- func (o *ActivityEvent) SetCollectionId(v string)
- func (o *ActivityEvent) SetData(v map[string]string)
- func (o *ActivityEvent) SetDeviceId(v string)
- func (o *ActivityEvent) SetEvent(v string)
- func (o *ActivityEvent) SetGatewayId(v string)
- func (o *ActivityEvent) SetTime(v string)
- func (o ActivityEvent) ToMap() (map[string]interface{}, error)
- type AddDownstreamMessageBody
- func (o *AddDownstreamMessageBody) GetPayload() string
- func (o *AddDownstreamMessageBody) GetPayloadOk() (*string, bool)
- func (o *AddDownstreamMessageBody) HasPayload() bool
- func (o AddDownstreamMessageBody) MarshalJSON() ([]byte, error)
- func (o *AddDownstreamMessageBody) SetPayload(v string)
- func (o AddDownstreamMessageBody) ToMap() (map[string]interface{}, error)
- type Any
- type ApiAddDownstreamMessageRequest
- type ApiClearFirmwareErrorRequest
- type ApiCreateCertificateRequest
- type ApiCreateCollectionRequest
- type ApiCreateDeviceRequest
- type ApiCreateFirmwareRequest
- type ApiCreateGatewayRequest
- type ApiCreateOutputRequest
- type ApiDeleteBlobRequest
- type ApiDeleteCollectionRequest
- type ApiDeleteDeviceRequest
- type ApiDeleteDownstreamMessageRequest
- type ApiDeleteFirmwareRequest
- type ApiDeleteGatewayRequest
- type ApiDeleteOutputRequest
- type ApiDeviceCertificateRequest
- type ApiFirmwareUsageRequest
- type ApiGatewayCertificatesRequest
- type ApiGetSystemInfoRequest
- type ApiListBlobsRequest
- type ApiListCollectionDataRequest
- func (r ApiListCollectionDataRequest) End(end string) ApiListCollectionDataRequest
- func (r ApiListCollectionDataRequest) Execute() (*ListDataResponse, *http.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, *http.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 ApiListDownstreamMessagesRequest
- func (r ApiListDownstreamMessagesRequest) End(end string) ApiListDownstreamMessagesRequest
- func (r ApiListDownstreamMessagesRequest) Execute() (*ListDownstreamMessagesResponse, *http.Response, error)
- func (r ApiListDownstreamMessagesRequest) Limit(limit int32) ApiListDownstreamMessagesRequest
- func (r ApiListDownstreamMessagesRequest) Offset(offset string) ApiListDownstreamMessagesRequest
- func (r ApiListDownstreamMessagesRequest) Start(start string) ApiListDownstreamMessagesRequest
- type ApiListFirmwareRequest
- type ApiListGatewaysRequest
- type ApiListOutputsRequest
- type ApiListUpstreamMessagesRequest
- func (r ApiListUpstreamMessagesRequest) End(end string) ApiListUpstreamMessagesRequest
- func (r ApiListUpstreamMessagesRequest) Execute() (*ListUpstreamMessagesResponse, *http.Response, error)
- func (r ApiListUpstreamMessagesRequest) Limit(limit int32) ApiListUpstreamMessagesRequest
- func (r ApiListUpstreamMessagesRequest) Offset(offset string) ApiListUpstreamMessagesRequest
- func (r ApiListUpstreamMessagesRequest) Start(start string) ApiListUpstreamMessagesRequest
- type ApiLogsRequest
- type ApiRetrieveCertificateChainRequest
- func (r ApiRetrieveCertificateChainRequest) DeviceId(deviceId string) ApiRetrieveCertificateChainRequest
- func (r ApiRetrieveCertificateChainRequest) Execute() (*CertificateChainResponse, *http.Response, error)
- func (r ApiRetrieveCertificateChainRequest) GatewayId(gatewayId string) ApiRetrieveCertificateChainRequest
- type ApiRetrieveCollectionRequest
- type ApiRetrieveCollectionStatsRequest
- type ApiRetrieveDeviceRequest
- type ApiRetrieveDeviceStatsRequest
- type ApiRetrieveFirmwareRequest
- type ApiRetrieveFirmwareStatsRequest
- type ApiRetrieveGatewayRequest
- type ApiRetrieveGatewayStatsRequest
- type ApiRetrieveOutputRequest
- type ApiRetrieveOutputStatsRequest
- type ApiSignCertificateRequest
- type ApiStatusRequest
- type ApiUpdateCollectionRequest
- type ApiUpdateDeviceRequest
- type ApiUpdateFirmwareRequest
- type ApiUpdateGatewayRequest
- type ApiUpdateOutputRequest
- type ApiVerifyCertificateRequest
- type BasicAuth
- type Blob
- func (o *Blob) GetBlobId() string
- func (o *Blob) GetBlobIdOk() (*string, bool)
- func (o *Blob) GetBlobPath() string
- func (o *Blob) GetBlobPathOk() (*string, bool)
- func (o *Blob) GetCollectionId() string
- func (o *Blob) GetCollectionIdOk() (*string, bool)
- func (o *Blob) GetContentType() string
- func (o *Blob) GetContentTypeOk() (*string, bool)
- func (o *Blob) GetCreated() string
- func (o *Blob) GetCreatedOk() (*string, bool)
- func (o *Blob) GetDeviceId() string
- func (o *Blob) GetDeviceIdOk() (*string, bool)
- func (o *Blob) GetGatewayId() string
- func (o *Blob) GetGatewayIdOk() (*string, bool)
- func (o *Blob) GetProperties() map[string]string
- func (o *Blob) GetPropertiesOk() (*map[string]string, bool)
- func (o *Blob) GetSize() string
- func (o *Blob) GetSizeOk() (*string, bool)
- func (o *Blob) HasBlobId() bool
- func (o *Blob) HasBlobPath() bool
- func (o *Blob) HasCollectionId() bool
- func (o *Blob) HasContentType() bool
- func (o *Blob) HasCreated() bool
- func (o *Blob) HasDeviceId() bool
- func (o *Blob) HasGatewayId() bool
- func (o *Blob) HasProperties() bool
- func (o *Blob) HasSize() bool
- func (o Blob) MarshalJSON() ([]byte, error)
- func (o *Blob) SetBlobId(v string)
- func (o *Blob) SetBlobPath(v string)
- func (o *Blob) SetCollectionId(v string)
- func (o *Blob) SetContentType(v string)
- func (o *Blob) SetCreated(v string)
- func (o *Blob) SetDeviceId(v string)
- func (o *Blob) SetGatewayId(v string)
- func (o *Blob) SetProperties(v map[string]string)
- func (o *Blob) SetSize(v string)
- func (o Blob) ToMap() (map[string]interface{}, error)
- type BlobStats
- type BlobsApiService
- func (a *BlobsApiService) DeleteBlob(ctx context.Context, collectionId string, blobId string) ApiDeleteBlobRequest
- func (a *BlobsApiService) DeleteBlobExecute(r ApiDeleteBlobRequest) (map[string]interface{}, *http.Response, error)
- func (a *BlobsApiService) ListBlobs(ctx context.Context, collectionId string) ApiListBlobsRequest
- func (a *BlobsApiService) ListBlobsExecute(r ApiListBlobsRequest) (*ListBlobResponse, *http.Response, error)
- type CellularIoTConfig
- func (o *CellularIoTConfig) GetImei() string
- func (o *CellularIoTConfig) GetImeiOk() (*string, bool)
- func (o *CellularIoTConfig) GetImsi() string
- func (o *CellularIoTConfig) GetImsiOk() (*string, bool)
- func (o *CellularIoTConfig) HasImei() bool
- func (o *CellularIoTConfig) HasImsi() bool
- func (o CellularIoTConfig) MarshalJSON() ([]byte, error)
- func (o *CellularIoTConfig) SetImei(v string)
- func (o *CellularIoTConfig) SetImsi(v string)
- func (o CellularIoTConfig) ToMap() (map[string]interface{}, error)
- type CellularIoTMetadata
- func (o *CellularIoTMetadata) GetAllocatedAt() string
- func (o *CellularIoTMetadata) GetAllocatedAtOk() (*string, bool)
- func (o *CellularIoTMetadata) GetAllocatedIp() string
- func (o *CellularIoTMetadata) GetAllocatedIpOk() (*string, bool)
- func (o *CellularIoTMetadata) GetCellId() string
- func (o *CellularIoTMetadata) GetCellIdOk() (*string, bool)
- func (o *CellularIoTMetadata) GetCountry() string
- func (o *CellularIoTMetadata) GetCountryCode() string
- func (o *CellularIoTMetadata) GetCountryCodeOk() (*string, bool)
- func (o *CellularIoTMetadata) GetCountryOk() (*string, bool)
- func (o *CellularIoTMetadata) GetGatewayId() string
- func (o *CellularIoTMetadata) GetGatewayIdOk() (*string, bool)
- func (o *CellularIoTMetadata) GetLastImei() string
- func (o *CellularIoTMetadata) GetLastImeiOk() (*string, bool)
- func (o *CellularIoTMetadata) GetLastImsi() string
- func (o *CellularIoTMetadata) GetLastImsiOk() (*string, bool)
- func (o *CellularIoTMetadata) GetLastUpdate() string
- func (o *CellularIoTMetadata) GetLastUpdateOk() (*string, bool)
- func (o *CellularIoTMetadata) GetMcc() int32
- func (o *CellularIoTMetadata) GetMccOk() (*int32, bool)
- func (o *CellularIoTMetadata) GetMnc() int32
- func (o *CellularIoTMetadata) GetMncOk() (*int32, bool)
- func (o *CellularIoTMetadata) GetNetwork() string
- func (o *CellularIoTMetadata) GetNetworkOk() (*string, bool)
- func (o *CellularIoTMetadata) HasAllocatedAt() bool
- func (o *CellularIoTMetadata) HasAllocatedIp() bool
- func (o *CellularIoTMetadata) HasCellId() bool
- func (o *CellularIoTMetadata) HasCountry() bool
- func (o *CellularIoTMetadata) HasCountryCode() bool
- func (o *CellularIoTMetadata) HasGatewayId() bool
- func (o *CellularIoTMetadata) HasLastImei() bool
- func (o *CellularIoTMetadata) HasLastImsi() bool
- func (o *CellularIoTMetadata) HasLastUpdate() bool
- func (o *CellularIoTMetadata) HasMcc() bool
- func (o *CellularIoTMetadata) HasMnc() bool
- func (o *CellularIoTMetadata) HasNetwork() bool
- func (o CellularIoTMetadata) MarshalJSON() ([]byte, error)
- func (o *CellularIoTMetadata) SetAllocatedAt(v string)
- func (o *CellularIoTMetadata) SetAllocatedIp(v string)
- func (o *CellularIoTMetadata) SetCellId(v string)
- func (o *CellularIoTMetadata) SetCountry(v string)
- func (o *CellularIoTMetadata) SetCountryCode(v string)
- func (o *CellularIoTMetadata) SetGatewayId(v string)
- func (o *CellularIoTMetadata) SetLastImei(v string)
- func (o *CellularIoTMetadata) SetLastImsi(v string)
- func (o *CellularIoTMetadata) SetLastUpdate(v string)
- func (o *CellularIoTMetadata) SetMcc(v int32)
- func (o *CellularIoTMetadata) SetMnc(v int32)
- func (o *CellularIoTMetadata) SetNetwork(v string)
- func (o CellularIoTMetadata) ToMap() (map[string]interface{}, error)
- type CertificateChainResponse
- func (o *CertificateChainResponse) GetChain() string
- func (o *CertificateChainResponse) GetChainOk() (*string, bool)
- func (o *CertificateChainResponse) HasChain() bool
- func (o CertificateChainResponse) MarshalJSON() ([]byte, error)
- func (o *CertificateChainResponse) SetChain(v string)
- func (o CertificateChainResponse) ToMap() (map[string]interface{}, error)
- type CertificateInfo
- func (o *CertificateInfo) GetCertificateSerial() string
- func (o *CertificateInfo) GetCertificateSerialOk() (*string, bool)
- func (o *CertificateInfo) GetExpires() string
- func (o *CertificateInfo) GetExpiresOk() (*string, bool)
- func (o *CertificateInfo) HasCertificateSerial() bool
- func (o *CertificateInfo) HasExpires() bool
- func (o CertificateInfo) MarshalJSON() ([]byte, error)
- func (o *CertificateInfo) SetCertificateSerial(v string)
- func (o *CertificateInfo) SetExpires(v string)
- func (o CertificateInfo) ToMap() (map[string]interface{}, error)
- type CertificatesApiService
- func (a *CertificatesApiService) CreateCertificate(ctx context.Context, collectionId string) ApiCreateCertificateRequest
- func (a *CertificatesApiService) CreateCertificateExecute(r ApiCreateCertificateRequest) (*CreateCertificateResponse, *http.Response, error)
- func (a *CertificatesApiService) RetrieveCertificateChain(ctx context.Context, collectionId string) ApiRetrieveCertificateChainRequest
- func (a *CertificatesApiService) RetrieveCertificateChainExecute(r ApiRetrieveCertificateChainRequest) (*CertificateChainResponse, *http.Response, error)
- func (a *CertificatesApiService) SignCertificate(ctx context.Context, collectionId string) ApiSignCertificateRequest
- func (a *CertificatesApiService) SignCertificateExecute(r ApiSignCertificateRequest) (*SignCertificateResponse, *http.Response, error)
- func (a *CertificatesApiService) VerifyCertificate(ctx context.Context, collectionId string) ApiVerifyCertificateRequest
- func (a *CertificatesApiService) VerifyCertificateExecute(r ApiVerifyCertificateRequest) (*VerifyCertificateResponse, *http.Response, error)
- type ClearFirmwareErrorResponse
- func (o *ClearFirmwareErrorResponse) GetResult() string
- func (o *ClearFirmwareErrorResponse) GetResultOk() (*string, bool)
- func (o *ClearFirmwareErrorResponse) HasResult() bool
- func (o ClearFirmwareErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ClearFirmwareErrorResponse) SetResult(v string)
- func (o ClearFirmwareErrorResponse) ToMap() (map[string]interface{}, error)
- 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)
- func (o CoAPMetadata) ToMap() (map[string]interface{}, error)
- type Collection
- func (o *Collection) GetCollectionId() string
- func (o *Collection) GetCollectionIdOk() (*string, bool)
- func (o *Collection) GetDownstreamTimestamps() []string
- func (o *Collection) GetDownstreamTimestampsOk() ([]string, bool)
- func (o *Collection) GetEnabled() bool
- func (o *Collection) GetEnabledOk() (*bool, 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) GetUpstreamTimestamps() []string
- func (o *Collection) GetUpstreamTimestampsOk() ([]string, bool)
- func (o *Collection) HasCollectionId() bool
- func (o *Collection) HasDownstreamTimestamps() bool
- func (o *Collection) HasEnabled() bool
- func (o *Collection) HasFirmware() bool
- func (o *Collection) HasTags() bool
- func (o *Collection) HasTeamId() bool
- func (o *Collection) HasUpstreamTimestamps() bool
- func (o Collection) MarshalJSON() ([]byte, error)
- func (o *Collection) SetCollectionId(v string)
- func (o *Collection) SetDownstreamTimestamps(v []string)
- func (o *Collection) SetEnabled(v bool)
- func (o *Collection) SetFirmware(v CollectionFirmware)
- func (o *Collection) SetTags(v map[string]string)
- func (o *Collection) SetTeamId(v string)
- func (o *Collection) SetUpstreamTimestamps(v []string)
- func (o Collection) ToMap() (map[string]interface{}, error)
- type CollectionFirmware
- func (o *CollectionFirmware) GetCurrentFirmwareId() string
- func (o *CollectionFirmware) GetCurrentFirmwareIdOk() (*string, bool)
- func (o *CollectionFirmware) GetManagement() FirmwareManagement
- func (o *CollectionFirmware) GetManagementOk() (*FirmwareManagement, 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 FirmwareManagement)
- func (o *CollectionFirmware) SetTargetFirmwareId(v string)
- func (o CollectionFirmware) ToMap() (map[string]interface{}, error)
- type CollectionStats
- func (o *CollectionStats) GetBlobCount() int32
- func (o *CollectionStats) GetBlobCountOk() (*int32, bool)
- func (o *CollectionStats) GetBlobs() BlobStats
- func (o *CollectionStats) GetBlobsOk() (*BlobStats, bool)
- func (o *CollectionStats) GetDeviceCount() int32
- func (o *CollectionStats) GetDeviceCountOk() (*int32, bool)
- func (o *CollectionStats) GetDevices() DeviceStats
- func (o *CollectionStats) GetDevicesOk() (*DeviceStats, bool)
- func (o *CollectionStats) GetFirmware() FirmwareStats
- func (o *CollectionStats) GetFirmwareCount() int32
- func (o *CollectionStats) GetFirmwareCountOk() (*int32, bool)
- func (o *CollectionStats) GetFirmwareOk() (*FirmwareStats, bool)
- func (o *CollectionStats) GetGatewayCount() int32
- func (o *CollectionStats) GetGatewayCountOk() (*int32, bool)
- func (o *CollectionStats) GetGateways() GatewayStats
- func (o *CollectionStats) GetGatewaysOk() (*GatewayStats, bool)
- func (o *CollectionStats) GetOutputCount() int32
- func (o *CollectionStats) GetOutputCountOk() (*int32, bool)
- func (o *CollectionStats) GetOutputs() OutputStats
- func (o *CollectionStats) GetOutputsOk() (*OutputStats, bool)
- func (o *CollectionStats) HasBlobCount() bool
- func (o *CollectionStats) HasBlobs() bool
- func (o *CollectionStats) HasDeviceCount() bool
- func (o *CollectionStats) HasDevices() bool
- func (o *CollectionStats) HasFirmware() bool
- func (o *CollectionStats) HasFirmwareCount() bool
- func (o *CollectionStats) HasGatewayCount() bool
- func (o *CollectionStats) HasGateways() bool
- func (o *CollectionStats) HasOutputCount() bool
- func (o *CollectionStats) HasOutputs() bool
- func (o CollectionStats) MarshalJSON() ([]byte, error)
- func (o *CollectionStats) SetBlobCount(v int32)
- func (o *CollectionStats) SetBlobs(v BlobStats)
- func (o *CollectionStats) SetDeviceCount(v int32)
- func (o *CollectionStats) SetDevices(v DeviceStats)
- func (o *CollectionStats) SetFirmware(v FirmwareStats)
- func (o *CollectionStats) SetFirmwareCount(v int32)
- func (o *CollectionStats) SetGatewayCount(v int32)
- func (o *CollectionStats) SetGateways(v GatewayStats)
- func (o *CollectionStats) SetOutputCount(v int32)
- func (o *CollectionStats) SetOutputs(v OutputStats)
- func (o CollectionStats) ToMap() (map[string]interface{}, error)
- type CollectionsApiService
- func (a *CollectionsApiService) CreateCollection(ctx context.Context) ApiCreateCollectionRequest
- func (a *CollectionsApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (*Collection, *http.Response, error)
- func (a *CollectionsApiService) DeleteCollection(ctx context.Context, collectionId string) ApiDeleteCollectionRequest
- func (a *CollectionsApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (*Collection, *http.Response, error)
- func (a *CollectionsApiService) ListCollectionData(ctx context.Context, collectionId string) ApiListCollectionDataRequest
- func (a *CollectionsApiService) ListCollectionDataExecute(r ApiListCollectionDataRequest) (*ListDataResponse, *http.Response, error)
- func (a *CollectionsApiService) ListCollections(ctx context.Context) ApiListCollectionsRequest
- func (a *CollectionsApiService) ListCollectionsExecute(r ApiListCollectionsRequest) (*ListCollectionResponse, *http.Response, error)
- func (a *CollectionsApiService) RetrieveCollection(ctx context.Context, collectionId string) ApiRetrieveCollectionRequest
- func (a *CollectionsApiService) RetrieveCollectionExecute(r ApiRetrieveCollectionRequest) (*Collection, *http.Response, error)
- func (a *CollectionsApiService) RetrieveCollectionStats(ctx context.Context, collectionId string) ApiRetrieveCollectionStatsRequest
- func (a *CollectionsApiService) RetrieveCollectionStatsExecute(r ApiRetrieveCollectionStatsRequest) (*CollectionStats, *http.Response, error)
- func (a *CollectionsApiService) UpdateCollection(ctx context.Context, collectionId string) ApiUpdateCollectionRequest
- func (a *CollectionsApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (*Collection, *http.Response, error)
- type Configuration
- type CreateCertificateBody
- func (o *CreateCertificateBody) GetDeviceId() string
- func (o *CreateCertificateBody) GetDeviceIdOk() (*string, bool)
- func (o *CreateCertificateBody) GetGatewayId() string
- func (o *CreateCertificateBody) GetGatewayIdOk() (*string, bool)
- func (o *CreateCertificateBody) HasDeviceId() bool
- func (o *CreateCertificateBody) HasGatewayId() bool
- func (o CreateCertificateBody) MarshalJSON() ([]byte, error)
- func (o *CreateCertificateBody) SetDeviceId(v string)
- func (o *CreateCertificateBody) SetGatewayId(v string)
- func (o CreateCertificateBody) ToMap() (map[string]interface{}, error)
- type CreateCertificateResponse
- func (o *CreateCertificateResponse) GetCertificate() string
- func (o *CreateCertificateResponse) GetCertificateOk() (*string, bool)
- func (o *CreateCertificateResponse) GetChain() string
- func (o *CreateCertificateResponse) GetChainOk() (*string, bool)
- func (o *CreateCertificateResponse) GetPrivateKey() string
- func (o *CreateCertificateResponse) GetPrivateKeyOk() (*string, bool)
- func (o *CreateCertificateResponse) HasCertificate() bool
- func (o *CreateCertificateResponse) HasChain() bool
- func (o *CreateCertificateResponse) HasPrivateKey() bool
- func (o CreateCertificateResponse) MarshalJSON() ([]byte, error)
- func (o *CreateCertificateResponse) SetCertificate(v string)
- func (o *CreateCertificateResponse) SetChain(v string)
- func (o *CreateCertificateResponse) SetPrivateKey(v string)
- func (o CreateCertificateResponse) ToMap() (map[string]interface{}, error)
- type CreateCollectionRequest
- func (o *CreateCollectionRequest) GetFirmware() CollectionFirmware
- func (o *CreateCollectionRequest) GetFirmwareOk() (*CollectionFirmware, bool)
- func (o *CreateCollectionRequest) GetTags() map[string]string
- func (o *CreateCollectionRequest) GetTagsOk() (*map[string]string, bool)
- func (o *CreateCollectionRequest) GetTeamId() string
- func (o *CreateCollectionRequest) GetTeamIdOk() (*string, bool)
- func (o *CreateCollectionRequest) HasFirmware() bool
- func (o *CreateCollectionRequest) HasTags() bool
- func (o *CreateCollectionRequest) HasTeamId() bool
- func (o CreateCollectionRequest) MarshalJSON() ([]byte, error)
- func (o *CreateCollectionRequest) SetFirmware(v CollectionFirmware)
- func (o *CreateCollectionRequest) SetTags(v map[string]string)
- func (o *CreateCollectionRequest) SetTeamId(v string)
- func (o CreateCollectionRequest) ToMap() (map[string]interface{}, error)
- type CreateDeviceBody
- func (o *CreateDeviceBody) GetConfig() DeviceConfig
- func (o *CreateDeviceBody) GetConfigOk() (*DeviceConfig, bool)
- func (o *CreateDeviceBody) GetFirmware() FirmwareMetadata
- func (o *CreateDeviceBody) GetFirmwareOk() (*FirmwareMetadata, bool)
- func (o *CreateDeviceBody) GetMetadata() DeviceMetadata
- func (o *CreateDeviceBody) GetMetadataOk() (*DeviceMetadata, bool)
- func (o *CreateDeviceBody) GetTags() map[string]string
- func (o *CreateDeviceBody) GetTagsOk() (*map[string]string, bool)
- func (o *CreateDeviceBody) HasConfig() bool
- func (o *CreateDeviceBody) HasFirmware() bool
- func (o *CreateDeviceBody) HasMetadata() bool
- func (o *CreateDeviceBody) HasTags() bool
- func (o CreateDeviceBody) MarshalJSON() ([]byte, error)
- func (o *CreateDeviceBody) SetConfig(v DeviceConfig)
- func (o *CreateDeviceBody) SetFirmware(v FirmwareMetadata)
- func (o *CreateDeviceBody) SetMetadata(v DeviceMetadata)
- func (o *CreateDeviceBody) SetTags(v map[string]string)
- func (o CreateDeviceBody) ToMap() (map[string]interface{}, error)
- type CreateFirmwareBody
- func (o *CreateFirmwareBody) GetFilename() string
- func (o *CreateFirmwareBody) GetFilenameOk() (*string, bool)
- func (o *CreateFirmwareBody) GetImage() string
- func (o *CreateFirmwareBody) GetImageOk() (*string, bool)
- func (o *CreateFirmwareBody) GetTags() map[string]string
- func (o *CreateFirmwareBody) GetTagsOk() (*map[string]string, bool)
- func (o *CreateFirmwareBody) GetVersion() string
- func (o *CreateFirmwareBody) GetVersionOk() (*string, bool)
- func (o *CreateFirmwareBody) HasFilename() bool
- func (o *CreateFirmwareBody) HasImage() bool
- func (o *CreateFirmwareBody) HasTags() bool
- func (o *CreateFirmwareBody) HasVersion() bool
- func (o CreateFirmwareBody) MarshalJSON() ([]byte, error)
- func (o *CreateFirmwareBody) SetFilename(v string)
- func (o *CreateFirmwareBody) SetImage(v string)
- func (o *CreateFirmwareBody) SetTags(v map[string]string)
- func (o *CreateFirmwareBody) SetVersion(v string)
- func (o CreateFirmwareBody) ToMap() (map[string]interface{}, error)
- type CreateGatewayBody
- func (o *CreateGatewayBody) GetConfig() GatewayConfig
- func (o *CreateGatewayBody) GetConfigOk() (*GatewayConfig, bool)
- func (o *CreateGatewayBody) GetName() string
- func (o *CreateGatewayBody) GetNameOk() (*string, bool)
- func (o *CreateGatewayBody) GetTags() map[string]string
- func (o *CreateGatewayBody) GetTagsOk() (*map[string]string, bool)
- func (o *CreateGatewayBody) GetType() GatewayType
- func (o *CreateGatewayBody) GetTypeOk() (*GatewayType, bool)
- func (o *CreateGatewayBody) HasConfig() bool
- func (o *CreateGatewayBody) HasName() bool
- func (o *CreateGatewayBody) HasTags() bool
- func (o *CreateGatewayBody) HasType() bool
- func (o CreateGatewayBody) MarshalJSON() ([]byte, error)
- func (o *CreateGatewayBody) SetConfig(v GatewayConfig)
- func (o *CreateGatewayBody) SetName(v string)
- func (o *CreateGatewayBody) SetTags(v map[string]string)
- func (o *CreateGatewayBody) SetType(v GatewayType)
- func (o CreateGatewayBody) ToMap() (map[string]interface{}, error)
- type CreateOutputBody
- func (o *CreateOutputBody) GetConfig() OutputConfig
- func (o *CreateOutputBody) GetConfigOk() (*OutputConfig, bool)
- func (o *CreateOutputBody) GetEnabled() bool
- func (o *CreateOutputBody) GetEnabledOk() (*bool, bool)
- func (o *CreateOutputBody) GetTags() map[string]string
- func (o *CreateOutputBody) GetTagsOk() (*map[string]string, bool)
- func (o *CreateOutputBody) GetType() OutputType
- func (o *CreateOutputBody) GetTypeOk() (*OutputType, bool)
- func (o *CreateOutputBody) HasConfig() bool
- func (o *CreateOutputBody) HasEnabled() bool
- func (o *CreateOutputBody) HasTags() bool
- func (o *CreateOutputBody) HasType() bool
- func (o CreateOutputBody) MarshalJSON() ([]byte, error)
- func (o *CreateOutputBody) SetConfig(v OutputConfig)
- func (o *CreateOutputBody) SetEnabled(v bool)
- func (o *CreateOutputBody) SetTags(v map[string]string)
- func (o *CreateOutputBody) SetType(v OutputType)
- func (o CreateOutputBody) ToMap() (map[string]interface{}, error)
- type DeleteDownstreamMessageResponse
- func (o *DeleteDownstreamMessageResponse) GetMessageId() string
- func (o *DeleteDownstreamMessageResponse) GetMessageIdOk() (*string, bool)
- func (o *DeleteDownstreamMessageResponse) HasMessageId() bool
- func (o DeleteDownstreamMessageResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteDownstreamMessageResponse) SetMessageId(v string)
- func (o DeleteDownstreamMessageResponse) ToMap() (map[string]interface{}, error)
- type Device
- func (o *Device) GetCollectionId() string
- func (o *Device) GetCollectionIdOk() (*string, bool)
- func (o *Device) GetConfig() DeviceConfig
- func (o *Device) GetConfigOk() (*DeviceConfig, bool)
- func (o *Device) GetDeviceId() string
- func (o *Device) GetDeviceIdOk() (*string, bool)
- func (o *Device) GetEnabled() bool
- func (o *Device) GetEnabledOk() (*bool, bool)
- func (o *Device) GetFirmware() FirmwareMetadata
- func (o *Device) GetFirmwareOk() (*FirmwareMetadata, bool)
- func (o *Device) GetLastGatewayId() string
- func (o *Device) GetLastGatewayIdOk() (*string, bool)
- func (o *Device) GetLastPayload() string
- func (o *Device) GetLastPayloadOk() (*string, bool)
- func (o *Device) GetLastReceived() string
- func (o *Device) GetLastReceivedOk() (*string, bool)
- func (o *Device) GetLastTransport() MessageTransport
- func (o *Device) GetLastTransportOk() (*MessageTransport, bool)
- func (o *Device) GetMetadata() DeviceMetadata
- func (o *Device) GetMetadataOk() (*DeviceMetadata, bool)
- func (o *Device) GetTags() map[string]string
- func (o *Device) GetTagsOk() (*map[string]string, bool)
- func (o *Device) HasCollectionId() bool
- func (o *Device) HasConfig() bool
- func (o *Device) HasDeviceId() bool
- func (o *Device) HasEnabled() bool
- func (o *Device) HasFirmware() bool
- func (o *Device) HasLastGatewayId() bool
- func (o *Device) HasLastPayload() bool
- func (o *Device) HasLastReceived() bool
- func (o *Device) HasLastTransport() bool
- func (o *Device) HasMetadata() bool
- func (o *Device) HasTags() bool
- func (o Device) MarshalJSON() ([]byte, error)
- func (o *Device) SetCollectionId(v string)
- func (o *Device) SetConfig(v DeviceConfig)
- func (o *Device) SetDeviceId(v string)
- func (o *Device) SetEnabled(v bool)
- func (o *Device) SetFirmware(v FirmwareMetadata)
- func (o *Device) SetLastGatewayId(v string)
- func (o *Device) SetLastPayload(v string)
- func (o *Device) SetLastReceived(v string)
- func (o *Device) SetLastTransport(v MessageTransport)
- func (o *Device) SetMetadata(v DeviceMetadata)
- func (o *Device) SetTags(v map[string]string)
- func (o Device) ToMap() (map[string]interface{}, error)
- type DeviceCertificateResponse
- func (o *DeviceCertificateResponse) GetCertificates() []CertificateInfo
- func (o *DeviceCertificateResponse) GetCertificatesOk() ([]CertificateInfo, bool)
- func (o *DeviceCertificateResponse) HasCertificates() bool
- func (o DeviceCertificateResponse) MarshalJSON() ([]byte, error)
- func (o *DeviceCertificateResponse) SetCertificates(v []CertificateInfo)
- func (o DeviceCertificateResponse) ToMap() (map[string]interface{}, error)
- type DeviceConfig
- func (o *DeviceConfig) GetCiot() CellularIoTConfig
- func (o *DeviceConfig) GetCiotOk() (*CellularIoTConfig, bool)
- func (o *DeviceConfig) GetGateway() map[string]GatewayDeviceConfig
- func (o *DeviceConfig) GetGatewayOk() (*map[string]GatewayDeviceConfig, bool)
- func (o *DeviceConfig) GetInet() map[string]interface{}
- func (o *DeviceConfig) GetInetOk() (map[string]interface{}, bool)
- func (o *DeviceConfig) HasCiot() bool
- func (o *DeviceConfig) HasGateway() bool
- func (o *DeviceConfig) HasInet() bool
- func (o DeviceConfig) MarshalJSON() ([]byte, error)
- func (o *DeviceConfig) SetCiot(v CellularIoTConfig)
- func (o *DeviceConfig) SetGateway(v map[string]GatewayDeviceConfig)
- func (o *DeviceConfig) SetInet(v map[string]interface{})
- func (o DeviceConfig) ToMap() (map[string]interface{}, error)
- type DeviceMetadata
- func (o *DeviceMetadata) GetCiot() CellularIoTMetadata
- func (o *DeviceMetadata) GetCiotOk() (*CellularIoTMetadata, bool)
- func (o *DeviceMetadata) GetGateway() GatewayDeviceMetadata
- func (o *DeviceMetadata) GetGatewayOk() (*GatewayDeviceMetadata, bool)
- func (o *DeviceMetadata) GetInet() InetMetadata
- func (o *DeviceMetadata) GetInetOk() (*InetMetadata, bool)
- func (o *DeviceMetadata) HasCiot() bool
- func (o *DeviceMetadata) HasGateway() bool
- func (o *DeviceMetadata) HasInet() bool
- func (o DeviceMetadata) MarshalJSON() ([]byte, error)
- func (o *DeviceMetadata) SetCiot(v CellularIoTMetadata)
- func (o *DeviceMetadata) SetGateway(v GatewayDeviceMetadata)
- func (o *DeviceMetadata) SetInet(v InetMetadata)
- func (o DeviceMetadata) ToMap() (map[string]interface{}, error)
- type DeviceStats
- func (o *DeviceStats) GetBytesDownstream() string
- func (o *DeviceStats) GetBytesDownstreamOk() (*string, bool)
- func (o *DeviceStats) GetBytesUpstream() string
- func (o *DeviceStats) GetBytesUpstreamOk() (*string, bool)
- func (o *DeviceStats) GetMessagesDownstream() string
- func (o *DeviceStats) GetMessagesDownstreamOk() (*string, bool)
- func (o *DeviceStats) GetMessagesUpstream() string
- func (o *DeviceStats) GetMessagesUpstreamOk() (*string, bool)
- func (o *DeviceStats) GetSessionCount() int32
- func (o *DeviceStats) GetSessionCountOk() (*int32, bool)
- func (o *DeviceStats) HasBytesDownstream() bool
- func (o *DeviceStats) HasBytesUpstream() bool
- func (o *DeviceStats) HasMessagesDownstream() bool
- func (o *DeviceStats) HasMessagesUpstream() bool
- func (o *DeviceStats) HasSessionCount() bool
- func (o DeviceStats) MarshalJSON() ([]byte, error)
- func (o *DeviceStats) SetBytesDownstream(v string)
- func (o *DeviceStats) SetBytesUpstream(v string)
- func (o *DeviceStats) SetMessagesDownstream(v string)
- func (o *DeviceStats) SetMessagesUpstream(v string)
- func (o *DeviceStats) SetSessionCount(v int32)
- func (o DeviceStats) ToMap() (map[string]interface{}, error)
- type DevicesApiService
- func (a *DevicesApiService) AddDownstreamMessage(ctx context.Context, collectionId string, deviceId string) ApiAddDownstreamMessageRequest
- func (a *DevicesApiService) AddDownstreamMessageExecute(r ApiAddDownstreamMessageRequest) (*MessageDownstream, *http.Response, error)
- func (a *DevicesApiService) CreateDevice(ctx context.Context, collectionId string) ApiCreateDeviceRequest
- func (a *DevicesApiService) CreateDeviceExecute(r ApiCreateDeviceRequest) (*Device, *http.Response, error)
- func (a *DevicesApiService) DeleteDevice(ctx context.Context, collectionId string, deviceId string) ApiDeleteDeviceRequest
- func (a *DevicesApiService) DeleteDeviceExecute(r ApiDeleteDeviceRequest) (*Device, *http.Response, error)
- func (a *DevicesApiService) DeleteDownstreamMessage(ctx context.Context, collectionId string, deviceId string, messageId string) ApiDeleteDownstreamMessageRequest
- func (a *DevicesApiService) DeleteDownstreamMessageExecute(r ApiDeleteDownstreamMessageRequest) (*DeleteDownstreamMessageResponse, *http.Response, error)
- func (a *DevicesApiService) DeviceCertificate(ctx context.Context, collectionId string, deviceId string) ApiDeviceCertificateRequest
- func (a *DevicesApiService) DeviceCertificateExecute(r ApiDeviceCertificateRequest) (*DeviceCertificateResponse, *http.Response, error)
- func (a *DevicesApiService) ListDeviceData(ctx context.Context, collectionId string, deviceId string) ApiListDeviceDataRequest
- func (a *DevicesApiService) ListDeviceDataExecute(r ApiListDeviceDataRequest) (*ListDataResponse, *http.Response, error)
- func (a *DevicesApiService) ListDevices(ctx context.Context, collectionId string) ApiListDevicesRequest
- func (a *DevicesApiService) ListDevicesExecute(r ApiListDevicesRequest) (*ListDevicesResponse, *http.Response, error)
- func (a *DevicesApiService) ListDownstreamMessages(ctx context.Context, collectionId string, deviceId string) ApiListDownstreamMessagesRequest
- func (a *DevicesApiService) ListDownstreamMessagesExecute(r ApiListDownstreamMessagesRequest) (*ListDownstreamMessagesResponse, *http.Response, error)
- func (a *DevicesApiService) ListUpstreamMessages(ctx context.Context, collectionId string, deviceId string) ApiListUpstreamMessagesRequest
- func (a *DevicesApiService) ListUpstreamMessagesExecute(r ApiListUpstreamMessagesRequest) (*ListUpstreamMessagesResponse, *http.Response, error)
- func (a *DevicesApiService) RetrieveDevice(ctx context.Context, collectionId string, deviceId string) ApiRetrieveDeviceRequest
- func (a *DevicesApiService) RetrieveDeviceExecute(r ApiRetrieveDeviceRequest) (*Device, *http.Response, error)
- func (a *DevicesApiService) RetrieveDeviceStats(ctx context.Context, collectionId string, deviceId string) ApiRetrieveDeviceStatsRequest
- func (a *DevicesApiService) RetrieveDeviceStatsExecute(r ApiRetrieveDeviceStatsRequest) (*DeviceStats, *http.Response, error)
- func (a *DevicesApiService) UpdateDevice(ctx context.Context, existingCollectionId string, deviceId string) ApiUpdateDeviceRequest
- func (a *DevicesApiService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (*Device, *http.Response, error)
- 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) GetEnabled() bool
- func (o *Firmware) GetEnabledOk() (*bool, 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) HasEnabled() 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) SetEnabled(v bool)
- 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)
- func (o Firmware) ToMap() (map[string]interface{}, error)
- type FirmwareManagement
- 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)
- func (o FirmwareMetadata) ToMap() (map[string]interface{}, error)
- type FirmwareStats
- func (o *FirmwareStats) GetFirmwareImageSize() int32
- func (o *FirmwareStats) GetFirmwareImageSizeOk() (*int32, bool)
- func (o *FirmwareStats) HasFirmwareImageSize() bool
- func (o FirmwareStats) MarshalJSON() ([]byte, error)
- func (o *FirmwareStats) SetFirmwareImageSize(v int32)
- func (o FirmwareStats) ToMap() (map[string]interface{}, error)
- 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)
- func (o FirmwareUsageResponse) ToMap() (map[string]interface{}, error)
- type FotaApiService
- func (a *FotaApiService) ClearFirmwareError(ctx context.Context, collectionId string, deviceId string) ApiClearFirmwareErrorRequest
- func (a *FotaApiService) ClearFirmwareErrorExecute(r ApiClearFirmwareErrorRequest) (*ClearFirmwareErrorResponse, *http.Response, error)
- func (a *FotaApiService) CreateFirmware(ctx context.Context, collectionId string) ApiCreateFirmwareRequest
- func (a *FotaApiService) CreateFirmwareExecute(r ApiCreateFirmwareRequest) (*Firmware, *http.Response, error)
- func (a *FotaApiService) DeleteFirmware(ctx context.Context, collectionId string, imageId string) ApiDeleteFirmwareRequest
- func (a *FotaApiService) DeleteFirmwareExecute(r ApiDeleteFirmwareRequest) (*Firmware, *http.Response, error)
- func (a *FotaApiService) FirmwareUsage(ctx context.Context, collectionId string, imageId string) ApiFirmwareUsageRequest
- func (a *FotaApiService) FirmwareUsageExecute(r ApiFirmwareUsageRequest) (*FirmwareUsageResponse, *http.Response, error)
- func (a *FotaApiService) ListFirmware(ctx context.Context, collectionId string) ApiListFirmwareRequest
- func (a *FotaApiService) ListFirmwareExecute(r ApiListFirmwareRequest) (*ListFirmwareResponse, *http.Response, error)
- func (a *FotaApiService) RetrieveFirmware(ctx context.Context, collectionId string, imageId string) ApiRetrieveFirmwareRequest
- func (a *FotaApiService) RetrieveFirmwareExecute(r ApiRetrieveFirmwareRequest) (*Firmware, *http.Response, error)
- func (a *FotaApiService) RetrieveFirmwareStats(ctx context.Context, collectionId string, imageId string) ApiRetrieveFirmwareStatsRequest
- func (a *FotaApiService) RetrieveFirmwareStatsExecute(r ApiRetrieveFirmwareStatsRequest) (*FirmwareStats, *http.Response, error)
- func (a *FotaApiService) UpdateFirmware(ctx context.Context, existingCollectionId string, imageId string) ApiUpdateFirmwareRequest
- func (a *FotaApiService) UpdateFirmwareExecute(r ApiUpdateFirmwareRequest) (*Firmware, *http.Response, error)
- type Gateway
- func (o *Gateway) GetBuiltIn() bool
- func (o *Gateway) GetBuiltInOk() (*bool, bool)
- func (o *Gateway) GetCollectionId() string
- func (o *Gateway) GetCollectionIdOk() (*string, bool)
- func (o *Gateway) GetConfig() GatewayConfig
- func (o *Gateway) GetConfigOk() (*GatewayConfig, bool)
- func (o *Gateway) GetEnabled() bool
- func (o *Gateway) GetEnabledOk() (*bool, bool)
- func (o *Gateway) GetGatewayId() string
- func (o *Gateway) GetGatewayIdOk() (*string, bool)
- func (o *Gateway) GetName() string
- func (o *Gateway) GetNameOk() (*string, bool)
- func (o *Gateway) GetStatus() GatewayStatus
- func (o *Gateway) GetStatusOk() (*GatewayStatus, bool)
- func (o *Gateway) GetTags() map[string]string
- func (o *Gateway) GetTagsOk() (*map[string]string, bool)
- func (o *Gateway) GetType() GatewayType
- func (o *Gateway) GetTypeOk() (*GatewayType, bool)
- func (o *Gateway) HasBuiltIn() bool
- func (o *Gateway) HasCollectionId() bool
- func (o *Gateway) HasConfig() bool
- func (o *Gateway) HasEnabled() bool
- func (o *Gateway) HasGatewayId() bool
- func (o *Gateway) HasName() bool
- func (o *Gateway) HasStatus() bool
- func (o *Gateway) HasTags() bool
- func (o *Gateway) HasType() bool
- func (o Gateway) MarshalJSON() ([]byte, error)
- func (o *Gateway) SetBuiltIn(v bool)
- func (o *Gateway) SetCollectionId(v string)
- func (o *Gateway) SetConfig(v GatewayConfig)
- func (o *Gateway) SetEnabled(v bool)
- func (o *Gateway) SetGatewayId(v string)
- func (o *Gateway) SetName(v string)
- func (o *Gateway) SetStatus(v GatewayStatus)
- func (o *Gateway) SetTags(v map[string]string)
- func (o *Gateway) SetType(v GatewayType)
- func (o Gateway) ToMap() (map[string]interface{}, error)
- type GatewayCIoTConfig
- func (o *GatewayCIoTConfig) GetApn() string
- func (o *GatewayCIoTConfig) GetApnOk() (*string, bool)
- func (o *GatewayCIoTConfig) GetCoapEndpoint() string
- func (o *GatewayCIoTConfig) GetCoapEndpointOk() (*string, bool)
- func (o *GatewayCIoTConfig) GetUdpEndpoint() string
- func (o *GatewayCIoTConfig) GetUdpEndpointOk() (*string, bool)
- func (o *GatewayCIoTConfig) HasApn() bool
- func (o *GatewayCIoTConfig) HasCoapEndpoint() bool
- func (o *GatewayCIoTConfig) HasUdpEndpoint() bool
- func (o GatewayCIoTConfig) MarshalJSON() ([]byte, error)
- func (o *GatewayCIoTConfig) SetApn(v string)
- func (o *GatewayCIoTConfig) SetCoapEndpoint(v string)
- func (o *GatewayCIoTConfig) SetUdpEndpoint(v string)
- func (o GatewayCIoTConfig) ToMap() (map[string]interface{}, error)
- type GatewayCertificateResponse
- func (o *GatewayCertificateResponse) GetCertificates() []CertificateInfo
- func (o *GatewayCertificateResponse) GetCertificatesOk() ([]CertificateInfo, bool)
- func (o *GatewayCertificateResponse) HasCertificates() bool
- func (o GatewayCertificateResponse) MarshalJSON() ([]byte, error)
- func (o *GatewayCertificateResponse) SetCertificates(v []CertificateInfo)
- func (o GatewayCertificateResponse) ToMap() (map[string]interface{}, error)
- type GatewayConfig
- func (o *GatewayConfig) GetCiot() GatewayCIoTConfig
- func (o *GatewayConfig) GetCiotOk() (*GatewayCIoTConfig, bool)
- func (o *GatewayConfig) GetInet() GatewayInetConfig
- func (o *GatewayConfig) GetInetOk() (*GatewayInetConfig, bool)
- func (o *GatewayConfig) GetUser() GatewayCustomConfig
- func (o *GatewayConfig) GetUserOk() (*GatewayCustomConfig, bool)
- func (o *GatewayConfig) HasCiot() bool
- func (o *GatewayConfig) HasInet() bool
- func (o *GatewayConfig) HasUser() bool
- func (o GatewayConfig) MarshalJSON() ([]byte, error)
- func (o *GatewayConfig) SetCiot(v GatewayCIoTConfig)
- func (o *GatewayConfig) SetInet(v GatewayInetConfig)
- func (o *GatewayConfig) SetUser(v GatewayCustomConfig)
- func (o GatewayConfig) ToMap() (map[string]interface{}, error)
- type GatewayCustomConfig
- func (o *GatewayCustomConfig) GetParams() map[string]string
- func (o *GatewayCustomConfig) GetParamsOk() (*map[string]string, bool)
- func (o *GatewayCustomConfig) HasParams() bool
- func (o GatewayCustomConfig) MarshalJSON() ([]byte, error)
- func (o *GatewayCustomConfig) SetParams(v map[string]string)
- func (o GatewayCustomConfig) ToMap() (map[string]interface{}, error)
- type GatewayDeviceConfig
- func (o *GatewayDeviceConfig) GetGatewayId() string
- func (o *GatewayDeviceConfig) GetGatewayIdOk() (*string, bool)
- func (o *GatewayDeviceConfig) GetParams() map[string]string
- func (o *GatewayDeviceConfig) GetParamsOk() (*map[string]string, bool)
- func (o *GatewayDeviceConfig) HasGatewayId() bool
- func (o *GatewayDeviceConfig) HasParams() bool
- func (o GatewayDeviceConfig) MarshalJSON() ([]byte, error)
- func (o *GatewayDeviceConfig) SetGatewayId(v string)
- func (o *GatewayDeviceConfig) SetParams(v map[string]string)
- func (o GatewayDeviceConfig) ToMap() (map[string]interface{}, error)
- type GatewayDeviceMetadata
- func (o *GatewayDeviceMetadata) GetGatewayId() string
- func (o *GatewayDeviceMetadata) GetGatewayIdOk() (*string, bool)
- func (o *GatewayDeviceMetadata) GetLastUpdate() string
- func (o *GatewayDeviceMetadata) GetLastUpdateOk() (*string, bool)
- func (o *GatewayDeviceMetadata) GetParams() map[string]string
- func (o *GatewayDeviceMetadata) GetParamsOk() (*map[string]string, bool)
- func (o *GatewayDeviceMetadata) HasGatewayId() bool
- func (o *GatewayDeviceMetadata) HasLastUpdate() bool
- func (o *GatewayDeviceMetadata) HasParams() bool
- func (o GatewayDeviceMetadata) MarshalJSON() ([]byte, error)
- func (o *GatewayDeviceMetadata) SetGatewayId(v string)
- func (o *GatewayDeviceMetadata) SetLastUpdate(v string)
- func (o *GatewayDeviceMetadata) SetParams(v map[string]string)
- func (o GatewayDeviceMetadata) ToMap() (map[string]interface{}, error)
- type GatewayInetConfig
- func (o *GatewayInetConfig) GetCoapEndpoint() string
- func (o *GatewayInetConfig) GetCoapEndpointOk() (*string, bool)
- func (o *GatewayInetConfig) GetDtlsEndpoint() string
- func (o *GatewayInetConfig) GetDtlsEndpointOk() (*string, bool)
- func (o *GatewayInetConfig) GetMqttEndpoint() string
- func (o *GatewayInetConfig) GetMqttEndpointOk() (*string, bool)
- func (o *GatewayInetConfig) HasCoapEndpoint() bool
- func (o *GatewayInetConfig) HasDtlsEndpoint() bool
- func (o *GatewayInetConfig) HasMqttEndpoint() bool
- func (o GatewayInetConfig) MarshalJSON() ([]byte, error)
- func (o *GatewayInetConfig) SetCoapEndpoint(v string)
- func (o *GatewayInetConfig) SetDtlsEndpoint(v string)
- func (o *GatewayInetConfig) SetMqttEndpoint(v string)
- func (o GatewayInetConfig) ToMap() (map[string]interface{}, error)
- type GatewayMetadata
- func (o *GatewayMetadata) GetMetadata() map[string]string
- func (o *GatewayMetadata) GetMetadataOk() (*map[string]string, bool)
- func (o *GatewayMetadata) HasMetadata() bool
- func (o GatewayMetadata) MarshalJSON() ([]byte, error)
- func (o *GatewayMetadata) SetMetadata(v map[string]string)
- func (o GatewayMetadata) ToMap() (map[string]interface{}, error)
- type GatewayStats
- func (o *GatewayStats) GetBytesDownstream() string
- func (o *GatewayStats) GetBytesDownstreamOk() (*string, bool)
- func (o *GatewayStats) GetBytesUpstream() string
- func (o *GatewayStats) GetBytesUpstreamOk() (*string, bool)
- func (o *GatewayStats) GetMessagesDownstream() string
- func (o *GatewayStats) GetMessagesDownstreamOk() (*string, bool)
- func (o *GatewayStats) GetMessagesUpstream() string
- func (o *GatewayStats) GetMessagesUpstreamOk() (*string, bool)
- func (o *GatewayStats) HasBytesDownstream() bool
- func (o *GatewayStats) HasBytesUpstream() bool
- func (o *GatewayStats) HasMessagesDownstream() bool
- func (o *GatewayStats) HasMessagesUpstream() bool
- func (o GatewayStats) MarshalJSON() ([]byte, error)
- func (o *GatewayStats) SetBytesDownstream(v string)
- func (o *GatewayStats) SetBytesUpstream(v string)
- func (o *GatewayStats) SetMessagesDownstream(v string)
- func (o *GatewayStats) SetMessagesUpstream(v string)
- func (o GatewayStats) ToMap() (map[string]interface{}, error)
- type GatewayStatus
- type GatewayType
- type GatewaysApiService
- func (a *GatewaysApiService) CreateGateway(ctx context.Context, collectionId string) ApiCreateGatewayRequest
- func (a *GatewaysApiService) CreateGatewayExecute(r ApiCreateGatewayRequest) (*Gateway, *http.Response, error)
- func (a *GatewaysApiService) DeleteGateway(ctx context.Context, collectionId string, gatewayId string) ApiDeleteGatewayRequest
- func (a *GatewaysApiService) DeleteGatewayExecute(r ApiDeleteGatewayRequest) (*Gateway, *http.Response, error)
- func (a *GatewaysApiService) GatewayCertificates(ctx context.Context, collectionId string, gatewayId string) ApiGatewayCertificatesRequest
- func (a *GatewaysApiService) GatewayCertificatesExecute(r ApiGatewayCertificatesRequest) (*GatewayCertificateResponse, *http.Response, error)
- func (a *GatewaysApiService) ListGateways(ctx context.Context, collectionId string) ApiListGatewaysRequest
- func (a *GatewaysApiService) ListGatewaysExecute(r ApiListGatewaysRequest) (*ListGatewayResponse, *http.Response, error)
- func (a *GatewaysApiService) RetrieveGateway(ctx context.Context, collectionId string, gatewayId string) ApiRetrieveGatewayRequest
- func (a *GatewaysApiService) RetrieveGatewayExecute(r ApiRetrieveGatewayRequest) (*Gateway, *http.Response, error)
- func (a *GatewaysApiService) RetrieveGatewayStats(ctx context.Context, collectionId string, gatewayId string) ApiRetrieveGatewayStatsRequest
- func (a *GatewaysApiService) RetrieveGatewayStatsExecute(r ApiRetrieveGatewayStatsRequest) (*GatewayStats, *http.Response, error)
- func (a *GatewaysApiService) UpdateGateway(ctx context.Context, existingCollectionId string, gatewayId string) ApiUpdateGatewayRequest
- func (a *GatewaysApiService) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*Gateway, *http.Response, error)
- type GenericOpenAPIError
- type InetMetadata
- func (o *InetMetadata) GetCertificateSerial() string
- func (o *InetMetadata) GetCertificateSerialOk() (*string, bool)
- func (o *InetMetadata) GetGatewayId() string
- func (o *InetMetadata) GetGatewayIdOk() (*string, bool)
- func (o *InetMetadata) GetLastUpdate() string
- func (o *InetMetadata) GetLastUpdateOk() (*string, bool)
- func (o *InetMetadata) GetRemoteAddress() string
- func (o *InetMetadata) GetRemoteAddressOk() (*string, bool)
- func (o *InetMetadata) HasCertificateSerial() bool
- func (o *InetMetadata) HasGatewayId() bool
- func (o *InetMetadata) HasLastUpdate() bool
- func (o *InetMetadata) HasRemoteAddress() bool
- func (o InetMetadata) MarshalJSON() ([]byte, error)
- func (o *InetMetadata) SetCertificateSerial(v string)
- func (o *InetMetadata) SetGatewayId(v string)
- func (o *InetMetadata) SetLastUpdate(v string)
- func (o *InetMetadata) SetRemoteAddress(v string)
- func (o InetMetadata) ToMap() (map[string]interface{}, error)
- type ListBlobResponse
- func (o *ListBlobResponse) GetBlobs() []Blob
- func (o *ListBlobResponse) GetBlobsOk() ([]Blob, bool)
- func (o *ListBlobResponse) HasBlobs() bool
- func (o ListBlobResponse) MarshalJSON() ([]byte, error)
- func (o *ListBlobResponse) SetBlobs(v []Blob)
- func (o ListBlobResponse) ToMap() (map[string]interface{}, error)
- 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)
- func (o ListCollectionResponse) ToMap() (map[string]interface{}, error)
- type ListDataResponse
- func (o *ListDataResponse) GetData() []OutputDataMessage
- func (o *ListDataResponse) GetDataOk() ([]OutputDataMessage, bool)
- func (o *ListDataResponse) HasData() bool
- func (o ListDataResponse) MarshalJSON() ([]byte, error)
- func (o *ListDataResponse) SetData(v []OutputDataMessage)
- func (o ListDataResponse) ToMap() (map[string]interface{}, error)
- type ListDevicesResponse
- func (o *ListDevicesResponse) GetDevices() []Device
- func (o *ListDevicesResponse) GetDevicesOk() ([]Device, bool)
- func (o *ListDevicesResponse) HasDevices() bool
- func (o ListDevicesResponse) MarshalJSON() ([]byte, error)
- func (o *ListDevicesResponse) SetDevices(v []Device)
- func (o ListDevicesResponse) ToMap() (map[string]interface{}, error)
- type ListDownstreamMessagesResponse
- func (o *ListDownstreamMessagesResponse) GetMessages() []MessageDownstream
- func (o *ListDownstreamMessagesResponse) GetMessagesOk() ([]MessageDownstream, bool)
- func (o *ListDownstreamMessagesResponse) HasMessages() bool
- func (o ListDownstreamMessagesResponse) MarshalJSON() ([]byte, error)
- func (o *ListDownstreamMessagesResponse) SetMessages(v []MessageDownstream)
- func (o ListDownstreamMessagesResponse) ToMap() (map[string]interface{}, error)
- type ListFirmwareResponse
- func (o *ListFirmwareResponse) GetImages() []Firmware
- func (o *ListFirmwareResponse) GetImagesOk() ([]Firmware, bool)
- func (o *ListFirmwareResponse) HasImages() bool
- func (o ListFirmwareResponse) MarshalJSON() ([]byte, error)
- func (o *ListFirmwareResponse) SetImages(v []Firmware)
- func (o ListFirmwareResponse) ToMap() (map[string]interface{}, error)
- type ListGatewayResponse
- func (o *ListGatewayResponse) GetGateways() []Gateway
- func (o *ListGatewayResponse) GetGatewaysOk() ([]Gateway, bool)
- func (o *ListGatewayResponse) HasGateways() bool
- func (o ListGatewayResponse) MarshalJSON() ([]byte, error)
- func (o *ListGatewayResponse) SetGateways(v []Gateway)
- func (o ListGatewayResponse) ToMap() (map[string]interface{}, error)
- 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)
- func (o ListOutputResponse) ToMap() (map[string]interface{}, error)
- type ListUpstreamMessagesResponse
- func (o *ListUpstreamMessagesResponse) GetMessages() []MessageUpstream
- func (o *ListUpstreamMessagesResponse) GetMessagesOk() ([]MessageUpstream, bool)
- func (o *ListUpstreamMessagesResponse) HasMessages() bool
- func (o ListUpstreamMessagesResponse) MarshalJSON() ([]byte, error)
- func (o *ListUpstreamMessagesResponse) SetMessages(v []MessageUpstream)
- func (o ListUpstreamMessagesResponse) ToMap() (map[string]interface{}, error)
- type MQTTMetadata
- type MappedNullable
- type MessageDownstream
- func (o *MessageDownstream) GetCollectionId() string
- func (o *MessageDownstream) GetCollectionIdOk() (*string, bool)
- func (o *MessageDownstream) GetCreatedTime() string
- func (o *MessageDownstream) GetCreatedTimeOk() (*string, bool)
- func (o *MessageDownstream) GetDeviceId() string
- func (o *MessageDownstream) GetDeviceIdOk() (*string, bool)
- func (o *MessageDownstream) GetGatewayId() string
- func (o *MessageDownstream) GetGatewayIdOk() (*string, bool)
- func (o *MessageDownstream) GetMessageId() string
- func (o *MessageDownstream) GetMessageIdOk() (*string, bool)
- func (o *MessageDownstream) GetPayload() string
- func (o *MessageDownstream) GetPayloadOk() (*string, bool)
- func (o *MessageDownstream) GetSentTime() string
- func (o *MessageDownstream) GetSentTimeOk() (*string, bool)
- func (o *MessageDownstream) GetState() MessageState
- func (o *MessageDownstream) GetStateOk() (*MessageState, bool)
- func (o *MessageDownstream) GetTransport() MessageTransport
- func (o *MessageDownstream) GetTransportOk() (*MessageTransport, bool)
- func (o *MessageDownstream) HasCollectionId() bool
- func (o *MessageDownstream) HasCreatedTime() bool
- func (o *MessageDownstream) HasDeviceId() bool
- func (o *MessageDownstream) HasGatewayId() bool
- func (o *MessageDownstream) HasMessageId() bool
- func (o *MessageDownstream) HasPayload() bool
- func (o *MessageDownstream) HasSentTime() bool
- func (o *MessageDownstream) HasState() bool
- func (o *MessageDownstream) HasTransport() bool
- func (o MessageDownstream) MarshalJSON() ([]byte, error)
- func (o *MessageDownstream) SetCollectionId(v string)
- func (o *MessageDownstream) SetCreatedTime(v string)
- func (o *MessageDownstream) SetDeviceId(v string)
- func (o *MessageDownstream) SetGatewayId(v string)
- func (o *MessageDownstream) SetMessageId(v string)
- func (o *MessageDownstream) SetPayload(v string)
- func (o *MessageDownstream) SetSentTime(v string)
- func (o *MessageDownstream) SetState(v MessageState)
- func (o *MessageDownstream) SetTransport(v MessageTransport)
- func (o MessageDownstream) ToMap() (map[string]interface{}, error)
- type MessageState
- type MessageTransport
- type MessageUpstream
- func (o *MessageUpstream) GetCollectionId() string
- func (o *MessageUpstream) GetCollectionIdOk() (*string, bool)
- func (o *MessageUpstream) GetDeviceId() string
- func (o *MessageUpstream) GetDeviceIdOk() (*string, bool)
- func (o *MessageUpstream) GetGatewayId() string
- func (o *MessageUpstream) GetGatewayIdOk() (*string, bool)
- func (o *MessageUpstream) GetMessageId() string
- func (o *MessageUpstream) GetMessageIdOk() (*string, bool)
- func (o *MessageUpstream) GetPayload() string
- func (o *MessageUpstream) GetPayloadOk() (*string, bool)
- func (o *MessageUpstream) GetReceived() string
- func (o *MessageUpstream) GetReceivedOk() (*string, bool)
- func (o *MessageUpstream) GetTransport() MessageTransport
- func (o *MessageUpstream) GetTransportOk() (*MessageTransport, bool)
- func (o *MessageUpstream) HasCollectionId() bool
- func (o *MessageUpstream) HasDeviceId() bool
- func (o *MessageUpstream) HasGatewayId() bool
- func (o *MessageUpstream) HasMessageId() bool
- func (o *MessageUpstream) HasPayload() bool
- func (o *MessageUpstream) HasReceived() bool
- func (o *MessageUpstream) HasTransport() bool
- func (o MessageUpstream) MarshalJSON() ([]byte, error)
- func (o *MessageUpstream) SetCollectionId(v string)
- func (o *MessageUpstream) SetDeviceId(v string)
- func (o *MessageUpstream) SetGatewayId(v string)
- func (o *MessageUpstream) SetMessageId(v string)
- func (o *MessageUpstream) SetPayload(v string)
- func (o *MessageUpstream) SetReceived(v string)
- func (o *MessageUpstream) SetTransport(v MessageTransport)
- func (o MessageUpstream) ToMap() (map[string]interface{}, error)
- type NullableActivityEvent
- func (v NullableActivityEvent) Get() *ActivityEvent
- func (v NullableActivityEvent) IsSet() bool
- func (v NullableActivityEvent) MarshalJSON() ([]byte, error)
- func (v *NullableActivityEvent) Set(val *ActivityEvent)
- func (v *NullableActivityEvent) UnmarshalJSON(src []byte) error
- func (v *NullableActivityEvent) Unset()
- type NullableAddDownstreamMessageBody
- func (v NullableAddDownstreamMessageBody) Get() *AddDownstreamMessageBody
- func (v NullableAddDownstreamMessageBody) IsSet() bool
- func (v NullableAddDownstreamMessageBody) MarshalJSON() ([]byte, error)
- func (v *NullableAddDownstreamMessageBody) Set(val *AddDownstreamMessageBody)
- func (v *NullableAddDownstreamMessageBody) UnmarshalJSON(src []byte) error
- func (v *NullableAddDownstreamMessageBody) Unset()
- type NullableAny
- type NullableBlob
- type NullableBlobStats
- type NullableBool
- type NullableCellularIoTConfig
- func (v NullableCellularIoTConfig) Get() *CellularIoTConfig
- func (v NullableCellularIoTConfig) IsSet() bool
- func (v NullableCellularIoTConfig) MarshalJSON() ([]byte, error)
- func (v *NullableCellularIoTConfig) Set(val *CellularIoTConfig)
- func (v *NullableCellularIoTConfig) UnmarshalJSON(src []byte) error
- func (v *NullableCellularIoTConfig) Unset()
- type NullableCellularIoTMetadata
- func (v NullableCellularIoTMetadata) Get() *CellularIoTMetadata
- func (v NullableCellularIoTMetadata) IsSet() bool
- func (v NullableCellularIoTMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableCellularIoTMetadata) Set(val *CellularIoTMetadata)
- func (v *NullableCellularIoTMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableCellularIoTMetadata) Unset()
- type NullableCertificateChainResponse
- func (v NullableCertificateChainResponse) Get() *CertificateChainResponse
- func (v NullableCertificateChainResponse) IsSet() bool
- func (v NullableCertificateChainResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCertificateChainResponse) Set(val *CertificateChainResponse)
- func (v *NullableCertificateChainResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCertificateChainResponse) Unset()
- type NullableCertificateInfo
- func (v NullableCertificateInfo) Get() *CertificateInfo
- func (v NullableCertificateInfo) IsSet() bool
- func (v NullableCertificateInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCertificateInfo) Set(val *CertificateInfo)
- func (v *NullableCertificateInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCertificateInfo) 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 NullableCollectionStats
- func (v NullableCollectionStats) Get() *CollectionStats
- func (v NullableCollectionStats) IsSet() bool
- func (v NullableCollectionStats) MarshalJSON() ([]byte, error)
- func (v *NullableCollectionStats) Set(val *CollectionStats)
- func (v *NullableCollectionStats) UnmarshalJSON(src []byte) error
- func (v *NullableCollectionStats) Unset()
- type NullableCreateCertificateBody
- func (v NullableCreateCertificateBody) Get() *CreateCertificateBody
- func (v NullableCreateCertificateBody) IsSet() bool
- func (v NullableCreateCertificateBody) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCertificateBody) Set(val *CreateCertificateBody)
- func (v *NullableCreateCertificateBody) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCertificateBody) Unset()
- type NullableCreateCertificateResponse
- func (v NullableCreateCertificateResponse) Get() *CreateCertificateResponse
- func (v NullableCreateCertificateResponse) IsSet() bool
- func (v NullableCreateCertificateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCertificateResponse) Set(val *CreateCertificateResponse)
- func (v *NullableCreateCertificateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCertificateResponse) Unset()
- type NullableCreateCollectionRequest
- func (v NullableCreateCollectionRequest) Get() *CreateCollectionRequest
- func (v NullableCreateCollectionRequest) IsSet() bool
- func (v NullableCreateCollectionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCollectionRequest) Set(val *CreateCollectionRequest)
- func (v *NullableCreateCollectionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCollectionRequest) Unset()
- type NullableCreateDeviceBody
- func (v NullableCreateDeviceBody) Get() *CreateDeviceBody
- func (v NullableCreateDeviceBody) IsSet() bool
- func (v NullableCreateDeviceBody) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDeviceBody) Set(val *CreateDeviceBody)
- func (v *NullableCreateDeviceBody) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDeviceBody) Unset()
- type NullableCreateFirmwareBody
- func (v NullableCreateFirmwareBody) Get() *CreateFirmwareBody
- func (v NullableCreateFirmwareBody) IsSet() bool
- func (v NullableCreateFirmwareBody) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFirmwareBody) Set(val *CreateFirmwareBody)
- func (v *NullableCreateFirmwareBody) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFirmwareBody) Unset()
- type NullableCreateGatewayBody
- func (v NullableCreateGatewayBody) Get() *CreateGatewayBody
- func (v NullableCreateGatewayBody) IsSet() bool
- func (v NullableCreateGatewayBody) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGatewayBody) Set(val *CreateGatewayBody)
- func (v *NullableCreateGatewayBody) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGatewayBody) Unset()
- type NullableCreateOutputBody
- func (v NullableCreateOutputBody) Get() *CreateOutputBody
- func (v NullableCreateOutputBody) IsSet() bool
- func (v NullableCreateOutputBody) MarshalJSON() ([]byte, error)
- func (v *NullableCreateOutputBody) Set(val *CreateOutputBody)
- func (v *NullableCreateOutputBody) UnmarshalJSON(src []byte) error
- func (v *NullableCreateOutputBody) Unset()
- type NullableDeleteDownstreamMessageResponse
- func (v NullableDeleteDownstreamMessageResponse) Get() *DeleteDownstreamMessageResponse
- func (v NullableDeleteDownstreamMessageResponse) IsSet() bool
- func (v NullableDeleteDownstreamMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteDownstreamMessageResponse) Set(val *DeleteDownstreamMessageResponse)
- func (v *NullableDeleteDownstreamMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteDownstreamMessageResponse) Unset()
- type NullableDevice
- type NullableDeviceCertificateResponse
- func (v NullableDeviceCertificateResponse) Get() *DeviceCertificateResponse
- func (v NullableDeviceCertificateResponse) IsSet() bool
- func (v NullableDeviceCertificateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceCertificateResponse) Set(val *DeviceCertificateResponse)
- func (v *NullableDeviceCertificateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceCertificateResponse) Unset()
- type NullableDeviceConfig
- func (v NullableDeviceConfig) Get() *DeviceConfig
- func (v NullableDeviceConfig) IsSet() bool
- func (v NullableDeviceConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceConfig) Set(val *DeviceConfig)
- func (v *NullableDeviceConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceConfig) Unset()
- type NullableDeviceMetadata
- func (v NullableDeviceMetadata) Get() *DeviceMetadata
- func (v NullableDeviceMetadata) IsSet() bool
- func (v NullableDeviceMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceMetadata) Set(val *DeviceMetadata)
- func (v *NullableDeviceMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceMetadata) Unset()
- type NullableDeviceStats
- func (v NullableDeviceStats) Get() *DeviceStats
- func (v NullableDeviceStats) IsSet() bool
- func (v NullableDeviceStats) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceStats) Set(val *DeviceStats)
- func (v *NullableDeviceStats) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceStats) Unset()
- type NullableFirmware
- type NullableFirmwareManagement
- func (v NullableFirmwareManagement) Get() *FirmwareManagement
- func (v NullableFirmwareManagement) IsSet() bool
- func (v NullableFirmwareManagement) MarshalJSON() ([]byte, error)
- func (v *NullableFirmwareManagement) Set(val *FirmwareManagement)
- func (v *NullableFirmwareManagement) UnmarshalJSON(src []byte) error
- func (v *NullableFirmwareManagement) Unset()
- 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 NullableFirmwareStats
- func (v NullableFirmwareStats) Get() *FirmwareStats
- func (v NullableFirmwareStats) IsSet() bool
- func (v NullableFirmwareStats) MarshalJSON() ([]byte, error)
- func (v *NullableFirmwareStats) Set(val *FirmwareStats)
- func (v *NullableFirmwareStats) UnmarshalJSON(src []byte) error
- func (v *NullableFirmwareStats) 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 NullableGateway
- type NullableGatewayCIoTConfig
- func (v NullableGatewayCIoTConfig) Get() *GatewayCIoTConfig
- func (v NullableGatewayCIoTConfig) IsSet() bool
- func (v NullableGatewayCIoTConfig) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayCIoTConfig) Set(val *GatewayCIoTConfig)
- func (v *NullableGatewayCIoTConfig) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayCIoTConfig) Unset()
- type NullableGatewayCertificateResponse
- func (v NullableGatewayCertificateResponse) Get() *GatewayCertificateResponse
- func (v NullableGatewayCertificateResponse) IsSet() bool
- func (v NullableGatewayCertificateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayCertificateResponse) Set(val *GatewayCertificateResponse)
- func (v *NullableGatewayCertificateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayCertificateResponse) Unset()
- type NullableGatewayConfig
- func (v NullableGatewayConfig) Get() *GatewayConfig
- func (v NullableGatewayConfig) IsSet() bool
- func (v NullableGatewayConfig) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayConfig) Set(val *GatewayConfig)
- func (v *NullableGatewayConfig) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayConfig) Unset()
- type NullableGatewayCustomConfig
- func (v NullableGatewayCustomConfig) Get() *GatewayCustomConfig
- func (v NullableGatewayCustomConfig) IsSet() bool
- func (v NullableGatewayCustomConfig) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayCustomConfig) Set(val *GatewayCustomConfig)
- func (v *NullableGatewayCustomConfig) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayCustomConfig) Unset()
- type NullableGatewayDeviceConfig
- func (v NullableGatewayDeviceConfig) Get() *GatewayDeviceConfig
- func (v NullableGatewayDeviceConfig) IsSet() bool
- func (v NullableGatewayDeviceConfig) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayDeviceConfig) Set(val *GatewayDeviceConfig)
- func (v *NullableGatewayDeviceConfig) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayDeviceConfig) Unset()
- type NullableGatewayDeviceMetadata
- func (v NullableGatewayDeviceMetadata) Get() *GatewayDeviceMetadata
- func (v NullableGatewayDeviceMetadata) IsSet() bool
- func (v NullableGatewayDeviceMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayDeviceMetadata) Set(val *GatewayDeviceMetadata)
- func (v *NullableGatewayDeviceMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayDeviceMetadata) Unset()
- type NullableGatewayInetConfig
- func (v NullableGatewayInetConfig) Get() *GatewayInetConfig
- func (v NullableGatewayInetConfig) IsSet() bool
- func (v NullableGatewayInetConfig) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayInetConfig) Set(val *GatewayInetConfig)
- func (v *NullableGatewayInetConfig) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayInetConfig) Unset()
- type NullableGatewayMetadata
- func (v NullableGatewayMetadata) Get() *GatewayMetadata
- func (v NullableGatewayMetadata) IsSet() bool
- func (v NullableGatewayMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayMetadata) Set(val *GatewayMetadata)
- func (v *NullableGatewayMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayMetadata) Unset()
- type NullableGatewayStats
- func (v NullableGatewayStats) Get() *GatewayStats
- func (v NullableGatewayStats) IsSet() bool
- func (v NullableGatewayStats) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayStats) Set(val *GatewayStats)
- func (v *NullableGatewayStats) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayStats) Unset()
- type NullableGatewayStatus
- func (v NullableGatewayStatus) Get() *GatewayStatus
- func (v NullableGatewayStatus) IsSet() bool
- func (v NullableGatewayStatus) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayStatus) Set(val *GatewayStatus)
- func (v *NullableGatewayStatus) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayStatus) Unset()
- type NullableGatewayType
- func (v NullableGatewayType) Get() *GatewayType
- func (v NullableGatewayType) IsSet() bool
- func (v NullableGatewayType) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayType) Set(val *GatewayType)
- func (v *NullableGatewayType) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayType) Unset()
- type NullableInetMetadata
- func (v NullableInetMetadata) Get() *InetMetadata
- func (v NullableInetMetadata) IsSet() bool
- func (v NullableInetMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableInetMetadata) Set(val *InetMetadata)
- func (v *NullableInetMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableInetMetadata) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListBlobResponse
- func (v NullableListBlobResponse) Get() *ListBlobResponse
- func (v NullableListBlobResponse) IsSet() bool
- func (v NullableListBlobResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListBlobResponse) Set(val *ListBlobResponse)
- func (v *NullableListBlobResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListBlobResponse) Unset()
- 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 NullableListDownstreamMessagesResponse
- func (v NullableListDownstreamMessagesResponse) Get() *ListDownstreamMessagesResponse
- func (v NullableListDownstreamMessagesResponse) IsSet() bool
- func (v NullableListDownstreamMessagesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListDownstreamMessagesResponse) Set(val *ListDownstreamMessagesResponse)
- func (v *NullableListDownstreamMessagesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListDownstreamMessagesResponse) 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 NullableListGatewayResponse
- func (v NullableListGatewayResponse) Get() *ListGatewayResponse
- func (v NullableListGatewayResponse) IsSet() bool
- func (v NullableListGatewayResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListGatewayResponse) Set(val *ListGatewayResponse)
- func (v *NullableListGatewayResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListGatewayResponse) 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 NullableListUpstreamMessagesResponse
- func (v NullableListUpstreamMessagesResponse) Get() *ListUpstreamMessagesResponse
- func (v NullableListUpstreamMessagesResponse) IsSet() bool
- func (v NullableListUpstreamMessagesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUpstreamMessagesResponse) Set(val *ListUpstreamMessagesResponse)
- func (v *NullableListUpstreamMessagesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUpstreamMessagesResponse) Unset()
- type NullableMQTTMetadata
- func (v NullableMQTTMetadata) Get() *MQTTMetadata
- func (v NullableMQTTMetadata) IsSet() bool
- func (v NullableMQTTMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableMQTTMetadata) Set(val *MQTTMetadata)
- func (v *NullableMQTTMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableMQTTMetadata) Unset()
- type NullableMessageDownstream
- func (v NullableMessageDownstream) Get() *MessageDownstream
- func (v NullableMessageDownstream) IsSet() bool
- func (v NullableMessageDownstream) MarshalJSON() ([]byte, error)
- func (v *NullableMessageDownstream) Set(val *MessageDownstream)
- func (v *NullableMessageDownstream) UnmarshalJSON(src []byte) error
- func (v *NullableMessageDownstream) Unset()
- type NullableMessageState
- func (v NullableMessageState) Get() *MessageState
- func (v NullableMessageState) IsSet() bool
- func (v NullableMessageState) MarshalJSON() ([]byte, error)
- func (v *NullableMessageState) Set(val *MessageState)
- func (v *NullableMessageState) UnmarshalJSON(src []byte) error
- func (v *NullableMessageState) Unset()
- type NullableMessageTransport
- func (v NullableMessageTransport) Get() *MessageTransport
- func (v NullableMessageTransport) IsSet() bool
- func (v NullableMessageTransport) MarshalJSON() ([]byte, error)
- func (v *NullableMessageTransport) Set(val *MessageTransport)
- func (v *NullableMessageTransport) UnmarshalJSON(src []byte) error
- func (v *NullableMessageTransport) Unset()
- type NullableMessageUpstream
- func (v NullableMessageUpstream) Get() *MessageUpstream
- func (v NullableMessageUpstream) IsSet() bool
- func (v NullableMessageUpstream) MarshalJSON() ([]byte, error)
- func (v *NullableMessageUpstream) Set(val *MessageUpstream)
- func (v *NullableMessageUpstream) UnmarshalJSON(src []byte) error
- func (v *NullableMessageUpstream) 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 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 NullableOutputMessageType
- func (v NullableOutputMessageType) Get() *OutputMessageType
- func (v NullableOutputMessageType) IsSet() bool
- func (v NullableOutputMessageType) MarshalJSON() ([]byte, error)
- func (v *NullableOutputMessageType) Set(val *OutputMessageType)
- func (v *NullableOutputMessageType) UnmarshalJSON(src []byte) error
- func (v *NullableOutputMessageType) Unset()
- type NullableOutputStats
- func (v NullableOutputStats) Get() *OutputStats
- func (v NullableOutputStats) IsSet() bool
- func (v NullableOutputStats) MarshalJSON() ([]byte, error)
- func (v *NullableOutputStats) Set(val *OutputStats)
- func (v *NullableOutputStats) UnmarshalJSON(src []byte) error
- func (v *NullableOutputStats) 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 NullableRetrieveBlobResponse
- func (v NullableRetrieveBlobResponse) Get() *RetrieveBlobResponse
- func (v NullableRetrieveBlobResponse) IsSet() bool
- func (v NullableRetrieveBlobResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRetrieveBlobResponse) Set(val *RetrieveBlobResponse)
- func (v *NullableRetrieveBlobResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRetrieveBlobResponse) Unset()
- type NullableRpcStatus
- type NullableSignCertificateBody
- func (v NullableSignCertificateBody) Get() *SignCertificateBody
- func (v NullableSignCertificateBody) IsSet() bool
- func (v NullableSignCertificateBody) MarshalJSON() ([]byte, error)
- func (v *NullableSignCertificateBody) Set(val *SignCertificateBody)
- func (v *NullableSignCertificateBody) UnmarshalJSON(src []byte) error
- func (v *NullableSignCertificateBody) Unset()
- type NullableSignCertificateResponse
- func (v NullableSignCertificateResponse) Get() *SignCertificateResponse
- func (v NullableSignCertificateResponse) IsSet() bool
- func (v NullableSignCertificateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSignCertificateResponse) Set(val *SignCertificateResponse)
- func (v *NullableSignCertificateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSignCertificateResponse) 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 NullableUpdateCollectionBody
- func (v NullableUpdateCollectionBody) Get() *UpdateCollectionBody
- func (v NullableUpdateCollectionBody) IsSet() bool
- func (v NullableUpdateCollectionBody) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCollectionBody) Set(val *UpdateCollectionBody)
- func (v *NullableUpdateCollectionBody) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCollectionBody) Unset()
- type NullableUpdateDeviceBody
- func (v NullableUpdateDeviceBody) Get() *UpdateDeviceBody
- func (v NullableUpdateDeviceBody) IsSet() bool
- func (v NullableUpdateDeviceBody) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDeviceBody) Set(val *UpdateDeviceBody)
- func (v *NullableUpdateDeviceBody) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDeviceBody) Unset()
- type NullableUpdateFirmwareBody
- func (v NullableUpdateFirmwareBody) Get() *UpdateFirmwareBody
- func (v NullableUpdateFirmwareBody) IsSet() bool
- func (v NullableUpdateFirmwareBody) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateFirmwareBody) Set(val *UpdateFirmwareBody)
- func (v *NullableUpdateFirmwareBody) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateFirmwareBody) Unset()
- type NullableUpdateGatewayBody
- func (v NullableUpdateGatewayBody) Get() *UpdateGatewayBody
- func (v NullableUpdateGatewayBody) IsSet() bool
- func (v NullableUpdateGatewayBody) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateGatewayBody) Set(val *UpdateGatewayBody)
- func (v *NullableUpdateGatewayBody) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateGatewayBody) Unset()
- type NullableUpdateOutputBody
- func (v NullableUpdateOutputBody) Get() *UpdateOutputBody
- func (v NullableUpdateOutputBody) IsSet() bool
- func (v NullableUpdateOutputBody) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateOutputBody) Set(val *UpdateOutputBody)
- func (v *NullableUpdateOutputBody) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateOutputBody) Unset()
- type NullableVerifyCertificateBody
- func (v NullableVerifyCertificateBody) Get() *VerifyCertificateBody
- func (v NullableVerifyCertificateBody) IsSet() bool
- func (v NullableVerifyCertificateBody) MarshalJSON() ([]byte, error)
- func (v *NullableVerifyCertificateBody) Set(val *VerifyCertificateBody)
- func (v *NullableVerifyCertificateBody) UnmarshalJSON(src []byte) error
- func (v *NullableVerifyCertificateBody) Unset()
- type NullableVerifyCertificateResponse
- func (v NullableVerifyCertificateResponse) Get() *VerifyCertificateResponse
- func (v NullableVerifyCertificateResponse) IsSet() bool
- func (v NullableVerifyCertificateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVerifyCertificateResponse) Set(val *VerifyCertificateResponse)
- func (v *NullableVerifyCertificateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVerifyCertificateResponse) 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)
- func (o Output) ToMap() (map[string]interface{}, error)
- 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) GetPayloadFormat() string
- func (o *OutputConfig) GetPayloadFormatOk() (*string, bool)
- func (o *OutputConfig) GetPayloadTemplate() string
- func (o *OutputConfig) GetPayloadTemplateOk() (*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) GetTopicTemplate() string
- func (o *OutputConfig) GetTopicTemplateOk() (*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) HasPayloadFormat() bool
- func (o *OutputConfig) HasPayloadTemplate() bool
- func (o *OutputConfig) HasPort() bool
- func (o *OutputConfig) HasTopicName() bool
- func (o *OutputConfig) HasTopicTemplate() 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) SetPayloadFormat(v string)
- func (o *OutputConfig) SetPayloadTemplate(v string)
- func (o *OutputConfig) SetPort(v int32)
- func (o *OutputConfig) SetTopicName(v string)
- func (o *OutputConfig) SetTopicTemplate(v string)
- func (o *OutputConfig) SetUrl(v string)
- func (o *OutputConfig) SetUsername(v string)
- func (o OutputConfig) ToMap() (map[string]interface{}, error)
- 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) GetGatewayId() string
- func (o *OutputDataMessage) GetGatewayIdOk() (*string, bool)
- func (o *OutputDataMessage) GetGatewayMetaData() GatewayMetadata
- func (o *OutputDataMessage) GetGatewayMetaDataOk() (*GatewayMetadata, bool)
- func (o *OutputDataMessage) GetMessageId() string
- func (o *OutputDataMessage) GetMessageIdOk() (*string, bool)
- func (o *OutputDataMessage) GetMqttMetaData() MQTTMetadata
- func (o *OutputDataMessage) GetMqttMetaDataOk() (*MQTTMetadata, 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() OutputMessageType
- func (o *OutputDataMessage) GetTypeOk() (*OutputMessageType, 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) HasGatewayId() bool
- func (o *OutputDataMessage) HasGatewayMetaData() bool
- func (o *OutputDataMessage) HasMessageId() bool
- func (o *OutputDataMessage) HasMqttMetaData() 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) SetGatewayId(v string)
- func (o *OutputDataMessage) SetGatewayMetaData(v GatewayMetadata)
- func (o *OutputDataMessage) SetMessageId(v string)
- func (o *OutputDataMessage) SetMqttMetaData(v MQTTMetadata)
- func (o *OutputDataMessage) SetPayload(v string)
- func (o *OutputDataMessage) SetReceived(v string)
- func (o *OutputDataMessage) SetTransport(v string)
- func (o *OutputDataMessage) SetType(v OutputMessageType)
- func (o *OutputDataMessage) SetUdpMetaData(v UDPMetadata)
- func (o OutputDataMessage) ToMap() (map[string]interface{}, error)
- 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)
- func (o OutputLogEntry) ToMap() (map[string]interface{}, error)
- type OutputLogResponse
- func (o *OutputLogResponse) GetLogs() []OutputLogEntry
- func (o *OutputLogResponse) GetLogsOk() ([]OutputLogEntry, bool)
- func (o *OutputLogResponse) HasLogs() bool
- func (o OutputLogResponse) MarshalJSON() ([]byte, error)
- func (o *OutputLogResponse) SetLogs(v []OutputLogEntry)
- func (o OutputLogResponse) ToMap() (map[string]interface{}, error)
- type OutputMessageType
- type OutputStats
- func (o *OutputStats) GetBytesForwarded() string
- func (o *OutputStats) GetBytesForwardedOk() (*string, bool)
- func (o *OutputStats) GetForwardErrors() int32
- func (o *OutputStats) GetForwardErrorsOk() (*int32, bool)
- func (o *OutputStats) GetMessagesForwarded() string
- func (o *OutputStats) GetMessagesForwardedOk() (*string, bool)
- func (o *OutputStats) HasBytesForwarded() bool
- func (o *OutputStats) HasForwardErrors() bool
- func (o *OutputStats) HasMessagesForwarded() bool
- func (o OutputStats) MarshalJSON() ([]byte, error)
- func (o *OutputStats) SetBytesForwarded(v string)
- func (o *OutputStats) SetForwardErrors(v int32)
- func (o *OutputStats) SetMessagesForwarded(v string)
- func (o OutputStats) ToMap() (map[string]interface{}, error)
- 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)
- func (o OutputStatusResponse) ToMap() (map[string]interface{}, error)
- type OutputType
- type OutputsApiService
- func (a *OutputsApiService) CreateOutput(ctx context.Context, collectionId string) ApiCreateOutputRequest
- func (a *OutputsApiService) CreateOutputExecute(r ApiCreateOutputRequest) (*Output, *http.Response, error)
- func (a *OutputsApiService) DeleteOutput(ctx context.Context, collectionId string, outputId string) ApiDeleteOutputRequest
- func (a *OutputsApiService) DeleteOutputExecute(r ApiDeleteOutputRequest) (*Output, *http.Response, error)
- func (a *OutputsApiService) ListOutputs(ctx context.Context, collectionId string) ApiListOutputsRequest
- func (a *OutputsApiService) ListOutputsExecute(r ApiListOutputsRequest) (*ListOutputResponse, *http.Response, error)
- func (a *OutputsApiService) Logs(ctx context.Context, collectionId string, outputId string) ApiLogsRequest
- func (a *OutputsApiService) LogsExecute(r ApiLogsRequest) (*OutputLogResponse, *http.Response, error)
- func (a *OutputsApiService) RetrieveOutput(ctx context.Context, collectionId string, outputId string) ApiRetrieveOutputRequest
- func (a *OutputsApiService) RetrieveOutputExecute(r ApiRetrieveOutputRequest) (*Output, *http.Response, error)
- func (a *OutputsApiService) RetrieveOutputStats(ctx context.Context, collectionId string, outputId string) ApiRetrieveOutputStatsRequest
- func (a *OutputsApiService) RetrieveOutputStatsExecute(r ApiRetrieveOutputStatsRequest) (*OutputStats, *http.Response, error)
- func (a *OutputsApiService) Status(ctx context.Context, collectionId string, outputId string) ApiStatusRequest
- func (a *OutputsApiService) StatusExecute(r ApiStatusRequest) (*OutputStatusResponse, *http.Response, error)
- func (a *OutputsApiService) UpdateOutput(ctx context.Context, existingCollectionId string, outputId string) ApiUpdateOutputRequest
- func (a *OutputsApiService) UpdateOutputExecute(r ApiUpdateOutputRequest) (*Output, *http.Response, error)
- type RetrieveBlobResponse
- func (o *RetrieveBlobResponse) GetContentType() string
- func (o *RetrieveBlobResponse) GetContentTypeOk() (*string, bool)
- func (o *RetrieveBlobResponse) GetData() string
- func (o *RetrieveBlobResponse) GetDataOk() (*string, bool)
- func (o *RetrieveBlobResponse) GetSize() int32
- func (o *RetrieveBlobResponse) GetSizeOk() (*int32, bool)
- func (o *RetrieveBlobResponse) HasContentType() bool
- func (o *RetrieveBlobResponse) HasData() bool
- func (o *RetrieveBlobResponse) HasSize() bool
- func (o RetrieveBlobResponse) MarshalJSON() ([]byte, error)
- func (o *RetrieveBlobResponse) SetContentType(v string)
- func (o *RetrieveBlobResponse) SetData(v string)
- func (o *RetrieveBlobResponse) SetSize(v int32)
- func (o RetrieveBlobResponse) ToMap() (map[string]interface{}, error)
- type RpcStatus
- func (o *RpcStatus) GetCode() int32
- func (o *RpcStatus) GetCodeOk() (*int32, bool)
- func (o *RpcStatus) GetDetails() []Any
- func (o *RpcStatus) GetDetailsOk() ([]Any, 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 []Any)
- func (o *RpcStatus) SetMessage(v string)
- func (o RpcStatus) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SignCertificateBody
- func (o *SignCertificateBody) GetCsr() string
- func (o *SignCertificateBody) GetCsrOk() (*string, bool)
- func (o *SignCertificateBody) GetDeviceId() string
- func (o *SignCertificateBody) GetDeviceIdOk() (*string, bool)
- func (o *SignCertificateBody) GetGatewayId() string
- func (o *SignCertificateBody) GetGatewayIdOk() (*string, bool)
- func (o *SignCertificateBody) HasCsr() bool
- func (o *SignCertificateBody) HasDeviceId() bool
- func (o *SignCertificateBody) HasGatewayId() bool
- func (o SignCertificateBody) MarshalJSON() ([]byte, error)
- func (o *SignCertificateBody) SetCsr(v string)
- func (o *SignCertificateBody) SetDeviceId(v string)
- func (o *SignCertificateBody) SetGatewayId(v string)
- func (o SignCertificateBody) ToMap() (map[string]interface{}, error)
- type SignCertificateResponse
- func (o *SignCertificateResponse) GetCertificate() string
- func (o *SignCertificateResponse) GetCertificateOk() (*string, bool)
- func (o *SignCertificateResponse) GetChain() string
- func (o *SignCertificateResponse) GetChainOk() (*string, bool)
- func (o *SignCertificateResponse) HasCertificate() bool
- func (o *SignCertificateResponse) HasChain() bool
- func (o SignCertificateResponse) MarshalJSON() ([]byte, error)
- func (o *SignCertificateResponse) SetCertificate(v string)
- func (o *SignCertificateResponse) SetChain(v string)
- func (o SignCertificateResponse) ToMap() (map[string]interface{}, error)
- type SpanApiService
- type SystemInfoResponse
- func (o *SystemInfoResponse) GetBuildDate() string
- func (o *SystemInfoResponse) GetBuildDateOk() (*string, 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) HasReleaseName() bool
- func (o *SystemInfoResponse) HasVersion() bool
- func (o SystemInfoResponse) MarshalJSON() ([]byte, error)
- func (o *SystemInfoResponse) SetBuildDate(v string)
- func (o *SystemInfoResponse) SetReleaseName(v string)
- func (o *SystemInfoResponse) SetVersion(v string)
- func (o SystemInfoResponse) ToMap() (map[string]interface{}, error)
- 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)
- func (o UDPMetadata) ToMap() (map[string]interface{}, error)
- type UpdateCollectionBody
- func (o *UpdateCollectionBody) GetEnabled() bool
- func (o *UpdateCollectionBody) GetEnabledOk() (*bool, bool)
- func (o *UpdateCollectionBody) GetFirmware() CollectionFirmware
- func (o *UpdateCollectionBody) GetFirmwareOk() (*CollectionFirmware, bool)
- func (o *UpdateCollectionBody) GetTags() map[string]string
- func (o *UpdateCollectionBody) GetTagsOk() (*map[string]string, bool)
- func (o *UpdateCollectionBody) GetTeamId() string
- func (o *UpdateCollectionBody) GetTeamIdOk() (*string, bool)
- func (o *UpdateCollectionBody) HasEnabled() bool
- func (o *UpdateCollectionBody) HasFirmware() bool
- func (o *UpdateCollectionBody) HasTags() bool
- func (o *UpdateCollectionBody) HasTeamId() bool
- func (o UpdateCollectionBody) MarshalJSON() ([]byte, error)
- func (o *UpdateCollectionBody) SetEnabled(v bool)
- func (o *UpdateCollectionBody) SetFirmware(v CollectionFirmware)
- func (o *UpdateCollectionBody) SetTags(v map[string]string)
- func (o *UpdateCollectionBody) SetTeamId(v string)
- func (o UpdateCollectionBody) ToMap() (map[string]interface{}, error)
- type UpdateDeviceBody
- func (o *UpdateDeviceBody) GetCollectionId() string
- func (o *UpdateDeviceBody) GetCollectionIdOk() (*string, bool)
- func (o *UpdateDeviceBody) GetConfig() DeviceConfig
- func (o *UpdateDeviceBody) GetConfigOk() (*DeviceConfig, bool)
- func (o *UpdateDeviceBody) GetEnabled() bool
- func (o *UpdateDeviceBody) GetEnabledOk() (*bool, bool)
- func (o *UpdateDeviceBody) GetFirmware() FirmwareMetadata
- func (o *UpdateDeviceBody) GetFirmwareOk() (*FirmwareMetadata, bool)
- func (o *UpdateDeviceBody) GetTags() map[string]string
- func (o *UpdateDeviceBody) GetTagsOk() (*map[string]string, bool)
- func (o *UpdateDeviceBody) HasCollectionId() bool
- func (o *UpdateDeviceBody) HasConfig() bool
- func (o *UpdateDeviceBody) HasEnabled() bool
- func (o *UpdateDeviceBody) HasFirmware() bool
- func (o *UpdateDeviceBody) HasTags() bool
- func (o UpdateDeviceBody) MarshalJSON() ([]byte, error)
- func (o *UpdateDeviceBody) SetCollectionId(v string)
- func (o *UpdateDeviceBody) SetConfig(v DeviceConfig)
- func (o *UpdateDeviceBody) SetEnabled(v bool)
- func (o *UpdateDeviceBody) SetFirmware(v FirmwareMetadata)
- func (o *UpdateDeviceBody) SetTags(v map[string]string)
- func (o UpdateDeviceBody) ToMap() (map[string]interface{}, error)
- type UpdateFirmwareBody
- func (o *UpdateFirmwareBody) GetCollectionId() string
- func (o *UpdateFirmwareBody) GetCollectionIdOk() (*string, bool)
- func (o *UpdateFirmwareBody) GetEnabled() bool
- func (o *UpdateFirmwareBody) GetEnabledOk() (*bool, bool)
- func (o *UpdateFirmwareBody) GetTags() map[string]string
- func (o *UpdateFirmwareBody) GetTagsOk() (*map[string]string, bool)
- func (o *UpdateFirmwareBody) GetVersion() string
- func (o *UpdateFirmwareBody) GetVersionOk() (*string, bool)
- func (o *UpdateFirmwareBody) HasCollectionId() bool
- func (o *UpdateFirmwareBody) HasEnabled() bool
- func (o *UpdateFirmwareBody) HasTags() bool
- func (o *UpdateFirmwareBody) HasVersion() bool
- func (o UpdateFirmwareBody) MarshalJSON() ([]byte, error)
- func (o *UpdateFirmwareBody) SetCollectionId(v string)
- func (o *UpdateFirmwareBody) SetEnabled(v bool)
- func (o *UpdateFirmwareBody) SetTags(v map[string]string)
- func (o *UpdateFirmwareBody) SetVersion(v string)
- func (o UpdateFirmwareBody) ToMap() (map[string]interface{}, error)
- type UpdateGatewayBody
- func (o *UpdateGatewayBody) GetCollectionId() string
- func (o *UpdateGatewayBody) GetCollectionIdOk() (*string, bool)
- func (o *UpdateGatewayBody) GetConfig() GatewayConfig
- func (o *UpdateGatewayBody) GetConfigOk() (*GatewayConfig, bool)
- func (o *UpdateGatewayBody) GetEnabled() bool
- func (o *UpdateGatewayBody) GetEnabledOk() (*bool, bool)
- func (o *UpdateGatewayBody) GetName() string
- func (o *UpdateGatewayBody) GetNameOk() (*string, bool)
- func (o *UpdateGatewayBody) GetTags() map[string]string
- func (o *UpdateGatewayBody) GetTagsOk() (*map[string]string, bool)
- func (o *UpdateGatewayBody) GetType() GatewayType
- func (o *UpdateGatewayBody) GetTypeOk() (*GatewayType, bool)
- func (o *UpdateGatewayBody) HasCollectionId() bool
- func (o *UpdateGatewayBody) HasConfig() bool
- func (o *UpdateGatewayBody) HasEnabled() bool
- func (o *UpdateGatewayBody) HasName() bool
- func (o *UpdateGatewayBody) HasTags() bool
- func (o *UpdateGatewayBody) HasType() bool
- func (o UpdateGatewayBody) MarshalJSON() ([]byte, error)
- func (o *UpdateGatewayBody) SetCollectionId(v string)
- func (o *UpdateGatewayBody) SetConfig(v GatewayConfig)
- func (o *UpdateGatewayBody) SetEnabled(v bool)
- func (o *UpdateGatewayBody) SetName(v string)
- func (o *UpdateGatewayBody) SetTags(v map[string]string)
- func (o *UpdateGatewayBody) SetType(v GatewayType)
- func (o UpdateGatewayBody) ToMap() (map[string]interface{}, error)
- type UpdateOutputBody
- func (o *UpdateOutputBody) GetCollectionId() string
- func (o *UpdateOutputBody) GetCollectionIdOk() (*string, bool)
- func (o *UpdateOutputBody) GetConfig() OutputConfig
- func (o *UpdateOutputBody) GetConfigOk() (*OutputConfig, bool)
- func (o *UpdateOutputBody) GetEnabled() bool
- func (o *UpdateOutputBody) GetEnabledOk() (*bool, bool)
- func (o *UpdateOutputBody) GetTags() map[string]string
- func (o *UpdateOutputBody) GetTagsOk() (*map[string]string, bool)
- func (o *UpdateOutputBody) GetType() OutputType
- func (o *UpdateOutputBody) GetTypeOk() (*OutputType, bool)
- func (o *UpdateOutputBody) HasCollectionId() bool
- func (o *UpdateOutputBody) HasConfig() bool
- func (o *UpdateOutputBody) HasEnabled() bool
- func (o *UpdateOutputBody) HasTags() bool
- func (o *UpdateOutputBody) HasType() bool
- func (o UpdateOutputBody) MarshalJSON() ([]byte, error)
- func (o *UpdateOutputBody) SetCollectionId(v string)
- func (o *UpdateOutputBody) SetConfig(v OutputConfig)
- func (o *UpdateOutputBody) SetEnabled(v bool)
- func (o *UpdateOutputBody) SetTags(v map[string]string)
- func (o *UpdateOutputBody) SetType(v OutputType)
- func (o UpdateOutputBody) ToMap() (map[string]interface{}, error)
- type VerifyCertificateBody
- func (o *VerifyCertificateBody) GetCertificate() string
- func (o *VerifyCertificateBody) GetCertificateOk() (*string, bool)
- func (o *VerifyCertificateBody) GetDeviceId() string
- func (o *VerifyCertificateBody) GetDeviceIdOk() (*string, bool)
- func (o *VerifyCertificateBody) GetGatewayId() string
- func (o *VerifyCertificateBody) GetGatewayIdOk() (*string, bool)
- func (o *VerifyCertificateBody) HasCertificate() bool
- func (o *VerifyCertificateBody) HasDeviceId() bool
- func (o *VerifyCertificateBody) HasGatewayId() bool
- func (o VerifyCertificateBody) MarshalJSON() ([]byte, error)
- func (o *VerifyCertificateBody) SetCertificate(v string)
- func (o *VerifyCertificateBody) SetDeviceId(v string)
- func (o *VerifyCertificateBody) SetGatewayId(v string)
- func (o VerifyCertificateBody) ToMap() (map[string]interface{}, error)
- type VerifyCertificateResponse
- func (o *VerifyCertificateResponse) GetErrors() []string
- func (o *VerifyCertificateResponse) GetErrorsOk() ([]string, bool)
- func (o *VerifyCertificateResponse) GetValid() bool
- func (o *VerifyCertificateResponse) GetValidOk() (*bool, bool)
- func (o *VerifyCertificateResponse) HasErrors() bool
- func (o *VerifyCertificateResponse) HasValid() bool
- func (o VerifyCertificateResponse) MarshalJSON() ([]byte, error)
- func (o *VerifyCertificateResponse) SetErrors(v []string)
- func (o *VerifyCertificateResponse) SetValid(v bool)
- func (o VerifyCertificateResponse) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedFirmwareManagementEnumValues = []FirmwareManagement{
"unspecified",
"disabled",
"collection",
"device",
}
All allowed values of FirmwareManagement enum
var AllowedGatewayStatusEnumValues = []GatewayStatus{
"unknown",
"offline",
"online",
}
All allowed values of GatewayStatus enum
var AllowedGatewayTypeEnumValues = []GatewayType{
"unknown",
"ciot",
"inet",
"lora",
"openthread",
"zigbee",
"matter",
"custom",
}
All allowed values of GatewayType enum
var AllowedMessageStateEnumValues = []MessageState{
"unspecified",
"pending",
"sent",
"failed",
}
All allowed values of MessageState enum
var AllowedMessageTransportEnumValues = []MessageTransport{
"unspecified",
"udp",
"coap",
"mqtt",
"gateway",
"coaps",
"dtls",
}
All allowed values of MessageTransport enum
var AllowedOutputMessageTypeEnumValues = []OutputMessageType{
"unknown",
"keepalive",
"data",
}
All allowed values of OutputMessageType enum
var AllowedOutputTypeEnumValues = []OutputType{
"undefined",
"webhook",
"udpout",
"mqttclient",
"ifttt",
"mqttbroker",
}
All allowed values of OutputType enum
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 { BlobsApi *BlobsApiService CertificatesApi *CertificatesApiService CollectionsApi *CollectionsApiService DevicesApi *DevicesApiService FotaApi *FotaApiService GatewaysApi *GatewaysApiService OutputsApi *OutputsApiService SpanApi *SpanApiService // contains filtered or unexported fields }
APIClient manages communication with the The Span API API v5.0.3 pitch-dark-elza In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ActivityEvent ¶
type ActivityEvent struct { Event *string `json:"event,omitempty"` Time *string `json:"time,omitempty"` CollectionId *string `json:"collectionId,omitempty"` DeviceId *string `json:"deviceId,omitempty"` GatewayId *string `json:"gatewayId,omitempty"` Data *map[string]string `json:"data,omitempty"` }
ActivityEvent struct for ActivityEvent
func NewActivityEvent ¶
func NewActivityEvent() *ActivityEvent
NewActivityEvent instantiates a new ActivityEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActivityEventWithDefaults ¶
func NewActivityEventWithDefaults() *ActivityEvent
NewActivityEventWithDefaults instantiates a new ActivityEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActivityEvent) GetCollectionId ¶
func (o *ActivityEvent) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*ActivityEvent) GetCollectionIdOk ¶
func (o *ActivityEvent) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityEvent) GetData ¶
func (o *ActivityEvent) GetData() map[string]string
GetData returns the Data field value if set, zero value otherwise.
func (*ActivityEvent) GetDataOk ¶
func (o *ActivityEvent) GetDataOk() (*map[string]string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityEvent) GetDeviceId ¶
func (o *ActivityEvent) GetDeviceId() string
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*ActivityEvent) GetDeviceIdOk ¶
func (o *ActivityEvent) GetDeviceIdOk() (*string, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityEvent) GetEvent ¶
func (o *ActivityEvent) GetEvent() string
GetEvent returns the Event field value if set, zero value otherwise.
func (*ActivityEvent) GetEventOk ¶
func (o *ActivityEvent) GetEventOk() (*string, bool)
GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityEvent) GetGatewayId ¶
func (o *ActivityEvent) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*ActivityEvent) GetGatewayIdOk ¶
func (o *ActivityEvent) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityEvent) GetTime ¶
func (o *ActivityEvent) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*ActivityEvent) GetTimeOk ¶
func (o *ActivityEvent) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityEvent) HasCollectionId ¶
func (o *ActivityEvent) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*ActivityEvent) HasData ¶
func (o *ActivityEvent) HasData() bool
HasData returns a boolean if a field has been set.
func (*ActivityEvent) HasDeviceId ¶
func (o *ActivityEvent) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*ActivityEvent) HasEvent ¶
func (o *ActivityEvent) HasEvent() bool
HasEvent returns a boolean if a field has been set.
func (*ActivityEvent) HasGatewayId ¶
func (o *ActivityEvent) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*ActivityEvent) HasTime ¶
func (o *ActivityEvent) HasTime() bool
HasTime returns a boolean if a field has been set.
func (ActivityEvent) MarshalJSON ¶
func (o ActivityEvent) MarshalJSON() ([]byte, error)
func (*ActivityEvent) SetCollectionId ¶
func (o *ActivityEvent) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*ActivityEvent) SetData ¶
func (o *ActivityEvent) SetData(v map[string]string)
SetData gets a reference to the given map[string]string and assigns it to the Data field.
func (*ActivityEvent) SetDeviceId ¶
func (o *ActivityEvent) SetDeviceId(v string)
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*ActivityEvent) SetEvent ¶
func (o *ActivityEvent) SetEvent(v string)
SetEvent gets a reference to the given string and assigns it to the Event field.
func (*ActivityEvent) SetGatewayId ¶
func (o *ActivityEvent) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*ActivityEvent) SetTime ¶
func (o *ActivityEvent) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
func (ActivityEvent) ToMap ¶
func (o ActivityEvent) ToMap() (map[string]interface{}, error)
type AddDownstreamMessageBody ¶
type AddDownstreamMessageBody struct {
Payload *string `json:"payload,omitempty"`
}
AddDownstreamMessageBody This is the request object to send messages out to the devices
func NewAddDownstreamMessageBody ¶
func NewAddDownstreamMessageBody() *AddDownstreamMessageBody
NewAddDownstreamMessageBody instantiates a new AddDownstreamMessageBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddDownstreamMessageBodyWithDefaults ¶
func NewAddDownstreamMessageBodyWithDefaults() *AddDownstreamMessageBody
NewAddDownstreamMessageBodyWithDefaults instantiates a new AddDownstreamMessageBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddDownstreamMessageBody) GetPayload ¶
func (o *AddDownstreamMessageBody) GetPayload() string
GetPayload returns the Payload field value if set, zero value otherwise.
func (*AddDownstreamMessageBody) GetPayloadOk ¶
func (o *AddDownstreamMessageBody) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddDownstreamMessageBody) HasPayload ¶
func (o *AddDownstreamMessageBody) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (AddDownstreamMessageBody) MarshalJSON ¶
func (o AddDownstreamMessageBody) MarshalJSON() ([]byte, error)
func (*AddDownstreamMessageBody) SetPayload ¶
func (o *AddDownstreamMessageBody) SetPayload(v string)
SetPayload gets a reference to the given string and assigns it to the Payload field.
func (AddDownstreamMessageBody) ToMap ¶
func (o AddDownstreamMessageBody) ToMap() (map[string]interface{}, error)
type Any ¶
type Any struct {
Type *string `json:"@type,omitempty"`
}
Any struct for Any
func NewAny ¶
func NewAny() *Any
NewAny instantiates a new Any object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnyWithDefaults ¶
func NewAnyWithDefaults() *Any
NewAnyWithDefaults instantiates a new Any object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Any) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Any) MarshalJSON ¶
type ApiAddDownstreamMessageRequest ¶
type ApiAddDownstreamMessageRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiAddDownstreamMessageRequest) Body ¶
func (r ApiAddDownstreamMessageRequest) Body(body AddDownstreamMessageBody) ApiAddDownstreamMessageRequest
func (ApiAddDownstreamMessageRequest) Execute ¶
func (r ApiAddDownstreamMessageRequest) Execute() (*MessageDownstream, *http.Response, error)
type ApiClearFirmwareErrorRequest ¶
type ApiClearFirmwareErrorRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
func (ApiClearFirmwareErrorRequest) Execute ¶
func (r ApiClearFirmwareErrorRequest) Execute() (*ClearFirmwareErrorResponse, *http.Response, error)
type ApiCreateCertificateRequest ¶
type ApiCreateCertificateRequest struct { ApiService *CertificatesApiService // contains filtered or unexported fields }
func (ApiCreateCertificateRequest) Body ¶
func (r ApiCreateCertificateRequest) Body(body CreateCertificateBody) ApiCreateCertificateRequest
func (ApiCreateCertificateRequest) Execute ¶
func (r ApiCreateCertificateRequest) Execute() (*CreateCertificateResponse, *http.Response, error)
type ApiCreateCollectionRequest ¶
type ApiCreateCollectionRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiCreateCollectionRequest) Body ¶
func (r ApiCreateCollectionRequest) Body(body CreateCollectionRequest) ApiCreateCollectionRequest
Request object when creating a collection. The collect ID is assigned by the service.
func (ApiCreateCollectionRequest) Execute ¶
func (r ApiCreateCollectionRequest) Execute() (*Collection, *http.Response, error)
type ApiCreateDeviceRequest ¶
type ApiCreateDeviceRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiCreateDeviceRequest) Body ¶
func (r ApiCreateDeviceRequest) Body(body CreateDeviceBody) ApiCreateDeviceRequest
type ApiCreateFirmwareRequest ¶
type ApiCreateFirmwareRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
func (ApiCreateFirmwareRequest) Body ¶
func (r ApiCreateFirmwareRequest) Body(body CreateFirmwareBody) ApiCreateFirmwareRequest
type ApiCreateGatewayRequest ¶
type ApiCreateGatewayRequest struct { ApiService *GatewaysApiService // contains filtered or unexported fields }
func (ApiCreateGatewayRequest) Body ¶
func (r ApiCreateGatewayRequest) Body(body CreateGatewayBody) ApiCreateGatewayRequest
type ApiCreateOutputRequest ¶
type ApiCreateOutputRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
func (ApiCreateOutputRequest) Body ¶
func (r ApiCreateOutputRequest) Body(body CreateOutputBody) ApiCreateOutputRequest
type ApiDeleteBlobRequest ¶
type ApiDeleteBlobRequest struct { ApiService *BlobsApiService // contains filtered or unexported fields }
type ApiDeleteCollectionRequest ¶
type ApiDeleteCollectionRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiDeleteCollectionRequest) Execute ¶
func (r ApiDeleteCollectionRequest) Execute() (*Collection, *http.Response, error)
type ApiDeleteDeviceRequest ¶
type ApiDeleteDeviceRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
type ApiDeleteDownstreamMessageRequest ¶
type ApiDeleteDownstreamMessageRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiDeleteDownstreamMessageRequest) Execute ¶
func (r ApiDeleteDownstreamMessageRequest) Execute() (*DeleteDownstreamMessageResponse, *http.Response, error)
type ApiDeleteFirmwareRequest ¶
type ApiDeleteFirmwareRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
type ApiDeleteGatewayRequest ¶
type ApiDeleteGatewayRequest struct { ApiService *GatewaysApiService // contains filtered or unexported fields }
type ApiDeleteOutputRequest ¶
type ApiDeleteOutputRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
type ApiDeviceCertificateRequest ¶
type ApiDeviceCertificateRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiDeviceCertificateRequest) Execute ¶
func (r ApiDeviceCertificateRequest) Execute() (*DeviceCertificateResponse, *http.Response, error)
type ApiFirmwareUsageRequest ¶
type ApiFirmwareUsageRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
func (ApiFirmwareUsageRequest) Execute ¶
func (r ApiFirmwareUsageRequest) Execute() (*FirmwareUsageResponse, *http.Response, error)
type ApiGatewayCertificatesRequest ¶
type ApiGatewayCertificatesRequest struct { ApiService *GatewaysApiService // contains filtered or unexported fields }
func (ApiGatewayCertificatesRequest) Execute ¶
func (r ApiGatewayCertificatesRequest) Execute() (*GatewayCertificateResponse, *http.Response, error)
type ApiGetSystemInfoRequest ¶
type ApiGetSystemInfoRequest struct { ApiService *SpanApiService // contains filtered or unexported fields }
func (ApiGetSystemInfoRequest) Execute ¶
func (r ApiGetSystemInfoRequest) Execute() (*SystemInfoResponse, *http.Response, error)
type ApiListBlobsRequest ¶
type ApiListBlobsRequest struct { ApiService *BlobsApiService // contains filtered or unexported fields }
func (ApiListBlobsRequest) Execute ¶
func (r ApiListBlobsRequest) Execute() (*ListBlobResponse, *http.Response, error)
func (ApiListBlobsRequest) Limit ¶
func (r ApiListBlobsRequest) Limit(limit int32) ApiListBlobsRequest
type ApiListCollectionDataRequest ¶
type ApiListCollectionDataRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiListCollectionDataRequest) End ¶
func (r ApiListCollectionDataRequest) End(end string) ApiListCollectionDataRequest
End of time range. The default is the current time stamp. Value is in milliseconds since epoch.
func (ApiListCollectionDataRequest) Execute ¶
func (r ApiListCollectionDataRequest) Execute() (*ListDataResponse, *http.Response, error)
func (ApiListCollectionDataRequest) Limit ¶
func (r ApiListCollectionDataRequest) Limit(limit int32) ApiListCollectionDataRequest
Limit the number of payloads to return. The default is 512.
func (ApiListCollectionDataRequest) Offset ¶
func (r ApiListCollectionDataRequest) Offset(offset string) ApiListCollectionDataRequest
The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.
func (ApiListCollectionDataRequest) Start ¶
func (r ApiListCollectionDataRequest) Start(start string) ApiListCollectionDataRequest
Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.
type ApiListCollectionsRequest ¶
type ApiListCollectionsRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiListCollectionsRequest) Execute ¶
func (r ApiListCollectionsRequest) Execute() (*ListCollectionResponse, *http.Response, error)
type ApiListDeviceDataRequest ¶
type ApiListDeviceDataRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiListDeviceDataRequest) End ¶
func (r ApiListDeviceDataRequest) End(end string) ApiListDeviceDataRequest
End of time range. The default is the current time stamp. Value is in milliseconds since epoch.
func (ApiListDeviceDataRequest) Execute ¶
func (r ApiListDeviceDataRequest) Execute() (*ListDataResponse, *http.Response, error)
func (ApiListDeviceDataRequest) Limit ¶
func (r ApiListDeviceDataRequest) Limit(limit int32) ApiListDeviceDataRequest
Limit the number of payloads to return. The default is 512.
func (ApiListDeviceDataRequest) Offset ¶
func (r ApiListDeviceDataRequest) Offset(offset string) ApiListDeviceDataRequest
The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.
func (ApiListDeviceDataRequest) Start ¶
func (r ApiListDeviceDataRequest) Start(start string) ApiListDeviceDataRequest
Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.
type ApiListDevicesRequest ¶
type ApiListDevicesRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiListDevicesRequest) Execute ¶
func (r ApiListDevicesRequest) Execute() (*ListDevicesResponse, *http.Response, error)
type ApiListDownstreamMessagesRequest ¶
type ApiListDownstreamMessagesRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiListDownstreamMessagesRequest) End ¶
func (r ApiListDownstreamMessagesRequest) End(end string) ApiListDownstreamMessagesRequest
End of time range. The default is the current time stamp. Value is in milliseconds since epoch.
func (ApiListDownstreamMessagesRequest) Execute ¶
func (r ApiListDownstreamMessagesRequest) Execute() (*ListDownstreamMessagesResponse, *http.Response, error)
func (ApiListDownstreamMessagesRequest) Limit ¶
func (r ApiListDownstreamMessagesRequest) Limit(limit int32) ApiListDownstreamMessagesRequest
func (ApiListDownstreamMessagesRequest) Offset ¶
func (r ApiListDownstreamMessagesRequest) Offset(offset string) ApiListDownstreamMessagesRequest
The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.
func (ApiListDownstreamMessagesRequest) Start ¶
func (r ApiListDownstreamMessagesRequest) Start(start string) ApiListDownstreamMessagesRequest
Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.
type ApiListFirmwareRequest ¶
type ApiListFirmwareRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
func (ApiListFirmwareRequest) Execute ¶
func (r ApiListFirmwareRequest) Execute() (*ListFirmwareResponse, *http.Response, error)
type ApiListGatewaysRequest ¶
type ApiListGatewaysRequest struct { ApiService *GatewaysApiService // contains filtered or unexported fields }
func (ApiListGatewaysRequest) Execute ¶
func (r ApiListGatewaysRequest) Execute() (*ListGatewayResponse, *http.Response, error)
type ApiListOutputsRequest ¶
type ApiListOutputsRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
func (ApiListOutputsRequest) Execute ¶
func (r ApiListOutputsRequest) Execute() (*ListOutputResponse, *http.Response, error)
type ApiListUpstreamMessagesRequest ¶
type ApiListUpstreamMessagesRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiListUpstreamMessagesRequest) End ¶
func (r ApiListUpstreamMessagesRequest) End(end string) ApiListUpstreamMessagesRequest
End of time range. The default is the current time stamp. Value is in milliseconds since epoch.
func (ApiListUpstreamMessagesRequest) Execute ¶
func (r ApiListUpstreamMessagesRequest) Execute() (*ListUpstreamMessagesResponse, *http.Response, error)
func (ApiListUpstreamMessagesRequest) Limit ¶
func (r ApiListUpstreamMessagesRequest) Limit(limit int32) ApiListUpstreamMessagesRequest
func (ApiListUpstreamMessagesRequest) Offset ¶
func (r ApiListUpstreamMessagesRequest) Offset(offset string) ApiListUpstreamMessagesRequest
The message offset based on the message ID. This parameter can't be combined with the start and end parameters. If no parameter is set the first N messages will be returned. If this parameter is set the next N messages (from newest to oldest) with message ID less than the offset will be returned.
func (ApiListUpstreamMessagesRequest) Start ¶
func (r ApiListUpstreamMessagesRequest) Start(start string) ApiListUpstreamMessagesRequest
Start of time range. The default is 24 hours ago. Value is in milliseconds since epoch.
type ApiLogsRequest ¶
type ApiLogsRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
func (ApiLogsRequest) Execute ¶
func (r ApiLogsRequest) Execute() (*OutputLogResponse, *http.Response, error)
type ApiRetrieveCertificateChainRequest ¶
type ApiRetrieveCertificateChainRequest struct { ApiService *CertificatesApiService // contains filtered or unexported fields }
func (ApiRetrieveCertificateChainRequest) DeviceId ¶
func (r ApiRetrieveCertificateChainRequest) DeviceId(deviceId string) ApiRetrieveCertificateChainRequest
func (ApiRetrieveCertificateChainRequest) Execute ¶
func (r ApiRetrieveCertificateChainRequest) Execute() (*CertificateChainResponse, *http.Response, error)
func (ApiRetrieveCertificateChainRequest) GatewayId ¶
func (r ApiRetrieveCertificateChainRequest) GatewayId(gatewayId string) ApiRetrieveCertificateChainRequest
type ApiRetrieveCollectionRequest ¶
type ApiRetrieveCollectionRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiRetrieveCollectionRequest) Downstream ¶
func (r ApiRetrieveCollectionRequest) Downstream(downstream bool) ApiRetrieveCollectionRequest
func (ApiRetrieveCollectionRequest) Execute ¶
func (r ApiRetrieveCollectionRequest) Execute() (*Collection, *http.Response, error)
func (ApiRetrieveCollectionRequest) Upstream ¶
func (r ApiRetrieveCollectionRequest) Upstream(upstream bool) ApiRetrieveCollectionRequest
type ApiRetrieveCollectionStatsRequest ¶
type ApiRetrieveCollectionStatsRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiRetrieveCollectionStatsRequest) Execute ¶
func (r ApiRetrieveCollectionStatsRequest) Execute() (*CollectionStats, *http.Response, error)
type ApiRetrieveDeviceRequest ¶
type ApiRetrieveDeviceRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
type ApiRetrieveDeviceStatsRequest ¶
type ApiRetrieveDeviceStatsRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiRetrieveDeviceStatsRequest) Execute ¶
func (r ApiRetrieveDeviceStatsRequest) Execute() (*DeviceStats, *http.Response, error)
type ApiRetrieveFirmwareRequest ¶
type ApiRetrieveFirmwareRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
type ApiRetrieveFirmwareStatsRequest ¶
type ApiRetrieveFirmwareStatsRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
func (ApiRetrieveFirmwareStatsRequest) Execute ¶
func (r ApiRetrieveFirmwareStatsRequest) Execute() (*FirmwareStats, *http.Response, error)
type ApiRetrieveGatewayRequest ¶
type ApiRetrieveGatewayRequest struct { ApiService *GatewaysApiService // contains filtered or unexported fields }
type ApiRetrieveGatewayStatsRequest ¶
type ApiRetrieveGatewayStatsRequest struct { ApiService *GatewaysApiService // contains filtered or unexported fields }
func (ApiRetrieveGatewayStatsRequest) Execute ¶
func (r ApiRetrieveGatewayStatsRequest) Execute() (*GatewayStats, *http.Response, error)
type ApiRetrieveOutputRequest ¶
type ApiRetrieveOutputRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
type ApiRetrieveOutputStatsRequest ¶
type ApiRetrieveOutputStatsRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
func (ApiRetrieveOutputStatsRequest) Execute ¶
func (r ApiRetrieveOutputStatsRequest) Execute() (*OutputStats, *http.Response, error)
type ApiSignCertificateRequest ¶
type ApiSignCertificateRequest struct { ApiService *CertificatesApiService // contains filtered or unexported fields }
func (ApiSignCertificateRequest) Body ¶
func (r ApiSignCertificateRequest) Body(body SignCertificateBody) ApiSignCertificateRequest
func (ApiSignCertificateRequest) Execute ¶
func (r ApiSignCertificateRequest) Execute() (*SignCertificateResponse, *http.Response, error)
type ApiStatusRequest ¶
type ApiStatusRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
func (ApiStatusRequest) Execute ¶
func (r ApiStatusRequest) Execute() (*OutputStatusResponse, *http.Response, error)
type ApiUpdateCollectionRequest ¶
type ApiUpdateCollectionRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiUpdateCollectionRequest) Body ¶
func (r ApiUpdateCollectionRequest) Body(body UpdateCollectionBody) ApiUpdateCollectionRequest
func (ApiUpdateCollectionRequest) Execute ¶
func (r ApiUpdateCollectionRequest) Execute() (*Collection, *http.Response, error)
type ApiUpdateDeviceRequest ¶
type ApiUpdateDeviceRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiUpdateDeviceRequest) Body ¶
func (r ApiUpdateDeviceRequest) Body(body UpdateDeviceBody) ApiUpdateDeviceRequest
type ApiUpdateFirmwareRequest ¶
type ApiUpdateFirmwareRequest struct { ApiService *FotaApiService // contains filtered or unexported fields }
func (ApiUpdateFirmwareRequest) Body ¶
func (r ApiUpdateFirmwareRequest) Body(body UpdateFirmwareBody) ApiUpdateFirmwareRequest
type ApiUpdateGatewayRequest ¶
type ApiUpdateGatewayRequest struct { ApiService *GatewaysApiService // contains filtered or unexported fields }
func (ApiUpdateGatewayRequest) Body ¶
func (r ApiUpdateGatewayRequest) Body(body UpdateGatewayBody) ApiUpdateGatewayRequest
type ApiUpdateOutputRequest ¶
type ApiUpdateOutputRequest struct { ApiService *OutputsApiService // contains filtered or unexported fields }
func (ApiUpdateOutputRequest) Body ¶
func (r ApiUpdateOutputRequest) Body(body UpdateOutputBody) ApiUpdateOutputRequest
type ApiVerifyCertificateRequest ¶
type ApiVerifyCertificateRequest struct { ApiService *CertificatesApiService // contains filtered or unexported fields }
func (ApiVerifyCertificateRequest) Body ¶
func (r ApiVerifyCertificateRequest) Body(body VerifyCertificateBody) ApiVerifyCertificateRequest
func (ApiVerifyCertificateRequest) Execute ¶
func (r ApiVerifyCertificateRequest) Execute() (*VerifyCertificateResponse, *http.Response, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Blob ¶
type Blob struct { BlobId *string `json:"blobId,omitempty"` BlobPath *string `json:"blobPath,omitempty"` ContentType *string `json:"contentType,omitempty"` Size *string `json:"size,omitempty"` Created *string `json:"created,omitempty"` CollectionId *string `json:"collectionId,omitempty"` DeviceId *string `json:"deviceId,omitempty"` GatewayId *string `json:"gatewayId,omitempty"` Properties *map[string]string `json:"properties,omitempty"` }
Blob This is a blob (binary large object) that the devices might upload to the service. This is messages that are typically too large to handle like regular status and sensor values, typically media files. The content type might be derived from the first few bytes of the blob and could possibly be incorrect. Download the blob by accessing the blob URL field. This will work like a regular HTTP request for your client. Authentication is required as always.
func NewBlob ¶
func NewBlob() *Blob
NewBlob instantiates a new Blob object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBlobWithDefaults ¶
func NewBlobWithDefaults() *Blob
NewBlobWithDefaults instantiates a new Blob object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Blob) GetBlobIdOk ¶
GetBlobIdOk returns a tuple with the BlobId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Blob) GetBlobPath ¶
GetBlobPath returns the BlobPath field value if set, zero value otherwise.
func (*Blob) GetBlobPathOk ¶
GetBlobPathOk returns a tuple with the BlobPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Blob) GetCollectionId ¶
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*Blob) 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 (*Blob) GetContentType ¶
GetContentType returns the ContentType field value if set, zero value otherwise.
func (*Blob) GetContentTypeOk ¶
GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Blob) GetCreated ¶
GetCreated returns the Created field value if set, zero value otherwise.
func (*Blob) 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 (*Blob) GetDeviceId ¶
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*Blob) 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 (*Blob) GetGatewayId ¶
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*Blob) GetGatewayIdOk ¶
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Blob) GetProperties ¶
GetProperties returns the Properties field value if set, zero value otherwise.
func (*Blob) GetPropertiesOk ¶
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Blob) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Blob) HasBlobPath ¶
HasBlobPath returns a boolean if a field has been set.
func (*Blob) HasCollectionId ¶
HasCollectionId returns a boolean if a field has been set.
func (*Blob) HasContentType ¶
HasContentType returns a boolean if a field has been set.
func (*Blob) HasCreated ¶
HasCreated returns a boolean if a field has been set.
func (*Blob) HasDeviceId ¶
HasDeviceId returns a boolean if a field has been set.
func (*Blob) HasGatewayId ¶
HasGatewayId returns a boolean if a field has been set.
func (*Blob) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (Blob) MarshalJSON ¶
func (*Blob) SetBlobId ¶
SetBlobId gets a reference to the given string and assigns it to the BlobId field.
func (*Blob) SetBlobPath ¶
SetBlobPath gets a reference to the given string and assigns it to the BlobPath field.
func (*Blob) SetCollectionId ¶
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*Blob) SetContentType ¶
SetContentType gets a reference to the given string and assigns it to the ContentType field.
func (*Blob) SetCreated ¶
SetCreated gets a reference to the given string and assigns it to the Created field.
func (*Blob) SetDeviceId ¶
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*Blob) SetGatewayId ¶
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*Blob) SetProperties ¶
SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.
type BlobStats ¶
type BlobStats struct {
BlobBytes *string `json:"blobBytes,omitempty"`
}
BlobStats Statistics for a single blob
func NewBlobStats ¶
func NewBlobStats() *BlobStats
NewBlobStats instantiates a new BlobStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBlobStatsWithDefaults ¶
func NewBlobStatsWithDefaults() *BlobStats
NewBlobStatsWithDefaults instantiates a new BlobStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BlobStats) GetBlobBytes ¶
GetBlobBytes returns the BlobBytes field value if set, zero value otherwise.
func (*BlobStats) GetBlobBytesOk ¶
GetBlobBytesOk returns a tuple with the BlobBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlobStats) HasBlobBytes ¶
HasBlobBytes returns a boolean if a field has been set.
func (BlobStats) MarshalJSON ¶
func (*BlobStats) SetBlobBytes ¶
SetBlobBytes gets a reference to the given string and assigns it to the BlobBytes field.
type BlobsApiService ¶
type BlobsApiService service
BlobsApiService BlobsApi service
func (*BlobsApiService) DeleteBlob ¶
func (a *BlobsApiService) DeleteBlob(ctx context.Context, collectionId string, blobId string) ApiDeleteBlobRequest
DeleteBlob Remove a blob stored on a collection
Remove a blob stored on the collection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param blobId @return ApiDeleteBlobRequest
func (*BlobsApiService) DeleteBlobExecute ¶
func (a *BlobsApiService) DeleteBlobExecute(r ApiDeleteBlobRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*BlobsApiService) ListBlobs ¶
func (a *BlobsApiService) ListBlobs(ctx context.Context, collectionId string) ApiListBlobsRequest
ListBlobs List the blobs for a collection
Retrieve a list of all the blobs stored on this collection. Blobs are uploaded by the devices through one of the blob endpoints.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiListBlobsRequest
func (*BlobsApiService) ListBlobsExecute ¶
func (a *BlobsApiService) ListBlobsExecute(r ApiListBlobsRequest) (*ListBlobResponse, *http.Response, error)
Execute executes the request
@return ListBlobResponse
type CellularIoTConfig ¶
type CellularIoTConfig struct { Imsi *string `json:"imsi,omitempty"` Imei *string `json:"imei,omitempty"` }
CellularIoTConfig This is the cellular IOT config
func NewCellularIoTConfig ¶
func NewCellularIoTConfig() *CellularIoTConfig
NewCellularIoTConfig instantiates a new CellularIoTConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCellularIoTConfigWithDefaults ¶
func NewCellularIoTConfigWithDefaults() *CellularIoTConfig
NewCellularIoTConfigWithDefaults instantiates a new CellularIoTConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CellularIoTConfig) GetImei ¶
func (o *CellularIoTConfig) GetImei() string
GetImei returns the Imei field value if set, zero value otherwise.
func (*CellularIoTConfig) GetImeiOk ¶
func (o *CellularIoTConfig) GetImeiOk() (*string, bool)
GetImeiOk returns a tuple with the Imei field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTConfig) GetImsi ¶
func (o *CellularIoTConfig) GetImsi() string
GetImsi returns the Imsi field value if set, zero value otherwise.
func (*CellularIoTConfig) GetImsiOk ¶
func (o *CellularIoTConfig) GetImsiOk() (*string, bool)
GetImsiOk returns a tuple with the Imsi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTConfig) HasImei ¶
func (o *CellularIoTConfig) HasImei() bool
HasImei returns a boolean if a field has been set.
func (*CellularIoTConfig) HasImsi ¶
func (o *CellularIoTConfig) HasImsi() bool
HasImsi returns a boolean if a field has been set.
func (CellularIoTConfig) MarshalJSON ¶
func (o CellularIoTConfig) MarshalJSON() ([]byte, error)
func (*CellularIoTConfig) SetImei ¶
func (o *CellularIoTConfig) SetImei(v string)
SetImei gets a reference to the given string and assigns it to the Imei field.
func (*CellularIoTConfig) SetImsi ¶
func (o *CellularIoTConfig) SetImsi(v string)
SetImsi gets a reference to the given string and assigns it to the Imsi field.
func (CellularIoTConfig) ToMap ¶
func (o CellularIoTConfig) ToMap() (map[string]interface{}, error)
type CellularIoTMetadata ¶
type CellularIoTMetadata struct { GatewayId *string `json:"gatewayId,omitempty"` // Allocated IP address. AllocatedIp *string `json:"allocatedIp,omitempty"` AllocatedAt *string `json:"allocatedAt,omitempty"` CellId *string `json:"cellId,omitempty"` // the provider in use. The Mobile Country Code for the operator. Mcc *int32 `json:"mcc,omitempty"` Mnc *int32 `json:"mnc,omitempty"` Country *string `json:"country,omitempty"` Network *string `json:"network,omitempty"` CountryCode *string `json:"countryCode,omitempty"` LastUpdate *string `json:"lastUpdate,omitempty"` LastImsi *string `json:"lastImsi,omitempty"` LastImei *string `json:"lastImei,omitempty"` }
CellularIoTMetadata This is the metadata for a Cellular IoT device connected via an APN.
func NewCellularIoTMetadata ¶
func NewCellularIoTMetadata() *CellularIoTMetadata
NewCellularIoTMetadata instantiates a new CellularIoTMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCellularIoTMetadataWithDefaults ¶
func NewCellularIoTMetadataWithDefaults() *CellularIoTMetadata
NewCellularIoTMetadataWithDefaults instantiates a new CellularIoTMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CellularIoTMetadata) GetAllocatedAt ¶
func (o *CellularIoTMetadata) GetAllocatedAt() string
GetAllocatedAt returns the AllocatedAt field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetAllocatedAtOk ¶
func (o *CellularIoTMetadata) GetAllocatedAtOk() (*string, bool)
GetAllocatedAtOk returns a tuple with the AllocatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetAllocatedIp ¶
func (o *CellularIoTMetadata) GetAllocatedIp() string
GetAllocatedIp returns the AllocatedIp field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetAllocatedIpOk ¶
func (o *CellularIoTMetadata) GetAllocatedIpOk() (*string, bool)
GetAllocatedIpOk returns a tuple with the AllocatedIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetCellId ¶
func (o *CellularIoTMetadata) GetCellId() string
GetCellId returns the CellId field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetCellIdOk ¶
func (o *CellularIoTMetadata) GetCellIdOk() (*string, bool)
GetCellIdOk returns a tuple with the CellId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetCountry ¶
func (o *CellularIoTMetadata) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetCountryCode ¶
func (o *CellularIoTMetadata) GetCountryCode() string
GetCountryCode returns the CountryCode field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetCountryCodeOk ¶
func (o *CellularIoTMetadata) GetCountryCodeOk() (*string, bool)
GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetCountryOk ¶
func (o *CellularIoTMetadata) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetGatewayId ¶
func (o *CellularIoTMetadata) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetGatewayIdOk ¶
func (o *CellularIoTMetadata) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetLastImei ¶
func (o *CellularIoTMetadata) GetLastImei() string
GetLastImei returns the LastImei field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetLastImeiOk ¶
func (o *CellularIoTMetadata) GetLastImeiOk() (*string, bool)
GetLastImeiOk returns a tuple with the LastImei field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetLastImsi ¶
func (o *CellularIoTMetadata) GetLastImsi() string
GetLastImsi returns the LastImsi field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetLastImsiOk ¶
func (o *CellularIoTMetadata) GetLastImsiOk() (*string, bool)
GetLastImsiOk returns a tuple with the LastImsi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetLastUpdate ¶
func (o *CellularIoTMetadata) GetLastUpdate() string
GetLastUpdate returns the LastUpdate field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetLastUpdateOk ¶
func (o *CellularIoTMetadata) GetLastUpdateOk() (*string, bool)
GetLastUpdateOk returns a tuple with the LastUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetMcc ¶
func (o *CellularIoTMetadata) GetMcc() int32
GetMcc returns the Mcc field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetMccOk ¶
func (o *CellularIoTMetadata) GetMccOk() (*int32, bool)
GetMccOk returns a tuple with the Mcc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetMnc ¶
func (o *CellularIoTMetadata) GetMnc() int32
GetMnc returns the Mnc field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetMncOk ¶
func (o *CellularIoTMetadata) GetMncOk() (*int32, bool)
GetMncOk returns a tuple with the Mnc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) GetNetwork ¶
func (o *CellularIoTMetadata) GetNetwork() string
GetNetwork returns the Network field value if set, zero value otherwise.
func (*CellularIoTMetadata) GetNetworkOk ¶
func (o *CellularIoTMetadata) GetNetworkOk() (*string, bool)
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CellularIoTMetadata) HasAllocatedAt ¶
func (o *CellularIoTMetadata) HasAllocatedAt() bool
HasAllocatedAt returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasAllocatedIp ¶
func (o *CellularIoTMetadata) HasAllocatedIp() bool
HasAllocatedIp returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasCellId ¶
func (o *CellularIoTMetadata) HasCellId() bool
HasCellId returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasCountry ¶
func (o *CellularIoTMetadata) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasCountryCode ¶
func (o *CellularIoTMetadata) HasCountryCode() bool
HasCountryCode returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasGatewayId ¶
func (o *CellularIoTMetadata) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasLastImei ¶
func (o *CellularIoTMetadata) HasLastImei() bool
HasLastImei returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasLastImsi ¶
func (o *CellularIoTMetadata) HasLastImsi() bool
HasLastImsi returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasLastUpdate ¶
func (o *CellularIoTMetadata) HasLastUpdate() bool
HasLastUpdate returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasMcc ¶
func (o *CellularIoTMetadata) HasMcc() bool
HasMcc returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasMnc ¶
func (o *CellularIoTMetadata) HasMnc() bool
HasMnc returns a boolean if a field has been set.
func (*CellularIoTMetadata) HasNetwork ¶
func (o *CellularIoTMetadata) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (CellularIoTMetadata) MarshalJSON ¶
func (o CellularIoTMetadata) MarshalJSON() ([]byte, error)
func (*CellularIoTMetadata) SetAllocatedAt ¶
func (o *CellularIoTMetadata) SetAllocatedAt(v string)
SetAllocatedAt gets a reference to the given string and assigns it to the AllocatedAt field.
func (*CellularIoTMetadata) SetAllocatedIp ¶
func (o *CellularIoTMetadata) SetAllocatedIp(v string)
SetAllocatedIp gets a reference to the given string and assigns it to the AllocatedIp field.
func (*CellularIoTMetadata) SetCellId ¶
func (o *CellularIoTMetadata) SetCellId(v string)
SetCellId gets a reference to the given string and assigns it to the CellId field.
func (*CellularIoTMetadata) SetCountry ¶
func (o *CellularIoTMetadata) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*CellularIoTMetadata) SetCountryCode ¶
func (o *CellularIoTMetadata) SetCountryCode(v string)
SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.
func (*CellularIoTMetadata) SetGatewayId ¶
func (o *CellularIoTMetadata) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*CellularIoTMetadata) SetLastImei ¶
func (o *CellularIoTMetadata) SetLastImei(v string)
SetLastImei gets a reference to the given string and assigns it to the LastImei field.
func (*CellularIoTMetadata) SetLastImsi ¶
func (o *CellularIoTMetadata) SetLastImsi(v string)
SetLastImsi gets a reference to the given string and assigns it to the LastImsi field.
func (*CellularIoTMetadata) SetLastUpdate ¶
func (o *CellularIoTMetadata) SetLastUpdate(v string)
SetLastUpdate gets a reference to the given string and assigns it to the LastUpdate field.
func (*CellularIoTMetadata) SetMcc ¶
func (o *CellularIoTMetadata) SetMcc(v int32)
SetMcc gets a reference to the given int32 and assigns it to the Mcc field.
func (*CellularIoTMetadata) SetMnc ¶
func (o *CellularIoTMetadata) SetMnc(v int32)
SetMnc gets a reference to the given int32 and assigns it to the Mnc field.
func (*CellularIoTMetadata) SetNetwork ¶
func (o *CellularIoTMetadata) SetNetwork(v string)
SetNetwork gets a reference to the given string and assigns it to the Network field.
func (CellularIoTMetadata) ToMap ¶
func (o CellularIoTMetadata) ToMap() (map[string]interface{}, error)
type CertificateChainResponse ¶
type CertificateChainResponse struct {
Chain *string `json:"chain,omitempty"`
}
CertificateChainResponse Response when retrieving a certificate chain
func NewCertificateChainResponse ¶
func NewCertificateChainResponse() *CertificateChainResponse
NewCertificateChainResponse instantiates a new CertificateChainResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCertificateChainResponseWithDefaults ¶
func NewCertificateChainResponseWithDefaults() *CertificateChainResponse
NewCertificateChainResponseWithDefaults instantiates a new CertificateChainResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CertificateChainResponse) GetChain ¶
func (o *CertificateChainResponse) GetChain() string
GetChain returns the Chain field value if set, zero value otherwise.
func (*CertificateChainResponse) GetChainOk ¶
func (o *CertificateChainResponse) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateChainResponse) HasChain ¶
func (o *CertificateChainResponse) HasChain() bool
HasChain returns a boolean if a field has been set.
func (CertificateChainResponse) MarshalJSON ¶
func (o CertificateChainResponse) MarshalJSON() ([]byte, error)
func (*CertificateChainResponse) SetChain ¶
func (o *CertificateChainResponse) SetChain(v string)
SetChain gets a reference to the given string and assigns it to the Chain field.
func (CertificateChainResponse) ToMap ¶
func (o CertificateChainResponse) ToMap() (map[string]interface{}, error)
type CertificateInfo ¶
type CertificateInfo struct { CertificateSerial *string `json:"certificateSerial,omitempty"` Expires *string `json:"expires,omitempty"` }
CertificateInfo Certificate information
func NewCertificateInfo ¶
func NewCertificateInfo() *CertificateInfo
NewCertificateInfo instantiates a new CertificateInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCertificateInfoWithDefaults ¶
func NewCertificateInfoWithDefaults() *CertificateInfo
NewCertificateInfoWithDefaults instantiates a new CertificateInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CertificateInfo) GetCertificateSerial ¶
func (o *CertificateInfo) GetCertificateSerial() string
GetCertificateSerial returns the CertificateSerial field value if set, zero value otherwise.
func (*CertificateInfo) GetCertificateSerialOk ¶
func (o *CertificateInfo) GetCertificateSerialOk() (*string, bool)
GetCertificateSerialOk returns a tuple with the CertificateSerial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) GetExpires ¶
func (o *CertificateInfo) GetExpires() string
GetExpires returns the Expires field value if set, zero value otherwise.
func (*CertificateInfo) GetExpiresOk ¶
func (o *CertificateInfo) GetExpiresOk() (*string, bool)
GetExpiresOk returns a tuple with the Expires field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) HasCertificateSerial ¶
func (o *CertificateInfo) HasCertificateSerial() bool
HasCertificateSerial returns a boolean if a field has been set.
func (*CertificateInfo) HasExpires ¶
func (o *CertificateInfo) HasExpires() bool
HasExpires returns a boolean if a field has been set.
func (CertificateInfo) MarshalJSON ¶
func (o CertificateInfo) MarshalJSON() ([]byte, error)
func (*CertificateInfo) SetCertificateSerial ¶
func (o *CertificateInfo) SetCertificateSerial(v string)
SetCertificateSerial gets a reference to the given string and assigns it to the CertificateSerial field.
func (*CertificateInfo) SetExpires ¶
func (o *CertificateInfo) SetExpires(v string)
SetExpires gets a reference to the given string and assigns it to the Expires field.
func (CertificateInfo) ToMap ¶
func (o CertificateInfo) ToMap() (map[string]interface{}, error)
type CertificatesApiService ¶
type CertificatesApiService service
CertificatesApiService CertificatesApi service
func (*CertificatesApiService) CreateCertificate ¶
func (a *CertificatesApiService) CreateCertificate(ctx context.Context, collectionId string) ApiCreateCertificateRequest
CreateCertificate Create certificate
Create a new device or gateway (client) certificate for an internet-connected device. The devices will use this client certificate to authenticate when sending data via the Internet endpoint. This will create a X509 client certificate with an ECC public key. The key is not stored by the service so keep it in a secure place once it is downloaded. The returned certificate will be valid for 14 days. The key for the certificate is your own responsibility. The client certificate is used in both the TLS, DTLS and gRPC service endpoints.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiCreateCertificateRequest
func (*CertificatesApiService) CreateCertificateExecute ¶
func (a *CertificatesApiService) CreateCertificateExecute(r ApiCreateCertificateRequest) (*CreateCertificateResponse, *http.Response, error)
Execute executes the request
@return CreateCertificateResponse
func (*CertificatesApiService) RetrieveCertificateChain ¶
func (a *CertificatesApiService) RetrieveCertificateChain(ctx context.Context, collectionId string) ApiRetrieveCertificateChainRequest
RetrieveCertificateChain Get certificate chain
Get the certificate chain for the root CA and intermediate certificates used by the device, gateway and server certificates. It is highly recommended to verify the server certificate when sending data to avoid any man-in-the-middle attacks. This chain will contain all required certificates needed to verify the client certificate.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiRetrieveCertificateChainRequest
func (*CertificatesApiService) RetrieveCertificateChainExecute ¶
func (a *CertificatesApiService) RetrieveCertificateChainExecute(r ApiRetrieveCertificateChainRequest) (*CertificateChainResponse, *http.Response, error)
Execute executes the request
@return CertificateChainResponse
func (*CertificatesApiService) SignCertificate ¶
func (a *CertificatesApiService) SignCertificate(ctx context.Context, collectionId string) ApiSignCertificateRequest
SignCertificate Sign certificate
Sign a device or gateway (aka client) certificate. The certificate is a X509 Certificate signing request PEM encoded. The certificate will be valid for 14 days and must be renewed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiSignCertificateRequest
func (*CertificatesApiService) SignCertificateExecute ¶
func (a *CertificatesApiService) SignCertificateExecute(r ApiSignCertificateRequest) (*SignCertificateResponse, *http.Response, error)
Execute executes the request
@return SignCertificateResponse
func (*CertificatesApiService) VerifyCertificate ¶
func (a *CertificatesApiService) VerifyCertificate(ctx context.Context, collectionId string) ApiVerifyCertificateRequest
VerifyCertificate Verify certificate
Verify client certificate. If a client certificate fails it can be tricky to pinpoint exactly *why* the certificate isn't accepted. This resource validates the client certificate and returns the error in plain text.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiVerifyCertificateRequest
func (*CertificatesApiService) VerifyCertificateExecute ¶
func (a *CertificatesApiService) VerifyCertificateExecute(r ApiVerifyCertificateRequest) (*VerifyCertificateResponse, *http.Response, error)
Execute executes the request
@return VerifyCertificateResponse
type ClearFirmwareErrorResponse ¶
type ClearFirmwareErrorResponse struct {
Result *string `json:"result,omitempty"`
}
ClearFirmwareErrorResponse Clear firmware error response object
func NewClearFirmwareErrorResponse ¶
func NewClearFirmwareErrorResponse() *ClearFirmwareErrorResponse
NewClearFirmwareErrorResponse instantiates a new ClearFirmwareErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClearFirmwareErrorResponseWithDefaults ¶
func NewClearFirmwareErrorResponseWithDefaults() *ClearFirmwareErrorResponse
NewClearFirmwareErrorResponseWithDefaults instantiates a new ClearFirmwareErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClearFirmwareErrorResponse) GetResult ¶
func (o *ClearFirmwareErrorResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*ClearFirmwareErrorResponse) GetResultOk ¶
func (o *ClearFirmwareErrorResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClearFirmwareErrorResponse) HasResult ¶
func (o *ClearFirmwareErrorResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (ClearFirmwareErrorResponse) MarshalJSON ¶
func (o ClearFirmwareErrorResponse) MarshalJSON() ([]byte, error)
func (*ClearFirmwareErrorResponse) SetResult ¶
func (o *ClearFirmwareErrorResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (ClearFirmwareErrorResponse) ToMap ¶
func (o ClearFirmwareErrorResponse) ToMap() (map[string]interface{}, error)
type CoAPMetadata ¶
type CoAPMetadata struct { Code *string `json:"code,omitempty"` Path *string `json:"path,omitempty"` }
CoAPMetadata CoAP metadata for messages received through one of the CoAP endpoints
func NewCoAPMetadata ¶
func NewCoAPMetadata() *CoAPMetadata
NewCoAPMetadata instantiates a new CoAPMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCoAPMetadataWithDefaults ¶
func NewCoAPMetadataWithDefaults() *CoAPMetadata
NewCoAPMetadataWithDefaults instantiates a new CoAPMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CoAPMetadata) GetCode ¶
func (o *CoAPMetadata) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*CoAPMetadata) GetCodeOk ¶
func (o *CoAPMetadata) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CoAPMetadata) GetPath ¶
func (o *CoAPMetadata) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*CoAPMetadata) GetPathOk ¶
func (o *CoAPMetadata) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CoAPMetadata) HasCode ¶
func (o *CoAPMetadata) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*CoAPMetadata) HasPath ¶
func (o *CoAPMetadata) HasPath() bool
HasPath returns a boolean if a field has been set.
func (CoAPMetadata) MarshalJSON ¶
func (o CoAPMetadata) MarshalJSON() ([]byte, error)
func (*CoAPMetadata) SetCode ¶
func (o *CoAPMetadata) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*CoAPMetadata) SetPath ¶
func (o *CoAPMetadata) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (CoAPMetadata) ToMap ¶
func (o CoAPMetadata) ToMap() (map[string]interface{}, error)
type Collection ¶
type Collection struct { // The ID of the collection. This is assigned by the backend. CollectionId *string `json:"collectionId,omitempty"` // The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID. TeamId *string `json:"teamId,omitempty"` Firmware *CollectionFirmware `json:"firmware,omitempty"` // Tags for the collection. Tags are metadata fields that you can assign to the collection. Tags *map[string]string `json:"tags,omitempty"` UpstreamTimestamps []string `json:"upstreamTimestamps,omitempty"` DownstreamTimestamps []string `json:"downstreamTimestamps,omitempty"` // Disabled flag for collection. If the collection is disabled it is in effect read only and inactive. You can't update a disabled collection. Enabled *bool `json:"enabled,omitempty"` }
Collection This is a collection
func NewCollection ¶
func NewCollection() *Collection
NewCollection instantiates a new Collection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCollectionWithDefaults ¶
func NewCollectionWithDefaults() *Collection
NewCollectionWithDefaults instantiates a new Collection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Collection) GetCollectionId ¶
func (o *Collection) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*Collection) GetCollectionIdOk ¶
func (o *Collection) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) GetDownstreamTimestamps ¶
func (o *Collection) GetDownstreamTimestamps() []string
GetDownstreamTimestamps returns the DownstreamTimestamps field value if set, zero value otherwise.
func (*Collection) GetDownstreamTimestampsOk ¶
func (o *Collection) GetDownstreamTimestampsOk() ([]string, bool)
GetDownstreamTimestampsOk returns a tuple with the DownstreamTimestamps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) GetEnabled ¶
func (o *Collection) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*Collection) GetEnabledOk ¶
func (o *Collection) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) GetFirmware ¶
func (o *Collection) GetFirmware() CollectionFirmware
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*Collection) GetFirmwareOk ¶
func (o *Collection) GetFirmwareOk() (*CollectionFirmware, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) GetTags ¶
func (o *Collection) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*Collection) GetTagsOk ¶
func (o *Collection) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) GetTeamId ¶
func (o *Collection) GetTeamId() string
GetTeamId returns the TeamId field value if set, zero value otherwise.
func (*Collection) GetTeamIdOk ¶
func (o *Collection) GetTeamIdOk() (*string, bool)
GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) GetUpstreamTimestamps ¶
func (o *Collection) GetUpstreamTimestamps() []string
GetUpstreamTimestamps returns the UpstreamTimestamps field value if set, zero value otherwise.
func (*Collection) GetUpstreamTimestampsOk ¶
func (o *Collection) GetUpstreamTimestampsOk() ([]string, bool)
GetUpstreamTimestampsOk returns a tuple with the UpstreamTimestamps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) HasCollectionId ¶
func (o *Collection) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*Collection) HasDownstreamTimestamps ¶
func (o *Collection) HasDownstreamTimestamps() bool
HasDownstreamTimestamps returns a boolean if a field has been set.
func (*Collection) HasEnabled ¶
func (o *Collection) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*Collection) HasFirmware ¶
func (o *Collection) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (*Collection) HasTags ¶
func (o *Collection) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*Collection) HasTeamId ¶
func (o *Collection) HasTeamId() bool
HasTeamId returns a boolean if a field has been set.
func (*Collection) HasUpstreamTimestamps ¶
func (o *Collection) HasUpstreamTimestamps() bool
HasUpstreamTimestamps returns a boolean if a field has been set.
func (Collection) MarshalJSON ¶
func (o Collection) MarshalJSON() ([]byte, error)
func (*Collection) SetCollectionId ¶
func (o *Collection) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*Collection) SetDownstreamTimestamps ¶
func (o *Collection) SetDownstreamTimestamps(v []string)
SetDownstreamTimestamps gets a reference to the given []string and assigns it to the DownstreamTimestamps field.
func (*Collection) SetEnabled ¶
func (o *Collection) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*Collection) SetFirmware ¶
func (o *Collection) SetFirmware(v CollectionFirmware)
SetFirmware gets a reference to the given CollectionFirmware and assigns it to the Firmware field.
func (*Collection) SetTags ¶
func (o *Collection) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*Collection) SetTeamId ¶
func (o *Collection) SetTeamId(v string)
SetTeamId gets a reference to the given string and assigns it to the TeamId field.
func (*Collection) SetUpstreamTimestamps ¶
func (o *Collection) SetUpstreamTimestamps(v []string)
SetUpstreamTimestamps gets a reference to the given []string and assigns it to the UpstreamTimestamps field.
func (Collection) ToMap ¶
func (o Collection) ToMap() (map[string]interface{}, error)
type CollectionFirmware ¶
type CollectionFirmware struct { // The current firmware is the firmware that the devices are currently using. CurrentFirmwareId *string `json:"currentFirmwareId,omitempty"` // The target firmware is set to the desired firmware image for the devices in this collection. If the management is set to \"device\" this will only be used if the target firmware isn't set on the device itself. TargetFirmwareId *string `json:"targetFirmwareId,omitempty"` Management *FirmwareManagement `json:"management,omitempty"` }
CollectionFirmware This is the firmware configuration for a collection.
func NewCollectionFirmware ¶
func NewCollectionFirmware() *CollectionFirmware
NewCollectionFirmware instantiates a new CollectionFirmware object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCollectionFirmwareWithDefaults ¶
func NewCollectionFirmwareWithDefaults() *CollectionFirmware
NewCollectionFirmwareWithDefaults instantiates a new CollectionFirmware object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CollectionFirmware) GetCurrentFirmwareId ¶
func (o *CollectionFirmware) GetCurrentFirmwareId() string
GetCurrentFirmwareId returns the CurrentFirmwareId field value if set, zero value otherwise.
func (*CollectionFirmware) GetCurrentFirmwareIdOk ¶
func (o *CollectionFirmware) GetCurrentFirmwareIdOk() (*string, bool)
GetCurrentFirmwareIdOk returns a tuple with the CurrentFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionFirmware) GetManagement ¶
func (o *CollectionFirmware) GetManagement() FirmwareManagement
GetManagement returns the Management field value if set, zero value otherwise.
func (*CollectionFirmware) GetManagementOk ¶
func (o *CollectionFirmware) GetManagementOk() (*FirmwareManagement, bool)
GetManagementOk returns a tuple with the Management field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionFirmware) GetTargetFirmwareId ¶
func (o *CollectionFirmware) GetTargetFirmwareId() string
GetTargetFirmwareId returns the TargetFirmwareId field value if set, zero value otherwise.
func (*CollectionFirmware) GetTargetFirmwareIdOk ¶
func (o *CollectionFirmware) GetTargetFirmwareIdOk() (*string, bool)
GetTargetFirmwareIdOk returns a tuple with the TargetFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionFirmware) HasCurrentFirmwareId ¶
func (o *CollectionFirmware) HasCurrentFirmwareId() bool
HasCurrentFirmwareId returns a boolean if a field has been set.
func (*CollectionFirmware) HasManagement ¶
func (o *CollectionFirmware) HasManagement() bool
HasManagement returns a boolean if a field has been set.
func (*CollectionFirmware) HasTargetFirmwareId ¶
func (o *CollectionFirmware) HasTargetFirmwareId() bool
HasTargetFirmwareId returns a boolean if a field has been set.
func (CollectionFirmware) MarshalJSON ¶
func (o CollectionFirmware) MarshalJSON() ([]byte, error)
func (*CollectionFirmware) SetCurrentFirmwareId ¶
func (o *CollectionFirmware) SetCurrentFirmwareId(v string)
SetCurrentFirmwareId gets a reference to the given string and assigns it to the CurrentFirmwareId field.
func (*CollectionFirmware) SetManagement ¶
func (o *CollectionFirmware) SetManagement(v FirmwareManagement)
SetManagement gets a reference to the given FirmwareManagement and assigns it to the Management field.
func (*CollectionFirmware) SetTargetFirmwareId ¶
func (o *CollectionFirmware) SetTargetFirmwareId(v string)
SetTargetFirmwareId gets a reference to the given string and assigns it to the TargetFirmwareId field.
func (CollectionFirmware) ToMap ¶
func (o CollectionFirmware) ToMap() (map[string]interface{}, error)
type CollectionStats ¶
type CollectionStats struct { DeviceCount *int32 `json:"deviceCount,omitempty"` OutputCount *int32 `json:"outputCount,omitempty"` FirmwareCount *int32 `json:"firmwareCount,omitempty"` BlobCount *int32 `json:"blobCount,omitempty"` GatewayCount *int32 `json:"gatewayCount,omitempty"` Devices *DeviceStats `json:"devices,omitempty"` Outputs *OutputStats `json:"outputs,omitempty"` Firmware *FirmwareStats `json:"firmware,omitempty"` Blobs *BlobStats `json:"blobs,omitempty"` Gateways *GatewayStats `json:"gateways,omitempty"` }
CollectionStats This is statistics for an collection.
func NewCollectionStats ¶
func NewCollectionStats() *CollectionStats
NewCollectionStats instantiates a new CollectionStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCollectionStatsWithDefaults ¶
func NewCollectionStatsWithDefaults() *CollectionStats
NewCollectionStatsWithDefaults instantiates a new CollectionStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CollectionStats) GetBlobCount ¶
func (o *CollectionStats) GetBlobCount() int32
GetBlobCount returns the BlobCount field value if set, zero value otherwise.
func (*CollectionStats) GetBlobCountOk ¶
func (o *CollectionStats) GetBlobCountOk() (*int32, bool)
GetBlobCountOk returns a tuple with the BlobCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetBlobs ¶
func (o *CollectionStats) GetBlobs() BlobStats
GetBlobs returns the Blobs field value if set, zero value otherwise.
func (*CollectionStats) GetBlobsOk ¶
func (o *CollectionStats) GetBlobsOk() (*BlobStats, bool)
GetBlobsOk returns a tuple with the Blobs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetDeviceCount ¶
func (o *CollectionStats) GetDeviceCount() int32
GetDeviceCount returns the DeviceCount field value if set, zero value otherwise.
func (*CollectionStats) GetDeviceCountOk ¶
func (o *CollectionStats) GetDeviceCountOk() (*int32, bool)
GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetDevices ¶
func (o *CollectionStats) GetDevices() DeviceStats
GetDevices returns the Devices field value if set, zero value otherwise.
func (*CollectionStats) GetDevicesOk ¶
func (o *CollectionStats) GetDevicesOk() (*DeviceStats, bool)
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetFirmware ¶
func (o *CollectionStats) GetFirmware() FirmwareStats
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*CollectionStats) GetFirmwareCount ¶
func (o *CollectionStats) GetFirmwareCount() int32
GetFirmwareCount returns the FirmwareCount field value if set, zero value otherwise.
func (*CollectionStats) GetFirmwareCountOk ¶
func (o *CollectionStats) GetFirmwareCountOk() (*int32, bool)
GetFirmwareCountOk returns a tuple with the FirmwareCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetFirmwareOk ¶
func (o *CollectionStats) GetFirmwareOk() (*FirmwareStats, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetGatewayCount ¶
func (o *CollectionStats) GetGatewayCount() int32
GetGatewayCount returns the GatewayCount field value if set, zero value otherwise.
func (*CollectionStats) GetGatewayCountOk ¶
func (o *CollectionStats) GetGatewayCountOk() (*int32, bool)
GetGatewayCountOk returns a tuple with the GatewayCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetGateways ¶
func (o *CollectionStats) GetGateways() GatewayStats
GetGateways returns the Gateways field value if set, zero value otherwise.
func (*CollectionStats) GetGatewaysOk ¶
func (o *CollectionStats) GetGatewaysOk() (*GatewayStats, bool)
GetGatewaysOk returns a tuple with the Gateways field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetOutputCount ¶
func (o *CollectionStats) GetOutputCount() int32
GetOutputCount returns the OutputCount field value if set, zero value otherwise.
func (*CollectionStats) GetOutputCountOk ¶
func (o *CollectionStats) GetOutputCountOk() (*int32, bool)
GetOutputCountOk returns a tuple with the OutputCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) GetOutputs ¶
func (o *CollectionStats) GetOutputs() OutputStats
GetOutputs returns the Outputs field value if set, zero value otherwise.
func (*CollectionStats) GetOutputsOk ¶
func (o *CollectionStats) GetOutputsOk() (*OutputStats, bool)
GetOutputsOk returns a tuple with the Outputs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionStats) HasBlobCount ¶
func (o *CollectionStats) HasBlobCount() bool
HasBlobCount returns a boolean if a field has been set.
func (*CollectionStats) HasBlobs ¶
func (o *CollectionStats) HasBlobs() bool
HasBlobs returns a boolean if a field has been set.
func (*CollectionStats) HasDeviceCount ¶
func (o *CollectionStats) HasDeviceCount() bool
HasDeviceCount returns a boolean if a field has been set.
func (*CollectionStats) HasDevices ¶
func (o *CollectionStats) HasDevices() bool
HasDevices returns a boolean if a field has been set.
func (*CollectionStats) HasFirmware ¶
func (o *CollectionStats) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (*CollectionStats) HasFirmwareCount ¶
func (o *CollectionStats) HasFirmwareCount() bool
HasFirmwareCount returns a boolean if a field has been set.
func (*CollectionStats) HasGatewayCount ¶
func (o *CollectionStats) HasGatewayCount() bool
HasGatewayCount returns a boolean if a field has been set.
func (*CollectionStats) HasGateways ¶
func (o *CollectionStats) HasGateways() bool
HasGateways returns a boolean if a field has been set.
func (*CollectionStats) HasOutputCount ¶
func (o *CollectionStats) HasOutputCount() bool
HasOutputCount returns a boolean if a field has been set.
func (*CollectionStats) HasOutputs ¶
func (o *CollectionStats) HasOutputs() bool
HasOutputs returns a boolean if a field has been set.
func (CollectionStats) MarshalJSON ¶
func (o CollectionStats) MarshalJSON() ([]byte, error)
func (*CollectionStats) SetBlobCount ¶
func (o *CollectionStats) SetBlobCount(v int32)
SetBlobCount gets a reference to the given int32 and assigns it to the BlobCount field.
func (*CollectionStats) SetBlobs ¶
func (o *CollectionStats) SetBlobs(v BlobStats)
SetBlobs gets a reference to the given BlobStats and assigns it to the Blobs field.
func (*CollectionStats) SetDeviceCount ¶
func (o *CollectionStats) SetDeviceCount(v int32)
SetDeviceCount gets a reference to the given int32 and assigns it to the DeviceCount field.
func (*CollectionStats) SetDevices ¶
func (o *CollectionStats) SetDevices(v DeviceStats)
SetDevices gets a reference to the given DeviceStats and assigns it to the Devices field.
func (*CollectionStats) SetFirmware ¶
func (o *CollectionStats) SetFirmware(v FirmwareStats)
SetFirmware gets a reference to the given FirmwareStats and assigns it to the Firmware field.
func (*CollectionStats) SetFirmwareCount ¶
func (o *CollectionStats) SetFirmwareCount(v int32)
SetFirmwareCount gets a reference to the given int32 and assigns it to the FirmwareCount field.
func (*CollectionStats) SetGatewayCount ¶
func (o *CollectionStats) SetGatewayCount(v int32)
SetGatewayCount gets a reference to the given int32 and assigns it to the GatewayCount field.
func (*CollectionStats) SetGateways ¶
func (o *CollectionStats) SetGateways(v GatewayStats)
SetGateways gets a reference to the given GatewayStats and assigns it to the Gateways field.
func (*CollectionStats) SetOutputCount ¶
func (o *CollectionStats) SetOutputCount(v int32)
SetOutputCount gets a reference to the given int32 and assigns it to the OutputCount field.
func (*CollectionStats) SetOutputs ¶
func (o *CollectionStats) SetOutputs(v OutputStats)
SetOutputs gets a reference to the given OutputStats and assigns it to the Outputs field.
func (CollectionStats) ToMap ¶
func (o CollectionStats) ToMap() (map[string]interface{}, error)
type CollectionsApiService ¶
type CollectionsApiService service
CollectionsApiService CollectionsApi service
func (*CollectionsApiService) CreateCollection ¶
func (a *CollectionsApiService) CreateCollection(ctx context.Context) ApiCreateCollectionRequest
CreateCollection Create collection
Create a new collection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCollectionRequest
func (*CollectionsApiService) CreateCollectionExecute ¶
func (a *CollectionsApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
func (*CollectionsApiService) DeleteCollection ¶
func (a *CollectionsApiService) DeleteCollection(ctx context.Context, collectionId string) ApiDeleteCollectionRequest
DeleteCollection Delete collection
Remove the collection. Devices, firmware images, outputs and all other related resources must be removed from the collection before it can be deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId The ID of the collection you want to delete @return ApiDeleteCollectionRequest
func (*CollectionsApiService) DeleteCollectionExecute ¶
func (a *CollectionsApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
func (*CollectionsApiService) ListCollectionData ¶
func (a *CollectionsApiService) ListCollectionData(ctx context.Context, collectionId string) ApiListCollectionDataRequest
ListCollectionData Retrieve data from devices
Retrieve data sent by the devices in the collection. The maximum number of data points is 100.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId The collection ID requested. This is included in the request path. @return ApiListCollectionDataRequest
func (*CollectionsApiService) ListCollectionDataExecute ¶
func (a *CollectionsApiService) ListCollectionDataExecute(r ApiListCollectionDataRequest) (*ListDataResponse, *http.Response, error)
Execute executes the request
@return ListDataResponse
func (*CollectionsApiService) ListCollections ¶
func (a *CollectionsApiService) ListCollections(ctx context.Context) ApiListCollectionsRequest
ListCollections List collections
Lists all the collections that one of your teams owns. The collections returned includes only the data on the collection and not the summary information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCollectionsRequest
func (*CollectionsApiService) ListCollectionsExecute ¶
func (a *CollectionsApiService) ListCollectionsExecute(r ApiListCollectionsRequest) (*ListCollectionResponse, *http.Response, error)
Execute executes the request
@return ListCollectionResponse
func (*CollectionsApiService) RetrieveCollection ¶
func (a *CollectionsApiService) RetrieveCollection(ctx context.Context, collectionId string) ApiRetrieveCollectionRequest
RetrieveCollection Retrieve collection
Retrieve collection information. This includes a list of the most recent messages in the inbox. The upstream and downstream parameters are optional and if set to true will include the timestamps for up to 100 messages up- and downstream for the last hour.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId The collection ID of the collection you are requesting @return ApiRetrieveCollectionRequest
func (*CollectionsApiService) RetrieveCollectionExecute ¶
func (a *CollectionsApiService) RetrieveCollectionExecute(r ApiRetrieveCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
func (*CollectionsApiService) RetrieveCollectionStats ¶
func (a *CollectionsApiService) RetrieveCollectionStats(ctx context.Context, collectionId string) ApiRetrieveCollectionStatsRequest
RetrieveCollectionStats Retrieve collection statistics
Retrieve statistics for the collection. This is the aggregated metrics for devices, outputs, firmware images, blobs and gateways in the collection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId The collection ID of the collection you are requesting @return ApiRetrieveCollectionStatsRequest
func (*CollectionsApiService) RetrieveCollectionStatsExecute ¶
func (a *CollectionsApiService) RetrieveCollectionStatsExecute(r ApiRetrieveCollectionStatsRequest) (*CollectionStats, *http.Response, error)
Execute executes the request
@return CollectionStats
func (*CollectionsApiService) UpdateCollection ¶
func (a *CollectionsApiService) UpdateCollection(ctx context.Context, collectionId string) ApiUpdateCollectionRequest
UpdateCollection Update collection
Update a collection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId The ID of the collection. This is assigned by the backend. @return ApiUpdateCollectionRequest
func (*CollectionsApiService) UpdateCollectionExecute ¶
func (a *CollectionsApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateCertificateBody ¶
type CreateCertificateBody struct { GatewayId *string `json:"gatewayId,omitempty"` DeviceId *string `json:"deviceId,omitempty"` }
CreateCertificateBody Request object to create a new certificate.
func NewCreateCertificateBody ¶
func NewCreateCertificateBody() *CreateCertificateBody
NewCreateCertificateBody instantiates a new CreateCertificateBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCertificateBodyWithDefaults ¶
func NewCreateCertificateBodyWithDefaults() *CreateCertificateBody
NewCreateCertificateBodyWithDefaults instantiates a new CreateCertificateBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCertificateBody) GetDeviceId ¶
func (o *CreateCertificateBody) GetDeviceId() string
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*CreateCertificateBody) GetDeviceIdOk ¶
func (o *CreateCertificateBody) GetDeviceIdOk() (*string, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificateBody) GetGatewayId ¶
func (o *CreateCertificateBody) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*CreateCertificateBody) GetGatewayIdOk ¶
func (o *CreateCertificateBody) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificateBody) HasDeviceId ¶
func (o *CreateCertificateBody) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*CreateCertificateBody) HasGatewayId ¶
func (o *CreateCertificateBody) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (CreateCertificateBody) MarshalJSON ¶
func (o CreateCertificateBody) MarshalJSON() ([]byte, error)
func (*CreateCertificateBody) SetDeviceId ¶
func (o *CreateCertificateBody) SetDeviceId(v string)
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*CreateCertificateBody) SetGatewayId ¶
func (o *CreateCertificateBody) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (CreateCertificateBody) ToMap ¶
func (o CreateCertificateBody) ToMap() (map[string]interface{}, error)
type CreateCertificateResponse ¶
type CreateCertificateResponse struct { Certificate *string `json:"certificate,omitempty"` PrivateKey *string `json:"privateKey,omitempty"` Chain *string `json:"chain,omitempty"` }
CreateCertificateResponse Response when creating a new certificate
func NewCreateCertificateResponse ¶
func NewCreateCertificateResponse() *CreateCertificateResponse
NewCreateCertificateResponse instantiates a new CreateCertificateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCertificateResponseWithDefaults ¶
func NewCreateCertificateResponseWithDefaults() *CreateCertificateResponse
NewCreateCertificateResponseWithDefaults instantiates a new CreateCertificateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCertificateResponse) GetCertificate ¶
func (o *CreateCertificateResponse) GetCertificate() string
GetCertificate returns the Certificate field value if set, zero value otherwise.
func (*CreateCertificateResponse) GetCertificateOk ¶
func (o *CreateCertificateResponse) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificateResponse) GetChain ¶
func (o *CreateCertificateResponse) GetChain() string
GetChain returns the Chain field value if set, zero value otherwise.
func (*CreateCertificateResponse) GetChainOk ¶
func (o *CreateCertificateResponse) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificateResponse) GetPrivateKey ¶
func (o *CreateCertificateResponse) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.
func (*CreateCertificateResponse) GetPrivateKeyOk ¶
func (o *CreateCertificateResponse) GetPrivateKeyOk() (*string, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificateResponse) HasCertificate ¶
func (o *CreateCertificateResponse) HasCertificate() bool
HasCertificate returns a boolean if a field has been set.
func (*CreateCertificateResponse) HasChain ¶
func (o *CreateCertificateResponse) HasChain() bool
HasChain returns a boolean if a field has been set.
func (*CreateCertificateResponse) HasPrivateKey ¶
func (o *CreateCertificateResponse) HasPrivateKey() bool
HasPrivateKey returns a boolean if a field has been set.
func (CreateCertificateResponse) MarshalJSON ¶
func (o CreateCertificateResponse) MarshalJSON() ([]byte, error)
func (*CreateCertificateResponse) SetCertificate ¶
func (o *CreateCertificateResponse) SetCertificate(v string)
SetCertificate gets a reference to the given string and assigns it to the Certificate field.
func (*CreateCertificateResponse) SetChain ¶
func (o *CreateCertificateResponse) SetChain(v string)
SetChain gets a reference to the given string and assigns it to the Chain field.
func (*CreateCertificateResponse) SetPrivateKey ¶
func (o *CreateCertificateResponse) SetPrivateKey(v string)
SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.
func (CreateCertificateResponse) ToMap ¶
func (o CreateCertificateResponse) ToMap() (map[string]interface{}, error)
type CreateCollectionRequest ¶
type CreateCollectionRequest struct { // The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID. TeamId *string `json:"teamId,omitempty"` Firmware *CollectionFirmware `json:"firmware,omitempty"` // Tags for the collection. Tags are metadata fields that you can assign to the collection. Tags *map[string]string `json:"tags,omitempty"` }
CreateCollectionRequest Request object when creating a collection. The collect ID is assigned by the service.
func NewCreateCollectionRequest ¶
func NewCreateCollectionRequest() *CreateCollectionRequest
NewCreateCollectionRequest instantiates a new CreateCollectionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCollectionRequestWithDefaults ¶
func NewCreateCollectionRequestWithDefaults() *CreateCollectionRequest
NewCreateCollectionRequestWithDefaults instantiates a new CreateCollectionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCollectionRequest) GetFirmware ¶
func (o *CreateCollectionRequest) GetFirmware() CollectionFirmware
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*CreateCollectionRequest) GetFirmwareOk ¶
func (o *CreateCollectionRequest) GetFirmwareOk() (*CollectionFirmware, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCollectionRequest) GetTags ¶
func (o *CreateCollectionRequest) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*CreateCollectionRequest) GetTagsOk ¶
func (o *CreateCollectionRequest) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCollectionRequest) GetTeamId ¶
func (o *CreateCollectionRequest) GetTeamId() string
GetTeamId returns the TeamId field value if set, zero value otherwise.
func (*CreateCollectionRequest) GetTeamIdOk ¶
func (o *CreateCollectionRequest) GetTeamIdOk() (*string, bool)
GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCollectionRequest) HasFirmware ¶
func (o *CreateCollectionRequest) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (*CreateCollectionRequest) HasTags ¶
func (o *CreateCollectionRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*CreateCollectionRequest) HasTeamId ¶
func (o *CreateCollectionRequest) HasTeamId() bool
HasTeamId returns a boolean if a field has been set.
func (CreateCollectionRequest) MarshalJSON ¶
func (o CreateCollectionRequest) MarshalJSON() ([]byte, error)
func (*CreateCollectionRequest) SetFirmware ¶
func (o *CreateCollectionRequest) SetFirmware(v CollectionFirmware)
SetFirmware gets a reference to the given CollectionFirmware and assigns it to the Firmware field.
func (*CreateCollectionRequest) SetTags ¶
func (o *CreateCollectionRequest) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*CreateCollectionRequest) SetTeamId ¶
func (o *CreateCollectionRequest) SetTeamId(v string)
SetTeamId gets a reference to the given string and assigns it to the TeamId field.
func (CreateCollectionRequest) ToMap ¶
func (o CreateCollectionRequest) ToMap() (map[string]interface{}, error)
type CreateDeviceBody ¶
type CreateDeviceBody struct { // Tags are metadata for the device that you can set. These are just strings. Tags *map[string]string `json:"tags,omitempty"` Firmware *FirmwareMetadata `json:"firmware,omitempty"` Config *DeviceConfig `json:"config,omitempty"` Metadata *DeviceMetadata `json:"metadata,omitempty"` }
CreateDeviceBody Request object to create new devices
func NewCreateDeviceBody ¶
func NewCreateDeviceBody() *CreateDeviceBody
NewCreateDeviceBody instantiates a new CreateDeviceBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDeviceBodyWithDefaults ¶
func NewCreateDeviceBodyWithDefaults() *CreateDeviceBody
NewCreateDeviceBodyWithDefaults instantiates a new CreateDeviceBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDeviceBody) GetConfig ¶
func (o *CreateDeviceBody) GetConfig() DeviceConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*CreateDeviceBody) GetConfigOk ¶
func (o *CreateDeviceBody) GetConfigOk() (*DeviceConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDeviceBody) GetFirmware ¶
func (o *CreateDeviceBody) GetFirmware() FirmwareMetadata
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*CreateDeviceBody) GetFirmwareOk ¶
func (o *CreateDeviceBody) GetFirmwareOk() (*FirmwareMetadata, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDeviceBody) GetMetadata ¶
func (o *CreateDeviceBody) GetMetadata() DeviceMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CreateDeviceBody) GetMetadataOk ¶
func (o *CreateDeviceBody) GetMetadataOk() (*DeviceMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDeviceBody) GetTags ¶
func (o *CreateDeviceBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*CreateDeviceBody) GetTagsOk ¶
func (o *CreateDeviceBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDeviceBody) HasConfig ¶
func (o *CreateDeviceBody) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*CreateDeviceBody) HasFirmware ¶
func (o *CreateDeviceBody) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (*CreateDeviceBody) HasMetadata ¶
func (o *CreateDeviceBody) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CreateDeviceBody) HasTags ¶
func (o *CreateDeviceBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (CreateDeviceBody) MarshalJSON ¶
func (o CreateDeviceBody) MarshalJSON() ([]byte, error)
func (*CreateDeviceBody) SetConfig ¶
func (o *CreateDeviceBody) SetConfig(v DeviceConfig)
SetConfig gets a reference to the given DeviceConfig and assigns it to the Config field.
func (*CreateDeviceBody) SetFirmware ¶
func (o *CreateDeviceBody) SetFirmware(v FirmwareMetadata)
SetFirmware gets a reference to the given FirmwareMetadata and assigns it to the Firmware field.
func (*CreateDeviceBody) SetMetadata ¶
func (o *CreateDeviceBody) SetMetadata(v DeviceMetadata)
SetMetadata gets a reference to the given DeviceMetadata and assigns it to the Metadata field.
func (*CreateDeviceBody) SetTags ¶
func (o *CreateDeviceBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (CreateDeviceBody) ToMap ¶
func (o CreateDeviceBody) ToMap() (map[string]interface{}, error)
type CreateFirmwareBody ¶
type CreateFirmwareBody struct { Image *string `json:"image,omitempty"` Version *string `json:"version,omitempty"` Filename *string `json:"filename,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
CreateFirmwareBody Create a new firmware image
func NewCreateFirmwareBody ¶
func NewCreateFirmwareBody() *CreateFirmwareBody
NewCreateFirmwareBody instantiates a new CreateFirmwareBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateFirmwareBodyWithDefaults ¶
func NewCreateFirmwareBodyWithDefaults() *CreateFirmwareBody
NewCreateFirmwareBodyWithDefaults instantiates a new CreateFirmwareBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateFirmwareBody) GetFilename ¶
func (o *CreateFirmwareBody) GetFilename() string
GetFilename returns the Filename field value if set, zero value otherwise.
func (*CreateFirmwareBody) GetFilenameOk ¶
func (o *CreateFirmwareBody) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFirmwareBody) GetImage ¶
func (o *CreateFirmwareBody) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*CreateFirmwareBody) GetImageOk ¶
func (o *CreateFirmwareBody) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFirmwareBody) GetTags ¶
func (o *CreateFirmwareBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*CreateFirmwareBody) GetTagsOk ¶
func (o *CreateFirmwareBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFirmwareBody) GetVersion ¶
func (o *CreateFirmwareBody) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*CreateFirmwareBody) GetVersionOk ¶
func (o *CreateFirmwareBody) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFirmwareBody) HasFilename ¶
func (o *CreateFirmwareBody) HasFilename() bool
HasFilename returns a boolean if a field has been set.
func (*CreateFirmwareBody) HasImage ¶
func (o *CreateFirmwareBody) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*CreateFirmwareBody) HasTags ¶
func (o *CreateFirmwareBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*CreateFirmwareBody) HasVersion ¶
func (o *CreateFirmwareBody) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (CreateFirmwareBody) MarshalJSON ¶
func (o CreateFirmwareBody) MarshalJSON() ([]byte, error)
func (*CreateFirmwareBody) SetFilename ¶
func (o *CreateFirmwareBody) SetFilename(v string)
SetFilename gets a reference to the given string and assigns it to the Filename field.
func (*CreateFirmwareBody) SetImage ¶
func (o *CreateFirmwareBody) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*CreateFirmwareBody) SetTags ¶
func (o *CreateFirmwareBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*CreateFirmwareBody) SetVersion ¶
func (o *CreateFirmwareBody) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (CreateFirmwareBody) ToMap ¶
func (o CreateFirmwareBody) ToMap() (map[string]interface{}, error)
type CreateGatewayBody ¶
type CreateGatewayBody struct { Name *string `json:"name,omitempty"` Type *GatewayType `json:"type,omitempty"` Config *GatewayConfig `json:"config,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
CreateGatewayBody struct for CreateGatewayBody
func NewCreateGatewayBody ¶
func NewCreateGatewayBody() *CreateGatewayBody
NewCreateGatewayBody instantiates a new CreateGatewayBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateGatewayBodyWithDefaults ¶
func NewCreateGatewayBodyWithDefaults() *CreateGatewayBody
NewCreateGatewayBodyWithDefaults instantiates a new CreateGatewayBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateGatewayBody) GetConfig ¶
func (o *CreateGatewayBody) GetConfig() GatewayConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*CreateGatewayBody) GetConfigOk ¶
func (o *CreateGatewayBody) GetConfigOk() (*GatewayConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayBody) GetName ¶
func (o *CreateGatewayBody) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateGatewayBody) GetNameOk ¶
func (o *CreateGatewayBody) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayBody) GetTags ¶
func (o *CreateGatewayBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*CreateGatewayBody) GetTagsOk ¶
func (o *CreateGatewayBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayBody) GetType ¶
func (o *CreateGatewayBody) GetType() GatewayType
GetType returns the Type field value if set, zero value otherwise.
func (*CreateGatewayBody) GetTypeOk ¶
func (o *CreateGatewayBody) GetTypeOk() (*GatewayType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayBody) HasConfig ¶
func (o *CreateGatewayBody) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*CreateGatewayBody) HasName ¶
func (o *CreateGatewayBody) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateGatewayBody) HasTags ¶
func (o *CreateGatewayBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*CreateGatewayBody) HasType ¶
func (o *CreateGatewayBody) HasType() bool
HasType returns a boolean if a field has been set.
func (CreateGatewayBody) MarshalJSON ¶
func (o CreateGatewayBody) MarshalJSON() ([]byte, error)
func (*CreateGatewayBody) SetConfig ¶
func (o *CreateGatewayBody) SetConfig(v GatewayConfig)
SetConfig gets a reference to the given GatewayConfig and assigns it to the Config field.
func (*CreateGatewayBody) SetName ¶
func (o *CreateGatewayBody) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateGatewayBody) SetTags ¶
func (o *CreateGatewayBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*CreateGatewayBody) SetType ¶
func (o *CreateGatewayBody) SetType(v GatewayType)
SetType gets a reference to the given GatewayType and assigns it to the Type field.
func (CreateGatewayBody) ToMap ¶
func (o CreateGatewayBody) ToMap() (map[string]interface{}, error)
type CreateOutputBody ¶
type CreateOutputBody struct { Type *OutputType `json:"type,omitempty"` Config *OutputConfig `json:"config,omitempty"` Enabled *bool `json:"enabled,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
CreateOutputBody Request type when creating new outputs
func NewCreateOutputBody ¶
func NewCreateOutputBody() *CreateOutputBody
NewCreateOutputBody instantiates a new CreateOutputBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateOutputBodyWithDefaults ¶
func NewCreateOutputBodyWithDefaults() *CreateOutputBody
NewCreateOutputBodyWithDefaults instantiates a new CreateOutputBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateOutputBody) GetConfig ¶
func (o *CreateOutputBody) GetConfig() OutputConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*CreateOutputBody) GetConfigOk ¶
func (o *CreateOutputBody) GetConfigOk() (*OutputConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOutputBody) GetEnabled ¶
func (o *CreateOutputBody) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CreateOutputBody) GetEnabledOk ¶
func (o *CreateOutputBody) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOutputBody) GetTags ¶
func (o *CreateOutputBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*CreateOutputBody) GetTagsOk ¶
func (o *CreateOutputBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOutputBody) GetType ¶
func (o *CreateOutputBody) GetType() OutputType
GetType returns the Type field value if set, zero value otherwise.
func (*CreateOutputBody) GetTypeOk ¶
func (o *CreateOutputBody) GetTypeOk() (*OutputType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOutputBody) HasConfig ¶
func (o *CreateOutputBody) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*CreateOutputBody) HasEnabled ¶
func (o *CreateOutputBody) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CreateOutputBody) HasTags ¶
func (o *CreateOutputBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*CreateOutputBody) HasType ¶
func (o *CreateOutputBody) HasType() bool
HasType returns a boolean if a field has been set.
func (CreateOutputBody) MarshalJSON ¶
func (o CreateOutputBody) MarshalJSON() ([]byte, error)
func (*CreateOutputBody) SetConfig ¶
func (o *CreateOutputBody) SetConfig(v OutputConfig)
SetConfig gets a reference to the given OutputConfig and assigns it to the Config field.
func (*CreateOutputBody) SetEnabled ¶
func (o *CreateOutputBody) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CreateOutputBody) SetTags ¶
func (o *CreateOutputBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*CreateOutputBody) SetType ¶
func (o *CreateOutputBody) SetType(v OutputType)
SetType gets a reference to the given OutputType and assigns it to the Type field.
func (CreateOutputBody) ToMap ¶
func (o CreateOutputBody) ToMap() (map[string]interface{}, error)
type DeleteDownstreamMessageResponse ¶
type DeleteDownstreamMessageResponse struct {
MessageId *string `json:"messageId,omitempty"`
}
DeleteDownstreamMessageResponse Response object when deleting a downstream message
func NewDeleteDownstreamMessageResponse ¶
func NewDeleteDownstreamMessageResponse() *DeleteDownstreamMessageResponse
NewDeleteDownstreamMessageResponse instantiates a new DeleteDownstreamMessageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteDownstreamMessageResponseWithDefaults ¶
func NewDeleteDownstreamMessageResponseWithDefaults() *DeleteDownstreamMessageResponse
NewDeleteDownstreamMessageResponseWithDefaults instantiates a new DeleteDownstreamMessageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteDownstreamMessageResponse) GetMessageId ¶
func (o *DeleteDownstreamMessageResponse) GetMessageId() string
GetMessageId returns the MessageId field value if set, zero value otherwise.
func (*DeleteDownstreamMessageResponse) GetMessageIdOk ¶
func (o *DeleteDownstreamMessageResponse) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteDownstreamMessageResponse) HasMessageId ¶
func (o *DeleteDownstreamMessageResponse) HasMessageId() bool
HasMessageId returns a boolean if a field has been set.
func (DeleteDownstreamMessageResponse) MarshalJSON ¶
func (o DeleteDownstreamMessageResponse) MarshalJSON() ([]byte, error)
func (*DeleteDownstreamMessageResponse) SetMessageId ¶
func (o *DeleteDownstreamMessageResponse) SetMessageId(v string)
SetMessageId gets a reference to the given string and assigns it to the MessageId field.
func (DeleteDownstreamMessageResponse) ToMap ¶
func (o DeleteDownstreamMessageResponse) ToMap() (map[string]interface{}, error)
type Device ¶
type Device struct { // The device ID is assigned by the backend. DeviceId *string `json:"deviceId,omitempty"` CollectionId *string `json:"collectionId,omitempty"` // Tags are metadata for the device that you can set. These are just strings. Tags *map[string]string `json:"tags,omitempty"` Firmware *FirmwareMetadata `json:"firmware,omitempty"` Config *DeviceConfig `json:"config,omitempty"` Metadata *DeviceMetadata `json:"metadata,omitempty"` LastGatewayId *string `json:"lastGatewayId,omitempty"` LastTransport *MessageTransport `json:"lastTransport,omitempty"` LastReceived *string `json:"lastReceived,omitempty"` LastPayload *string `json:"lastPayload,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
Device This a device
func NewDevice ¶
func NewDevice() *Device
NewDevice instantiates a new Device object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceWithDefaults ¶
func NewDeviceWithDefaults() *Device
NewDeviceWithDefaults instantiates a new Device object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Device) GetCollectionId ¶
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) GetConfig ¶
func (o *Device) GetConfig() DeviceConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*Device) GetConfigOk ¶
func (o *Device) GetConfigOk() (*DeviceConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Device) GetDeviceId ¶
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) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*Device) 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 (*Device) GetFirmware ¶
func (o *Device) GetFirmware() FirmwareMetadata
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*Device) GetFirmwareOk ¶
func (o *Device) GetFirmwareOk() (*FirmwareMetadata, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Device) GetLastGatewayId ¶
GetLastGatewayId returns the LastGatewayId field value if set, zero value otherwise.
func (*Device) GetLastGatewayIdOk ¶
GetLastGatewayIdOk returns a tuple with the LastGatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Device) GetLastPayload ¶
GetLastPayload returns the LastPayload field value if set, zero value otherwise.
func (*Device) GetLastPayloadOk ¶
GetLastPayloadOk returns a tuple with the LastPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Device) GetLastReceived ¶
GetLastReceived returns the LastReceived field value if set, zero value otherwise.
func (*Device) GetLastReceivedOk ¶
GetLastReceivedOk returns a tuple with the LastReceived field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Device) GetLastTransport ¶
func (o *Device) GetLastTransport() MessageTransport
GetLastTransport returns the LastTransport field value if set, zero value otherwise.
func (*Device) GetLastTransportOk ¶
func (o *Device) GetLastTransportOk() (*MessageTransport, bool)
GetLastTransportOk returns a tuple with the LastTransport field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Device) GetMetadata ¶
func (o *Device) GetMetadata() DeviceMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Device) GetMetadataOk ¶
func (o *Device) GetMetadataOk() (*DeviceMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Device) 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) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*Device) HasFirmware ¶
HasFirmware returns a boolean if a field has been set.
func (*Device) HasLastGatewayId ¶
HasLastGatewayId returns a boolean if a field has been set.
func (*Device) HasLastPayload ¶
HasLastPayload returns a boolean if a field has been set.
func (*Device) HasLastReceived ¶
HasLastReceived returns a boolean if a field has been set.
func (*Device) HasLastTransport ¶
HasLastTransport returns a boolean if a field has been set.
func (*Device) HasMetadata ¶
HasMetadata 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) SetConfig ¶
func (o *Device) SetConfig(v DeviceConfig)
SetConfig gets a reference to the given DeviceConfig and assigns it to the Config field.
func (*Device) SetDeviceId ¶
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*Device) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*Device) SetFirmware ¶
func (o *Device) SetFirmware(v FirmwareMetadata)
SetFirmware gets a reference to the given FirmwareMetadata and assigns it to the Firmware field.
func (*Device) SetLastGatewayId ¶
SetLastGatewayId gets a reference to the given string and assigns it to the LastGatewayId field.
func (*Device) SetLastPayload ¶
SetLastPayload gets a reference to the given string and assigns it to the LastPayload field.
func (*Device) SetLastReceived ¶
SetLastReceived gets a reference to the given string and assigns it to the LastReceived field.
func (*Device) SetLastTransport ¶
func (o *Device) SetLastTransport(v MessageTransport)
SetLastTransport gets a reference to the given MessageTransport and assigns it to the LastTransport field.
func (*Device) SetMetadata ¶
func (o *Device) SetMetadata(v DeviceMetadata)
SetMetadata gets a reference to the given DeviceMetadata and assigns it to the Metadata field.
type DeviceCertificateResponse ¶
type DeviceCertificateResponse struct {
Certificates []CertificateInfo `json:"certificates,omitempty"`
}
DeviceCertificateResponse Response object for certificate info resource
func NewDeviceCertificateResponse ¶
func NewDeviceCertificateResponse() *DeviceCertificateResponse
NewDeviceCertificateResponse instantiates a new DeviceCertificateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceCertificateResponseWithDefaults ¶
func NewDeviceCertificateResponseWithDefaults() *DeviceCertificateResponse
NewDeviceCertificateResponseWithDefaults instantiates a new DeviceCertificateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeviceCertificateResponse) GetCertificates ¶
func (o *DeviceCertificateResponse) GetCertificates() []CertificateInfo
GetCertificates returns the Certificates field value if set, zero value otherwise.
func (*DeviceCertificateResponse) GetCertificatesOk ¶
func (o *DeviceCertificateResponse) GetCertificatesOk() ([]CertificateInfo, bool)
GetCertificatesOk returns a tuple with the Certificates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceCertificateResponse) HasCertificates ¶
func (o *DeviceCertificateResponse) HasCertificates() bool
HasCertificates returns a boolean if a field has been set.
func (DeviceCertificateResponse) MarshalJSON ¶
func (o DeviceCertificateResponse) MarshalJSON() ([]byte, error)
func (*DeviceCertificateResponse) SetCertificates ¶
func (o *DeviceCertificateResponse) SetCertificates(v []CertificateInfo)
SetCertificates gets a reference to the given []CertificateInfo and assigns it to the Certificates field.
func (DeviceCertificateResponse) ToMap ¶
func (o DeviceCertificateResponse) ToMap() (map[string]interface{}, error)
type DeviceConfig ¶
type DeviceConfig struct { Ciot *CellularIoTConfig `json:"ciot,omitempty"` // This is the configuration for an internet-connected device. There are currently no configuration options for internet devices; the device is identified via the clientcertificate. This is empty since there's no configuration required for the internet gateway Inet map[string]interface{} `json:"inet,omitempty"` Gateway *map[string]GatewayDeviceConfig `json:"gateway,omitempty"` }
DeviceConfig This is the configuration for the device via the various gateways.
func NewDeviceConfig ¶
func NewDeviceConfig() *DeviceConfig
NewDeviceConfig instantiates a new DeviceConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceConfigWithDefaults ¶
func NewDeviceConfigWithDefaults() *DeviceConfig
NewDeviceConfigWithDefaults instantiates a new DeviceConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeviceConfig) GetCiot ¶
func (o *DeviceConfig) GetCiot() CellularIoTConfig
GetCiot returns the Ciot field value if set, zero value otherwise.
func (*DeviceConfig) GetCiotOk ¶
func (o *DeviceConfig) GetCiotOk() (*CellularIoTConfig, bool)
GetCiotOk returns a tuple with the Ciot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceConfig) GetGateway ¶
func (o *DeviceConfig) GetGateway() map[string]GatewayDeviceConfig
GetGateway returns the Gateway field value if set, zero value otherwise.
func (*DeviceConfig) GetGatewayOk ¶
func (o *DeviceConfig) GetGatewayOk() (*map[string]GatewayDeviceConfig, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceConfig) GetInet ¶
func (o *DeviceConfig) GetInet() map[string]interface{}
GetInet returns the Inet field value if set, zero value otherwise.
func (*DeviceConfig) GetInetOk ¶
func (o *DeviceConfig) GetInetOk() (map[string]interface{}, bool)
GetInetOk returns a tuple with the Inet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceConfig) HasCiot ¶
func (o *DeviceConfig) HasCiot() bool
HasCiot returns a boolean if a field has been set.
func (*DeviceConfig) HasGateway ¶
func (o *DeviceConfig) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*DeviceConfig) HasInet ¶
func (o *DeviceConfig) HasInet() bool
HasInet returns a boolean if a field has been set.
func (DeviceConfig) MarshalJSON ¶
func (o DeviceConfig) MarshalJSON() ([]byte, error)
func (*DeviceConfig) SetCiot ¶
func (o *DeviceConfig) SetCiot(v CellularIoTConfig)
SetCiot gets a reference to the given CellularIoTConfig and assigns it to the Ciot field.
func (*DeviceConfig) SetGateway ¶
func (o *DeviceConfig) SetGateway(v map[string]GatewayDeviceConfig)
SetGateway gets a reference to the given map[string]GatewayDeviceConfig and assigns it to the Gateway field.
func (*DeviceConfig) SetInet ¶
func (o *DeviceConfig) SetInet(v map[string]interface{})
SetInet gets a reference to the given map[string]interface{} and assigns it to the Inet field.
func (DeviceConfig) ToMap ¶
func (o DeviceConfig) ToMap() (map[string]interface{}, error)
type DeviceMetadata ¶
type DeviceMetadata struct { Ciot *CellularIoTMetadata `json:"ciot,omitempty"` Inet *InetMetadata `json:"inet,omitempty"` Gateway *GatewayDeviceMetadata `json:"gateway,omitempty"` }
DeviceMetadata This is the metadata for devices.
func NewDeviceMetadata ¶
func NewDeviceMetadata() *DeviceMetadata
NewDeviceMetadata instantiates a new DeviceMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceMetadataWithDefaults ¶
func NewDeviceMetadataWithDefaults() *DeviceMetadata
NewDeviceMetadataWithDefaults instantiates a new DeviceMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeviceMetadata) GetCiot ¶
func (o *DeviceMetadata) GetCiot() CellularIoTMetadata
GetCiot returns the Ciot field value if set, zero value otherwise.
func (*DeviceMetadata) GetCiotOk ¶
func (o *DeviceMetadata) GetCiotOk() (*CellularIoTMetadata, bool)
GetCiotOk returns a tuple with the Ciot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceMetadata) GetGateway ¶
func (o *DeviceMetadata) GetGateway() GatewayDeviceMetadata
GetGateway returns the Gateway field value if set, zero value otherwise.
func (*DeviceMetadata) GetGatewayOk ¶
func (o *DeviceMetadata) GetGatewayOk() (*GatewayDeviceMetadata, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceMetadata) GetInet ¶
func (o *DeviceMetadata) GetInet() InetMetadata
GetInet returns the Inet field value if set, zero value otherwise.
func (*DeviceMetadata) GetInetOk ¶
func (o *DeviceMetadata) GetInetOk() (*InetMetadata, bool)
GetInetOk returns a tuple with the Inet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceMetadata) HasCiot ¶
func (o *DeviceMetadata) HasCiot() bool
HasCiot returns a boolean if a field has been set.
func (*DeviceMetadata) HasGateway ¶
func (o *DeviceMetadata) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*DeviceMetadata) HasInet ¶
func (o *DeviceMetadata) HasInet() bool
HasInet returns a boolean if a field has been set.
func (DeviceMetadata) MarshalJSON ¶
func (o DeviceMetadata) MarshalJSON() ([]byte, error)
func (*DeviceMetadata) SetCiot ¶
func (o *DeviceMetadata) SetCiot(v CellularIoTMetadata)
SetCiot gets a reference to the given CellularIoTMetadata and assigns it to the Ciot field.
func (*DeviceMetadata) SetGateway ¶
func (o *DeviceMetadata) SetGateway(v GatewayDeviceMetadata)
SetGateway gets a reference to the given GatewayDeviceMetadata and assigns it to the Gateway field.
func (*DeviceMetadata) SetInet ¶
func (o *DeviceMetadata) SetInet(v InetMetadata)
SetInet gets a reference to the given InetMetadata and assigns it to the Inet field.
func (DeviceMetadata) ToMap ¶
func (o DeviceMetadata) ToMap() (map[string]interface{}, error)
type DeviceStats ¶
type DeviceStats struct { BytesUpstream *string `json:"bytesUpstream,omitempty"` BytesDownstream *string `json:"bytesDownstream,omitempty"` MessagesUpstream *string `json:"messagesUpstream,omitempty"` MessagesDownstream *string `json:"messagesDownstream,omitempty"` SessionCount *int32 `json:"sessionCount,omitempty"` }
DeviceStats This is the statistics for a single device
func NewDeviceStats ¶
func NewDeviceStats() *DeviceStats
NewDeviceStats instantiates a new DeviceStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceStatsWithDefaults ¶
func NewDeviceStatsWithDefaults() *DeviceStats
NewDeviceStatsWithDefaults instantiates a new DeviceStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeviceStats) GetBytesDownstream ¶
func (o *DeviceStats) GetBytesDownstream() string
GetBytesDownstream returns the BytesDownstream field value if set, zero value otherwise.
func (*DeviceStats) GetBytesDownstreamOk ¶
func (o *DeviceStats) GetBytesDownstreamOk() (*string, bool)
GetBytesDownstreamOk returns a tuple with the BytesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceStats) GetBytesUpstream ¶
func (o *DeviceStats) GetBytesUpstream() string
GetBytesUpstream returns the BytesUpstream field value if set, zero value otherwise.
func (*DeviceStats) GetBytesUpstreamOk ¶
func (o *DeviceStats) GetBytesUpstreamOk() (*string, bool)
GetBytesUpstreamOk returns a tuple with the BytesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceStats) GetMessagesDownstream ¶
func (o *DeviceStats) GetMessagesDownstream() string
GetMessagesDownstream returns the MessagesDownstream field value if set, zero value otherwise.
func (*DeviceStats) GetMessagesDownstreamOk ¶
func (o *DeviceStats) GetMessagesDownstreamOk() (*string, bool)
GetMessagesDownstreamOk returns a tuple with the MessagesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceStats) GetMessagesUpstream ¶
func (o *DeviceStats) GetMessagesUpstream() string
GetMessagesUpstream returns the MessagesUpstream field value if set, zero value otherwise.
func (*DeviceStats) GetMessagesUpstreamOk ¶
func (o *DeviceStats) GetMessagesUpstreamOk() (*string, bool)
GetMessagesUpstreamOk returns a tuple with the MessagesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceStats) GetSessionCount ¶
func (o *DeviceStats) GetSessionCount() int32
GetSessionCount returns the SessionCount field value if set, zero value otherwise.
func (*DeviceStats) GetSessionCountOk ¶
func (o *DeviceStats) GetSessionCountOk() (*int32, bool)
GetSessionCountOk returns a tuple with the SessionCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceStats) HasBytesDownstream ¶
func (o *DeviceStats) HasBytesDownstream() bool
HasBytesDownstream returns a boolean if a field has been set.
func (*DeviceStats) HasBytesUpstream ¶
func (o *DeviceStats) HasBytesUpstream() bool
HasBytesUpstream returns a boolean if a field has been set.
func (*DeviceStats) HasMessagesDownstream ¶
func (o *DeviceStats) HasMessagesDownstream() bool
HasMessagesDownstream returns a boolean if a field has been set.
func (*DeviceStats) HasMessagesUpstream ¶
func (o *DeviceStats) HasMessagesUpstream() bool
HasMessagesUpstream returns a boolean if a field has been set.
func (*DeviceStats) HasSessionCount ¶
func (o *DeviceStats) HasSessionCount() bool
HasSessionCount returns a boolean if a field has been set.
func (DeviceStats) MarshalJSON ¶
func (o DeviceStats) MarshalJSON() ([]byte, error)
func (*DeviceStats) SetBytesDownstream ¶
func (o *DeviceStats) SetBytesDownstream(v string)
SetBytesDownstream gets a reference to the given string and assigns it to the BytesDownstream field.
func (*DeviceStats) SetBytesUpstream ¶
func (o *DeviceStats) SetBytesUpstream(v string)
SetBytesUpstream gets a reference to the given string and assigns it to the BytesUpstream field.
func (*DeviceStats) SetMessagesDownstream ¶
func (o *DeviceStats) SetMessagesDownstream(v string)
SetMessagesDownstream gets a reference to the given string and assigns it to the MessagesDownstream field.
func (*DeviceStats) SetMessagesUpstream ¶
func (o *DeviceStats) SetMessagesUpstream(v string)
SetMessagesUpstream gets a reference to the given string and assigns it to the MessagesUpstream field.
func (*DeviceStats) SetSessionCount ¶
func (o *DeviceStats) SetSessionCount(v int32)
SetSessionCount gets a reference to the given int32 and assigns it to the SessionCount field.
func (DeviceStats) ToMap ¶
func (o DeviceStats) ToMap() (map[string]interface{}, error)
type DevicesApiService ¶
type DevicesApiService service
DevicesApiService DevicesApi service
func (*DevicesApiService) AddDownstreamMessage ¶
func (a *DevicesApiService) AddDownstreamMessage(ctx context.Context, collectionId string, deviceId string) ApiAddDownstreamMessageRequest
AddDownstreamMessage Add message to oubox
Add a new message in the outgoing queue to the device. If there is other messages in the outbox these messages will be sent first.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param deviceId @return ApiAddDownstreamMessageRequest
func (*DevicesApiService) AddDownstreamMessageExecute ¶
func (a *DevicesApiService) AddDownstreamMessageExecute(r ApiAddDownstreamMessageRequest) (*MessageDownstream, *http.Response, error)
Execute executes the request
@return MessageDownstream
func (*DevicesApiService) CreateDevice ¶
func (a *DevicesApiService) CreateDevice(ctx context.Context, collectionId string) ApiCreateDeviceRequest
CreateDevice Create device
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId This is the containing collection @return ApiCreateDeviceRequest
func (*DevicesApiService) CreateDeviceExecute ¶
func (a *DevicesApiService) CreateDeviceExecute(r ApiCreateDeviceRequest) (*Device, *http.Response, error)
Execute executes the request
@return Device
func (*DevicesApiService) DeleteDevice ¶
func (a *DevicesApiService) DeleteDevice(ctx context.Context, collectionId string, deviceId string) ApiDeleteDeviceRequest
DeleteDevice Remove device.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId This is the containing collection @param deviceId The device ID is assigned by the backend. @return ApiDeleteDeviceRequest
func (*DevicesApiService) DeleteDeviceExecute ¶
func (a *DevicesApiService) DeleteDeviceExecute(r ApiDeleteDeviceRequest) (*Device, *http.Response, error)
Execute executes the request
@return Device
func (*DevicesApiService) DeleteDownstreamMessage ¶
func (a *DevicesApiService) DeleteDownstreamMessage(ctx context.Context, collectionId string, deviceId string, messageId string) ApiDeleteDownstreamMessageRequest
DeleteDownstreamMessage Delete outgoing message
Delete an outgoing (ie downstream) message from the outbox.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param deviceId @param messageId @return ApiDeleteDownstreamMessageRequest
func (*DevicesApiService) DeleteDownstreamMessageExecute ¶
func (a *DevicesApiService) DeleteDownstreamMessageExecute(r ApiDeleteDownstreamMessageRequest) (*DeleteDownstreamMessageResponse, *http.Response, error)
Execute executes the request
@return DeleteDownstreamMessageResponse
func (*DevicesApiService) DeviceCertificate ¶
func (a *DevicesApiService) DeviceCertificate(ctx context.Context, collectionId string, deviceId string) ApiDeviceCertificateRequest
DeviceCertificate Get issued certificate(s) for device
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param deviceId @return ApiDeviceCertificateRequest
func (*DevicesApiService) DeviceCertificateExecute ¶
func (a *DevicesApiService) DeviceCertificateExecute(r ApiDeviceCertificateRequest) (*DeviceCertificateResponse, *http.Response, error)
Execute executes the request
@return DeviceCertificateResponse
func (*DevicesApiService) ListDeviceData ¶
func (a *DevicesApiService) ListDeviceData(ctx context.Context, collectionId string, deviceId string) ApiListDeviceDataRequest
ListDeviceData Retrieve data from device
List the data received from the device. Use the query parameters to control what data you retrieve. The maximum number of data points is 100.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId The collection ID. This is included in the request path. @param deviceId The device ID. This is included in the request path. @return ApiListDeviceDataRequest
func (*DevicesApiService) ListDeviceDataExecute ¶
func (a *DevicesApiService) ListDeviceDataExecute(r ApiListDeviceDataRequest) (*ListDataResponse, *http.Response, error)
Execute executes the request
@return ListDataResponse
func (*DevicesApiService) ListDevices ¶
func (a *DevicesApiService) ListDevices(ctx context.Context, collectionId string) ApiListDevicesRequest
ListDevices List devices in collection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiListDevicesRequest
func (*DevicesApiService) ListDevicesExecute ¶
func (a *DevicesApiService) ListDevicesExecute(r ApiListDevicesRequest) (*ListDevicesResponse, *http.Response, error)
Execute executes the request
@return ListDevicesResponse
func (*DevicesApiService) ListDownstreamMessages ¶
func (a *DevicesApiService) ListDownstreamMessages(ctx context.Context, collectionId string, deviceId string) ApiListDownstreamMessagesRequest
ListDownstreamMessages List the messages in the outbox
List messages that should be sent to the device when it connects to the service. The messages are sent to the device when it connects to the service and either sends a message (via UDP or CoAP) or requests a message via CoAP GET request.option
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param deviceId @return ApiListDownstreamMessagesRequest
func (*DevicesApiService) ListDownstreamMessagesExecute ¶
func (a *DevicesApiService) ListDownstreamMessagesExecute(r ApiListDownstreamMessagesRequest) (*ListDownstreamMessagesResponse, *http.Response, error)
Execute executes the request
@return ListDownstreamMessagesResponse
func (*DevicesApiService) ListUpstreamMessages ¶
func (a *DevicesApiService) ListUpstreamMessages(ctx context.Context, collectionId string, deviceId string) ApiListUpstreamMessagesRequest
ListUpstreamMessages List incoming messages
Retrieve a list of incoming (ie upstream) messages, ie messages sent from the device to the service. These messages are buffered in the service until they expire.
Use the query parameters to limit the number of messages to return. If no limit is specified the default limit of 250 is used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param deviceId @return ApiListUpstreamMessagesRequest
func (*DevicesApiService) ListUpstreamMessagesExecute ¶
func (a *DevicesApiService) ListUpstreamMessagesExecute(r ApiListUpstreamMessagesRequest) (*ListUpstreamMessagesResponse, *http.Response, error)
Execute executes the request
@return ListUpstreamMessagesResponse
func (*DevicesApiService) RetrieveDevice ¶
func (a *DevicesApiService) RetrieveDevice(ctx context.Context, collectionId string, deviceId string) ApiRetrieveDeviceRequest
RetrieveDevice Retrieve device
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId This is the containing collection @param deviceId The device identifier @return ApiRetrieveDeviceRequest
func (*DevicesApiService) RetrieveDeviceExecute ¶
func (a *DevicesApiService) RetrieveDeviceExecute(r ApiRetrieveDeviceRequest) (*Device, *http.Response, error)
Execute executes the request
@return Device
func (*DevicesApiService) RetrieveDeviceStats ¶
func (a *DevicesApiService) RetrieveDeviceStats(ctx context.Context, collectionId string, deviceId string) ApiRetrieveDeviceStatsRequest
RetrieveDeviceStats Retrieve device statistics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId This is the containing collection @param deviceId The device identifier @return ApiRetrieveDeviceStatsRequest
func (*DevicesApiService) RetrieveDeviceStatsExecute ¶
func (a *DevicesApiService) RetrieveDeviceStatsExecute(r ApiRetrieveDeviceStatsRequest) (*DeviceStats, *http.Response, error)
Execute executes the request
@return DeviceStats
func (*DevicesApiService) UpdateDevice ¶
func (a *DevicesApiService) UpdateDevice(ctx context.Context, existingCollectionId string, deviceId string) ApiUpdateDeviceRequest
UpdateDevice Update device
The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request. If a device is moved out of the collection and it references a gateway in the configuration the operation will fail. Devices that are moved from one collection to another and references gateway configurations must be updated before they are moved.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param existingCollectionId @param deviceId @return ApiUpdateDeviceRequest
func (*DevicesApiService) UpdateDeviceExecute ¶
func (a *DevicesApiService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (*Device, *http.Response, error)
Execute executes the request
@return Device
type Firmware ¶
type Firmware struct { ImageId *string `json:"imageId,omitempty"` // Make sure that the firmware image reports this version. If the version reported by this image is different the FOTA process won't be reported as successful since the device will report a version different from this. Version *string `json:"version,omitempty"` // This is just for internal house keeping, making it potentially easier to identify the firmware image. Filename *string `json:"filename,omitempty"` // To ensure each image is unique the SHA-256 hash for all images in a collection must be unqique Sha256 *string `json:"sha256,omitempty"` Length *int32 `json:"length,omitempty"` // Collection ID for the collection owning the firmware image. CollectionId *string `json:"collectionId,omitempty"` Created *string `json:"created,omitempty"` // Tags for firmware image. Tags *map[string]string `json:"tags,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
Firmware Firmware images aren't served back out through the API, only the metadata.
func NewFirmware ¶
func NewFirmware() *Firmware
NewFirmware instantiates a new Firmware object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFirmwareWithDefaults ¶
func NewFirmwareWithDefaults() *Firmware
NewFirmwareWithDefaults instantiates a new Firmware object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Firmware) GetCollectionId ¶
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) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*Firmware) 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 (*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) HasEnabled ¶
HasEnabled 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) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled 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 FirmwareManagement ¶
type FirmwareManagement string
FirmwareManagement The firmware management settings for a collection can either be \"disabled\", ie there is no firmware management for this collection, \"collection\"; devices are managed through the settings on the collection or \"device\" where each device is configured individual.
const ( FIRMWAREMANAGEMENT_UNSPECIFIED FirmwareManagement = "unspecified" FIRMWAREMANAGEMENT_DISABLED FirmwareManagement = "disabled" FIRMWAREMANAGEMENT_COLLECTION FirmwareManagement = "collection" FIRMWAREMANAGEMENT_DEVICE FirmwareManagement = "device" )
List of FirmwareManagement
func NewFirmwareManagementFromValue ¶
func NewFirmwareManagementFromValue(v string) (*FirmwareManagement, error)
NewFirmwareManagementFromValue returns a pointer to a valid FirmwareManagement for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FirmwareManagement) IsValid ¶
func (v FirmwareManagement) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FirmwareManagement) Ptr ¶
func (v FirmwareManagement) Ptr() *FirmwareManagement
Ptr returns reference to FirmwareManagement value
func (*FirmwareManagement) UnmarshalJSON ¶
func (v *FirmwareManagement) UnmarshalJSON(src []byte) error
type FirmwareMetadata ¶
type FirmwareMetadata struct { CurrentFirmwareId *string `json:"currentFirmwareId,omitempty"` TargetFirmwareId *string `json:"targetFirmwareId,omitempty"` // Last reported firmware version. FirmwareVersion *string `json:"firmwareVersion,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` ModelNumber *string `json:"modelNumber,omitempty"` Manufacturer *string `json:"manufacturer,omitempty"` State *string `json:"state,omitempty"` StateMessage *string `json:"stateMessage,omitempty"` }
FirmwareMetadata Metadata about firmware on devices.
func NewFirmwareMetadata ¶
func NewFirmwareMetadata() *FirmwareMetadata
NewFirmwareMetadata instantiates a new FirmwareMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFirmwareMetadataWithDefaults ¶
func NewFirmwareMetadataWithDefaults() *FirmwareMetadata
NewFirmwareMetadataWithDefaults instantiates a new FirmwareMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FirmwareMetadata) GetCurrentFirmwareId ¶
func (o *FirmwareMetadata) GetCurrentFirmwareId() string
GetCurrentFirmwareId returns the CurrentFirmwareId field value if set, zero value otherwise.
func (*FirmwareMetadata) GetCurrentFirmwareIdOk ¶
func (o *FirmwareMetadata) GetCurrentFirmwareIdOk() (*string, bool)
GetCurrentFirmwareIdOk returns a tuple with the CurrentFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) GetFirmwareVersion ¶
func (o *FirmwareMetadata) GetFirmwareVersion() string
GetFirmwareVersion returns the FirmwareVersion field value if set, zero value otherwise.
func (*FirmwareMetadata) GetFirmwareVersionOk ¶
func (o *FirmwareMetadata) GetFirmwareVersionOk() (*string, bool)
GetFirmwareVersionOk returns a tuple with the FirmwareVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) GetManufacturer ¶
func (o *FirmwareMetadata) GetManufacturer() string
GetManufacturer returns the Manufacturer field value if set, zero value otherwise.
func (*FirmwareMetadata) GetManufacturerOk ¶
func (o *FirmwareMetadata) GetManufacturerOk() (*string, bool)
GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) GetModelNumber ¶
func (o *FirmwareMetadata) GetModelNumber() string
GetModelNumber returns the ModelNumber field value if set, zero value otherwise.
func (*FirmwareMetadata) GetModelNumberOk ¶
func (o *FirmwareMetadata) GetModelNumberOk() (*string, bool)
GetModelNumberOk returns a tuple with the ModelNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) GetSerialNumber ¶
func (o *FirmwareMetadata) GetSerialNumber() string
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*FirmwareMetadata) GetSerialNumberOk ¶
func (o *FirmwareMetadata) GetSerialNumberOk() (*string, bool)
GetSerialNumberOk returns a tuple with the SerialNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) GetState ¶
func (o *FirmwareMetadata) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*FirmwareMetadata) GetStateMessage ¶
func (o *FirmwareMetadata) GetStateMessage() string
GetStateMessage returns the StateMessage field value if set, zero value otherwise.
func (*FirmwareMetadata) GetStateMessageOk ¶
func (o *FirmwareMetadata) GetStateMessageOk() (*string, bool)
GetStateMessageOk returns a tuple with the StateMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) GetStateOk ¶
func (o *FirmwareMetadata) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) GetTargetFirmwareId ¶
func (o *FirmwareMetadata) GetTargetFirmwareId() string
GetTargetFirmwareId returns the TargetFirmwareId field value if set, zero value otherwise.
func (*FirmwareMetadata) GetTargetFirmwareIdOk ¶
func (o *FirmwareMetadata) GetTargetFirmwareIdOk() (*string, bool)
GetTargetFirmwareIdOk returns a tuple with the TargetFirmwareId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareMetadata) HasCurrentFirmwareId ¶
func (o *FirmwareMetadata) HasCurrentFirmwareId() bool
HasCurrentFirmwareId returns a boolean if a field has been set.
func (*FirmwareMetadata) HasFirmwareVersion ¶
func (o *FirmwareMetadata) HasFirmwareVersion() bool
HasFirmwareVersion returns a boolean if a field has been set.
func (*FirmwareMetadata) HasManufacturer ¶
func (o *FirmwareMetadata) HasManufacturer() bool
HasManufacturer returns a boolean if a field has been set.
func (*FirmwareMetadata) HasModelNumber ¶
func (o *FirmwareMetadata) HasModelNumber() bool
HasModelNumber returns a boolean if a field has been set.
func (*FirmwareMetadata) HasSerialNumber ¶
func (o *FirmwareMetadata) HasSerialNumber() bool
HasSerialNumber returns a boolean if a field has been set.
func (*FirmwareMetadata) HasState ¶
func (o *FirmwareMetadata) HasState() bool
HasState returns a boolean if a field has been set.
func (*FirmwareMetadata) HasStateMessage ¶
func (o *FirmwareMetadata) HasStateMessage() bool
HasStateMessage returns a boolean if a field has been set.
func (*FirmwareMetadata) HasTargetFirmwareId ¶
func (o *FirmwareMetadata) HasTargetFirmwareId() bool
HasTargetFirmwareId returns a boolean if a field has been set.
func (FirmwareMetadata) MarshalJSON ¶
func (o FirmwareMetadata) MarshalJSON() ([]byte, error)
func (*FirmwareMetadata) SetCurrentFirmwareId ¶
func (o *FirmwareMetadata) SetCurrentFirmwareId(v string)
SetCurrentFirmwareId gets a reference to the given string and assigns it to the CurrentFirmwareId field.
func (*FirmwareMetadata) SetFirmwareVersion ¶
func (o *FirmwareMetadata) SetFirmwareVersion(v string)
SetFirmwareVersion gets a reference to the given string and assigns it to the FirmwareVersion field.
func (*FirmwareMetadata) SetManufacturer ¶
func (o *FirmwareMetadata) SetManufacturer(v string)
SetManufacturer gets a reference to the given string and assigns it to the Manufacturer field.
func (*FirmwareMetadata) SetModelNumber ¶
func (o *FirmwareMetadata) SetModelNumber(v string)
SetModelNumber gets a reference to the given string and assigns it to the ModelNumber field.
func (*FirmwareMetadata) SetSerialNumber ¶
func (o *FirmwareMetadata) SetSerialNumber(v string)
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.
func (*FirmwareMetadata) SetState ¶
func (o *FirmwareMetadata) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*FirmwareMetadata) SetStateMessage ¶
func (o *FirmwareMetadata) SetStateMessage(v string)
SetStateMessage gets a reference to the given string and assigns it to the StateMessage field.
func (*FirmwareMetadata) SetTargetFirmwareId ¶
func (o *FirmwareMetadata) SetTargetFirmwareId(v string)
SetTargetFirmwareId gets a reference to the given string and assigns it to the TargetFirmwareId field.
func (FirmwareMetadata) ToMap ¶
func (o FirmwareMetadata) ToMap() (map[string]interface{}, error)
type FirmwareStats ¶
type FirmwareStats struct {
FirmwareImageSize *int32 `json:"firmwareImageSize,omitempty"`
}
FirmwareStats Statistics for a single firmware image
func NewFirmwareStats ¶
func NewFirmwareStats() *FirmwareStats
NewFirmwareStats instantiates a new FirmwareStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFirmwareStatsWithDefaults ¶
func NewFirmwareStatsWithDefaults() *FirmwareStats
NewFirmwareStatsWithDefaults instantiates a new FirmwareStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FirmwareStats) GetFirmwareImageSize ¶
func (o *FirmwareStats) GetFirmwareImageSize() int32
GetFirmwareImageSize returns the FirmwareImageSize field value if set, zero value otherwise.
func (*FirmwareStats) GetFirmwareImageSizeOk ¶
func (o *FirmwareStats) GetFirmwareImageSizeOk() (*int32, bool)
GetFirmwareImageSizeOk returns a tuple with the FirmwareImageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareStats) HasFirmwareImageSize ¶
func (o *FirmwareStats) HasFirmwareImageSize() bool
HasFirmwareImageSize returns a boolean if a field has been set.
func (FirmwareStats) MarshalJSON ¶
func (o FirmwareStats) MarshalJSON() ([]byte, error)
func (*FirmwareStats) SetFirmwareImageSize ¶
func (o *FirmwareStats) SetFirmwareImageSize(v int32)
SetFirmwareImageSize gets a reference to the given int32 and assigns it to the FirmwareImageSize field.
func (FirmwareStats) ToMap ¶
func (o FirmwareStats) ToMap() (map[string]interface{}, error)
type FirmwareUsageResponse ¶
type FirmwareUsageResponse struct { ImageId *string `json:"imageId,omitempty"` Targeted []string `json:"targeted,omitempty"` Current []string `json:"current,omitempty"` }
FirmwareUsageResponse Firmware usage report
func NewFirmwareUsageResponse ¶
func NewFirmwareUsageResponse() *FirmwareUsageResponse
NewFirmwareUsageResponse instantiates a new FirmwareUsageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFirmwareUsageResponseWithDefaults ¶
func NewFirmwareUsageResponseWithDefaults() *FirmwareUsageResponse
NewFirmwareUsageResponseWithDefaults instantiates a new FirmwareUsageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FirmwareUsageResponse) GetCurrent ¶
func (o *FirmwareUsageResponse) GetCurrent() []string
GetCurrent returns the Current field value if set, zero value otherwise.
func (*FirmwareUsageResponse) GetCurrentOk ¶
func (o *FirmwareUsageResponse) GetCurrentOk() ([]string, bool)
GetCurrentOk returns a tuple with the Current field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareUsageResponse) GetImageId ¶
func (o *FirmwareUsageResponse) GetImageId() string
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*FirmwareUsageResponse) GetImageIdOk ¶
func (o *FirmwareUsageResponse) GetImageIdOk() (*string, bool)
GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareUsageResponse) GetTargeted ¶
func (o *FirmwareUsageResponse) GetTargeted() []string
GetTargeted returns the Targeted field value if set, zero value otherwise.
func (*FirmwareUsageResponse) GetTargetedOk ¶
func (o *FirmwareUsageResponse) GetTargetedOk() ([]string, bool)
GetTargetedOk returns a tuple with the Targeted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FirmwareUsageResponse) HasCurrent ¶
func (o *FirmwareUsageResponse) HasCurrent() bool
HasCurrent returns a boolean if a field has been set.
func (*FirmwareUsageResponse) HasImageId ¶
func (o *FirmwareUsageResponse) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (*FirmwareUsageResponse) HasTargeted ¶
func (o *FirmwareUsageResponse) HasTargeted() bool
HasTargeted returns a boolean if a field has been set.
func (FirmwareUsageResponse) MarshalJSON ¶
func (o FirmwareUsageResponse) MarshalJSON() ([]byte, error)
func (*FirmwareUsageResponse) SetCurrent ¶
func (o *FirmwareUsageResponse) SetCurrent(v []string)
SetCurrent gets a reference to the given []string and assigns it to the Current field.
func (*FirmwareUsageResponse) SetImageId ¶
func (o *FirmwareUsageResponse) SetImageId(v string)
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (*FirmwareUsageResponse) SetTargeted ¶
func (o *FirmwareUsageResponse) SetTargeted(v []string)
SetTargeted gets a reference to the given []string and assigns it to the Targeted field.
func (FirmwareUsageResponse) ToMap ¶
func (o FirmwareUsageResponse) ToMap() (map[string]interface{}, error)
type FotaApiService ¶
type FotaApiService service
FotaApiService FotaApi service
func (*FotaApiService) ClearFirmwareError ¶
func (a *FotaApiService) ClearFirmwareError(ctx context.Context, collectionId string, deviceId string) ApiClearFirmwareErrorRequest
ClearFirmwareError Clear FOTA error
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param deviceId @return ApiClearFirmwareErrorRequest
func (*FotaApiService) ClearFirmwareErrorExecute ¶
func (a *FotaApiService) ClearFirmwareErrorExecute(r ApiClearFirmwareErrorRequest) (*ClearFirmwareErrorResponse, *http.Response, error)
Execute executes the request
@return ClearFirmwareErrorResponse
func (*FotaApiService) CreateFirmware ¶
func (a *FotaApiService) CreateFirmware(ctx context.Context, collectionId string) ApiCreateFirmwareRequest
CreateFirmware Create firmware
Firmware images must have unique version numbers and have an unique checksum. The checksum is calculated when the firmware image is uploaded.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiCreateFirmwareRequest
func (*FotaApiService) CreateFirmwareExecute ¶
func (a *FotaApiService) CreateFirmwareExecute(r ApiCreateFirmwareRequest) (*Firmware, *http.Response, error)
Execute executes the request
@return Firmware
func (*FotaApiService) DeleteFirmware ¶
func (a *FotaApiService) DeleteFirmware(ctx context.Context, collectionId string, imageId string) ApiDeleteFirmwareRequest
DeleteFirmware Delete firmware
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param imageId @return ApiDeleteFirmwareRequest
func (*FotaApiService) DeleteFirmwareExecute ¶
func (a *FotaApiService) DeleteFirmwareExecute(r ApiDeleteFirmwareRequest) (*Firmware, *http.Response, error)
Execute executes the request
@return Firmware
func (*FotaApiService) FirmwareUsage ¶
func (a *FotaApiService) FirmwareUsage(ctx context.Context, collectionId string, imageId string) ApiFirmwareUsageRequest
FirmwareUsage Firmware usage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param imageId @return ApiFirmwareUsageRequest
func (*FotaApiService) FirmwareUsageExecute ¶
func (a *FotaApiService) FirmwareUsageExecute(r ApiFirmwareUsageRequest) (*FirmwareUsageResponse, *http.Response, error)
Execute executes the request
@return FirmwareUsageResponse
func (*FotaApiService) ListFirmware ¶
func (a *FotaApiService) ListFirmware(ctx context.Context, collectionId string) ApiListFirmwareRequest
ListFirmware List firmware
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiListFirmwareRequest
func (*FotaApiService) ListFirmwareExecute ¶
func (a *FotaApiService) ListFirmwareExecute(r ApiListFirmwareRequest) (*ListFirmwareResponse, *http.Response, error)
Execute executes the request
@return ListFirmwareResponse
func (*FotaApiService) RetrieveFirmware ¶
func (a *FotaApiService) RetrieveFirmware(ctx context.Context, collectionId string, imageId string) ApiRetrieveFirmwareRequest
RetrieveFirmware Retrieve firmware
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param imageId @return ApiRetrieveFirmwareRequest
func (*FotaApiService) RetrieveFirmwareExecute ¶
func (a *FotaApiService) RetrieveFirmwareExecute(r ApiRetrieveFirmwareRequest) (*Firmware, *http.Response, error)
Execute executes the request
@return Firmware
func (*FotaApiService) RetrieveFirmwareStats ¶
func (a *FotaApiService) RetrieveFirmwareStats(ctx context.Context, collectionId string, imageId string) ApiRetrieveFirmwareStatsRequest
RetrieveFirmwareStats Retrieve firmware statistics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param imageId @return ApiRetrieveFirmwareStatsRequest
func (*FotaApiService) RetrieveFirmwareStatsExecute ¶
func (a *FotaApiService) RetrieveFirmwareStatsExecute(r ApiRetrieveFirmwareStatsRequest) (*FirmwareStats, *http.Response, error)
Execute executes the request
@return FirmwareStats
func (*FotaApiService) UpdateFirmware ¶
func (a *FotaApiService) UpdateFirmware(ctx context.Context, existingCollectionId string, imageId string) ApiUpdateFirmwareRequest
UpdateFirmware Update firmware
Only the version and tags fields can be updated. The other fields will be ignored.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param existingCollectionId @param imageId @return ApiUpdateFirmwareRequest
func (*FotaApiService) UpdateFirmwareExecute ¶
func (a *FotaApiService) UpdateFirmwareExecute(r ApiUpdateFirmwareRequest) (*Firmware, *http.Response, error)
Execute executes the request
@return Firmware
type Gateway ¶
type Gateway struct { GatewayId *string `json:"gatewayId,omitempty"` CollectionId *string `json:"collectionId,omitempty"` Name *string `json:"name,omitempty"` BuiltIn *bool `json:"builtIn,omitempty"` Type *GatewayType `json:"type,omitempty"` Config *GatewayConfig `json:"config,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Status *GatewayStatus `json:"status,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
Gateway A gateway is a connection between devices and Span
func NewGateway ¶
func NewGateway() *Gateway
NewGateway instantiates a new Gateway object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayWithDefaults ¶
func NewGatewayWithDefaults() *Gateway
NewGatewayWithDefaults instantiates a new Gateway object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Gateway) GetBuiltIn ¶
GetBuiltIn returns the BuiltIn field value if set, zero value otherwise.
func (*Gateway) GetBuiltInOk ¶
GetBuiltInOk returns a tuple with the BuiltIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetCollectionId ¶
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*Gateway) 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 (*Gateway) GetConfig ¶
func (o *Gateway) GetConfig() GatewayConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*Gateway) GetConfigOk ¶
func (o *Gateway) GetConfigOk() (*GatewayConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*Gateway) 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 (*Gateway) GetGatewayId ¶
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*Gateway) GetGatewayIdOk ¶
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetStatus ¶
func (o *Gateway) GetStatus() GatewayStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*Gateway) GetStatusOk ¶
func (o *Gateway) GetStatusOk() (*GatewayStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) 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 (*Gateway) GetType ¶
func (o *Gateway) GetType() GatewayType
GetType returns the Type field value if set, zero value otherwise.
func (*Gateway) GetTypeOk ¶
func (o *Gateway) GetTypeOk() (*GatewayType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) HasBuiltIn ¶
HasBuiltIn returns a boolean if a field has been set.
func (*Gateway) HasCollectionId ¶
HasCollectionId returns a boolean if a field has been set.
func (*Gateway) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*Gateway) HasGatewayId ¶
HasGatewayId returns a boolean if a field has been set.
func (Gateway) MarshalJSON ¶
func (*Gateway) SetBuiltIn ¶
SetBuiltIn gets a reference to the given bool and assigns it to the BuiltIn field.
func (*Gateway) SetCollectionId ¶
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*Gateway) SetConfig ¶
func (o *Gateway) SetConfig(v GatewayConfig)
SetConfig gets a reference to the given GatewayConfig and assigns it to the Config field.
func (*Gateway) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*Gateway) SetGatewayId ¶
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*Gateway) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Gateway) SetStatus ¶
func (o *Gateway) SetStatus(v GatewayStatus)
SetStatus gets a reference to the given GatewayStatus and assigns it to the Status field.
func (*Gateway) SetTags ¶
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*Gateway) SetType ¶
func (o *Gateway) SetType(v GatewayType)
SetType gets a reference to the given GatewayType and assigns it to the Type field.
type GatewayCIoTConfig ¶
type GatewayCIoTConfig struct { Apn *string `json:"apn,omitempty"` UdpEndpoint *string `json:"udpEndpoint,omitempty"` CoapEndpoint *string `json:"coapEndpoint,omitempty"` }
GatewayCIoTConfig struct for GatewayCIoTConfig
func NewGatewayCIoTConfig ¶
func NewGatewayCIoTConfig() *GatewayCIoTConfig
NewGatewayCIoTConfig instantiates a new GatewayCIoTConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayCIoTConfigWithDefaults ¶
func NewGatewayCIoTConfigWithDefaults() *GatewayCIoTConfig
NewGatewayCIoTConfigWithDefaults instantiates a new GatewayCIoTConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayCIoTConfig) GetApn ¶
func (o *GatewayCIoTConfig) GetApn() string
GetApn returns the Apn field value if set, zero value otherwise.
func (*GatewayCIoTConfig) GetApnOk ¶
func (o *GatewayCIoTConfig) GetApnOk() (*string, bool)
GetApnOk returns a tuple with the Apn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayCIoTConfig) GetCoapEndpoint ¶
func (o *GatewayCIoTConfig) GetCoapEndpoint() string
GetCoapEndpoint returns the CoapEndpoint field value if set, zero value otherwise.
func (*GatewayCIoTConfig) GetCoapEndpointOk ¶
func (o *GatewayCIoTConfig) GetCoapEndpointOk() (*string, bool)
GetCoapEndpointOk returns a tuple with the CoapEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayCIoTConfig) GetUdpEndpoint ¶
func (o *GatewayCIoTConfig) GetUdpEndpoint() string
GetUdpEndpoint returns the UdpEndpoint field value if set, zero value otherwise.
func (*GatewayCIoTConfig) GetUdpEndpointOk ¶
func (o *GatewayCIoTConfig) GetUdpEndpointOk() (*string, bool)
GetUdpEndpointOk returns a tuple with the UdpEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayCIoTConfig) HasApn ¶
func (o *GatewayCIoTConfig) HasApn() bool
HasApn returns a boolean if a field has been set.
func (*GatewayCIoTConfig) HasCoapEndpoint ¶
func (o *GatewayCIoTConfig) HasCoapEndpoint() bool
HasCoapEndpoint returns a boolean if a field has been set.
func (*GatewayCIoTConfig) HasUdpEndpoint ¶
func (o *GatewayCIoTConfig) HasUdpEndpoint() bool
HasUdpEndpoint returns a boolean if a field has been set.
func (GatewayCIoTConfig) MarshalJSON ¶
func (o GatewayCIoTConfig) MarshalJSON() ([]byte, error)
func (*GatewayCIoTConfig) SetApn ¶
func (o *GatewayCIoTConfig) SetApn(v string)
SetApn gets a reference to the given string and assigns it to the Apn field.
func (*GatewayCIoTConfig) SetCoapEndpoint ¶
func (o *GatewayCIoTConfig) SetCoapEndpoint(v string)
SetCoapEndpoint gets a reference to the given string and assigns it to the CoapEndpoint field.
func (*GatewayCIoTConfig) SetUdpEndpoint ¶
func (o *GatewayCIoTConfig) SetUdpEndpoint(v string)
SetUdpEndpoint gets a reference to the given string and assigns it to the UdpEndpoint field.
func (GatewayCIoTConfig) ToMap ¶
func (o GatewayCIoTConfig) ToMap() (map[string]interface{}, error)
type GatewayCertificateResponse ¶
type GatewayCertificateResponse struct {
Certificates []CertificateInfo `json:"certificates,omitempty"`
}
GatewayCertificateResponse struct for GatewayCertificateResponse
func NewGatewayCertificateResponse ¶
func NewGatewayCertificateResponse() *GatewayCertificateResponse
NewGatewayCertificateResponse instantiates a new GatewayCertificateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayCertificateResponseWithDefaults ¶
func NewGatewayCertificateResponseWithDefaults() *GatewayCertificateResponse
NewGatewayCertificateResponseWithDefaults instantiates a new GatewayCertificateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayCertificateResponse) GetCertificates ¶
func (o *GatewayCertificateResponse) GetCertificates() []CertificateInfo
GetCertificates returns the Certificates field value if set, zero value otherwise.
func (*GatewayCertificateResponse) GetCertificatesOk ¶
func (o *GatewayCertificateResponse) GetCertificatesOk() ([]CertificateInfo, bool)
GetCertificatesOk returns a tuple with the Certificates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayCertificateResponse) HasCertificates ¶
func (o *GatewayCertificateResponse) HasCertificates() bool
HasCertificates returns a boolean if a field has been set.
func (GatewayCertificateResponse) MarshalJSON ¶
func (o GatewayCertificateResponse) MarshalJSON() ([]byte, error)
func (*GatewayCertificateResponse) SetCertificates ¶
func (o *GatewayCertificateResponse) SetCertificates(v []CertificateInfo)
SetCertificates gets a reference to the given []CertificateInfo and assigns it to the Certificates field.
func (GatewayCertificateResponse) ToMap ¶
func (o GatewayCertificateResponse) ToMap() (map[string]interface{}, error)
type GatewayConfig ¶
type GatewayConfig struct { Ciot *GatewayCIoTConfig `json:"ciot,omitempty"` Inet *GatewayInetConfig `json:"inet,omitempty"` User *GatewayCustomConfig `json:"user,omitempty"` }
GatewayConfig struct for GatewayConfig
func NewGatewayConfig ¶
func NewGatewayConfig() *GatewayConfig
NewGatewayConfig instantiates a new GatewayConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayConfigWithDefaults ¶
func NewGatewayConfigWithDefaults() *GatewayConfig
NewGatewayConfigWithDefaults instantiates a new GatewayConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayConfig) GetCiot ¶
func (o *GatewayConfig) GetCiot() GatewayCIoTConfig
GetCiot returns the Ciot field value if set, zero value otherwise.
func (*GatewayConfig) GetCiotOk ¶
func (o *GatewayConfig) GetCiotOk() (*GatewayCIoTConfig, bool)
GetCiotOk returns a tuple with the Ciot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayConfig) GetInet ¶
func (o *GatewayConfig) GetInet() GatewayInetConfig
GetInet returns the Inet field value if set, zero value otherwise.
func (*GatewayConfig) GetInetOk ¶
func (o *GatewayConfig) GetInetOk() (*GatewayInetConfig, bool)
GetInetOk returns a tuple with the Inet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayConfig) GetUser ¶
func (o *GatewayConfig) GetUser() GatewayCustomConfig
GetUser returns the User field value if set, zero value otherwise.
func (*GatewayConfig) GetUserOk ¶
func (o *GatewayConfig) GetUserOk() (*GatewayCustomConfig, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayConfig) HasCiot ¶
func (o *GatewayConfig) HasCiot() bool
HasCiot returns a boolean if a field has been set.
func (*GatewayConfig) HasInet ¶
func (o *GatewayConfig) HasInet() bool
HasInet returns a boolean if a field has been set.
func (*GatewayConfig) HasUser ¶
func (o *GatewayConfig) HasUser() bool
HasUser returns a boolean if a field has been set.
func (GatewayConfig) MarshalJSON ¶
func (o GatewayConfig) MarshalJSON() ([]byte, error)
func (*GatewayConfig) SetCiot ¶
func (o *GatewayConfig) SetCiot(v GatewayCIoTConfig)
SetCiot gets a reference to the given GatewayCIoTConfig and assigns it to the Ciot field.
func (*GatewayConfig) SetInet ¶
func (o *GatewayConfig) SetInet(v GatewayInetConfig)
SetInet gets a reference to the given GatewayInetConfig and assigns it to the Inet field.
func (*GatewayConfig) SetUser ¶
func (o *GatewayConfig) SetUser(v GatewayCustomConfig)
SetUser gets a reference to the given GatewayCustomConfig and assigns it to the User field.
func (GatewayConfig) ToMap ¶
func (o GatewayConfig) ToMap() (map[string]interface{}, error)
type GatewayCustomConfig ¶
GatewayCustomConfig struct for GatewayCustomConfig
func NewGatewayCustomConfig ¶
func NewGatewayCustomConfig() *GatewayCustomConfig
NewGatewayCustomConfig instantiates a new GatewayCustomConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayCustomConfigWithDefaults ¶
func NewGatewayCustomConfigWithDefaults() *GatewayCustomConfig
NewGatewayCustomConfigWithDefaults instantiates a new GatewayCustomConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayCustomConfig) GetParams ¶
func (o *GatewayCustomConfig) GetParams() map[string]string
GetParams returns the Params field value if set, zero value otherwise.
func (*GatewayCustomConfig) GetParamsOk ¶
func (o *GatewayCustomConfig) GetParamsOk() (*map[string]string, bool)
GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayCustomConfig) HasParams ¶
func (o *GatewayCustomConfig) HasParams() bool
HasParams returns a boolean if a field has been set.
func (GatewayCustomConfig) MarshalJSON ¶
func (o GatewayCustomConfig) MarshalJSON() ([]byte, error)
func (*GatewayCustomConfig) SetParams ¶
func (o *GatewayCustomConfig) SetParams(v map[string]string)
SetParams gets a reference to the given map[string]string and assigns it to the Params field.
func (GatewayCustomConfig) ToMap ¶
func (o GatewayCustomConfig) ToMap() (map[string]interface{}, error)
type GatewayDeviceConfig ¶
type GatewayDeviceConfig struct { // This is the ID of the gateway this configuration applies to. GatewayId *string `json:"gatewayId,omitempty"` Params *map[string]string `json:"params,omitempty"` }
GatewayDeviceConfig Configuration parameters for a device in a user-managed gateway. The configuration parameters depends on the type of gateway.
func NewGatewayDeviceConfig ¶
func NewGatewayDeviceConfig() *GatewayDeviceConfig
NewGatewayDeviceConfig instantiates a new GatewayDeviceConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayDeviceConfigWithDefaults ¶
func NewGatewayDeviceConfigWithDefaults() *GatewayDeviceConfig
NewGatewayDeviceConfigWithDefaults instantiates a new GatewayDeviceConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayDeviceConfig) GetGatewayId ¶
func (o *GatewayDeviceConfig) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*GatewayDeviceConfig) GetGatewayIdOk ¶
func (o *GatewayDeviceConfig) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayDeviceConfig) GetParams ¶
func (o *GatewayDeviceConfig) GetParams() map[string]string
GetParams returns the Params field value if set, zero value otherwise.
func (*GatewayDeviceConfig) GetParamsOk ¶
func (o *GatewayDeviceConfig) GetParamsOk() (*map[string]string, bool)
GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayDeviceConfig) HasGatewayId ¶
func (o *GatewayDeviceConfig) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*GatewayDeviceConfig) HasParams ¶
func (o *GatewayDeviceConfig) HasParams() bool
HasParams returns a boolean if a field has been set.
func (GatewayDeviceConfig) MarshalJSON ¶
func (o GatewayDeviceConfig) MarshalJSON() ([]byte, error)
func (*GatewayDeviceConfig) SetGatewayId ¶
func (o *GatewayDeviceConfig) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*GatewayDeviceConfig) SetParams ¶
func (o *GatewayDeviceConfig) SetParams(v map[string]string)
SetParams gets a reference to the given map[string]string and assigns it to the Params field.
func (GatewayDeviceConfig) ToMap ¶
func (o GatewayDeviceConfig) ToMap() (map[string]interface{}, error)
type GatewayDeviceMetadata ¶
type GatewayDeviceMetadata struct { GatewayId *string `json:"gatewayId,omitempty"` LastUpdate *string `json:"lastUpdate,omitempty"` Params *map[string]string `json:"params,omitempty"` }
GatewayDeviceMetadata Metadata for devices connected via user-managed gateways. This metadata shows the configuration for the last message transmission
func NewGatewayDeviceMetadata ¶
func NewGatewayDeviceMetadata() *GatewayDeviceMetadata
NewGatewayDeviceMetadata instantiates a new GatewayDeviceMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayDeviceMetadataWithDefaults ¶
func NewGatewayDeviceMetadataWithDefaults() *GatewayDeviceMetadata
NewGatewayDeviceMetadataWithDefaults instantiates a new GatewayDeviceMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayDeviceMetadata) GetGatewayId ¶
func (o *GatewayDeviceMetadata) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*GatewayDeviceMetadata) GetGatewayIdOk ¶
func (o *GatewayDeviceMetadata) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayDeviceMetadata) GetLastUpdate ¶
func (o *GatewayDeviceMetadata) GetLastUpdate() string
GetLastUpdate returns the LastUpdate field value if set, zero value otherwise.
func (*GatewayDeviceMetadata) GetLastUpdateOk ¶
func (o *GatewayDeviceMetadata) GetLastUpdateOk() (*string, bool)
GetLastUpdateOk returns a tuple with the LastUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayDeviceMetadata) GetParams ¶
func (o *GatewayDeviceMetadata) GetParams() map[string]string
GetParams returns the Params field value if set, zero value otherwise.
func (*GatewayDeviceMetadata) GetParamsOk ¶
func (o *GatewayDeviceMetadata) GetParamsOk() (*map[string]string, bool)
GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayDeviceMetadata) HasGatewayId ¶
func (o *GatewayDeviceMetadata) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*GatewayDeviceMetadata) HasLastUpdate ¶
func (o *GatewayDeviceMetadata) HasLastUpdate() bool
HasLastUpdate returns a boolean if a field has been set.
func (*GatewayDeviceMetadata) HasParams ¶
func (o *GatewayDeviceMetadata) HasParams() bool
HasParams returns a boolean if a field has been set.
func (GatewayDeviceMetadata) MarshalJSON ¶
func (o GatewayDeviceMetadata) MarshalJSON() ([]byte, error)
func (*GatewayDeviceMetadata) SetGatewayId ¶
func (o *GatewayDeviceMetadata) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*GatewayDeviceMetadata) SetLastUpdate ¶
func (o *GatewayDeviceMetadata) SetLastUpdate(v string)
SetLastUpdate gets a reference to the given string and assigns it to the LastUpdate field.
func (*GatewayDeviceMetadata) SetParams ¶
func (o *GatewayDeviceMetadata) SetParams(v map[string]string)
SetParams gets a reference to the given map[string]string and assigns it to the Params field.
func (GatewayDeviceMetadata) ToMap ¶
func (o GatewayDeviceMetadata) ToMap() (map[string]interface{}, error)
type GatewayInetConfig ¶
type GatewayInetConfig struct { DtlsEndpoint *string `json:"dtlsEndpoint,omitempty"` CoapEndpoint *string `json:"coapEndpoint,omitempty"` MqttEndpoint *string `json:"mqttEndpoint,omitempty"` }
GatewayInetConfig struct for GatewayInetConfig
func NewGatewayInetConfig ¶
func NewGatewayInetConfig() *GatewayInetConfig
NewGatewayInetConfig instantiates a new GatewayInetConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayInetConfigWithDefaults ¶
func NewGatewayInetConfigWithDefaults() *GatewayInetConfig
NewGatewayInetConfigWithDefaults instantiates a new GatewayInetConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayInetConfig) GetCoapEndpoint ¶
func (o *GatewayInetConfig) GetCoapEndpoint() string
GetCoapEndpoint returns the CoapEndpoint field value if set, zero value otherwise.
func (*GatewayInetConfig) GetCoapEndpointOk ¶
func (o *GatewayInetConfig) GetCoapEndpointOk() (*string, bool)
GetCoapEndpointOk returns a tuple with the CoapEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayInetConfig) GetDtlsEndpoint ¶
func (o *GatewayInetConfig) GetDtlsEndpoint() string
GetDtlsEndpoint returns the DtlsEndpoint field value if set, zero value otherwise.
func (*GatewayInetConfig) GetDtlsEndpointOk ¶
func (o *GatewayInetConfig) GetDtlsEndpointOk() (*string, bool)
GetDtlsEndpointOk returns a tuple with the DtlsEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayInetConfig) GetMqttEndpoint ¶
func (o *GatewayInetConfig) GetMqttEndpoint() string
GetMqttEndpoint returns the MqttEndpoint field value if set, zero value otherwise.
func (*GatewayInetConfig) GetMqttEndpointOk ¶
func (o *GatewayInetConfig) GetMqttEndpointOk() (*string, bool)
GetMqttEndpointOk returns a tuple with the MqttEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayInetConfig) HasCoapEndpoint ¶
func (o *GatewayInetConfig) HasCoapEndpoint() bool
HasCoapEndpoint returns a boolean if a field has been set.
func (*GatewayInetConfig) HasDtlsEndpoint ¶
func (o *GatewayInetConfig) HasDtlsEndpoint() bool
HasDtlsEndpoint returns a boolean if a field has been set.
func (*GatewayInetConfig) HasMqttEndpoint ¶
func (o *GatewayInetConfig) HasMqttEndpoint() bool
HasMqttEndpoint returns a boolean if a field has been set.
func (GatewayInetConfig) MarshalJSON ¶
func (o GatewayInetConfig) MarshalJSON() ([]byte, error)
func (*GatewayInetConfig) SetCoapEndpoint ¶
func (o *GatewayInetConfig) SetCoapEndpoint(v string)
SetCoapEndpoint gets a reference to the given string and assigns it to the CoapEndpoint field.
func (*GatewayInetConfig) SetDtlsEndpoint ¶
func (o *GatewayInetConfig) SetDtlsEndpoint(v string)
SetDtlsEndpoint gets a reference to the given string and assigns it to the DtlsEndpoint field.
func (*GatewayInetConfig) SetMqttEndpoint ¶
func (o *GatewayInetConfig) SetMqttEndpoint(v string)
SetMqttEndpoint gets a reference to the given string and assigns it to the MqttEndpoint field.
func (GatewayInetConfig) ToMap ¶
func (o GatewayInetConfig) ToMap() (map[string]interface{}, error)
type GatewayMetadata ¶
GatewayMetadata Metadata for gateway transports. The actual contents varies from gateway to gateway
func NewGatewayMetadata ¶
func NewGatewayMetadata() *GatewayMetadata
NewGatewayMetadata instantiates a new GatewayMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayMetadataWithDefaults ¶
func NewGatewayMetadataWithDefaults() *GatewayMetadata
NewGatewayMetadataWithDefaults instantiates a new GatewayMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayMetadata) GetMetadata ¶
func (o *GatewayMetadata) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*GatewayMetadata) GetMetadataOk ¶
func (o *GatewayMetadata) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayMetadata) HasMetadata ¶
func (o *GatewayMetadata) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (GatewayMetadata) MarshalJSON ¶
func (o GatewayMetadata) MarshalJSON() ([]byte, error)
func (*GatewayMetadata) SetMetadata ¶
func (o *GatewayMetadata) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (GatewayMetadata) ToMap ¶
func (o GatewayMetadata) ToMap() (map[string]interface{}, error)
type GatewayStats ¶
type GatewayStats struct { MessagesUpstream *string `json:"messagesUpstream,omitempty"` MessagesDownstream *string `json:"messagesDownstream,omitempty"` BytesUpstream *string `json:"bytesUpstream,omitempty"` BytesDownstream *string `json:"bytesDownstream,omitempty"` }
GatewayStats This is statistics for a single gateway
func NewGatewayStats ¶
func NewGatewayStats() *GatewayStats
NewGatewayStats instantiates a new GatewayStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayStatsWithDefaults ¶
func NewGatewayStatsWithDefaults() *GatewayStats
NewGatewayStatsWithDefaults instantiates a new GatewayStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GatewayStats) GetBytesDownstream ¶
func (o *GatewayStats) GetBytesDownstream() string
GetBytesDownstream returns the BytesDownstream field value if set, zero value otherwise.
func (*GatewayStats) GetBytesDownstreamOk ¶
func (o *GatewayStats) GetBytesDownstreamOk() (*string, bool)
GetBytesDownstreamOk returns a tuple with the BytesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStats) GetBytesUpstream ¶
func (o *GatewayStats) GetBytesUpstream() string
GetBytesUpstream returns the BytesUpstream field value if set, zero value otherwise.
func (*GatewayStats) GetBytesUpstreamOk ¶
func (o *GatewayStats) GetBytesUpstreamOk() (*string, bool)
GetBytesUpstreamOk returns a tuple with the BytesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStats) GetMessagesDownstream ¶
func (o *GatewayStats) GetMessagesDownstream() string
GetMessagesDownstream returns the MessagesDownstream field value if set, zero value otherwise.
func (*GatewayStats) GetMessagesDownstreamOk ¶
func (o *GatewayStats) GetMessagesDownstreamOk() (*string, bool)
GetMessagesDownstreamOk returns a tuple with the MessagesDownstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStats) GetMessagesUpstream ¶
func (o *GatewayStats) GetMessagesUpstream() string
GetMessagesUpstream returns the MessagesUpstream field value if set, zero value otherwise.
func (*GatewayStats) GetMessagesUpstreamOk ¶
func (o *GatewayStats) GetMessagesUpstreamOk() (*string, bool)
GetMessagesUpstreamOk returns a tuple with the MessagesUpstream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStats) HasBytesDownstream ¶
func (o *GatewayStats) HasBytesDownstream() bool
HasBytesDownstream returns a boolean if a field has been set.
func (*GatewayStats) HasBytesUpstream ¶
func (o *GatewayStats) HasBytesUpstream() bool
HasBytesUpstream returns a boolean if a field has been set.
func (*GatewayStats) HasMessagesDownstream ¶
func (o *GatewayStats) HasMessagesDownstream() bool
HasMessagesDownstream returns a boolean if a field has been set.
func (*GatewayStats) HasMessagesUpstream ¶
func (o *GatewayStats) HasMessagesUpstream() bool
HasMessagesUpstream returns a boolean if a field has been set.
func (GatewayStats) MarshalJSON ¶
func (o GatewayStats) MarshalJSON() ([]byte, error)
func (*GatewayStats) SetBytesDownstream ¶
func (o *GatewayStats) SetBytesDownstream(v string)
SetBytesDownstream gets a reference to the given string and assigns it to the BytesDownstream field.
func (*GatewayStats) SetBytesUpstream ¶
func (o *GatewayStats) SetBytesUpstream(v string)
SetBytesUpstream gets a reference to the given string and assigns it to the BytesUpstream field.
func (*GatewayStats) SetMessagesDownstream ¶
func (o *GatewayStats) SetMessagesDownstream(v string)
SetMessagesDownstream gets a reference to the given string and assigns it to the MessagesDownstream field.
func (*GatewayStats) SetMessagesUpstream ¶
func (o *GatewayStats) SetMessagesUpstream(v string)
SetMessagesUpstream gets a reference to the given string and assigns it to the MessagesUpstream field.
func (GatewayStats) ToMap ¶
func (o GatewayStats) ToMap() (map[string]interface{}, error)
type GatewayStatus ¶
type GatewayStatus string
GatewayStatus the model 'GatewayStatus'
const ( GATEWAYSTATUS_UNKNOWN GatewayStatus = "unknown" GATEWAYSTATUS_OFFLINE GatewayStatus = "offline" GATEWAYSTATUS_ONLINE GatewayStatus = "online" )
List of GatewayStatus
func NewGatewayStatusFromValue ¶
func NewGatewayStatusFromValue(v string) (*GatewayStatus, error)
NewGatewayStatusFromValue returns a pointer to a valid GatewayStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GatewayStatus) IsValid ¶
func (v GatewayStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GatewayStatus) Ptr ¶
func (v GatewayStatus) Ptr() *GatewayStatus
Ptr returns reference to GatewayStatus value
func (*GatewayStatus) UnmarshalJSON ¶
func (v *GatewayStatus) UnmarshalJSON(src []byte) error
type GatewayType ¶
type GatewayType string
GatewayType the model 'GatewayType'
const ( GATEWAYTYPE_UNKNOWN GatewayType = "unknown" GATEWAYTYPE_CIOT GatewayType = "ciot" GATEWAYTYPE_INET GatewayType = "inet" GATEWAYTYPE_LORA GatewayType = "lora" GATEWAYTYPE_OPENTHREAD GatewayType = "openthread" GATEWAYTYPE_ZIGBEE GatewayType = "zigbee" GATEWAYTYPE_MATTER GatewayType = "matter" GATEWAYTYPE_CUSTOM GatewayType = "custom" )
List of GatewayType
func NewGatewayTypeFromValue ¶
func NewGatewayTypeFromValue(v string) (*GatewayType, error)
NewGatewayTypeFromValue returns a pointer to a valid GatewayType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GatewayType) IsValid ¶
func (v GatewayType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GatewayType) Ptr ¶
func (v GatewayType) Ptr() *GatewayType
Ptr returns reference to GatewayType value
func (*GatewayType) UnmarshalJSON ¶
func (v *GatewayType) UnmarshalJSON(src []byte) error
type GatewaysApiService ¶
type GatewaysApiService service
GatewaysApiService GatewaysApi service
func (*GatewaysApiService) CreateGateway ¶
func (a *GatewaysApiService) CreateGateway(ctx context.Context, collectionId string) ApiCreateGatewayRequest
CreateGateway Create gateway
Create a new gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiCreateGatewayRequest
func (*GatewaysApiService) CreateGatewayExecute ¶
func (a *GatewaysApiService) CreateGatewayExecute(r ApiCreateGatewayRequest) (*Gateway, *http.Response, error)
Execute executes the request
@return Gateway
func (*GatewaysApiService) DeleteGateway ¶
func (a *GatewaysApiService) DeleteGateway(ctx context.Context, collectionId string, gatewayId string) ApiDeleteGatewayRequest
DeleteGateway Delete gateway
Remove a gateway from Span.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param gatewayId @return ApiDeleteGatewayRequest
func (*GatewaysApiService) DeleteGatewayExecute ¶
func (a *GatewaysApiService) DeleteGatewayExecute(r ApiDeleteGatewayRequest) (*Gateway, *http.Response, error)
Execute executes the request
@return Gateway
func (*GatewaysApiService) GatewayCertificates ¶
func (a *GatewaysApiService) GatewayCertificates(ctx context.Context, collectionId string, gatewayId string) ApiGatewayCertificatesRequest
GatewayCertificates Get issued certificate(s) for gateway
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param gatewayId @return ApiGatewayCertificatesRequest
func (*GatewaysApiService) GatewayCertificatesExecute ¶
func (a *GatewaysApiService) GatewayCertificatesExecute(r ApiGatewayCertificatesRequest) (*GatewayCertificateResponse, *http.Response, error)
Execute executes the request
@return GatewayCertificateResponse
func (*GatewaysApiService) ListGateways ¶
func (a *GatewaysApiService) ListGateways(ctx context.Context, collectionId string) ApiListGatewaysRequest
ListGateways List gateways
List the user's gatways, including built-in gateways.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiListGatewaysRequest
func (*GatewaysApiService) ListGatewaysExecute ¶
func (a *GatewaysApiService) ListGatewaysExecute(r ApiListGatewaysRequest) (*ListGatewayResponse, *http.Response, error)
Execute executes the request
@return ListGatewayResponse
func (*GatewaysApiService) RetrieveGateway ¶
func (a *GatewaysApiService) RetrieveGateway(ctx context.Context, collectionId string, gatewayId string) ApiRetrieveGatewayRequest
RetrieveGateway Retrieve gateway
Get gateway information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param gatewayId @return ApiRetrieveGatewayRequest
func (*GatewaysApiService) RetrieveGatewayExecute ¶
func (a *GatewaysApiService) RetrieveGatewayExecute(r ApiRetrieveGatewayRequest) (*Gateway, *http.Response, error)
Execute executes the request
@return Gateway
func (*GatewaysApiService) RetrieveGatewayStats ¶
func (a *GatewaysApiService) RetrieveGatewayStats(ctx context.Context, collectionId string, gatewayId string) ApiRetrieveGatewayStatsRequest
RetrieveGatewayStats Retrieve gateway statistics
Get statistics for gateway
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param gatewayId @return ApiRetrieveGatewayStatsRequest
func (*GatewaysApiService) RetrieveGatewayStatsExecute ¶
func (a *GatewaysApiService) RetrieveGatewayStatsExecute(r ApiRetrieveGatewayStatsRequest) (*GatewayStats, *http.Response, error)
Execute executes the request
@return GatewayStats
func (*GatewaysApiService) UpdateGateway ¶
func (a *GatewaysApiService) UpdateGateway(ctx context.Context, existingCollectionId string, gatewayId string) ApiUpdateGatewayRequest
UpdateGateway Update gateway
Update configuration for a gateway. If you want to remove or move a gateway from the collection the devices in the collection must not have any gateway configuration. The certificates for the gateway are unchanged when the gateway is moved.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param existingCollectionId @param gatewayId @return ApiUpdateGatewayRequest
func (*GatewaysApiService) UpdateGatewayExecute ¶
func (a *GatewaysApiService) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*Gateway, *http.Response, error)
Execute executes the request
@return Gateway
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type InetMetadata ¶
type InetMetadata struct { GatewayId *string `json:"gatewayId,omitempty"` LastUpdate *string `json:"lastUpdate,omitempty"` RemoteAddress *string `json:"remoteAddress,omitempty"` CertificateSerial *string `json:"certificateSerial,omitempty"` }
InetMetadata Metadata for devices connected via the internet gateway. This metadata shows the configuration for the last message transmission.
func NewInetMetadata ¶
func NewInetMetadata() *InetMetadata
NewInetMetadata instantiates a new InetMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInetMetadataWithDefaults ¶
func NewInetMetadataWithDefaults() *InetMetadata
NewInetMetadataWithDefaults instantiates a new InetMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InetMetadata) GetCertificateSerial ¶
func (o *InetMetadata) GetCertificateSerial() string
GetCertificateSerial returns the CertificateSerial field value if set, zero value otherwise.
func (*InetMetadata) GetCertificateSerialOk ¶
func (o *InetMetadata) GetCertificateSerialOk() (*string, bool)
GetCertificateSerialOk returns a tuple with the CertificateSerial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InetMetadata) GetGatewayId ¶
func (o *InetMetadata) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*InetMetadata) GetGatewayIdOk ¶
func (o *InetMetadata) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InetMetadata) GetLastUpdate ¶
func (o *InetMetadata) GetLastUpdate() string
GetLastUpdate returns the LastUpdate field value if set, zero value otherwise.
func (*InetMetadata) GetLastUpdateOk ¶
func (o *InetMetadata) GetLastUpdateOk() (*string, bool)
GetLastUpdateOk returns a tuple with the LastUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InetMetadata) GetRemoteAddress ¶
func (o *InetMetadata) GetRemoteAddress() string
GetRemoteAddress returns the RemoteAddress field value if set, zero value otherwise.
func (*InetMetadata) GetRemoteAddressOk ¶
func (o *InetMetadata) GetRemoteAddressOk() (*string, bool)
GetRemoteAddressOk returns a tuple with the RemoteAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InetMetadata) HasCertificateSerial ¶
func (o *InetMetadata) HasCertificateSerial() bool
HasCertificateSerial returns a boolean if a field has been set.
func (*InetMetadata) HasGatewayId ¶
func (o *InetMetadata) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*InetMetadata) HasLastUpdate ¶
func (o *InetMetadata) HasLastUpdate() bool
HasLastUpdate returns a boolean if a field has been set.
func (*InetMetadata) HasRemoteAddress ¶
func (o *InetMetadata) HasRemoteAddress() bool
HasRemoteAddress returns a boolean if a field has been set.
func (InetMetadata) MarshalJSON ¶
func (o InetMetadata) MarshalJSON() ([]byte, error)
func (*InetMetadata) SetCertificateSerial ¶
func (o *InetMetadata) SetCertificateSerial(v string)
SetCertificateSerial gets a reference to the given string and assigns it to the CertificateSerial field.
func (*InetMetadata) SetGatewayId ¶
func (o *InetMetadata) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*InetMetadata) SetLastUpdate ¶
func (o *InetMetadata) SetLastUpdate(v string)
SetLastUpdate gets a reference to the given string and assigns it to the LastUpdate field.
func (*InetMetadata) SetRemoteAddress ¶
func (o *InetMetadata) SetRemoteAddress(v string)
SetRemoteAddress gets a reference to the given string and assigns it to the RemoteAddress field.
func (InetMetadata) ToMap ¶
func (o InetMetadata) ToMap() (map[string]interface{}, error)
type ListBlobResponse ¶
type ListBlobResponse struct {
Blobs []Blob `json:"blobs,omitempty"`
}
ListBlobResponse Response object when listing blobs for a collection
func NewListBlobResponse ¶
func NewListBlobResponse() *ListBlobResponse
NewListBlobResponse instantiates a new ListBlobResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListBlobResponseWithDefaults ¶
func NewListBlobResponseWithDefaults() *ListBlobResponse
NewListBlobResponseWithDefaults instantiates a new ListBlobResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListBlobResponse) GetBlobs ¶
func (o *ListBlobResponse) GetBlobs() []Blob
GetBlobs returns the Blobs field value if set, zero value otherwise.
func (*ListBlobResponse) GetBlobsOk ¶
func (o *ListBlobResponse) GetBlobsOk() ([]Blob, bool)
GetBlobsOk returns a tuple with the Blobs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListBlobResponse) HasBlobs ¶
func (o *ListBlobResponse) HasBlobs() bool
HasBlobs returns a boolean if a field has been set.
func (ListBlobResponse) MarshalJSON ¶
func (o ListBlobResponse) MarshalJSON() ([]byte, error)
func (*ListBlobResponse) SetBlobs ¶
func (o *ListBlobResponse) SetBlobs(v []Blob)
SetBlobs gets a reference to the given []Blob and assigns it to the Blobs field.
func (ListBlobResponse) ToMap ¶
func (o ListBlobResponse) ToMap() (map[string]interface{}, error)
type ListCollectionResponse ¶
type ListCollectionResponse struct {
Collections []Collection `json:"collections,omitempty"`
}
ListCollectionResponse Collection list. The list contains all the collections you have access to.
func NewListCollectionResponse ¶
func NewListCollectionResponse() *ListCollectionResponse
NewListCollectionResponse instantiates a new ListCollectionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListCollectionResponseWithDefaults ¶
func NewListCollectionResponseWithDefaults() *ListCollectionResponse
NewListCollectionResponseWithDefaults instantiates a new ListCollectionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListCollectionResponse) GetCollections ¶
func (o *ListCollectionResponse) GetCollections() []Collection
GetCollections returns the Collections field value if set, zero value otherwise.
func (*ListCollectionResponse) GetCollectionsOk ¶
func (o *ListCollectionResponse) GetCollectionsOk() ([]Collection, bool)
GetCollectionsOk returns a tuple with the Collections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCollectionResponse) HasCollections ¶
func (o *ListCollectionResponse) HasCollections() bool
HasCollections returns a boolean if a field has been set.
func (ListCollectionResponse) MarshalJSON ¶
func (o ListCollectionResponse) MarshalJSON() ([]byte, error)
func (*ListCollectionResponse) SetCollections ¶
func (o *ListCollectionResponse) SetCollections(v []Collection)
SetCollections gets a reference to the given []Collection and assigns it to the Collections field.
func (ListCollectionResponse) ToMap ¶
func (o ListCollectionResponse) ToMap() (map[string]interface{}, error)
type ListDataResponse ¶
type ListDataResponse struct {
Data []OutputDataMessage `json:"data,omitempty"`
}
ListDataResponse List of device payloads
func NewListDataResponse ¶
func NewListDataResponse() *ListDataResponse
NewListDataResponse instantiates a new ListDataResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDataResponseWithDefaults ¶
func NewListDataResponseWithDefaults() *ListDataResponse
NewListDataResponseWithDefaults instantiates a new ListDataResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDataResponse) GetData ¶
func (o *ListDataResponse) GetData() []OutputDataMessage
GetData returns the Data field value if set, zero value otherwise.
func (*ListDataResponse) GetDataOk ¶
func (o *ListDataResponse) GetDataOk() ([]OutputDataMessage, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDataResponse) HasData ¶
func (o *ListDataResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (ListDataResponse) MarshalJSON ¶
func (o ListDataResponse) MarshalJSON() ([]byte, error)
func (*ListDataResponse) SetData ¶
func (o *ListDataResponse) SetData(v []OutputDataMessage)
SetData gets a reference to the given []OutputDataMessage and assigns it to the Data field.
func (ListDataResponse) ToMap ¶
func (o ListDataResponse) ToMap() (map[string]interface{}, error)
type ListDevicesResponse ¶
type ListDevicesResponse struct {
Devices []Device `json:"devices,omitempty"`
}
ListDevicesResponse List device response
func NewListDevicesResponse ¶
func NewListDevicesResponse() *ListDevicesResponse
NewListDevicesResponse instantiates a new ListDevicesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDevicesResponseWithDefaults ¶
func NewListDevicesResponseWithDefaults() *ListDevicesResponse
NewListDevicesResponseWithDefaults instantiates a new ListDevicesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDevicesResponse) GetDevices ¶
func (o *ListDevicesResponse) GetDevices() []Device
GetDevices returns the Devices field value if set, zero value otherwise.
func (*ListDevicesResponse) GetDevicesOk ¶
func (o *ListDevicesResponse) GetDevicesOk() ([]Device, bool)
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDevicesResponse) HasDevices ¶
func (o *ListDevicesResponse) HasDevices() bool
HasDevices returns a boolean if a field has been set.
func (ListDevicesResponse) MarshalJSON ¶
func (o ListDevicesResponse) MarshalJSON() ([]byte, error)
func (*ListDevicesResponse) SetDevices ¶
func (o *ListDevicesResponse) SetDevices(v []Device)
SetDevices gets a reference to the given []Device and assigns it to the Devices field.
func (ListDevicesResponse) ToMap ¶
func (o ListDevicesResponse) ToMap() (map[string]interface{}, error)
type ListDownstreamMessagesResponse ¶
type ListDownstreamMessagesResponse struct {
Messages []MessageDownstream `json:"messages,omitempty"`
}
ListDownstreamMessagesResponse Response object when listing downstream messages
func NewListDownstreamMessagesResponse ¶
func NewListDownstreamMessagesResponse() *ListDownstreamMessagesResponse
NewListDownstreamMessagesResponse instantiates a new ListDownstreamMessagesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDownstreamMessagesResponseWithDefaults ¶
func NewListDownstreamMessagesResponseWithDefaults() *ListDownstreamMessagesResponse
NewListDownstreamMessagesResponseWithDefaults instantiates a new ListDownstreamMessagesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDownstreamMessagesResponse) GetMessages ¶
func (o *ListDownstreamMessagesResponse) GetMessages() []MessageDownstream
GetMessages returns the Messages field value if set, zero value otherwise.
func (*ListDownstreamMessagesResponse) GetMessagesOk ¶
func (o *ListDownstreamMessagesResponse) GetMessagesOk() ([]MessageDownstream, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDownstreamMessagesResponse) HasMessages ¶
func (o *ListDownstreamMessagesResponse) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ListDownstreamMessagesResponse) MarshalJSON ¶
func (o ListDownstreamMessagesResponse) MarshalJSON() ([]byte, error)
func (*ListDownstreamMessagesResponse) SetMessages ¶
func (o *ListDownstreamMessagesResponse) SetMessages(v []MessageDownstream)
SetMessages gets a reference to the given []MessageDownstream and assigns it to the Messages field.
func (ListDownstreamMessagesResponse) ToMap ¶
func (o ListDownstreamMessagesResponse) ToMap() (map[string]interface{}, error)
type ListFirmwareResponse ¶
type ListFirmwareResponse struct {
Images []Firmware `json:"images,omitempty"`
}
ListFirmwareResponse List firmware response
func NewListFirmwareResponse ¶
func NewListFirmwareResponse() *ListFirmwareResponse
NewListFirmwareResponse instantiates a new ListFirmwareResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListFirmwareResponseWithDefaults ¶
func NewListFirmwareResponseWithDefaults() *ListFirmwareResponse
NewListFirmwareResponseWithDefaults instantiates a new ListFirmwareResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListFirmwareResponse) GetImages ¶
func (o *ListFirmwareResponse) GetImages() []Firmware
GetImages returns the Images field value if set, zero value otherwise.
func (*ListFirmwareResponse) GetImagesOk ¶
func (o *ListFirmwareResponse) GetImagesOk() ([]Firmware, bool)
GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFirmwareResponse) HasImages ¶
func (o *ListFirmwareResponse) HasImages() bool
HasImages returns a boolean if a field has been set.
func (ListFirmwareResponse) MarshalJSON ¶
func (o ListFirmwareResponse) MarshalJSON() ([]byte, error)
func (*ListFirmwareResponse) SetImages ¶
func (o *ListFirmwareResponse) SetImages(v []Firmware)
SetImages gets a reference to the given []Firmware and assigns it to the Images field.
func (ListFirmwareResponse) ToMap ¶
func (o ListFirmwareResponse) ToMap() (map[string]interface{}, error)
type ListGatewayResponse ¶
type ListGatewayResponse struct {
Gateways []Gateway `json:"gateways,omitempty"`
}
ListGatewayResponse Response when listing gateways
func NewListGatewayResponse ¶
func NewListGatewayResponse() *ListGatewayResponse
NewListGatewayResponse instantiates a new ListGatewayResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListGatewayResponseWithDefaults ¶
func NewListGatewayResponseWithDefaults() *ListGatewayResponse
NewListGatewayResponseWithDefaults instantiates a new ListGatewayResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListGatewayResponse) GetGateways ¶
func (o *ListGatewayResponse) GetGateways() []Gateway
GetGateways returns the Gateways field value if set, zero value otherwise.
func (*ListGatewayResponse) GetGatewaysOk ¶
func (o *ListGatewayResponse) GetGatewaysOk() ([]Gateway, bool)
GetGatewaysOk returns a tuple with the Gateways field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListGatewayResponse) HasGateways ¶
func (o *ListGatewayResponse) HasGateways() bool
HasGateways returns a boolean if a field has been set.
func (ListGatewayResponse) MarshalJSON ¶
func (o ListGatewayResponse) MarshalJSON() ([]byte, error)
func (*ListGatewayResponse) SetGateways ¶
func (o *ListGatewayResponse) SetGateways(v []Gateway)
SetGateways gets a reference to the given []Gateway and assigns it to the Gateways field.
func (ListGatewayResponse) ToMap ¶
func (o ListGatewayResponse) ToMap() (map[string]interface{}, error)
type ListOutputResponse ¶
type ListOutputResponse struct { CollectionId *string `json:"collectionId,omitempty"` Outputs []Output `json:"outputs,omitempty"` }
ListOutputResponse List outputs
func NewListOutputResponse ¶
func NewListOutputResponse() *ListOutputResponse
NewListOutputResponse instantiates a new ListOutputResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListOutputResponseWithDefaults ¶
func NewListOutputResponseWithDefaults() *ListOutputResponse
NewListOutputResponseWithDefaults instantiates a new ListOutputResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListOutputResponse) GetCollectionId ¶
func (o *ListOutputResponse) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*ListOutputResponse) GetCollectionIdOk ¶
func (o *ListOutputResponse) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListOutputResponse) GetOutputs ¶
func (o *ListOutputResponse) GetOutputs() []Output
GetOutputs returns the Outputs field value if set, zero value otherwise.
func (*ListOutputResponse) GetOutputsOk ¶
func (o *ListOutputResponse) GetOutputsOk() ([]Output, bool)
GetOutputsOk returns a tuple with the Outputs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListOutputResponse) HasCollectionId ¶
func (o *ListOutputResponse) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*ListOutputResponse) HasOutputs ¶
func (o *ListOutputResponse) HasOutputs() bool
HasOutputs returns a boolean if a field has been set.
func (ListOutputResponse) MarshalJSON ¶
func (o ListOutputResponse) MarshalJSON() ([]byte, error)
func (*ListOutputResponse) SetCollectionId ¶
func (o *ListOutputResponse) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*ListOutputResponse) SetOutputs ¶
func (o *ListOutputResponse) SetOutputs(v []Output)
SetOutputs gets a reference to the given []Output and assigns it to the Outputs field.
func (ListOutputResponse) ToMap ¶
func (o ListOutputResponse) ToMap() (map[string]interface{}, error)
type ListUpstreamMessagesResponse ¶
type ListUpstreamMessagesResponse struct {
Messages []MessageUpstream `json:"messages,omitempty"`
}
ListUpstreamMessagesResponse Response object when listing upstream messages
func NewListUpstreamMessagesResponse ¶
func NewListUpstreamMessagesResponse() *ListUpstreamMessagesResponse
NewListUpstreamMessagesResponse instantiates a new ListUpstreamMessagesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUpstreamMessagesResponseWithDefaults ¶
func NewListUpstreamMessagesResponseWithDefaults() *ListUpstreamMessagesResponse
NewListUpstreamMessagesResponseWithDefaults instantiates a new ListUpstreamMessagesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListUpstreamMessagesResponse) GetMessages ¶
func (o *ListUpstreamMessagesResponse) GetMessages() []MessageUpstream
GetMessages returns the Messages field value if set, zero value otherwise.
func (*ListUpstreamMessagesResponse) GetMessagesOk ¶
func (o *ListUpstreamMessagesResponse) GetMessagesOk() ([]MessageUpstream, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListUpstreamMessagesResponse) HasMessages ¶
func (o *ListUpstreamMessagesResponse) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ListUpstreamMessagesResponse) MarshalJSON ¶
func (o ListUpstreamMessagesResponse) MarshalJSON() ([]byte, error)
func (*ListUpstreamMessagesResponse) SetMessages ¶
func (o *ListUpstreamMessagesResponse) SetMessages(v []MessageUpstream)
SetMessages gets a reference to the given []MessageUpstream and assigns it to the Messages field.
func (ListUpstreamMessagesResponse) ToMap ¶
func (o ListUpstreamMessagesResponse) ToMap() (map[string]interface{}, error)
type MQTTMetadata ¶
type MQTTMetadata struct {
Topic *string `json:"topic,omitempty"`
}
MQTTMetadata MQTT metadata for messages received through one of the MQTT endpoints. This is an EXPERIMENTAL feature.
func NewMQTTMetadata ¶
func NewMQTTMetadata() *MQTTMetadata
NewMQTTMetadata instantiates a new MQTTMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMQTTMetadataWithDefaults ¶
func NewMQTTMetadataWithDefaults() *MQTTMetadata
NewMQTTMetadataWithDefaults instantiates a new MQTTMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MQTTMetadata) GetTopic ¶
func (o *MQTTMetadata) GetTopic() string
GetTopic returns the Topic field value if set, zero value otherwise.
func (*MQTTMetadata) GetTopicOk ¶
func (o *MQTTMetadata) GetTopicOk() (*string, bool)
GetTopicOk returns a tuple with the Topic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MQTTMetadata) HasTopic ¶
func (o *MQTTMetadata) HasTopic() bool
HasTopic returns a boolean if a field has been set.
func (MQTTMetadata) MarshalJSON ¶
func (o MQTTMetadata) MarshalJSON() ([]byte, error)
func (*MQTTMetadata) SetTopic ¶
func (o *MQTTMetadata) SetTopic(v string)
SetTopic gets a reference to the given string and assigns it to the Topic field.
func (MQTTMetadata) ToMap ¶
func (o MQTTMetadata) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type MessageDownstream ¶
type MessageDownstream struct { MessageId *string `json:"messageId,omitempty"` CollectionId *string `json:"collectionId,omitempty"` DeviceId *string `json:"deviceId,omitempty"` GatewayId *string `json:"gatewayId,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` SentTime *string `json:"sentTime,omitempty"` Transport *MessageTransport `json:"transport,omitempty"` State *MessageState `json:"state,omitempty"` Payload *string `json:"payload,omitempty"` }
MessageDownstream Downstream messages are sent from the backend to the devices.
func NewMessageDownstream ¶
func NewMessageDownstream() *MessageDownstream
NewMessageDownstream instantiates a new MessageDownstream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMessageDownstreamWithDefaults ¶
func NewMessageDownstreamWithDefaults() *MessageDownstream
NewMessageDownstreamWithDefaults instantiates a new MessageDownstream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MessageDownstream) GetCollectionId ¶
func (o *MessageDownstream) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*MessageDownstream) GetCollectionIdOk ¶
func (o *MessageDownstream) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetCreatedTime ¶
func (o *MessageDownstream) GetCreatedTime() string
GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.
func (*MessageDownstream) GetCreatedTimeOk ¶
func (o *MessageDownstream) GetCreatedTimeOk() (*string, bool)
GetCreatedTimeOk returns a tuple with the CreatedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetDeviceId ¶
func (o *MessageDownstream) GetDeviceId() string
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*MessageDownstream) GetDeviceIdOk ¶
func (o *MessageDownstream) GetDeviceIdOk() (*string, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetGatewayId ¶
func (o *MessageDownstream) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*MessageDownstream) GetGatewayIdOk ¶
func (o *MessageDownstream) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetMessageId ¶
func (o *MessageDownstream) GetMessageId() string
GetMessageId returns the MessageId field value if set, zero value otherwise.
func (*MessageDownstream) GetMessageIdOk ¶
func (o *MessageDownstream) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetPayload ¶
func (o *MessageDownstream) GetPayload() string
GetPayload returns the Payload field value if set, zero value otherwise.
func (*MessageDownstream) GetPayloadOk ¶
func (o *MessageDownstream) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetSentTime ¶
func (o *MessageDownstream) GetSentTime() string
GetSentTime returns the SentTime field value if set, zero value otherwise.
func (*MessageDownstream) GetSentTimeOk ¶
func (o *MessageDownstream) GetSentTimeOk() (*string, bool)
GetSentTimeOk returns a tuple with the SentTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetState ¶
func (o *MessageDownstream) GetState() MessageState
GetState returns the State field value if set, zero value otherwise.
func (*MessageDownstream) GetStateOk ¶
func (o *MessageDownstream) GetStateOk() (*MessageState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) GetTransport ¶
func (o *MessageDownstream) GetTransport() MessageTransport
GetTransport returns the Transport field value if set, zero value otherwise.
func (*MessageDownstream) GetTransportOk ¶
func (o *MessageDownstream) GetTransportOk() (*MessageTransport, bool)
GetTransportOk returns a tuple with the Transport field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageDownstream) HasCollectionId ¶
func (o *MessageDownstream) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*MessageDownstream) HasCreatedTime ¶
func (o *MessageDownstream) HasCreatedTime() bool
HasCreatedTime returns a boolean if a field has been set.
func (*MessageDownstream) HasDeviceId ¶
func (o *MessageDownstream) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*MessageDownstream) HasGatewayId ¶
func (o *MessageDownstream) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*MessageDownstream) HasMessageId ¶
func (o *MessageDownstream) HasMessageId() bool
HasMessageId returns a boolean if a field has been set.
func (*MessageDownstream) HasPayload ¶
func (o *MessageDownstream) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (*MessageDownstream) HasSentTime ¶
func (o *MessageDownstream) HasSentTime() bool
HasSentTime returns a boolean if a field has been set.
func (*MessageDownstream) HasState ¶
func (o *MessageDownstream) HasState() bool
HasState returns a boolean if a field has been set.
func (*MessageDownstream) HasTransport ¶
func (o *MessageDownstream) HasTransport() bool
HasTransport returns a boolean if a field has been set.
func (MessageDownstream) MarshalJSON ¶
func (o MessageDownstream) MarshalJSON() ([]byte, error)
func (*MessageDownstream) SetCollectionId ¶
func (o *MessageDownstream) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*MessageDownstream) SetCreatedTime ¶
func (o *MessageDownstream) SetCreatedTime(v string)
SetCreatedTime gets a reference to the given string and assigns it to the CreatedTime field.
func (*MessageDownstream) SetDeviceId ¶
func (o *MessageDownstream) SetDeviceId(v string)
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*MessageDownstream) SetGatewayId ¶
func (o *MessageDownstream) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*MessageDownstream) SetMessageId ¶
func (o *MessageDownstream) SetMessageId(v string)
SetMessageId gets a reference to the given string and assigns it to the MessageId field.
func (*MessageDownstream) SetPayload ¶
func (o *MessageDownstream) SetPayload(v string)
SetPayload gets a reference to the given string and assigns it to the Payload field.
func (*MessageDownstream) SetSentTime ¶
func (o *MessageDownstream) SetSentTime(v string)
SetSentTime gets a reference to the given string and assigns it to the SentTime field.
func (*MessageDownstream) SetState ¶
func (o *MessageDownstream) SetState(v MessageState)
SetState gets a reference to the given MessageState and assigns it to the State field.
func (*MessageDownstream) SetTransport ¶
func (o *MessageDownstream) SetTransport(v MessageTransport)
SetTransport gets a reference to the given MessageTransport and assigns it to the Transport field.
func (MessageDownstream) ToMap ¶
func (o MessageDownstream) ToMap() (map[string]interface{}, error)
type MessageState ¶
type MessageState string
MessageState the model 'MessageState'
const ( MESSAGESTATE_UNSPECIFIED MessageState = "unspecified" MESSAGESTATE_PENDING MessageState = "pending" MESSAGESTATE_SENT MessageState = "sent" MESSAGESTATE_FAILED MessageState = "failed" )
List of MessageState
func NewMessageStateFromValue ¶
func NewMessageStateFromValue(v string) (*MessageState, error)
NewMessageStateFromValue returns a pointer to a valid MessageState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MessageState) IsValid ¶
func (v MessageState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MessageState) Ptr ¶
func (v MessageState) Ptr() *MessageState
Ptr returns reference to MessageState value
func (*MessageState) UnmarshalJSON ¶
func (v *MessageState) UnmarshalJSON(src []byte) error
type MessageTransport ¶
type MessageTransport string
MessageTransport The message transport can be UDP or CoAP.
const ( MESSAGETRANSPORT_UNSPECIFIED MessageTransport = "unspecified" MESSAGETRANSPORT_UDP MessageTransport = "udp" MESSAGETRANSPORT_COAP MessageTransport = "coap" MESSAGETRANSPORT_MQTT MessageTransport = "mqtt" MESSAGETRANSPORT_GATEWAY MessageTransport = "gateway" MESSAGETRANSPORT_COAPS MessageTransport = "coaps" MESSAGETRANSPORT_DTLS MessageTransport = "dtls" )
List of MessageTransport
func NewMessageTransportFromValue ¶
func NewMessageTransportFromValue(v string) (*MessageTransport, error)
NewMessageTransportFromValue returns a pointer to a valid MessageTransport for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MessageTransport) IsValid ¶
func (v MessageTransport) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MessageTransport) Ptr ¶
func (v MessageTransport) Ptr() *MessageTransport
Ptr returns reference to MessageTransport value
func (*MessageTransport) UnmarshalJSON ¶
func (v *MessageTransport) UnmarshalJSON(src []byte) error
type MessageUpstream ¶
type MessageUpstream struct { MessageId *string `json:"messageId,omitempty"` CollectionId *string `json:"collectionId,omitempty"` DeviceId *string `json:"deviceId,omitempty"` GatewayId *string `json:"gatewayId,omitempty"` Transport *MessageTransport `json:"transport,omitempty"` Received *string `json:"received,omitempty"` Payload *string `json:"payload,omitempty"` }
MessageUpstream This is the messages sent from the device to the backend service
func NewMessageUpstream ¶
func NewMessageUpstream() *MessageUpstream
NewMessageUpstream instantiates a new MessageUpstream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMessageUpstreamWithDefaults ¶
func NewMessageUpstreamWithDefaults() *MessageUpstream
NewMessageUpstreamWithDefaults instantiates a new MessageUpstream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MessageUpstream) GetCollectionId ¶
func (o *MessageUpstream) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*MessageUpstream) GetCollectionIdOk ¶
func (o *MessageUpstream) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageUpstream) GetDeviceId ¶
func (o *MessageUpstream) GetDeviceId() string
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*MessageUpstream) GetDeviceIdOk ¶
func (o *MessageUpstream) GetDeviceIdOk() (*string, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageUpstream) GetGatewayId ¶
func (o *MessageUpstream) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*MessageUpstream) GetGatewayIdOk ¶
func (o *MessageUpstream) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageUpstream) GetMessageId ¶
func (o *MessageUpstream) GetMessageId() string
GetMessageId returns the MessageId field value if set, zero value otherwise.
func (*MessageUpstream) GetMessageIdOk ¶
func (o *MessageUpstream) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageUpstream) GetPayload ¶
func (o *MessageUpstream) GetPayload() string
GetPayload returns the Payload field value if set, zero value otherwise.
func (*MessageUpstream) GetPayloadOk ¶
func (o *MessageUpstream) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageUpstream) GetReceived ¶
func (o *MessageUpstream) GetReceived() string
GetReceived returns the Received field value if set, zero value otherwise.
func (*MessageUpstream) GetReceivedOk ¶
func (o *MessageUpstream) GetReceivedOk() (*string, bool)
GetReceivedOk returns a tuple with the Received field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageUpstream) GetTransport ¶
func (o *MessageUpstream) GetTransport() MessageTransport
GetTransport returns the Transport field value if set, zero value otherwise.
func (*MessageUpstream) GetTransportOk ¶
func (o *MessageUpstream) GetTransportOk() (*MessageTransport, bool)
GetTransportOk returns a tuple with the Transport field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageUpstream) HasCollectionId ¶
func (o *MessageUpstream) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*MessageUpstream) HasDeviceId ¶
func (o *MessageUpstream) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*MessageUpstream) HasGatewayId ¶
func (o *MessageUpstream) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*MessageUpstream) HasMessageId ¶
func (o *MessageUpstream) HasMessageId() bool
HasMessageId returns a boolean if a field has been set.
func (*MessageUpstream) HasPayload ¶
func (o *MessageUpstream) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (*MessageUpstream) HasReceived ¶
func (o *MessageUpstream) HasReceived() bool
HasReceived returns a boolean if a field has been set.
func (*MessageUpstream) HasTransport ¶
func (o *MessageUpstream) HasTransport() bool
HasTransport returns a boolean if a field has been set.
func (MessageUpstream) MarshalJSON ¶
func (o MessageUpstream) MarshalJSON() ([]byte, error)
func (*MessageUpstream) SetCollectionId ¶
func (o *MessageUpstream) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*MessageUpstream) SetDeviceId ¶
func (o *MessageUpstream) SetDeviceId(v string)
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*MessageUpstream) SetGatewayId ¶
func (o *MessageUpstream) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*MessageUpstream) SetMessageId ¶
func (o *MessageUpstream) SetMessageId(v string)
SetMessageId gets a reference to the given string and assigns it to the MessageId field.
func (*MessageUpstream) SetPayload ¶
func (o *MessageUpstream) SetPayload(v string)
SetPayload gets a reference to the given string and assigns it to the Payload field.
func (*MessageUpstream) SetReceived ¶
func (o *MessageUpstream) SetReceived(v string)
SetReceived gets a reference to the given string and assigns it to the Received field.
func (*MessageUpstream) SetTransport ¶
func (o *MessageUpstream) SetTransport(v MessageTransport)
SetTransport gets a reference to the given MessageTransport and assigns it to the Transport field.
func (MessageUpstream) ToMap ¶
func (o MessageUpstream) ToMap() (map[string]interface{}, error)
type NullableActivityEvent ¶
type NullableActivityEvent struct {
// contains filtered or unexported fields
}
func NewNullableActivityEvent ¶
func NewNullableActivityEvent(val *ActivityEvent) *NullableActivityEvent
func (NullableActivityEvent) Get ¶
func (v NullableActivityEvent) Get() *ActivityEvent
func (NullableActivityEvent) IsSet ¶
func (v NullableActivityEvent) IsSet() bool
func (NullableActivityEvent) MarshalJSON ¶
func (v NullableActivityEvent) MarshalJSON() ([]byte, error)
func (*NullableActivityEvent) Set ¶
func (v *NullableActivityEvent) Set(val *ActivityEvent)
func (*NullableActivityEvent) UnmarshalJSON ¶
func (v *NullableActivityEvent) UnmarshalJSON(src []byte) error
func (*NullableActivityEvent) Unset ¶
func (v *NullableActivityEvent) Unset()
type NullableAddDownstreamMessageBody ¶
type NullableAddDownstreamMessageBody struct {
// contains filtered or unexported fields
}
func NewNullableAddDownstreamMessageBody ¶
func NewNullableAddDownstreamMessageBody(val *AddDownstreamMessageBody) *NullableAddDownstreamMessageBody
func (NullableAddDownstreamMessageBody) Get ¶
func (v NullableAddDownstreamMessageBody) Get() *AddDownstreamMessageBody
func (NullableAddDownstreamMessageBody) IsSet ¶
func (v NullableAddDownstreamMessageBody) IsSet() bool
func (NullableAddDownstreamMessageBody) MarshalJSON ¶
func (v NullableAddDownstreamMessageBody) MarshalJSON() ([]byte, error)
func (*NullableAddDownstreamMessageBody) Set ¶
func (v *NullableAddDownstreamMessageBody) Set(val *AddDownstreamMessageBody)
func (*NullableAddDownstreamMessageBody) UnmarshalJSON ¶
func (v *NullableAddDownstreamMessageBody) UnmarshalJSON(src []byte) error
func (*NullableAddDownstreamMessageBody) Unset ¶
func (v *NullableAddDownstreamMessageBody) Unset()
type NullableAny ¶
type NullableAny struct {
// contains filtered or unexported fields
}
func NewNullableAny ¶
func NewNullableAny(val *Any) *NullableAny
func (NullableAny) Get ¶
func (v NullableAny) Get() *Any
func (NullableAny) IsSet ¶
func (v NullableAny) IsSet() bool
func (NullableAny) MarshalJSON ¶
func (v NullableAny) MarshalJSON() ([]byte, error)
func (*NullableAny) Set ¶
func (v *NullableAny) Set(val *Any)
func (*NullableAny) UnmarshalJSON ¶
func (v *NullableAny) UnmarshalJSON(src []byte) error
func (*NullableAny) Unset ¶
func (v *NullableAny) Unset()
type NullableBlob ¶
type NullableBlob struct {
// contains filtered or unexported fields
}
func NewNullableBlob ¶
func NewNullableBlob(val *Blob) *NullableBlob
func (NullableBlob) Get ¶
func (v NullableBlob) Get() *Blob
func (NullableBlob) IsSet ¶
func (v NullableBlob) IsSet() bool
func (NullableBlob) MarshalJSON ¶
func (v NullableBlob) MarshalJSON() ([]byte, error)
func (*NullableBlob) Set ¶
func (v *NullableBlob) Set(val *Blob)
func (*NullableBlob) UnmarshalJSON ¶
func (v *NullableBlob) UnmarshalJSON(src []byte) error
func (*NullableBlob) Unset ¶
func (v *NullableBlob) Unset()
type NullableBlobStats ¶
type NullableBlobStats struct {
// contains filtered or unexported fields
}
func NewNullableBlobStats ¶
func NewNullableBlobStats(val *BlobStats) *NullableBlobStats
func (NullableBlobStats) Get ¶
func (v NullableBlobStats) Get() *BlobStats
func (NullableBlobStats) IsSet ¶
func (v NullableBlobStats) IsSet() bool
func (NullableBlobStats) MarshalJSON ¶
func (v NullableBlobStats) MarshalJSON() ([]byte, error)
func (*NullableBlobStats) Set ¶
func (v *NullableBlobStats) Set(val *BlobStats)
func (*NullableBlobStats) UnmarshalJSON ¶
func (v *NullableBlobStats) UnmarshalJSON(src []byte) error
func (*NullableBlobStats) Unset ¶
func (v *NullableBlobStats) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCellularIoTConfig ¶
type NullableCellularIoTConfig struct {
// contains filtered or unexported fields
}
func NewNullableCellularIoTConfig ¶
func NewNullableCellularIoTConfig(val *CellularIoTConfig) *NullableCellularIoTConfig
func (NullableCellularIoTConfig) Get ¶
func (v NullableCellularIoTConfig) Get() *CellularIoTConfig
func (NullableCellularIoTConfig) IsSet ¶
func (v NullableCellularIoTConfig) IsSet() bool
func (NullableCellularIoTConfig) MarshalJSON ¶
func (v NullableCellularIoTConfig) MarshalJSON() ([]byte, error)
func (*NullableCellularIoTConfig) Set ¶
func (v *NullableCellularIoTConfig) Set(val *CellularIoTConfig)
func (*NullableCellularIoTConfig) UnmarshalJSON ¶
func (v *NullableCellularIoTConfig) UnmarshalJSON(src []byte) error
func (*NullableCellularIoTConfig) Unset ¶
func (v *NullableCellularIoTConfig) Unset()
type NullableCellularIoTMetadata ¶
type NullableCellularIoTMetadata struct {
// contains filtered or unexported fields
}
func NewNullableCellularIoTMetadata ¶
func NewNullableCellularIoTMetadata(val *CellularIoTMetadata) *NullableCellularIoTMetadata
func (NullableCellularIoTMetadata) Get ¶
func (v NullableCellularIoTMetadata) Get() *CellularIoTMetadata
func (NullableCellularIoTMetadata) IsSet ¶
func (v NullableCellularIoTMetadata) IsSet() bool
func (NullableCellularIoTMetadata) MarshalJSON ¶
func (v NullableCellularIoTMetadata) MarshalJSON() ([]byte, error)
func (*NullableCellularIoTMetadata) Set ¶
func (v *NullableCellularIoTMetadata) Set(val *CellularIoTMetadata)
func (*NullableCellularIoTMetadata) UnmarshalJSON ¶
func (v *NullableCellularIoTMetadata) UnmarshalJSON(src []byte) error
func (*NullableCellularIoTMetadata) Unset ¶
func (v *NullableCellularIoTMetadata) Unset()
type NullableCertificateChainResponse ¶
type NullableCertificateChainResponse struct {
// contains filtered or unexported fields
}
func NewNullableCertificateChainResponse ¶
func NewNullableCertificateChainResponse(val *CertificateChainResponse) *NullableCertificateChainResponse
func (NullableCertificateChainResponse) Get ¶
func (v NullableCertificateChainResponse) Get() *CertificateChainResponse
func (NullableCertificateChainResponse) IsSet ¶
func (v NullableCertificateChainResponse) IsSet() bool
func (NullableCertificateChainResponse) MarshalJSON ¶
func (v NullableCertificateChainResponse) MarshalJSON() ([]byte, error)
func (*NullableCertificateChainResponse) Set ¶
func (v *NullableCertificateChainResponse) Set(val *CertificateChainResponse)
func (*NullableCertificateChainResponse) UnmarshalJSON ¶
func (v *NullableCertificateChainResponse) UnmarshalJSON(src []byte) error
func (*NullableCertificateChainResponse) Unset ¶
func (v *NullableCertificateChainResponse) Unset()
type NullableCertificateInfo ¶
type NullableCertificateInfo struct {
// contains filtered or unexported fields
}
func NewNullableCertificateInfo ¶
func NewNullableCertificateInfo(val *CertificateInfo) *NullableCertificateInfo
func (NullableCertificateInfo) Get ¶
func (v NullableCertificateInfo) Get() *CertificateInfo
func (NullableCertificateInfo) IsSet ¶
func (v NullableCertificateInfo) IsSet() bool
func (NullableCertificateInfo) MarshalJSON ¶
func (v NullableCertificateInfo) MarshalJSON() ([]byte, error)
func (*NullableCertificateInfo) Set ¶
func (v *NullableCertificateInfo) Set(val *CertificateInfo)
func (*NullableCertificateInfo) UnmarshalJSON ¶
func (v *NullableCertificateInfo) UnmarshalJSON(src []byte) error
func (*NullableCertificateInfo) Unset ¶
func (v *NullableCertificateInfo) Unset()
type NullableClearFirmwareErrorResponse ¶
type NullableClearFirmwareErrorResponse struct {
// contains filtered or unexported fields
}
func 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 NullableCollectionStats ¶
type NullableCollectionStats struct {
// contains filtered or unexported fields
}
func NewNullableCollectionStats ¶
func NewNullableCollectionStats(val *CollectionStats) *NullableCollectionStats
func (NullableCollectionStats) Get ¶
func (v NullableCollectionStats) Get() *CollectionStats
func (NullableCollectionStats) IsSet ¶
func (v NullableCollectionStats) IsSet() bool
func (NullableCollectionStats) MarshalJSON ¶
func (v NullableCollectionStats) MarshalJSON() ([]byte, error)
func (*NullableCollectionStats) Set ¶
func (v *NullableCollectionStats) Set(val *CollectionStats)
func (*NullableCollectionStats) UnmarshalJSON ¶
func (v *NullableCollectionStats) UnmarshalJSON(src []byte) error
func (*NullableCollectionStats) Unset ¶
func (v *NullableCollectionStats) Unset()
type NullableCreateCertificateBody ¶
type NullableCreateCertificateBody struct {
// contains filtered or unexported fields
}
func NewNullableCreateCertificateBody ¶
func NewNullableCreateCertificateBody(val *CreateCertificateBody) *NullableCreateCertificateBody
func (NullableCreateCertificateBody) Get ¶
func (v NullableCreateCertificateBody) Get() *CreateCertificateBody
func (NullableCreateCertificateBody) IsSet ¶
func (v NullableCreateCertificateBody) IsSet() bool
func (NullableCreateCertificateBody) MarshalJSON ¶
func (v NullableCreateCertificateBody) MarshalJSON() ([]byte, error)
func (*NullableCreateCertificateBody) Set ¶
func (v *NullableCreateCertificateBody) Set(val *CreateCertificateBody)
func (*NullableCreateCertificateBody) UnmarshalJSON ¶
func (v *NullableCreateCertificateBody) UnmarshalJSON(src []byte) error
func (*NullableCreateCertificateBody) Unset ¶
func (v *NullableCreateCertificateBody) Unset()
type NullableCreateCertificateResponse ¶
type NullableCreateCertificateResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateCertificateResponse ¶
func NewNullableCreateCertificateResponse(val *CreateCertificateResponse) *NullableCreateCertificateResponse
func (NullableCreateCertificateResponse) Get ¶
func (v NullableCreateCertificateResponse) Get() *CreateCertificateResponse
func (NullableCreateCertificateResponse) IsSet ¶
func (v NullableCreateCertificateResponse) IsSet() bool
func (NullableCreateCertificateResponse) MarshalJSON ¶
func (v NullableCreateCertificateResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateCertificateResponse) Set ¶
func (v *NullableCreateCertificateResponse) Set(val *CreateCertificateResponse)
func (*NullableCreateCertificateResponse) UnmarshalJSON ¶
func (v *NullableCreateCertificateResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateCertificateResponse) Unset ¶
func (v *NullableCreateCertificateResponse) Unset()
type NullableCreateCollectionRequest ¶
type NullableCreateCollectionRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateCollectionRequest ¶
func NewNullableCreateCollectionRequest(val *CreateCollectionRequest) *NullableCreateCollectionRequest
func (NullableCreateCollectionRequest) Get ¶
func (v NullableCreateCollectionRequest) Get() *CreateCollectionRequest
func (NullableCreateCollectionRequest) IsSet ¶
func (v NullableCreateCollectionRequest) IsSet() bool
func (NullableCreateCollectionRequest) MarshalJSON ¶
func (v NullableCreateCollectionRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateCollectionRequest) Set ¶
func (v *NullableCreateCollectionRequest) Set(val *CreateCollectionRequest)
func (*NullableCreateCollectionRequest) UnmarshalJSON ¶
func (v *NullableCreateCollectionRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateCollectionRequest) Unset ¶
func (v *NullableCreateCollectionRequest) Unset()
type NullableCreateDeviceBody ¶
type NullableCreateDeviceBody struct {
// contains filtered or unexported fields
}
func NewNullableCreateDeviceBody ¶
func NewNullableCreateDeviceBody(val *CreateDeviceBody) *NullableCreateDeviceBody
func (NullableCreateDeviceBody) Get ¶
func (v NullableCreateDeviceBody) Get() *CreateDeviceBody
func (NullableCreateDeviceBody) IsSet ¶
func (v NullableCreateDeviceBody) IsSet() bool
func (NullableCreateDeviceBody) MarshalJSON ¶
func (v NullableCreateDeviceBody) MarshalJSON() ([]byte, error)
func (*NullableCreateDeviceBody) Set ¶
func (v *NullableCreateDeviceBody) Set(val *CreateDeviceBody)
func (*NullableCreateDeviceBody) UnmarshalJSON ¶
func (v *NullableCreateDeviceBody) UnmarshalJSON(src []byte) error
func (*NullableCreateDeviceBody) Unset ¶
func (v *NullableCreateDeviceBody) Unset()
type NullableCreateFirmwareBody ¶
type NullableCreateFirmwareBody struct {
// contains filtered or unexported fields
}
func NewNullableCreateFirmwareBody ¶
func NewNullableCreateFirmwareBody(val *CreateFirmwareBody) *NullableCreateFirmwareBody
func (NullableCreateFirmwareBody) Get ¶
func (v NullableCreateFirmwareBody) Get() *CreateFirmwareBody
func (NullableCreateFirmwareBody) IsSet ¶
func (v NullableCreateFirmwareBody) IsSet() bool
func (NullableCreateFirmwareBody) MarshalJSON ¶
func (v NullableCreateFirmwareBody) MarshalJSON() ([]byte, error)
func (*NullableCreateFirmwareBody) Set ¶
func (v *NullableCreateFirmwareBody) Set(val *CreateFirmwareBody)
func (*NullableCreateFirmwareBody) UnmarshalJSON ¶
func (v *NullableCreateFirmwareBody) UnmarshalJSON(src []byte) error
func (*NullableCreateFirmwareBody) Unset ¶
func (v *NullableCreateFirmwareBody) Unset()
type NullableCreateGatewayBody ¶
type NullableCreateGatewayBody struct {
// contains filtered or unexported fields
}
func NewNullableCreateGatewayBody ¶
func NewNullableCreateGatewayBody(val *CreateGatewayBody) *NullableCreateGatewayBody
func (NullableCreateGatewayBody) Get ¶
func (v NullableCreateGatewayBody) Get() *CreateGatewayBody
func (NullableCreateGatewayBody) IsSet ¶
func (v NullableCreateGatewayBody) IsSet() bool
func (NullableCreateGatewayBody) MarshalJSON ¶
func (v NullableCreateGatewayBody) MarshalJSON() ([]byte, error)
func (*NullableCreateGatewayBody) Set ¶
func (v *NullableCreateGatewayBody) Set(val *CreateGatewayBody)
func (*NullableCreateGatewayBody) UnmarshalJSON ¶
func (v *NullableCreateGatewayBody) UnmarshalJSON(src []byte) error
func (*NullableCreateGatewayBody) Unset ¶
func (v *NullableCreateGatewayBody) Unset()
type NullableCreateOutputBody ¶
type NullableCreateOutputBody struct {
// contains filtered or unexported fields
}
func NewNullableCreateOutputBody ¶
func NewNullableCreateOutputBody(val *CreateOutputBody) *NullableCreateOutputBody
func (NullableCreateOutputBody) Get ¶
func (v NullableCreateOutputBody) Get() *CreateOutputBody
func (NullableCreateOutputBody) IsSet ¶
func (v NullableCreateOutputBody) IsSet() bool
func (NullableCreateOutputBody) MarshalJSON ¶
func (v NullableCreateOutputBody) MarshalJSON() ([]byte, error)
func (*NullableCreateOutputBody) Set ¶
func (v *NullableCreateOutputBody) Set(val *CreateOutputBody)
func (*NullableCreateOutputBody) UnmarshalJSON ¶
func (v *NullableCreateOutputBody) UnmarshalJSON(src []byte) error
func (*NullableCreateOutputBody) Unset ¶
func (v *NullableCreateOutputBody) Unset()
type NullableDeleteDownstreamMessageResponse ¶
type NullableDeleteDownstreamMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteDownstreamMessageResponse ¶
func NewNullableDeleteDownstreamMessageResponse(val *DeleteDownstreamMessageResponse) *NullableDeleteDownstreamMessageResponse
func (NullableDeleteDownstreamMessageResponse) IsSet ¶
func (v NullableDeleteDownstreamMessageResponse) IsSet() bool
func (NullableDeleteDownstreamMessageResponse) MarshalJSON ¶
func (v NullableDeleteDownstreamMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteDownstreamMessageResponse) Set ¶
func (v *NullableDeleteDownstreamMessageResponse) Set(val *DeleteDownstreamMessageResponse)
func (*NullableDeleteDownstreamMessageResponse) UnmarshalJSON ¶
func (v *NullableDeleteDownstreamMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteDownstreamMessageResponse) Unset ¶
func (v *NullableDeleteDownstreamMessageResponse) Unset()
type NullableDevice ¶
type NullableDevice struct {
// contains filtered or unexported fields
}
func NewNullableDevice ¶
func NewNullableDevice(val *Device) *NullableDevice
func (NullableDevice) Get ¶
func (v NullableDevice) Get() *Device
func (NullableDevice) IsSet ¶
func (v NullableDevice) IsSet() bool
func (NullableDevice) MarshalJSON ¶
func (v NullableDevice) MarshalJSON() ([]byte, error)
func (*NullableDevice) Set ¶
func (v *NullableDevice) Set(val *Device)
func (*NullableDevice) UnmarshalJSON ¶
func (v *NullableDevice) UnmarshalJSON(src []byte) error
func (*NullableDevice) Unset ¶
func (v *NullableDevice) Unset()
type NullableDeviceCertificateResponse ¶
type NullableDeviceCertificateResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeviceCertificateResponse ¶
func NewNullableDeviceCertificateResponse(val *DeviceCertificateResponse) *NullableDeviceCertificateResponse
func (NullableDeviceCertificateResponse) Get ¶
func (v NullableDeviceCertificateResponse) Get() *DeviceCertificateResponse
func (NullableDeviceCertificateResponse) IsSet ¶
func (v NullableDeviceCertificateResponse) IsSet() bool
func (NullableDeviceCertificateResponse) MarshalJSON ¶
func (v NullableDeviceCertificateResponse) MarshalJSON() ([]byte, error)
func (*NullableDeviceCertificateResponse) Set ¶
func (v *NullableDeviceCertificateResponse) Set(val *DeviceCertificateResponse)
func (*NullableDeviceCertificateResponse) UnmarshalJSON ¶
func (v *NullableDeviceCertificateResponse) UnmarshalJSON(src []byte) error
func (*NullableDeviceCertificateResponse) Unset ¶
func (v *NullableDeviceCertificateResponse) Unset()
type NullableDeviceConfig ¶
type NullableDeviceConfig struct {
// contains filtered or unexported fields
}
func NewNullableDeviceConfig ¶
func NewNullableDeviceConfig(val *DeviceConfig) *NullableDeviceConfig
func (NullableDeviceConfig) Get ¶
func (v NullableDeviceConfig) Get() *DeviceConfig
func (NullableDeviceConfig) IsSet ¶
func (v NullableDeviceConfig) IsSet() bool
func (NullableDeviceConfig) MarshalJSON ¶
func (v NullableDeviceConfig) MarshalJSON() ([]byte, error)
func (*NullableDeviceConfig) Set ¶
func (v *NullableDeviceConfig) Set(val *DeviceConfig)
func (*NullableDeviceConfig) UnmarshalJSON ¶
func (v *NullableDeviceConfig) UnmarshalJSON(src []byte) error
func (*NullableDeviceConfig) Unset ¶
func (v *NullableDeviceConfig) Unset()
type NullableDeviceMetadata ¶
type NullableDeviceMetadata struct {
// contains filtered or unexported fields
}
func NewNullableDeviceMetadata ¶
func NewNullableDeviceMetadata(val *DeviceMetadata) *NullableDeviceMetadata
func (NullableDeviceMetadata) Get ¶
func (v NullableDeviceMetadata) Get() *DeviceMetadata
func (NullableDeviceMetadata) IsSet ¶
func (v NullableDeviceMetadata) IsSet() bool
func (NullableDeviceMetadata) MarshalJSON ¶
func (v NullableDeviceMetadata) MarshalJSON() ([]byte, error)
func (*NullableDeviceMetadata) Set ¶
func (v *NullableDeviceMetadata) Set(val *DeviceMetadata)
func (*NullableDeviceMetadata) UnmarshalJSON ¶
func (v *NullableDeviceMetadata) UnmarshalJSON(src []byte) error
func (*NullableDeviceMetadata) Unset ¶
func (v *NullableDeviceMetadata) Unset()
type NullableDeviceStats ¶
type NullableDeviceStats struct {
// contains filtered or unexported fields
}
func NewNullableDeviceStats ¶
func NewNullableDeviceStats(val *DeviceStats) *NullableDeviceStats
func (NullableDeviceStats) Get ¶
func (v NullableDeviceStats) Get() *DeviceStats
func (NullableDeviceStats) IsSet ¶
func (v NullableDeviceStats) IsSet() bool
func (NullableDeviceStats) MarshalJSON ¶
func (v NullableDeviceStats) MarshalJSON() ([]byte, error)
func (*NullableDeviceStats) Set ¶
func (v *NullableDeviceStats) Set(val *DeviceStats)
func (*NullableDeviceStats) UnmarshalJSON ¶
func (v *NullableDeviceStats) UnmarshalJSON(src []byte) error
func (*NullableDeviceStats) Unset ¶
func (v *NullableDeviceStats) Unset()
type NullableFirmware ¶
type NullableFirmware struct {
// contains filtered or unexported fields
}
func NewNullableFirmware ¶
func NewNullableFirmware(val *Firmware) *NullableFirmware
func (NullableFirmware) Get ¶
func (v NullableFirmware) Get() *Firmware
func (NullableFirmware) IsSet ¶
func (v NullableFirmware) IsSet() bool
func (NullableFirmware) MarshalJSON ¶
func (v NullableFirmware) MarshalJSON() ([]byte, error)
func (*NullableFirmware) Set ¶
func (v *NullableFirmware) Set(val *Firmware)
func (*NullableFirmware) UnmarshalJSON ¶
func (v *NullableFirmware) UnmarshalJSON(src []byte) error
func (*NullableFirmware) Unset ¶
func (v *NullableFirmware) Unset()
type NullableFirmwareManagement ¶
type NullableFirmwareManagement struct {
// contains filtered or unexported fields
}
func NewNullableFirmwareManagement ¶
func NewNullableFirmwareManagement(val *FirmwareManagement) *NullableFirmwareManagement
func (NullableFirmwareManagement) Get ¶
func (v NullableFirmwareManagement) Get() *FirmwareManagement
func (NullableFirmwareManagement) IsSet ¶
func (v NullableFirmwareManagement) IsSet() bool
func (NullableFirmwareManagement) MarshalJSON ¶
func (v NullableFirmwareManagement) MarshalJSON() ([]byte, error)
func (*NullableFirmwareManagement) Set ¶
func (v *NullableFirmwareManagement) Set(val *FirmwareManagement)
func (*NullableFirmwareManagement) UnmarshalJSON ¶
func (v *NullableFirmwareManagement) UnmarshalJSON(src []byte) error
func (*NullableFirmwareManagement) Unset ¶
func (v *NullableFirmwareManagement) Unset()
type NullableFirmwareMetadata ¶
type NullableFirmwareMetadata struct {
// contains filtered or unexported fields
}
func NewNullableFirmwareMetadata ¶
func NewNullableFirmwareMetadata(val *FirmwareMetadata) *NullableFirmwareMetadata
func (NullableFirmwareMetadata) Get ¶
func (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 NullableFirmwareStats ¶
type NullableFirmwareStats struct {
// contains filtered or unexported fields
}
func NewNullableFirmwareStats ¶
func NewNullableFirmwareStats(val *FirmwareStats) *NullableFirmwareStats
func (NullableFirmwareStats) Get ¶
func (v NullableFirmwareStats) Get() *FirmwareStats
func (NullableFirmwareStats) IsSet ¶
func (v NullableFirmwareStats) IsSet() bool
func (NullableFirmwareStats) MarshalJSON ¶
func (v NullableFirmwareStats) MarshalJSON() ([]byte, error)
func (*NullableFirmwareStats) Set ¶
func (v *NullableFirmwareStats) Set(val *FirmwareStats)
func (*NullableFirmwareStats) UnmarshalJSON ¶
func (v *NullableFirmwareStats) UnmarshalJSON(src []byte) error
func (*NullableFirmwareStats) Unset ¶
func (v *NullableFirmwareStats) Unset()
type NullableFirmwareUsageResponse ¶
type NullableFirmwareUsageResponse struct {
// contains filtered or unexported fields
}
func 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 NullableGateway ¶
type NullableGateway struct {
// contains filtered or unexported fields
}
func NewNullableGateway ¶
func NewNullableGateway(val *Gateway) *NullableGateway
func (NullableGateway) Get ¶
func (v NullableGateway) Get() *Gateway
func (NullableGateway) IsSet ¶
func (v NullableGateway) IsSet() bool
func (NullableGateway) MarshalJSON ¶
func (v NullableGateway) MarshalJSON() ([]byte, error)
func (*NullableGateway) Set ¶
func (v *NullableGateway) Set(val *Gateway)
func (*NullableGateway) UnmarshalJSON ¶
func (v *NullableGateway) UnmarshalJSON(src []byte) error
func (*NullableGateway) Unset ¶
func (v *NullableGateway) Unset()
type NullableGatewayCIoTConfig ¶
type NullableGatewayCIoTConfig struct {
// contains filtered or unexported fields
}
func NewNullableGatewayCIoTConfig ¶
func NewNullableGatewayCIoTConfig(val *GatewayCIoTConfig) *NullableGatewayCIoTConfig
func (NullableGatewayCIoTConfig) Get ¶
func (v NullableGatewayCIoTConfig) Get() *GatewayCIoTConfig
func (NullableGatewayCIoTConfig) IsSet ¶
func (v NullableGatewayCIoTConfig) IsSet() bool
func (NullableGatewayCIoTConfig) MarshalJSON ¶
func (v NullableGatewayCIoTConfig) MarshalJSON() ([]byte, error)
func (*NullableGatewayCIoTConfig) Set ¶
func (v *NullableGatewayCIoTConfig) Set(val *GatewayCIoTConfig)
func (*NullableGatewayCIoTConfig) UnmarshalJSON ¶
func (v *NullableGatewayCIoTConfig) UnmarshalJSON(src []byte) error
func (*NullableGatewayCIoTConfig) Unset ¶
func (v *NullableGatewayCIoTConfig) Unset()
type NullableGatewayCertificateResponse ¶
type NullableGatewayCertificateResponse struct {
// contains filtered or unexported fields
}
func NewNullableGatewayCertificateResponse ¶
func NewNullableGatewayCertificateResponse(val *GatewayCertificateResponse) *NullableGatewayCertificateResponse
func (NullableGatewayCertificateResponse) Get ¶
func (v NullableGatewayCertificateResponse) Get() *GatewayCertificateResponse
func (NullableGatewayCertificateResponse) IsSet ¶
func (v NullableGatewayCertificateResponse) IsSet() bool
func (NullableGatewayCertificateResponse) MarshalJSON ¶
func (v NullableGatewayCertificateResponse) MarshalJSON() ([]byte, error)
func (*NullableGatewayCertificateResponse) Set ¶
func (v *NullableGatewayCertificateResponse) Set(val *GatewayCertificateResponse)
func (*NullableGatewayCertificateResponse) UnmarshalJSON ¶
func (v *NullableGatewayCertificateResponse) UnmarshalJSON(src []byte) error
func (*NullableGatewayCertificateResponse) Unset ¶
func (v *NullableGatewayCertificateResponse) Unset()
type NullableGatewayConfig ¶
type NullableGatewayConfig struct {
// contains filtered or unexported fields
}
func NewNullableGatewayConfig ¶
func NewNullableGatewayConfig(val *GatewayConfig) *NullableGatewayConfig
func (NullableGatewayConfig) Get ¶
func (v NullableGatewayConfig) Get() *GatewayConfig
func (NullableGatewayConfig) IsSet ¶
func (v NullableGatewayConfig) IsSet() bool
func (NullableGatewayConfig) MarshalJSON ¶
func (v NullableGatewayConfig) MarshalJSON() ([]byte, error)
func (*NullableGatewayConfig) Set ¶
func (v *NullableGatewayConfig) Set(val *GatewayConfig)
func (*NullableGatewayConfig) UnmarshalJSON ¶
func (v *NullableGatewayConfig) UnmarshalJSON(src []byte) error
func (*NullableGatewayConfig) Unset ¶
func (v *NullableGatewayConfig) Unset()
type NullableGatewayCustomConfig ¶
type NullableGatewayCustomConfig struct {
// contains filtered or unexported fields
}
func NewNullableGatewayCustomConfig ¶
func NewNullableGatewayCustomConfig(val *GatewayCustomConfig) *NullableGatewayCustomConfig
func (NullableGatewayCustomConfig) Get ¶
func (v NullableGatewayCustomConfig) Get() *GatewayCustomConfig
func (NullableGatewayCustomConfig) IsSet ¶
func (v NullableGatewayCustomConfig) IsSet() bool
func (NullableGatewayCustomConfig) MarshalJSON ¶
func (v NullableGatewayCustomConfig) MarshalJSON() ([]byte, error)
func (*NullableGatewayCustomConfig) Set ¶
func (v *NullableGatewayCustomConfig) Set(val *GatewayCustomConfig)
func (*NullableGatewayCustomConfig) UnmarshalJSON ¶
func (v *NullableGatewayCustomConfig) UnmarshalJSON(src []byte) error
func (*NullableGatewayCustomConfig) Unset ¶
func (v *NullableGatewayCustomConfig) Unset()
type NullableGatewayDeviceConfig ¶
type NullableGatewayDeviceConfig struct {
// contains filtered or unexported fields
}
func NewNullableGatewayDeviceConfig ¶
func NewNullableGatewayDeviceConfig(val *GatewayDeviceConfig) *NullableGatewayDeviceConfig
func (NullableGatewayDeviceConfig) Get ¶
func (v NullableGatewayDeviceConfig) Get() *GatewayDeviceConfig
func (NullableGatewayDeviceConfig) IsSet ¶
func (v NullableGatewayDeviceConfig) IsSet() bool
func (NullableGatewayDeviceConfig) MarshalJSON ¶
func (v NullableGatewayDeviceConfig) MarshalJSON() ([]byte, error)
func (*NullableGatewayDeviceConfig) Set ¶
func (v *NullableGatewayDeviceConfig) Set(val *GatewayDeviceConfig)
func (*NullableGatewayDeviceConfig) UnmarshalJSON ¶
func (v *NullableGatewayDeviceConfig) UnmarshalJSON(src []byte) error
func (*NullableGatewayDeviceConfig) Unset ¶
func (v *NullableGatewayDeviceConfig) Unset()
type NullableGatewayDeviceMetadata ¶
type NullableGatewayDeviceMetadata struct {
// contains filtered or unexported fields
}
func NewNullableGatewayDeviceMetadata ¶
func NewNullableGatewayDeviceMetadata(val *GatewayDeviceMetadata) *NullableGatewayDeviceMetadata
func (NullableGatewayDeviceMetadata) Get ¶
func (v NullableGatewayDeviceMetadata) Get() *GatewayDeviceMetadata
func (NullableGatewayDeviceMetadata) IsSet ¶
func (v NullableGatewayDeviceMetadata) IsSet() bool
func (NullableGatewayDeviceMetadata) MarshalJSON ¶
func (v NullableGatewayDeviceMetadata) MarshalJSON() ([]byte, error)
func (*NullableGatewayDeviceMetadata) Set ¶
func (v *NullableGatewayDeviceMetadata) Set(val *GatewayDeviceMetadata)
func (*NullableGatewayDeviceMetadata) UnmarshalJSON ¶
func (v *NullableGatewayDeviceMetadata) UnmarshalJSON(src []byte) error
func (*NullableGatewayDeviceMetadata) Unset ¶
func (v *NullableGatewayDeviceMetadata) Unset()
type NullableGatewayInetConfig ¶
type NullableGatewayInetConfig struct {
// contains filtered or unexported fields
}
func NewNullableGatewayInetConfig ¶
func NewNullableGatewayInetConfig(val *GatewayInetConfig) *NullableGatewayInetConfig
func (NullableGatewayInetConfig) Get ¶
func (v NullableGatewayInetConfig) Get() *GatewayInetConfig
func (NullableGatewayInetConfig) IsSet ¶
func (v NullableGatewayInetConfig) IsSet() bool
func (NullableGatewayInetConfig) MarshalJSON ¶
func (v NullableGatewayInetConfig) MarshalJSON() ([]byte, error)
func (*NullableGatewayInetConfig) Set ¶
func (v *NullableGatewayInetConfig) Set(val *GatewayInetConfig)
func (*NullableGatewayInetConfig) UnmarshalJSON ¶
func (v *NullableGatewayInetConfig) UnmarshalJSON(src []byte) error
func (*NullableGatewayInetConfig) Unset ¶
func (v *NullableGatewayInetConfig) Unset()
type NullableGatewayMetadata ¶
type NullableGatewayMetadata struct {
// contains filtered or unexported fields
}
func NewNullableGatewayMetadata ¶
func NewNullableGatewayMetadata(val *GatewayMetadata) *NullableGatewayMetadata
func (NullableGatewayMetadata) Get ¶
func (v NullableGatewayMetadata) Get() *GatewayMetadata
func (NullableGatewayMetadata) IsSet ¶
func (v NullableGatewayMetadata) IsSet() bool
func (NullableGatewayMetadata) MarshalJSON ¶
func (v NullableGatewayMetadata) MarshalJSON() ([]byte, error)
func (*NullableGatewayMetadata) Set ¶
func (v *NullableGatewayMetadata) Set(val *GatewayMetadata)
func (*NullableGatewayMetadata) UnmarshalJSON ¶
func (v *NullableGatewayMetadata) UnmarshalJSON(src []byte) error
func (*NullableGatewayMetadata) Unset ¶
func (v *NullableGatewayMetadata) Unset()
type NullableGatewayStats ¶
type NullableGatewayStats struct {
// contains filtered or unexported fields
}
func NewNullableGatewayStats ¶
func NewNullableGatewayStats(val *GatewayStats) *NullableGatewayStats
func (NullableGatewayStats) Get ¶
func (v NullableGatewayStats) Get() *GatewayStats
func (NullableGatewayStats) IsSet ¶
func (v NullableGatewayStats) IsSet() bool
func (NullableGatewayStats) MarshalJSON ¶
func (v NullableGatewayStats) MarshalJSON() ([]byte, error)
func (*NullableGatewayStats) Set ¶
func (v *NullableGatewayStats) Set(val *GatewayStats)
func (*NullableGatewayStats) UnmarshalJSON ¶
func (v *NullableGatewayStats) UnmarshalJSON(src []byte) error
func (*NullableGatewayStats) Unset ¶
func (v *NullableGatewayStats) Unset()
type NullableGatewayStatus ¶
type NullableGatewayStatus struct {
// contains filtered or unexported fields
}
func NewNullableGatewayStatus ¶
func NewNullableGatewayStatus(val *GatewayStatus) *NullableGatewayStatus
func (NullableGatewayStatus) Get ¶
func (v NullableGatewayStatus) Get() *GatewayStatus
func (NullableGatewayStatus) IsSet ¶
func (v NullableGatewayStatus) IsSet() bool
func (NullableGatewayStatus) MarshalJSON ¶
func (v NullableGatewayStatus) MarshalJSON() ([]byte, error)
func (*NullableGatewayStatus) Set ¶
func (v *NullableGatewayStatus) Set(val *GatewayStatus)
func (*NullableGatewayStatus) UnmarshalJSON ¶
func (v *NullableGatewayStatus) UnmarshalJSON(src []byte) error
func (*NullableGatewayStatus) Unset ¶
func (v *NullableGatewayStatus) Unset()
type NullableGatewayType ¶
type NullableGatewayType struct {
// contains filtered or unexported fields
}
func NewNullableGatewayType ¶
func NewNullableGatewayType(val *GatewayType) *NullableGatewayType
func (NullableGatewayType) Get ¶
func (v NullableGatewayType) Get() *GatewayType
func (NullableGatewayType) IsSet ¶
func (v NullableGatewayType) IsSet() bool
func (NullableGatewayType) MarshalJSON ¶
func (v NullableGatewayType) MarshalJSON() ([]byte, error)
func (*NullableGatewayType) Set ¶
func (v *NullableGatewayType) Set(val *GatewayType)
func (*NullableGatewayType) UnmarshalJSON ¶
func (v *NullableGatewayType) UnmarshalJSON(src []byte) error
func (*NullableGatewayType) Unset ¶
func (v *NullableGatewayType) Unset()
type NullableInetMetadata ¶
type NullableInetMetadata struct {
// contains filtered or unexported fields
}
func NewNullableInetMetadata ¶
func NewNullableInetMetadata(val *InetMetadata) *NullableInetMetadata
func (NullableInetMetadata) Get ¶
func (v NullableInetMetadata) Get() *InetMetadata
func (NullableInetMetadata) IsSet ¶
func (v NullableInetMetadata) IsSet() bool
func (NullableInetMetadata) MarshalJSON ¶
func (v NullableInetMetadata) MarshalJSON() ([]byte, error)
func (*NullableInetMetadata) Set ¶
func (v *NullableInetMetadata) Set(val *InetMetadata)
func (*NullableInetMetadata) UnmarshalJSON ¶
func (v *NullableInetMetadata) UnmarshalJSON(src []byte) error
func (*NullableInetMetadata) Unset ¶
func (v *NullableInetMetadata) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListBlobResponse ¶
type NullableListBlobResponse struct {
// contains filtered or unexported fields
}
func NewNullableListBlobResponse ¶
func NewNullableListBlobResponse(val *ListBlobResponse) *NullableListBlobResponse
func (NullableListBlobResponse) Get ¶
func (v NullableListBlobResponse) Get() *ListBlobResponse
func (NullableListBlobResponse) IsSet ¶
func (v NullableListBlobResponse) IsSet() bool
func (NullableListBlobResponse) MarshalJSON ¶
func (v NullableListBlobResponse) MarshalJSON() ([]byte, error)
func (*NullableListBlobResponse) Set ¶
func (v *NullableListBlobResponse) Set(val *ListBlobResponse)
func (*NullableListBlobResponse) UnmarshalJSON ¶
func (v *NullableListBlobResponse) UnmarshalJSON(src []byte) error
func (*NullableListBlobResponse) Unset ¶
func (v *NullableListBlobResponse) Unset()
type NullableListCollectionResponse ¶
type NullableListCollectionResponse struct {
// contains filtered or unexported fields
}
func 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 NullableListDownstreamMessagesResponse ¶
type NullableListDownstreamMessagesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListDownstreamMessagesResponse ¶
func NewNullableListDownstreamMessagesResponse(val *ListDownstreamMessagesResponse) *NullableListDownstreamMessagesResponse
func (NullableListDownstreamMessagesResponse) Get ¶
func (v NullableListDownstreamMessagesResponse) Get() *ListDownstreamMessagesResponse
func (NullableListDownstreamMessagesResponse) IsSet ¶
func (v NullableListDownstreamMessagesResponse) IsSet() bool
func (NullableListDownstreamMessagesResponse) MarshalJSON ¶
func (v NullableListDownstreamMessagesResponse) MarshalJSON() ([]byte, error)
func (*NullableListDownstreamMessagesResponse) Set ¶
func (v *NullableListDownstreamMessagesResponse) Set(val *ListDownstreamMessagesResponse)
func (*NullableListDownstreamMessagesResponse) UnmarshalJSON ¶
func (v *NullableListDownstreamMessagesResponse) UnmarshalJSON(src []byte) error
func (*NullableListDownstreamMessagesResponse) Unset ¶
func (v *NullableListDownstreamMessagesResponse) 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 NullableListGatewayResponse ¶
type NullableListGatewayResponse struct {
// contains filtered or unexported fields
}
func NewNullableListGatewayResponse ¶
func NewNullableListGatewayResponse(val *ListGatewayResponse) *NullableListGatewayResponse
func (NullableListGatewayResponse) Get ¶
func (v NullableListGatewayResponse) Get() *ListGatewayResponse
func (NullableListGatewayResponse) IsSet ¶
func (v NullableListGatewayResponse) IsSet() bool
func (NullableListGatewayResponse) MarshalJSON ¶
func (v NullableListGatewayResponse) MarshalJSON() ([]byte, error)
func (*NullableListGatewayResponse) Set ¶
func (v *NullableListGatewayResponse) Set(val *ListGatewayResponse)
func (*NullableListGatewayResponse) UnmarshalJSON ¶
func (v *NullableListGatewayResponse) UnmarshalJSON(src []byte) error
func (*NullableListGatewayResponse) Unset ¶
func (v *NullableListGatewayResponse) Unset()
type NullableListOutputResponse ¶
type NullableListOutputResponse struct {
// contains filtered or unexported fields
}
func NewNullableListOutputResponse ¶
func NewNullableListOutputResponse(val *ListOutputResponse) *NullableListOutputResponse
func (NullableListOutputResponse) Get ¶
func (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 NullableListUpstreamMessagesResponse ¶
type NullableListUpstreamMessagesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUpstreamMessagesResponse ¶
func NewNullableListUpstreamMessagesResponse(val *ListUpstreamMessagesResponse) *NullableListUpstreamMessagesResponse
func (NullableListUpstreamMessagesResponse) Get ¶
func (v NullableListUpstreamMessagesResponse) Get() *ListUpstreamMessagesResponse
func (NullableListUpstreamMessagesResponse) IsSet ¶
func (v NullableListUpstreamMessagesResponse) IsSet() bool
func (NullableListUpstreamMessagesResponse) MarshalJSON ¶
func (v NullableListUpstreamMessagesResponse) MarshalJSON() ([]byte, error)
func (*NullableListUpstreamMessagesResponse) Set ¶
func (v *NullableListUpstreamMessagesResponse) Set(val *ListUpstreamMessagesResponse)
func (*NullableListUpstreamMessagesResponse) UnmarshalJSON ¶
func (v *NullableListUpstreamMessagesResponse) UnmarshalJSON(src []byte) error
func (*NullableListUpstreamMessagesResponse) Unset ¶
func (v *NullableListUpstreamMessagesResponse) Unset()
type NullableMQTTMetadata ¶
type NullableMQTTMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMQTTMetadata ¶
func NewNullableMQTTMetadata(val *MQTTMetadata) *NullableMQTTMetadata
func (NullableMQTTMetadata) Get ¶
func (v NullableMQTTMetadata) Get() *MQTTMetadata
func (NullableMQTTMetadata) IsSet ¶
func (v NullableMQTTMetadata) IsSet() bool
func (NullableMQTTMetadata) MarshalJSON ¶
func (v NullableMQTTMetadata) MarshalJSON() ([]byte, error)
func (*NullableMQTTMetadata) Set ¶
func (v *NullableMQTTMetadata) Set(val *MQTTMetadata)
func (*NullableMQTTMetadata) UnmarshalJSON ¶
func (v *NullableMQTTMetadata) UnmarshalJSON(src []byte) error
func (*NullableMQTTMetadata) Unset ¶
func (v *NullableMQTTMetadata) Unset()
type NullableMessageDownstream ¶
type NullableMessageDownstream struct {
// contains filtered or unexported fields
}
func NewNullableMessageDownstream ¶
func NewNullableMessageDownstream(val *MessageDownstream) *NullableMessageDownstream
func (NullableMessageDownstream) Get ¶
func (v NullableMessageDownstream) Get() *MessageDownstream
func (NullableMessageDownstream) IsSet ¶
func (v NullableMessageDownstream) IsSet() bool
func (NullableMessageDownstream) MarshalJSON ¶
func (v NullableMessageDownstream) MarshalJSON() ([]byte, error)
func (*NullableMessageDownstream) Set ¶
func (v *NullableMessageDownstream) Set(val *MessageDownstream)
func (*NullableMessageDownstream) UnmarshalJSON ¶
func (v *NullableMessageDownstream) UnmarshalJSON(src []byte) error
func (*NullableMessageDownstream) Unset ¶
func (v *NullableMessageDownstream) Unset()
type NullableMessageState ¶
type NullableMessageState struct {
// contains filtered or unexported fields
}
func NewNullableMessageState ¶
func NewNullableMessageState(val *MessageState) *NullableMessageState
func (NullableMessageState) Get ¶
func (v NullableMessageState) Get() *MessageState
func (NullableMessageState) IsSet ¶
func (v NullableMessageState) IsSet() bool
func (NullableMessageState) MarshalJSON ¶
func (v NullableMessageState) MarshalJSON() ([]byte, error)
func (*NullableMessageState) Set ¶
func (v *NullableMessageState) Set(val *MessageState)
func (*NullableMessageState) UnmarshalJSON ¶
func (v *NullableMessageState) UnmarshalJSON(src []byte) error
func (*NullableMessageState) Unset ¶
func (v *NullableMessageState) Unset()
type NullableMessageTransport ¶
type NullableMessageTransport struct {
// contains filtered or unexported fields
}
func NewNullableMessageTransport ¶
func NewNullableMessageTransport(val *MessageTransport) *NullableMessageTransport
func (NullableMessageTransport) Get ¶
func (v NullableMessageTransport) Get() *MessageTransport
func (NullableMessageTransport) IsSet ¶
func (v NullableMessageTransport) IsSet() bool
func (NullableMessageTransport) MarshalJSON ¶
func (v NullableMessageTransport) MarshalJSON() ([]byte, error)
func (*NullableMessageTransport) Set ¶
func (v *NullableMessageTransport) Set(val *MessageTransport)
func (*NullableMessageTransport) UnmarshalJSON ¶
func (v *NullableMessageTransport) UnmarshalJSON(src []byte) error
func (*NullableMessageTransport) Unset ¶
func (v *NullableMessageTransport) Unset()
type NullableMessageUpstream ¶
type NullableMessageUpstream struct {
// contains filtered or unexported fields
}
func NewNullableMessageUpstream ¶
func NewNullableMessageUpstream(val *MessageUpstream) *NullableMessageUpstream
func (NullableMessageUpstream) Get ¶
func (v NullableMessageUpstream) Get() *MessageUpstream
func (NullableMessageUpstream) IsSet ¶
func (v NullableMessageUpstream) IsSet() bool
func (NullableMessageUpstream) MarshalJSON ¶
func (v NullableMessageUpstream) MarshalJSON() ([]byte, error)
func (*NullableMessageUpstream) Set ¶
func (v *NullableMessageUpstream) Set(val *MessageUpstream)
func (*NullableMessageUpstream) UnmarshalJSON ¶
func (v *NullableMessageUpstream) UnmarshalJSON(src []byte) error
func (*NullableMessageUpstream) Unset ¶
func (v *NullableMessageUpstream) Unset()
type NullableOutput ¶
type NullableOutput struct {
// contains filtered or unexported fields
}
func NewNullableOutput ¶
func NewNullableOutput(val *Output) *NullableOutput
func (NullableOutput) Get ¶
func (v NullableOutput) Get() *Output
func (NullableOutput) IsSet ¶
func (v NullableOutput) IsSet() bool
func (NullableOutput) MarshalJSON ¶
func (v NullableOutput) MarshalJSON() ([]byte, error)
func (*NullableOutput) Set ¶
func (v *NullableOutput) Set(val *Output)
func (*NullableOutput) UnmarshalJSON ¶
func (v *NullableOutput) UnmarshalJSON(src []byte) error
func (*NullableOutput) Unset ¶
func (v *NullableOutput) Unset()
type NullableOutputConfig ¶
type NullableOutputConfig struct {
// contains filtered or unexported fields
}
func NewNullableOutputConfig ¶
func NewNullableOutputConfig(val *OutputConfig) *NullableOutputConfig
func (NullableOutputConfig) Get ¶
func (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 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 NullableOutputMessageType ¶
type NullableOutputMessageType struct {
// contains filtered or unexported fields
}
func NewNullableOutputMessageType ¶
func NewNullableOutputMessageType(val *OutputMessageType) *NullableOutputMessageType
func (NullableOutputMessageType) Get ¶
func (v NullableOutputMessageType) Get() *OutputMessageType
func (NullableOutputMessageType) IsSet ¶
func (v NullableOutputMessageType) IsSet() bool
func (NullableOutputMessageType) MarshalJSON ¶
func (v NullableOutputMessageType) MarshalJSON() ([]byte, error)
func (*NullableOutputMessageType) Set ¶
func (v *NullableOutputMessageType) Set(val *OutputMessageType)
func (*NullableOutputMessageType) UnmarshalJSON ¶
func (v *NullableOutputMessageType) UnmarshalJSON(src []byte) error
func (*NullableOutputMessageType) Unset ¶
func (v *NullableOutputMessageType) Unset()
type NullableOutputStats ¶
type NullableOutputStats struct {
// contains filtered or unexported fields
}
func NewNullableOutputStats ¶
func NewNullableOutputStats(val *OutputStats) *NullableOutputStats
func (NullableOutputStats) Get ¶
func (v NullableOutputStats) Get() *OutputStats
func (NullableOutputStats) IsSet ¶
func (v NullableOutputStats) IsSet() bool
func (NullableOutputStats) MarshalJSON ¶
func (v NullableOutputStats) MarshalJSON() ([]byte, error)
func (*NullableOutputStats) Set ¶
func (v *NullableOutputStats) Set(val *OutputStats)
func (*NullableOutputStats) UnmarshalJSON ¶
func (v *NullableOutputStats) UnmarshalJSON(src []byte) error
func (*NullableOutputStats) Unset ¶
func (v *NullableOutputStats) Unset()
type NullableOutputStatusResponse ¶
type NullableOutputStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableOutputStatusResponse ¶
func NewNullableOutputStatusResponse(val *OutputStatusResponse) *NullableOutputStatusResponse
func (NullableOutputStatusResponse) Get ¶
func (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 NullableRetrieveBlobResponse ¶
type NullableRetrieveBlobResponse struct {
// contains filtered or unexported fields
}
func NewNullableRetrieveBlobResponse ¶
func NewNullableRetrieveBlobResponse(val *RetrieveBlobResponse) *NullableRetrieveBlobResponse
func (NullableRetrieveBlobResponse) Get ¶
func (v NullableRetrieveBlobResponse) Get() *RetrieveBlobResponse
func (NullableRetrieveBlobResponse) IsSet ¶
func (v NullableRetrieveBlobResponse) IsSet() bool
func (NullableRetrieveBlobResponse) MarshalJSON ¶
func (v NullableRetrieveBlobResponse) MarshalJSON() ([]byte, error)
func (*NullableRetrieveBlobResponse) Set ¶
func (v *NullableRetrieveBlobResponse) Set(val *RetrieveBlobResponse)
func (*NullableRetrieveBlobResponse) UnmarshalJSON ¶
func (v *NullableRetrieveBlobResponse) UnmarshalJSON(src []byte) error
func (*NullableRetrieveBlobResponse) Unset ¶
func (v *NullableRetrieveBlobResponse) Unset()
type NullableRpcStatus ¶
type NullableRpcStatus struct {
// contains filtered or unexported fields
}
func NewNullableRpcStatus ¶
func NewNullableRpcStatus(val *RpcStatus) *NullableRpcStatus
func (NullableRpcStatus) Get ¶
func (v NullableRpcStatus) Get() *RpcStatus
func (NullableRpcStatus) IsSet ¶
func (v NullableRpcStatus) IsSet() bool
func (NullableRpcStatus) MarshalJSON ¶
func (v NullableRpcStatus) MarshalJSON() ([]byte, error)
func (*NullableRpcStatus) Set ¶
func (v *NullableRpcStatus) Set(val *RpcStatus)
func (*NullableRpcStatus) UnmarshalJSON ¶
func (v *NullableRpcStatus) UnmarshalJSON(src []byte) error
func (*NullableRpcStatus) Unset ¶
func (v *NullableRpcStatus) Unset()
type NullableSignCertificateBody ¶
type NullableSignCertificateBody struct {
// contains filtered or unexported fields
}
func NewNullableSignCertificateBody ¶
func NewNullableSignCertificateBody(val *SignCertificateBody) *NullableSignCertificateBody
func (NullableSignCertificateBody) Get ¶
func (v NullableSignCertificateBody) Get() *SignCertificateBody
func (NullableSignCertificateBody) IsSet ¶
func (v NullableSignCertificateBody) IsSet() bool
func (NullableSignCertificateBody) MarshalJSON ¶
func (v NullableSignCertificateBody) MarshalJSON() ([]byte, error)
func (*NullableSignCertificateBody) Set ¶
func (v *NullableSignCertificateBody) Set(val *SignCertificateBody)
func (*NullableSignCertificateBody) UnmarshalJSON ¶
func (v *NullableSignCertificateBody) UnmarshalJSON(src []byte) error
func (*NullableSignCertificateBody) Unset ¶
func (v *NullableSignCertificateBody) Unset()
type NullableSignCertificateResponse ¶
type NullableSignCertificateResponse struct {
// contains filtered or unexported fields
}
func NewNullableSignCertificateResponse ¶
func NewNullableSignCertificateResponse(val *SignCertificateResponse) *NullableSignCertificateResponse
func (NullableSignCertificateResponse) Get ¶
func (v NullableSignCertificateResponse) Get() *SignCertificateResponse
func (NullableSignCertificateResponse) IsSet ¶
func (v NullableSignCertificateResponse) IsSet() bool
func (NullableSignCertificateResponse) MarshalJSON ¶
func (v NullableSignCertificateResponse) MarshalJSON() ([]byte, error)
func (*NullableSignCertificateResponse) Set ¶
func (v *NullableSignCertificateResponse) Set(val *SignCertificateResponse)
func (*NullableSignCertificateResponse) UnmarshalJSON ¶
func (v *NullableSignCertificateResponse) UnmarshalJSON(src []byte) error
func (*NullableSignCertificateResponse) Unset ¶
func (v *NullableSignCertificateResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSystemInfoResponse ¶
type NullableSystemInfoResponse struct {
// contains filtered or unexported fields
}
func NewNullableSystemInfoResponse ¶
func NewNullableSystemInfoResponse(val *SystemInfoResponse) *NullableSystemInfoResponse
func (NullableSystemInfoResponse) Get ¶
func (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 NullableUpdateCollectionBody ¶
type NullableUpdateCollectionBody struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCollectionBody ¶
func NewNullableUpdateCollectionBody(val *UpdateCollectionBody) *NullableUpdateCollectionBody
func (NullableUpdateCollectionBody) Get ¶
func (v NullableUpdateCollectionBody) Get() *UpdateCollectionBody
func (NullableUpdateCollectionBody) IsSet ¶
func (v NullableUpdateCollectionBody) IsSet() bool
func (NullableUpdateCollectionBody) MarshalJSON ¶
func (v NullableUpdateCollectionBody) MarshalJSON() ([]byte, error)
func (*NullableUpdateCollectionBody) Set ¶
func (v *NullableUpdateCollectionBody) Set(val *UpdateCollectionBody)
func (*NullableUpdateCollectionBody) UnmarshalJSON ¶
func (v *NullableUpdateCollectionBody) UnmarshalJSON(src []byte) error
func (*NullableUpdateCollectionBody) Unset ¶
func (v *NullableUpdateCollectionBody) Unset()
type NullableUpdateDeviceBody ¶
type NullableUpdateDeviceBody struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDeviceBody ¶
func NewNullableUpdateDeviceBody(val *UpdateDeviceBody) *NullableUpdateDeviceBody
func (NullableUpdateDeviceBody) Get ¶
func (v NullableUpdateDeviceBody) Get() *UpdateDeviceBody
func (NullableUpdateDeviceBody) IsSet ¶
func (v NullableUpdateDeviceBody) IsSet() bool
func (NullableUpdateDeviceBody) MarshalJSON ¶
func (v NullableUpdateDeviceBody) MarshalJSON() ([]byte, error)
func (*NullableUpdateDeviceBody) Set ¶
func (v *NullableUpdateDeviceBody) Set(val *UpdateDeviceBody)
func (*NullableUpdateDeviceBody) UnmarshalJSON ¶
func (v *NullableUpdateDeviceBody) UnmarshalJSON(src []byte) error
func (*NullableUpdateDeviceBody) Unset ¶
func (v *NullableUpdateDeviceBody) Unset()
type NullableUpdateFirmwareBody ¶
type NullableUpdateFirmwareBody struct {
// contains filtered or unexported fields
}
func NewNullableUpdateFirmwareBody ¶
func NewNullableUpdateFirmwareBody(val *UpdateFirmwareBody) *NullableUpdateFirmwareBody
func (NullableUpdateFirmwareBody) Get ¶
func (v NullableUpdateFirmwareBody) Get() *UpdateFirmwareBody
func (NullableUpdateFirmwareBody) IsSet ¶
func (v NullableUpdateFirmwareBody) IsSet() bool
func (NullableUpdateFirmwareBody) MarshalJSON ¶
func (v NullableUpdateFirmwareBody) MarshalJSON() ([]byte, error)
func (*NullableUpdateFirmwareBody) Set ¶
func (v *NullableUpdateFirmwareBody) Set(val *UpdateFirmwareBody)
func (*NullableUpdateFirmwareBody) UnmarshalJSON ¶
func (v *NullableUpdateFirmwareBody) UnmarshalJSON(src []byte) error
func (*NullableUpdateFirmwareBody) Unset ¶
func (v *NullableUpdateFirmwareBody) Unset()
type NullableUpdateGatewayBody ¶
type NullableUpdateGatewayBody struct {
// contains filtered or unexported fields
}
func NewNullableUpdateGatewayBody ¶
func NewNullableUpdateGatewayBody(val *UpdateGatewayBody) *NullableUpdateGatewayBody
func (NullableUpdateGatewayBody) Get ¶
func (v NullableUpdateGatewayBody) Get() *UpdateGatewayBody
func (NullableUpdateGatewayBody) IsSet ¶
func (v NullableUpdateGatewayBody) IsSet() bool
func (NullableUpdateGatewayBody) MarshalJSON ¶
func (v NullableUpdateGatewayBody) MarshalJSON() ([]byte, error)
func (*NullableUpdateGatewayBody) Set ¶
func (v *NullableUpdateGatewayBody) Set(val *UpdateGatewayBody)
func (*NullableUpdateGatewayBody) UnmarshalJSON ¶
func (v *NullableUpdateGatewayBody) UnmarshalJSON(src []byte) error
func (*NullableUpdateGatewayBody) Unset ¶
func (v *NullableUpdateGatewayBody) Unset()
type NullableUpdateOutputBody ¶
type NullableUpdateOutputBody struct {
// contains filtered or unexported fields
}
func NewNullableUpdateOutputBody ¶
func NewNullableUpdateOutputBody(val *UpdateOutputBody) *NullableUpdateOutputBody
func (NullableUpdateOutputBody) Get ¶
func (v NullableUpdateOutputBody) Get() *UpdateOutputBody
func (NullableUpdateOutputBody) IsSet ¶
func (v NullableUpdateOutputBody) IsSet() bool
func (NullableUpdateOutputBody) MarshalJSON ¶
func (v NullableUpdateOutputBody) MarshalJSON() ([]byte, error)
func (*NullableUpdateOutputBody) Set ¶
func (v *NullableUpdateOutputBody) Set(val *UpdateOutputBody)
func (*NullableUpdateOutputBody) UnmarshalJSON ¶
func (v *NullableUpdateOutputBody) UnmarshalJSON(src []byte) error
func (*NullableUpdateOutputBody) Unset ¶
func (v *NullableUpdateOutputBody) Unset()
type NullableVerifyCertificateBody ¶
type NullableVerifyCertificateBody struct {
// contains filtered or unexported fields
}
func NewNullableVerifyCertificateBody ¶
func NewNullableVerifyCertificateBody(val *VerifyCertificateBody) *NullableVerifyCertificateBody
func (NullableVerifyCertificateBody) Get ¶
func (v NullableVerifyCertificateBody) Get() *VerifyCertificateBody
func (NullableVerifyCertificateBody) IsSet ¶
func (v NullableVerifyCertificateBody) IsSet() bool
func (NullableVerifyCertificateBody) MarshalJSON ¶
func (v NullableVerifyCertificateBody) MarshalJSON() ([]byte, error)
func (*NullableVerifyCertificateBody) Set ¶
func (v *NullableVerifyCertificateBody) Set(val *VerifyCertificateBody)
func (*NullableVerifyCertificateBody) UnmarshalJSON ¶
func (v *NullableVerifyCertificateBody) UnmarshalJSON(src []byte) error
func (*NullableVerifyCertificateBody) Unset ¶
func (v *NullableVerifyCertificateBody) Unset()
type NullableVerifyCertificateResponse ¶
type NullableVerifyCertificateResponse struct {
// contains filtered or unexported fields
}
func NewNullableVerifyCertificateResponse ¶
func NewNullableVerifyCertificateResponse(val *VerifyCertificateResponse) *NullableVerifyCertificateResponse
func (NullableVerifyCertificateResponse) Get ¶
func (v NullableVerifyCertificateResponse) Get() *VerifyCertificateResponse
func (NullableVerifyCertificateResponse) IsSet ¶
func (v NullableVerifyCertificateResponse) IsSet() bool
func (NullableVerifyCertificateResponse) MarshalJSON ¶
func (v NullableVerifyCertificateResponse) MarshalJSON() ([]byte, error)
func (*NullableVerifyCertificateResponse) Set ¶
func (v *NullableVerifyCertificateResponse) Set(val *VerifyCertificateResponse)
func (*NullableVerifyCertificateResponse) UnmarshalJSON ¶
func (v *NullableVerifyCertificateResponse) UnmarshalJSON(src []byte) error
func (*NullableVerifyCertificateResponse) Unset ¶
func (v *NullableVerifyCertificateResponse) Unset()
type Output ¶
type Output struct { OutputId *string `json:"outputId,omitempty"` CollectionId *string `json:"collectionId,omitempty"` Type *OutputType `json:"type,omitempty"` Config *OutputConfig `json:"config,omitempty"` Enabled *bool `json:"enabled,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
Output Output resource. The configuration depends on the kind of output type. There are five outputs: Webhooks, UDP forwarding, IFTTT events, MQTT client and MQTT broker. The MQTT broker output is just used to configure the built-in MQTT broker in Span.
func NewOutput ¶
func NewOutput() *Output
NewOutput instantiates a new Output object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputWithDefaults ¶
func NewOutputWithDefaults() *Output
NewOutputWithDefaults instantiates a new Output object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Output) GetCollectionId ¶
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 for the webhook. Url *string `json:"url,omitempty"` BasicAuthUser *string `json:"basicAuthUser,omitempty"` BasicAuthPass *string `json:"basicAuthPass,omitempty"` CustomHeaderName *string `json:"customHeaderName,omitempty"` CustomHeaderValue *string `json:"customHeaderValue,omitempty"` Host *string `json:"host,omitempty"` Port *int32 `json:"port,omitempty"` Key *string `json:"key,omitempty"` EventName *string `json:"eventName,omitempty"` AsIsPayload *bool `json:"asIsPayload,omitempty"` Endpoint *string `json:"endpoint,omitempty"` // MQTT configuration: Disable certificate checks. Default is off. DisableCertCheck *bool `json:"disableCertCheck,omitempty"` Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` ClientId *string `json:"clientId,omitempty"` TopicName *string `json:"topicName,omitempty"` TopicTemplate *string `json:"topicTemplate,omitempty"` PayloadFormat *string `json:"payloadFormat,omitempty"` PayloadTemplate *string `json:"payloadTemplate,omitempty"` }
OutputConfig Configuration for outputs.
func NewOutputConfig ¶
func NewOutputConfig() *OutputConfig
NewOutputConfig instantiates a new OutputConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputConfigWithDefaults ¶
func NewOutputConfigWithDefaults() *OutputConfig
NewOutputConfigWithDefaults instantiates a new OutputConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutputConfig) GetAsIsPayload ¶
func (o *OutputConfig) GetAsIsPayload() bool
GetAsIsPayload returns the AsIsPayload field value if set, zero value otherwise.
func (*OutputConfig) GetAsIsPayloadOk ¶
func (o *OutputConfig) GetAsIsPayloadOk() (*bool, bool)
GetAsIsPayloadOk returns a tuple with the AsIsPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetBasicAuthPass ¶
func (o *OutputConfig) GetBasicAuthPass() string
GetBasicAuthPass returns the BasicAuthPass field value if set, zero value otherwise.
func (*OutputConfig) GetBasicAuthPassOk ¶
func (o *OutputConfig) GetBasicAuthPassOk() (*string, bool)
GetBasicAuthPassOk returns a tuple with the BasicAuthPass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetBasicAuthUser ¶
func (o *OutputConfig) GetBasicAuthUser() string
GetBasicAuthUser returns the BasicAuthUser field value if set, zero value otherwise.
func (*OutputConfig) GetBasicAuthUserOk ¶
func (o *OutputConfig) GetBasicAuthUserOk() (*string, bool)
GetBasicAuthUserOk returns a tuple with the BasicAuthUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetClientId ¶
func (o *OutputConfig) GetClientId() string
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*OutputConfig) GetClientIdOk ¶
func (o *OutputConfig) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetCustomHeaderName ¶
func (o *OutputConfig) GetCustomHeaderName() string
GetCustomHeaderName returns the CustomHeaderName field value if set, zero value otherwise.
func (*OutputConfig) GetCustomHeaderNameOk ¶
func (o *OutputConfig) GetCustomHeaderNameOk() (*string, bool)
GetCustomHeaderNameOk returns a tuple with the CustomHeaderName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetCustomHeaderValue ¶
func (o *OutputConfig) GetCustomHeaderValue() string
GetCustomHeaderValue returns the CustomHeaderValue field value if set, zero value otherwise.
func (*OutputConfig) GetCustomHeaderValueOk ¶
func (o *OutputConfig) GetCustomHeaderValueOk() (*string, bool)
GetCustomHeaderValueOk returns a tuple with the CustomHeaderValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetDisableCertCheck ¶
func (o *OutputConfig) GetDisableCertCheck() bool
GetDisableCertCheck returns the DisableCertCheck field value if set, zero value otherwise.
func (*OutputConfig) GetDisableCertCheckOk ¶
func (o *OutputConfig) GetDisableCertCheckOk() (*bool, bool)
GetDisableCertCheckOk returns a tuple with the DisableCertCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetEndpoint ¶
func (o *OutputConfig) GetEndpoint() string
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*OutputConfig) GetEndpointOk ¶
func (o *OutputConfig) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetEventName ¶
func (o *OutputConfig) GetEventName() string
GetEventName returns the EventName field value if set, zero value otherwise.
func (*OutputConfig) GetEventNameOk ¶
func (o *OutputConfig) GetEventNameOk() (*string, bool)
GetEventNameOk returns a tuple with the EventName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetHost ¶
func (o *OutputConfig) GetHost() string
GetHost returns the Host field value if set, zero value otherwise.
func (*OutputConfig) GetHostOk ¶
func (o *OutputConfig) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetKey ¶
func (o *OutputConfig) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*OutputConfig) GetKeyOk ¶
func (o *OutputConfig) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetPassword ¶
func (o *OutputConfig) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*OutputConfig) GetPasswordOk ¶
func (o *OutputConfig) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetPayloadFormat ¶
func (o *OutputConfig) GetPayloadFormat() string
GetPayloadFormat returns the PayloadFormat field value if set, zero value otherwise.
func (*OutputConfig) GetPayloadFormatOk ¶
func (o *OutputConfig) GetPayloadFormatOk() (*string, bool)
GetPayloadFormatOk returns a tuple with the PayloadFormat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetPayloadTemplate ¶
func (o *OutputConfig) GetPayloadTemplate() string
GetPayloadTemplate returns the PayloadTemplate field value if set, zero value otherwise.
func (*OutputConfig) GetPayloadTemplateOk ¶
func (o *OutputConfig) GetPayloadTemplateOk() (*string, bool)
GetPayloadTemplateOk returns a tuple with the PayloadTemplate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetPort ¶
func (o *OutputConfig) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*OutputConfig) GetPortOk ¶
func (o *OutputConfig) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetTopicName ¶
func (o *OutputConfig) GetTopicName() string
GetTopicName returns the TopicName field value if set, zero value otherwise.
func (*OutputConfig) GetTopicNameOk ¶
func (o *OutputConfig) GetTopicNameOk() (*string, bool)
GetTopicNameOk returns a tuple with the TopicName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetTopicTemplate ¶
func (o *OutputConfig) GetTopicTemplate() string
GetTopicTemplate returns the TopicTemplate field value if set, zero value otherwise.
func (*OutputConfig) GetTopicTemplateOk ¶
func (o *OutputConfig) GetTopicTemplateOk() (*string, bool)
GetTopicTemplateOk returns a tuple with the TopicTemplate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetUrl ¶
func (o *OutputConfig) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*OutputConfig) GetUrlOk ¶
func (o *OutputConfig) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) GetUsername ¶
func (o *OutputConfig) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*OutputConfig) GetUsernameOk ¶
func (o *OutputConfig) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputConfig) HasAsIsPayload ¶
func (o *OutputConfig) HasAsIsPayload() bool
HasAsIsPayload returns a boolean if a field has been set.
func (*OutputConfig) HasBasicAuthPass ¶
func (o *OutputConfig) HasBasicAuthPass() bool
HasBasicAuthPass returns a boolean if a field has been set.
func (*OutputConfig) HasBasicAuthUser ¶
func (o *OutputConfig) HasBasicAuthUser() bool
HasBasicAuthUser returns a boolean if a field has been set.
func (*OutputConfig) HasClientId ¶
func (o *OutputConfig) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (*OutputConfig) HasCustomHeaderName ¶
func (o *OutputConfig) HasCustomHeaderName() bool
HasCustomHeaderName returns a boolean if a field has been set.
func (*OutputConfig) HasCustomHeaderValue ¶
func (o *OutputConfig) HasCustomHeaderValue() bool
HasCustomHeaderValue returns a boolean if a field has been set.
func (*OutputConfig) HasDisableCertCheck ¶
func (o *OutputConfig) HasDisableCertCheck() bool
HasDisableCertCheck returns a boolean if a field has been set.
func (*OutputConfig) HasEndpoint ¶
func (o *OutputConfig) HasEndpoint() bool
HasEndpoint returns a boolean if a field has been set.
func (*OutputConfig) HasEventName ¶
func (o *OutputConfig) HasEventName() bool
HasEventName returns a boolean if a field has been set.
func (*OutputConfig) HasHost ¶
func (o *OutputConfig) HasHost() bool
HasHost returns a boolean if a field has been set.
func (*OutputConfig) HasKey ¶
func (o *OutputConfig) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*OutputConfig) HasPassword ¶
func (o *OutputConfig) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*OutputConfig) HasPayloadFormat ¶
func (o *OutputConfig) HasPayloadFormat() bool
HasPayloadFormat returns a boolean if a field has been set.
func (*OutputConfig) HasPayloadTemplate ¶
func (o *OutputConfig) HasPayloadTemplate() bool
HasPayloadTemplate returns a boolean if a field has been set.
func (*OutputConfig) HasPort ¶
func (o *OutputConfig) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*OutputConfig) HasTopicName ¶
func (o *OutputConfig) HasTopicName() bool
HasTopicName returns a boolean if a field has been set.
func (*OutputConfig) HasTopicTemplate ¶
func (o *OutputConfig) HasTopicTemplate() bool
HasTopicTemplate returns a boolean if a field has been set.
func (*OutputConfig) HasUrl ¶
func (o *OutputConfig) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*OutputConfig) HasUsername ¶
func (o *OutputConfig) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (OutputConfig) MarshalJSON ¶
func (o OutputConfig) MarshalJSON() ([]byte, error)
func (*OutputConfig) SetAsIsPayload ¶
func (o *OutputConfig) SetAsIsPayload(v bool)
SetAsIsPayload gets a reference to the given bool and assigns it to the AsIsPayload field.
func (*OutputConfig) SetBasicAuthPass ¶
func (o *OutputConfig) SetBasicAuthPass(v string)
SetBasicAuthPass gets a reference to the given string and assigns it to the BasicAuthPass field.
func (*OutputConfig) SetBasicAuthUser ¶
func (o *OutputConfig) SetBasicAuthUser(v string)
SetBasicAuthUser gets a reference to the given string and assigns it to the BasicAuthUser field.
func (*OutputConfig) SetClientId ¶
func (o *OutputConfig) SetClientId(v string)
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*OutputConfig) SetCustomHeaderName ¶
func (o *OutputConfig) SetCustomHeaderName(v string)
SetCustomHeaderName gets a reference to the given string and assigns it to the CustomHeaderName field.
func (*OutputConfig) SetCustomHeaderValue ¶
func (o *OutputConfig) SetCustomHeaderValue(v string)
SetCustomHeaderValue gets a reference to the given string and assigns it to the CustomHeaderValue field.
func (*OutputConfig) SetDisableCertCheck ¶
func (o *OutputConfig) SetDisableCertCheck(v bool)
SetDisableCertCheck gets a reference to the given bool and assigns it to the DisableCertCheck field.
func (*OutputConfig) SetEndpoint ¶
func (o *OutputConfig) SetEndpoint(v string)
SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (*OutputConfig) SetEventName ¶
func (o *OutputConfig) SetEventName(v string)
SetEventName gets a reference to the given string and assigns it to the EventName field.
func (*OutputConfig) SetHost ¶
func (o *OutputConfig) SetHost(v string)
SetHost gets a reference to the given string and assigns it to the Host field.
func (*OutputConfig) SetKey ¶
func (o *OutputConfig) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*OutputConfig) SetPassword ¶
func (o *OutputConfig) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*OutputConfig) SetPayloadFormat ¶
func (o *OutputConfig) SetPayloadFormat(v string)
SetPayloadFormat gets a reference to the given string and assigns it to the PayloadFormat field.
func (*OutputConfig) SetPayloadTemplate ¶
func (o *OutputConfig) SetPayloadTemplate(v string)
SetPayloadTemplate gets a reference to the given string and assigns it to the PayloadTemplate field.
func (*OutputConfig) SetPort ¶
func (o *OutputConfig) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*OutputConfig) SetTopicName ¶
func (o *OutputConfig) SetTopicName(v string)
SetTopicName gets a reference to the given string and assigns it to the TopicName field.
func (*OutputConfig) SetTopicTemplate ¶
func (o *OutputConfig) SetTopicTemplate(v string)
SetTopicTemplate gets a reference to the given string and assigns it to the TopicTemplate field.
func (*OutputConfig) SetUrl ¶
func (o *OutputConfig) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*OutputConfig) SetUsername ¶
func (o *OutputConfig) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (OutputConfig) ToMap ¶
func (o OutputConfig) ToMap() (map[string]interface{}, error)
type OutputDataMessage ¶
type OutputDataMessage struct { Type *OutputMessageType `json:"type,omitempty"` Device *Device `json:"device,omitempty"` Payload *string `json:"payload,omitempty"` // Received time for message. Value is ms since epoch. Received *string `json:"received,omitempty"` Transport *string `json:"transport,omitempty"` UdpMetaData *UDPMetadata `json:"udpMetaData,omitempty"` CoapMetaData *CoAPMetadata `json:"coapMetaData,omitempty"` MessageId *string `json:"messageId,omitempty"` MqttMetaData *MQTTMetadata `json:"mqttMetaData,omitempty"` GatewayMetaData *GatewayMetadata `json:"gatewayMetaData,omitempty"` GatewayId *string `json:"gatewayId,omitempty"` }
OutputDataMessage The output data message contains payload plus metadata for a payload received from a device.
func NewOutputDataMessage ¶
func NewOutputDataMessage() *OutputDataMessage
NewOutputDataMessage instantiates a new OutputDataMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputDataMessageWithDefaults ¶
func NewOutputDataMessageWithDefaults() *OutputDataMessage
NewOutputDataMessageWithDefaults instantiates a new OutputDataMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutputDataMessage) GetCoapMetaData ¶
func (o *OutputDataMessage) GetCoapMetaData() CoAPMetadata
GetCoapMetaData returns the CoapMetaData field value if set, zero value otherwise.
func (*OutputDataMessage) GetCoapMetaDataOk ¶
func (o *OutputDataMessage) GetCoapMetaDataOk() (*CoAPMetadata, bool)
GetCoapMetaDataOk returns a tuple with the CoapMetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetDevice ¶
func (o *OutputDataMessage) GetDevice() Device
GetDevice returns the Device field value if set, zero value otherwise.
func (*OutputDataMessage) GetDeviceOk ¶
func (o *OutputDataMessage) GetDeviceOk() (*Device, bool)
GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetGatewayId ¶
func (o *OutputDataMessage) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*OutputDataMessage) GetGatewayIdOk ¶
func (o *OutputDataMessage) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetGatewayMetaData ¶
func (o *OutputDataMessage) GetGatewayMetaData() GatewayMetadata
GetGatewayMetaData returns the GatewayMetaData field value if set, zero value otherwise.
func (*OutputDataMessage) GetGatewayMetaDataOk ¶
func (o *OutputDataMessage) GetGatewayMetaDataOk() (*GatewayMetadata, bool)
GetGatewayMetaDataOk returns a tuple with the GatewayMetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetMessageId ¶
func (o *OutputDataMessage) GetMessageId() string
GetMessageId returns the MessageId field value if set, zero value otherwise.
func (*OutputDataMessage) GetMessageIdOk ¶
func (o *OutputDataMessage) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetMqttMetaData ¶
func (o *OutputDataMessage) GetMqttMetaData() MQTTMetadata
GetMqttMetaData returns the MqttMetaData field value if set, zero value otherwise.
func (*OutputDataMessage) GetMqttMetaDataOk ¶
func (o *OutputDataMessage) GetMqttMetaDataOk() (*MQTTMetadata, bool)
GetMqttMetaDataOk returns a tuple with the MqttMetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetPayload ¶
func (o *OutputDataMessage) GetPayload() string
GetPayload returns the Payload field value if set, zero value otherwise.
func (*OutputDataMessage) GetPayloadOk ¶
func (o *OutputDataMessage) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetReceived ¶
func (o *OutputDataMessage) GetReceived() string
GetReceived returns the Received field value if set, zero value otherwise.
func (*OutputDataMessage) GetReceivedOk ¶
func (o *OutputDataMessage) GetReceivedOk() (*string, bool)
GetReceivedOk returns a tuple with the Received field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetTransport ¶
func (o *OutputDataMessage) GetTransport() string
GetTransport returns the Transport field value if set, zero value otherwise.
func (*OutputDataMessage) GetTransportOk ¶
func (o *OutputDataMessage) GetTransportOk() (*string, bool)
GetTransportOk returns a tuple with the Transport field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetType ¶
func (o *OutputDataMessage) GetType() OutputMessageType
GetType returns the Type field value if set, zero value otherwise.
func (*OutputDataMessage) GetTypeOk ¶
func (o *OutputDataMessage) GetTypeOk() (*OutputMessageType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) GetUdpMetaData ¶
func (o *OutputDataMessage) GetUdpMetaData() UDPMetadata
GetUdpMetaData returns the UdpMetaData field value if set, zero value otherwise.
func (*OutputDataMessage) GetUdpMetaDataOk ¶
func (o *OutputDataMessage) GetUdpMetaDataOk() (*UDPMetadata, bool)
GetUdpMetaDataOk returns a tuple with the UdpMetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputDataMessage) HasCoapMetaData ¶
func (o *OutputDataMessage) HasCoapMetaData() bool
HasCoapMetaData returns a boolean if a field has been set.
func (*OutputDataMessage) HasDevice ¶
func (o *OutputDataMessage) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (*OutputDataMessage) HasGatewayId ¶
func (o *OutputDataMessage) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (*OutputDataMessage) HasGatewayMetaData ¶
func (o *OutputDataMessage) HasGatewayMetaData() bool
HasGatewayMetaData returns a boolean if a field has been set.
func (*OutputDataMessage) HasMessageId ¶
func (o *OutputDataMessage) HasMessageId() bool
HasMessageId returns a boolean if a field has been set.
func (*OutputDataMessage) HasMqttMetaData ¶
func (o *OutputDataMessage) HasMqttMetaData() bool
HasMqttMetaData returns a boolean if a field has been set.
func (*OutputDataMessage) HasPayload ¶
func (o *OutputDataMessage) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (*OutputDataMessage) HasReceived ¶
func (o *OutputDataMessage) HasReceived() bool
HasReceived returns a boolean if a field has been set.
func (*OutputDataMessage) HasTransport ¶
func (o *OutputDataMessage) HasTransport() bool
HasTransport returns a boolean if a field has been set.
func (*OutputDataMessage) HasType ¶
func (o *OutputDataMessage) HasType() bool
HasType returns a boolean if a field has been set.
func (*OutputDataMessage) HasUdpMetaData ¶
func (o *OutputDataMessage) HasUdpMetaData() bool
HasUdpMetaData returns a boolean if a field has been set.
func (OutputDataMessage) MarshalJSON ¶
func (o OutputDataMessage) MarshalJSON() ([]byte, error)
func (*OutputDataMessage) SetCoapMetaData ¶
func (o *OutputDataMessage) SetCoapMetaData(v CoAPMetadata)
SetCoapMetaData gets a reference to the given CoAPMetadata and assigns it to the CoapMetaData field.
func (*OutputDataMessage) SetDevice ¶
func (o *OutputDataMessage) SetDevice(v Device)
SetDevice gets a reference to the given Device and assigns it to the Device field.
func (*OutputDataMessage) SetGatewayId ¶
func (o *OutputDataMessage) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (*OutputDataMessage) SetGatewayMetaData ¶
func (o *OutputDataMessage) SetGatewayMetaData(v GatewayMetadata)
SetGatewayMetaData gets a reference to the given GatewayMetadata and assigns it to the GatewayMetaData field.
func (*OutputDataMessage) SetMessageId ¶
func (o *OutputDataMessage) SetMessageId(v string)
SetMessageId gets a reference to the given string and assigns it to the MessageId field.
func (*OutputDataMessage) SetMqttMetaData ¶
func (o *OutputDataMessage) SetMqttMetaData(v MQTTMetadata)
SetMqttMetaData gets a reference to the given MQTTMetadata and assigns it to the MqttMetaData field.
func (*OutputDataMessage) SetPayload ¶
func (o *OutputDataMessage) SetPayload(v string)
SetPayload gets a reference to the given string and assigns it to the Payload field.
func (*OutputDataMessage) SetReceived ¶
func (o *OutputDataMessage) SetReceived(v string)
SetReceived gets a reference to the given string and assigns it to the Received field.
func (*OutputDataMessage) SetTransport ¶
func (o *OutputDataMessage) SetTransport(v string)
SetTransport gets a reference to the given string and assigns it to the Transport field.
func (*OutputDataMessage) SetType ¶
func (o *OutputDataMessage) SetType(v OutputMessageType)
SetType gets a reference to the given OutputMessageType and assigns it to the Type field.
func (*OutputDataMessage) SetUdpMetaData ¶
func (o *OutputDataMessage) SetUdpMetaData(v UDPMetadata)
SetUdpMetaData gets a reference to the given UDPMetadata and assigns it to the UdpMetaData field.
func (OutputDataMessage) ToMap ¶
func (o OutputDataMessage) ToMap() (map[string]interface{}, error)
type OutputLogEntry ¶
type OutputLogEntry struct { Time *string `json:"time,omitempty"` Message *string `json:"message,omitempty"` Repeated *int32 `json:"repeated,omitempty"` }
OutputLogEntry Log entries for outputs
func NewOutputLogEntry ¶
func NewOutputLogEntry() *OutputLogEntry
NewOutputLogEntry instantiates a new OutputLogEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputLogEntryWithDefaults ¶
func NewOutputLogEntryWithDefaults() *OutputLogEntry
NewOutputLogEntryWithDefaults instantiates a new OutputLogEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutputLogEntry) GetMessage ¶
func (o *OutputLogEntry) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*OutputLogEntry) GetMessageOk ¶
func (o *OutputLogEntry) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputLogEntry) GetRepeated ¶
func (o *OutputLogEntry) GetRepeated() int32
GetRepeated returns the Repeated field value if set, zero value otherwise.
func (*OutputLogEntry) GetRepeatedOk ¶
func (o *OutputLogEntry) GetRepeatedOk() (*int32, bool)
GetRepeatedOk returns a tuple with the Repeated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputLogEntry) GetTime ¶
func (o *OutputLogEntry) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*OutputLogEntry) GetTimeOk ¶
func (o *OutputLogEntry) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputLogEntry) HasMessage ¶
func (o *OutputLogEntry) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*OutputLogEntry) HasRepeated ¶
func (o *OutputLogEntry) HasRepeated() bool
HasRepeated returns a boolean if a field has been set.
func (*OutputLogEntry) HasTime ¶
func (o *OutputLogEntry) HasTime() bool
HasTime returns a boolean if a field has been set.
func (OutputLogEntry) MarshalJSON ¶
func (o OutputLogEntry) MarshalJSON() ([]byte, error)
func (*OutputLogEntry) SetMessage ¶
func (o *OutputLogEntry) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*OutputLogEntry) SetRepeated ¶
func (o *OutputLogEntry) SetRepeated(v int32)
SetRepeated gets a reference to the given int32 and assigns it to the Repeated field.
func (*OutputLogEntry) SetTime ¶
func (o *OutputLogEntry) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
func (OutputLogEntry) ToMap ¶
func (o OutputLogEntry) ToMap() (map[string]interface{}, error)
type OutputLogResponse ¶
type OutputLogResponse struct {
Logs []OutputLogEntry `json:"logs,omitempty"`
}
OutputLogResponse List logs for output
func NewOutputLogResponse ¶
func NewOutputLogResponse() *OutputLogResponse
NewOutputLogResponse instantiates a new OutputLogResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputLogResponseWithDefaults ¶
func NewOutputLogResponseWithDefaults() *OutputLogResponse
NewOutputLogResponseWithDefaults instantiates a new OutputLogResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutputLogResponse) GetLogs ¶
func (o *OutputLogResponse) GetLogs() []OutputLogEntry
GetLogs returns the Logs field value if set, zero value otherwise.
func (*OutputLogResponse) GetLogsOk ¶
func (o *OutputLogResponse) GetLogsOk() ([]OutputLogEntry, bool)
GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputLogResponse) HasLogs ¶
func (o *OutputLogResponse) HasLogs() bool
HasLogs returns a boolean if a field has been set.
func (OutputLogResponse) MarshalJSON ¶
func (o OutputLogResponse) MarshalJSON() ([]byte, error)
func (*OutputLogResponse) SetLogs ¶
func (o *OutputLogResponse) SetLogs(v []OutputLogEntry)
SetLogs gets a reference to the given []OutputLogEntry and assigns it to the Logs field.
func (OutputLogResponse) ToMap ¶
func (o OutputLogResponse) ToMap() (map[string]interface{}, error)
type OutputMessageType ¶
type OutputMessageType string
OutputMessageType the model 'OutputMessageType'
const ( OUTPUTMESSAGETYPE_UNKNOWN OutputMessageType = "unknown" OUTPUTMESSAGETYPE_KEEPALIVE OutputMessageType = "keepalive" OUTPUTMESSAGETYPE_DATA OutputMessageType = "data" )
List of OutputMessageType
func NewOutputMessageTypeFromValue ¶
func NewOutputMessageTypeFromValue(v string) (*OutputMessageType, error)
NewOutputMessageTypeFromValue returns a pointer to a valid OutputMessageType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (OutputMessageType) IsValid ¶
func (v OutputMessageType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (OutputMessageType) Ptr ¶
func (v OutputMessageType) Ptr() *OutputMessageType
Ptr returns reference to OutputMessageType value
func (*OutputMessageType) UnmarshalJSON ¶
func (v *OutputMessageType) UnmarshalJSON(src []byte) error
type OutputStats ¶
type OutputStats struct { ForwardErrors *int32 `json:"forwardErrors,omitempty"` MessagesForwarded *string `json:"messagesForwarded,omitempty"` BytesForwarded *string `json:"bytesForwarded,omitempty"` }
OutputStats Statistics for a single data router
func NewOutputStats ¶
func NewOutputStats() *OutputStats
NewOutputStats instantiates a new OutputStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputStatsWithDefaults ¶
func NewOutputStatsWithDefaults() *OutputStats
NewOutputStatsWithDefaults instantiates a new OutputStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutputStats) GetBytesForwarded ¶
func (o *OutputStats) GetBytesForwarded() string
GetBytesForwarded returns the BytesForwarded field value if set, zero value otherwise.
func (*OutputStats) GetBytesForwardedOk ¶
func (o *OutputStats) GetBytesForwardedOk() (*string, bool)
GetBytesForwardedOk returns a tuple with the BytesForwarded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStats) GetForwardErrors ¶
func (o *OutputStats) GetForwardErrors() int32
GetForwardErrors returns the ForwardErrors field value if set, zero value otherwise.
func (*OutputStats) GetForwardErrorsOk ¶
func (o *OutputStats) GetForwardErrorsOk() (*int32, bool)
GetForwardErrorsOk returns a tuple with the ForwardErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStats) GetMessagesForwarded ¶
func (o *OutputStats) GetMessagesForwarded() string
GetMessagesForwarded returns the MessagesForwarded field value if set, zero value otherwise.
func (*OutputStats) GetMessagesForwardedOk ¶
func (o *OutputStats) GetMessagesForwardedOk() (*string, bool)
GetMessagesForwardedOk returns a tuple with the MessagesForwarded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStats) HasBytesForwarded ¶
func (o *OutputStats) HasBytesForwarded() bool
HasBytesForwarded returns a boolean if a field has been set.
func (*OutputStats) HasForwardErrors ¶
func (o *OutputStats) HasForwardErrors() bool
HasForwardErrors returns a boolean if a field has been set.
func (*OutputStats) HasMessagesForwarded ¶
func (o *OutputStats) HasMessagesForwarded() bool
HasMessagesForwarded returns a boolean if a field has been set.
func (OutputStats) MarshalJSON ¶
func (o OutputStats) MarshalJSON() ([]byte, error)
func (*OutputStats) SetBytesForwarded ¶
func (o *OutputStats) SetBytesForwarded(v string)
SetBytesForwarded gets a reference to the given string and assigns it to the BytesForwarded field.
func (*OutputStats) SetForwardErrors ¶
func (o *OutputStats) SetForwardErrors(v int32)
SetForwardErrors gets a reference to the given int32 and assigns it to the ForwardErrors field.
func (*OutputStats) SetMessagesForwarded ¶
func (o *OutputStats) SetMessagesForwarded(v string)
SetMessagesForwarded gets a reference to the given string and assigns it to the MessagesForwarded field.
func (OutputStats) ToMap ¶
func (o OutputStats) ToMap() (map[string]interface{}, error)
type OutputStatusResponse ¶
type OutputStatusResponse struct { CollectionId *string `json:"collectionId,omitempty"` OutputId *string `json:"outputId,omitempty"` Enabled *bool `json:"enabled,omitempty"` ErrorCount *int32 `json:"errorCount,omitempty"` Forwarded *int32 `json:"forwarded,omitempty"` Received *int32 `json:"received,omitempty"` Retransmits *int32 `json:"retransmits,omitempty"` }
OutputStatusResponse Show status of output
func NewOutputStatusResponse ¶
func NewOutputStatusResponse() *OutputStatusResponse
NewOutputStatusResponse instantiates a new OutputStatusResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputStatusResponseWithDefaults ¶
func NewOutputStatusResponseWithDefaults() *OutputStatusResponse
NewOutputStatusResponseWithDefaults instantiates a new OutputStatusResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutputStatusResponse) GetCollectionId ¶
func (o *OutputStatusResponse) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*OutputStatusResponse) GetCollectionIdOk ¶
func (o *OutputStatusResponse) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStatusResponse) GetEnabled ¶
func (o *OutputStatusResponse) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*OutputStatusResponse) GetEnabledOk ¶
func (o *OutputStatusResponse) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStatusResponse) GetErrorCount ¶
func (o *OutputStatusResponse) GetErrorCount() int32
GetErrorCount returns the ErrorCount field value if set, zero value otherwise.
func (*OutputStatusResponse) GetErrorCountOk ¶
func (o *OutputStatusResponse) GetErrorCountOk() (*int32, bool)
GetErrorCountOk returns a tuple with the ErrorCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStatusResponse) GetForwarded ¶
func (o *OutputStatusResponse) GetForwarded() int32
GetForwarded returns the Forwarded field value if set, zero value otherwise.
func (*OutputStatusResponse) GetForwardedOk ¶
func (o *OutputStatusResponse) GetForwardedOk() (*int32, bool)
GetForwardedOk returns a tuple with the Forwarded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStatusResponse) GetOutputId ¶
func (o *OutputStatusResponse) GetOutputId() string
GetOutputId returns the OutputId field value if set, zero value otherwise.
func (*OutputStatusResponse) GetOutputIdOk ¶
func (o *OutputStatusResponse) GetOutputIdOk() (*string, bool)
GetOutputIdOk returns a tuple with the OutputId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStatusResponse) GetReceived ¶
func (o *OutputStatusResponse) GetReceived() int32
GetReceived returns the Received field value if set, zero value otherwise.
func (*OutputStatusResponse) GetReceivedOk ¶
func (o *OutputStatusResponse) GetReceivedOk() (*int32, bool)
GetReceivedOk returns a tuple with the Received field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStatusResponse) GetRetransmits ¶
func (o *OutputStatusResponse) GetRetransmits() int32
GetRetransmits returns the Retransmits field value if set, zero value otherwise.
func (*OutputStatusResponse) GetRetransmitsOk ¶
func (o *OutputStatusResponse) GetRetransmitsOk() (*int32, bool)
GetRetransmitsOk returns a tuple with the Retransmits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutputStatusResponse) HasCollectionId ¶
func (o *OutputStatusResponse) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*OutputStatusResponse) HasEnabled ¶
func (o *OutputStatusResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*OutputStatusResponse) HasErrorCount ¶
func (o *OutputStatusResponse) HasErrorCount() bool
HasErrorCount returns a boolean if a field has been set.
func (*OutputStatusResponse) HasForwarded ¶
func (o *OutputStatusResponse) HasForwarded() bool
HasForwarded returns a boolean if a field has been set.
func (*OutputStatusResponse) HasOutputId ¶
func (o *OutputStatusResponse) HasOutputId() bool
HasOutputId returns a boolean if a field has been set.
func (*OutputStatusResponse) HasReceived ¶
func (o *OutputStatusResponse) HasReceived() bool
HasReceived returns a boolean if a field has been set.
func (*OutputStatusResponse) HasRetransmits ¶
func (o *OutputStatusResponse) HasRetransmits() bool
HasRetransmits returns a boolean if a field has been set.
func (OutputStatusResponse) MarshalJSON ¶
func (o OutputStatusResponse) MarshalJSON() ([]byte, error)
func (*OutputStatusResponse) SetCollectionId ¶
func (o *OutputStatusResponse) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*OutputStatusResponse) SetEnabled ¶
func (o *OutputStatusResponse) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*OutputStatusResponse) SetErrorCount ¶
func (o *OutputStatusResponse) SetErrorCount(v int32)
SetErrorCount gets a reference to the given int32 and assigns it to the ErrorCount field.
func (*OutputStatusResponse) SetForwarded ¶
func (o *OutputStatusResponse) SetForwarded(v int32)
SetForwarded gets a reference to the given int32 and assigns it to the Forwarded field.
func (*OutputStatusResponse) SetOutputId ¶
func (o *OutputStatusResponse) SetOutputId(v string)
SetOutputId gets a reference to the given string and assigns it to the OutputId field.
func (*OutputStatusResponse) SetReceived ¶
func (o *OutputStatusResponse) SetReceived(v int32)
SetReceived gets a reference to the given int32 and assigns it to the Received field.
func (*OutputStatusResponse) SetRetransmits ¶
func (o *OutputStatusResponse) SetRetransmits(v int32)
SetRetransmits gets a reference to the given int32 and assigns it to the Retransmits field.
func (OutputStatusResponse) ToMap ¶
func (o OutputStatusResponse) ToMap() (map[string]interface{}, error)
type OutputType ¶
type OutputType string
OutputType Output types available - undefined: The undefined output type is an invalid type
const ( OUTPUTTYPE_UNDEFINED OutputType = "undefined" OUTPUTTYPE_WEBHOOK OutputType = "webhook" OUTPUTTYPE_UDPOUT OutputType = "udpout" OUTPUTTYPE_MQTTCLIENT OutputType = "mqttclient" OUTPUTTYPE_IFTTT OutputType = "ifttt" OUTPUTTYPE_MQTTBROKER OutputType = "mqttbroker" )
List of OutputType
func NewOutputTypeFromValue ¶
func NewOutputTypeFromValue(v string) (*OutputType, error)
NewOutputTypeFromValue returns a pointer to a valid OutputType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (OutputType) IsValid ¶
func (v OutputType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (OutputType) Ptr ¶
func (v OutputType) Ptr() *OutputType
Ptr returns reference to OutputType value
func (*OutputType) UnmarshalJSON ¶
func (v *OutputType) UnmarshalJSON(src []byte) error
type OutputsApiService ¶
type OutputsApiService service
OutputsApiService OutputsApi service
func (*OutputsApiService) CreateOutput ¶
func (a *OutputsApiService) CreateOutput(ctx context.Context, collectionId string) ApiCreateOutputRequest
CreateOutput Create output
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiCreateOutputRequest
func (*OutputsApiService) CreateOutputExecute ¶
func (a *OutputsApiService) CreateOutputExecute(r ApiCreateOutputRequest) (*Output, *http.Response, error)
Execute executes the request
@return Output
func (*OutputsApiService) DeleteOutput ¶
func (a *OutputsApiService) DeleteOutput(ctx context.Context, collectionId string, outputId string) ApiDeleteOutputRequest
DeleteOutput Delete output
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param outputId @return ApiDeleteOutputRequest
func (*OutputsApiService) DeleteOutputExecute ¶
func (a *OutputsApiService) DeleteOutputExecute(r ApiDeleteOutputRequest) (*Output, *http.Response, error)
Execute executes the request
@return Output
func (*OutputsApiService) ListOutputs ¶
func (a *OutputsApiService) ListOutputs(ctx context.Context, collectionId string) ApiListOutputsRequest
ListOutputs List outputs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiListOutputsRequest
func (*OutputsApiService) ListOutputsExecute ¶
func (a *OutputsApiService) ListOutputsExecute(r ApiListOutputsRequest) (*ListOutputResponse, *http.Response, error)
Execute executes the request
@return ListOutputResponse
func (*OutputsApiService) Logs ¶
func (a *OutputsApiService) Logs(ctx context.Context, collectionId string, outputId string) ApiLogsRequest
Logs Output logs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param outputId @return ApiLogsRequest
func (*OutputsApiService) LogsExecute ¶
func (a *OutputsApiService) LogsExecute(r ApiLogsRequest) (*OutputLogResponse, *http.Response, error)
Execute executes the request
@return OutputLogResponse
func (*OutputsApiService) RetrieveOutput ¶
func (a *OutputsApiService) RetrieveOutput(ctx context.Context, collectionId string, outputId string) ApiRetrieveOutputRequest
RetrieveOutput Retrieve output
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param outputId @return ApiRetrieveOutputRequest
func (*OutputsApiService) RetrieveOutputExecute ¶
func (a *OutputsApiService) RetrieveOutputExecute(r ApiRetrieveOutputRequest) (*Output, *http.Response, error)
Execute executes the request
@return Output
func (*OutputsApiService) RetrieveOutputStats ¶
func (a *OutputsApiService) RetrieveOutputStats(ctx context.Context, collectionId string, outputId string) ApiRetrieveOutputStatsRequest
RetrieveOutputStats Retrieve output statistics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param outputId @return ApiRetrieveOutputStatsRequest
func (*OutputsApiService) RetrieveOutputStatsExecute ¶
func (a *OutputsApiService) RetrieveOutputStatsExecute(r ApiRetrieveOutputStatsRequest) (*OutputStats, *http.Response, error)
Execute executes the request
@return OutputStats
func (*OutputsApiService) Status ¶
func (a *OutputsApiService) Status(ctx context.Context, collectionId string, outputId string) ApiStatusRequest
Status Output status
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @param outputId @return ApiStatusRequest
func (*OutputsApiService) StatusExecute ¶
func (a *OutputsApiService) StatusExecute(r ApiStatusRequest) (*OutputStatusResponse, *http.Response, error)
Execute executes the request
@return OutputStatusResponse
func (*OutputsApiService) UpdateOutput ¶
func (a *OutputsApiService) UpdateOutput(ctx context.Context, existingCollectionId string, outputId string) ApiUpdateOutputRequest
UpdateOutput Update output
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param existingCollectionId @param outputId @return ApiUpdateOutputRequest
func (*OutputsApiService) UpdateOutputExecute ¶
func (a *OutputsApiService) UpdateOutputExecute(r ApiUpdateOutputRequest) (*Output, *http.Response, error)
Execute executes the request
@return Output
type RetrieveBlobResponse ¶
type RetrieveBlobResponse struct { ContentType *string `json:"contentType,omitempty"` Size *int32 `json:"size,omitempty"` Data *string `json:"data,omitempty"` }
RetrieveBlobResponse This is not available throught the API, just as a regular HTTP response
func NewRetrieveBlobResponse ¶
func NewRetrieveBlobResponse() *RetrieveBlobResponse
NewRetrieveBlobResponse instantiates a new RetrieveBlobResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRetrieveBlobResponseWithDefaults ¶
func NewRetrieveBlobResponseWithDefaults() *RetrieveBlobResponse
NewRetrieveBlobResponseWithDefaults instantiates a new RetrieveBlobResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RetrieveBlobResponse) GetContentType ¶
func (o *RetrieveBlobResponse) GetContentType() string
GetContentType returns the ContentType field value if set, zero value otherwise.
func (*RetrieveBlobResponse) GetContentTypeOk ¶
func (o *RetrieveBlobResponse) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveBlobResponse) GetData ¶
func (o *RetrieveBlobResponse) GetData() string
GetData returns the Data field value if set, zero value otherwise.
func (*RetrieveBlobResponse) GetDataOk ¶
func (o *RetrieveBlobResponse) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveBlobResponse) GetSize ¶
func (o *RetrieveBlobResponse) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*RetrieveBlobResponse) GetSizeOk ¶
func (o *RetrieveBlobResponse) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveBlobResponse) HasContentType ¶
func (o *RetrieveBlobResponse) HasContentType() bool
HasContentType returns a boolean if a field has been set.
func (*RetrieveBlobResponse) HasData ¶
func (o *RetrieveBlobResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*RetrieveBlobResponse) HasSize ¶
func (o *RetrieveBlobResponse) HasSize() bool
HasSize returns a boolean if a field has been set.
func (RetrieveBlobResponse) MarshalJSON ¶
func (o RetrieveBlobResponse) MarshalJSON() ([]byte, error)
func (*RetrieveBlobResponse) SetContentType ¶
func (o *RetrieveBlobResponse) SetContentType(v string)
SetContentType gets a reference to the given string and assigns it to the ContentType field.
func (*RetrieveBlobResponse) SetData ¶
func (o *RetrieveBlobResponse) SetData(v string)
SetData gets a reference to the given string and assigns it to the Data field.
func (*RetrieveBlobResponse) SetSize ¶
func (o *RetrieveBlobResponse) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (RetrieveBlobResponse) ToMap ¶
func (o RetrieveBlobResponse) ToMap() (map[string]interface{}, error)
type RpcStatus ¶
type RpcStatus struct { Code *int32 `json:"code,omitempty"` Message *string `json:"message,omitempty"` Details []Any `json:"details,omitempty"` }
RpcStatus struct for RpcStatus
func NewRpcStatus ¶
func NewRpcStatus() *RpcStatus
NewRpcStatus instantiates a new RpcStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRpcStatusWithDefaults ¶
func NewRpcStatusWithDefaults() *RpcStatus
NewRpcStatusWithDefaults instantiates a new RpcStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RpcStatus) 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 ¶
GetDetails returns the Details field value if set, zero value otherwise.
func (*RpcStatus) GetDetailsOk ¶
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 ¶
SetDetails gets a reference to the given []Any 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 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 SignCertificateBody ¶
type SignCertificateBody struct { GatewayId *string `json:"gatewayId,omitempty"` DeviceId *string `json:"deviceId,omitempty"` Csr *string `json:"csr,omitempty"` }
SignCertificateBody Request certificate signing
func NewSignCertificateBody ¶
func NewSignCertificateBody() *SignCertificateBody
NewSignCertificateBody instantiates a new SignCertificateBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignCertificateBodyWithDefaults ¶
func NewSignCertificateBodyWithDefaults() *SignCertificateBody
NewSignCertificateBodyWithDefaults instantiates a new SignCertificateBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignCertificateBody) GetCsr ¶
func (o *SignCertificateBody) GetCsr() string
GetCsr returns the Csr field value if set, zero value otherwise.
func (*SignCertificateBody) GetCsrOk ¶
func (o *SignCertificateBody) GetCsrOk() (*string, bool)
GetCsrOk returns a tuple with the Csr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignCertificateBody) GetDeviceId ¶
func (o *SignCertificateBody) GetDeviceId() string
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*SignCertificateBody) GetDeviceIdOk ¶
func (o *SignCertificateBody) GetDeviceIdOk() (*string, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignCertificateBody) GetGatewayId ¶
func (o *SignCertificateBody) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*SignCertificateBody) GetGatewayIdOk ¶
func (o *SignCertificateBody) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignCertificateBody) HasCsr ¶
func (o *SignCertificateBody) HasCsr() bool
HasCsr returns a boolean if a field has been set.
func (*SignCertificateBody) HasDeviceId ¶
func (o *SignCertificateBody) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*SignCertificateBody) HasGatewayId ¶
func (o *SignCertificateBody) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (SignCertificateBody) MarshalJSON ¶
func (o SignCertificateBody) MarshalJSON() ([]byte, error)
func (*SignCertificateBody) SetCsr ¶
func (o *SignCertificateBody) SetCsr(v string)
SetCsr gets a reference to the given string and assigns it to the Csr field.
func (*SignCertificateBody) SetDeviceId ¶
func (o *SignCertificateBody) SetDeviceId(v string)
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*SignCertificateBody) SetGatewayId ¶
func (o *SignCertificateBody) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (SignCertificateBody) ToMap ¶
func (o SignCertificateBody) ToMap() (map[string]interface{}, error)
type SignCertificateResponse ¶
type SignCertificateResponse struct { Certificate *string `json:"certificate,omitempty"` Chain *string `json:"chain,omitempty"` }
SignCertificateResponse Response when signing a certificate
func NewSignCertificateResponse ¶
func NewSignCertificateResponse() *SignCertificateResponse
NewSignCertificateResponse instantiates a new SignCertificateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignCertificateResponseWithDefaults ¶
func NewSignCertificateResponseWithDefaults() *SignCertificateResponse
NewSignCertificateResponseWithDefaults instantiates a new SignCertificateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignCertificateResponse) GetCertificate ¶
func (o *SignCertificateResponse) GetCertificate() string
GetCertificate returns the Certificate field value if set, zero value otherwise.
func (*SignCertificateResponse) GetCertificateOk ¶
func (o *SignCertificateResponse) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignCertificateResponse) GetChain ¶
func (o *SignCertificateResponse) GetChain() string
GetChain returns the Chain field value if set, zero value otherwise.
func (*SignCertificateResponse) GetChainOk ¶
func (o *SignCertificateResponse) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignCertificateResponse) HasCertificate ¶
func (o *SignCertificateResponse) HasCertificate() bool
HasCertificate returns a boolean if a field has been set.
func (*SignCertificateResponse) HasChain ¶
func (o *SignCertificateResponse) HasChain() bool
HasChain returns a boolean if a field has been set.
func (SignCertificateResponse) MarshalJSON ¶
func (o SignCertificateResponse) MarshalJSON() ([]byte, error)
func (*SignCertificateResponse) SetCertificate ¶
func (o *SignCertificateResponse) SetCertificate(v string)
SetCertificate gets a reference to the given string and assigns it to the Certificate field.
func (*SignCertificateResponse) SetChain ¶
func (o *SignCertificateResponse) SetChain(v string)
SetChain gets a reference to the given string and assigns it to the Chain field.
func (SignCertificateResponse) ToMap ¶
func (o SignCertificateResponse) ToMap() (map[string]interface{}, error)
type SpanApiService ¶
type SpanApiService service
SpanApiService SpanApi service
func (*SpanApiService) GetSystemInfo ¶
func (a *SpanApiService) GetSystemInfo(ctx context.Context) ApiGetSystemInfoRequest
GetSystemInfo System information
Get system information. This will show the current version of the API that you are using.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSystemInfoRequest
func (*SpanApiService) GetSystemInfoExecute ¶
func (a *SpanApiService) GetSystemInfoExecute(r ApiGetSystemInfoRequest) (*SystemInfoResponse, *http.Response, error)
Execute executes the request
@return SystemInfoResponse
type SystemInfoResponse ¶
type SystemInfoResponse struct { // This is the system version Version *string `json:"version,omitempty"` // The build time for this version. BuildDate *string `json:"buildDate,omitempty"` // Human-readable code name for this release. This can be easier to remember than the version number. ReleaseName *string `json:"releaseName,omitempty"` }
SystemInfoResponse Response object for system information. This contains system-level information.
func NewSystemInfoResponse ¶
func NewSystemInfoResponse() *SystemInfoResponse
NewSystemInfoResponse instantiates a new SystemInfoResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSystemInfoResponseWithDefaults ¶
func NewSystemInfoResponseWithDefaults() *SystemInfoResponse
NewSystemInfoResponseWithDefaults instantiates a new SystemInfoResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SystemInfoResponse) GetBuildDate ¶
func (o *SystemInfoResponse) GetBuildDate() string
GetBuildDate returns the BuildDate field value if set, zero value otherwise.
func (*SystemInfoResponse) GetBuildDateOk ¶
func (o *SystemInfoResponse) GetBuildDateOk() (*string, bool)
GetBuildDateOk returns a tuple with the BuildDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfoResponse) GetReleaseName ¶
func (o *SystemInfoResponse) GetReleaseName() string
GetReleaseName returns the ReleaseName field value if set, zero value otherwise.
func (*SystemInfoResponse) GetReleaseNameOk ¶
func (o *SystemInfoResponse) GetReleaseNameOk() (*string, bool)
GetReleaseNameOk returns a tuple with the ReleaseName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfoResponse) GetVersion ¶
func (o *SystemInfoResponse) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*SystemInfoResponse) GetVersionOk ¶
func (o *SystemInfoResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfoResponse) HasBuildDate ¶
func (o *SystemInfoResponse) HasBuildDate() bool
HasBuildDate returns a boolean if a field has been set.
func (*SystemInfoResponse) HasReleaseName ¶
func (o *SystemInfoResponse) HasReleaseName() bool
HasReleaseName returns a boolean if a field has been set.
func (*SystemInfoResponse) HasVersion ¶
func (o *SystemInfoResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SystemInfoResponse) MarshalJSON ¶
func (o SystemInfoResponse) MarshalJSON() ([]byte, error)
func (*SystemInfoResponse) SetBuildDate ¶
func (o *SystemInfoResponse) SetBuildDate(v string)
SetBuildDate gets a reference to the given string and assigns it to the BuildDate field.
func (*SystemInfoResponse) SetReleaseName ¶
func (o *SystemInfoResponse) SetReleaseName(v string)
SetReleaseName gets a reference to the given string and assigns it to the ReleaseName field.
func (*SystemInfoResponse) SetVersion ¶
func (o *SystemInfoResponse) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (SystemInfoResponse) ToMap ¶
func (o SystemInfoResponse) ToMap() (map[string]interface{}, error)
type UDPMetadata ¶
type UDPMetadata struct { LocalPort *int32 `json:"localPort,omitempty"` RemotePort *int32 `json:"remotePort,omitempty"` }
UDPMetadata UDP metadata for messages receveied through one of the UDP endpoints
func NewUDPMetadata ¶
func NewUDPMetadata() *UDPMetadata
NewUDPMetadata instantiates a new UDPMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUDPMetadataWithDefaults ¶
func NewUDPMetadataWithDefaults() *UDPMetadata
NewUDPMetadataWithDefaults instantiates a new UDPMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UDPMetadata) GetLocalPort ¶
func (o *UDPMetadata) GetLocalPort() int32
GetLocalPort returns the LocalPort field value if set, zero value otherwise.
func (*UDPMetadata) GetLocalPortOk ¶
func (o *UDPMetadata) GetLocalPortOk() (*int32, bool)
GetLocalPortOk returns a tuple with the LocalPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UDPMetadata) GetRemotePort ¶
func (o *UDPMetadata) GetRemotePort() int32
GetRemotePort returns the RemotePort field value if set, zero value otherwise.
func (*UDPMetadata) GetRemotePortOk ¶
func (o *UDPMetadata) GetRemotePortOk() (*int32, bool)
GetRemotePortOk returns a tuple with the RemotePort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UDPMetadata) HasLocalPort ¶
func (o *UDPMetadata) HasLocalPort() bool
HasLocalPort returns a boolean if a field has been set.
func (*UDPMetadata) HasRemotePort ¶
func (o *UDPMetadata) HasRemotePort() bool
HasRemotePort returns a boolean if a field has been set.
func (UDPMetadata) MarshalJSON ¶
func (o UDPMetadata) MarshalJSON() ([]byte, error)
func (*UDPMetadata) SetLocalPort ¶
func (o *UDPMetadata) SetLocalPort(v int32)
SetLocalPort gets a reference to the given int32 and assigns it to the LocalPort field.
func (*UDPMetadata) SetRemotePort ¶
func (o *UDPMetadata) SetRemotePort(v int32)
SetRemotePort gets a reference to the given int32 and assigns it to the RemotePort field.
func (UDPMetadata) ToMap ¶
func (o UDPMetadata) ToMap() (map[string]interface{}, error)
type UpdateCollectionBody ¶
type UpdateCollectionBody struct { // The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID. TeamId *string `json:"teamId,omitempty"` Firmware *CollectionFirmware `json:"firmware,omitempty"` // Tags for the collection. Tags are metadata fields that you can assign to the collection. Tags *map[string]string `json:"tags,omitempty"` // Enabled flag for the collection. A collection may be disabled or enabled to save time. Enabled *bool `json:"enabled,omitempty"` }
UpdateCollectionBody Request object when updating a collection
func NewUpdateCollectionBody ¶
func NewUpdateCollectionBody() *UpdateCollectionBody
NewUpdateCollectionBody instantiates a new UpdateCollectionBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateCollectionBodyWithDefaults ¶
func NewUpdateCollectionBodyWithDefaults() *UpdateCollectionBody
NewUpdateCollectionBodyWithDefaults instantiates a new UpdateCollectionBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateCollectionBody) GetEnabled ¶
func (o *UpdateCollectionBody) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UpdateCollectionBody) GetEnabledOk ¶
func (o *UpdateCollectionBody) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCollectionBody) GetFirmware ¶
func (o *UpdateCollectionBody) GetFirmware() CollectionFirmware
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*UpdateCollectionBody) GetFirmwareOk ¶
func (o *UpdateCollectionBody) GetFirmwareOk() (*CollectionFirmware, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCollectionBody) GetTags ¶
func (o *UpdateCollectionBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*UpdateCollectionBody) GetTagsOk ¶
func (o *UpdateCollectionBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCollectionBody) GetTeamId ¶
func (o *UpdateCollectionBody) GetTeamId() string
GetTeamId returns the TeamId field value if set, zero value otherwise.
func (*UpdateCollectionBody) GetTeamIdOk ¶
func (o *UpdateCollectionBody) GetTeamIdOk() (*string, bool)
GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCollectionBody) HasEnabled ¶
func (o *UpdateCollectionBody) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UpdateCollectionBody) HasFirmware ¶
func (o *UpdateCollectionBody) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (*UpdateCollectionBody) HasTags ¶
func (o *UpdateCollectionBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*UpdateCollectionBody) HasTeamId ¶
func (o *UpdateCollectionBody) HasTeamId() bool
HasTeamId returns a boolean if a field has been set.
func (UpdateCollectionBody) MarshalJSON ¶
func (o UpdateCollectionBody) MarshalJSON() ([]byte, error)
func (*UpdateCollectionBody) SetEnabled ¶
func (o *UpdateCollectionBody) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UpdateCollectionBody) SetFirmware ¶
func (o *UpdateCollectionBody) SetFirmware(v CollectionFirmware)
SetFirmware gets a reference to the given CollectionFirmware and assigns it to the Firmware field.
func (*UpdateCollectionBody) SetTags ¶
func (o *UpdateCollectionBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*UpdateCollectionBody) SetTeamId ¶
func (o *UpdateCollectionBody) SetTeamId(v string)
SetTeamId gets a reference to the given string and assigns it to the TeamId field.
func (UpdateCollectionBody) ToMap ¶
func (o UpdateCollectionBody) ToMap() (map[string]interface{}, error)
type UpdateDeviceBody ¶
type UpdateDeviceBody struct { // The collection id for the device. This field is optional and can be omitted if the collection id isn't changed. When changing to a new collection you must be an owner of the other collection, ie an administrator of the team that owns the new collection. CollectionId *string `json:"collectionId,omitempty"` // Tags are metadata for the device that you can set. These are just strings. Tags *map[string]string `json:"tags,omitempty"` Firmware *FirmwareMetadata `json:"firmware,omitempty"` Config *DeviceConfig `json:"config,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
UpdateDeviceBody Updating the device
func NewUpdateDeviceBody ¶
func NewUpdateDeviceBody() *UpdateDeviceBody
NewUpdateDeviceBody instantiates a new UpdateDeviceBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDeviceBodyWithDefaults ¶
func NewUpdateDeviceBodyWithDefaults() *UpdateDeviceBody
NewUpdateDeviceBodyWithDefaults instantiates a new UpdateDeviceBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDeviceBody) GetCollectionId ¶
func (o *UpdateDeviceBody) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*UpdateDeviceBody) GetCollectionIdOk ¶
func (o *UpdateDeviceBody) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDeviceBody) GetConfig ¶
func (o *UpdateDeviceBody) GetConfig() DeviceConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*UpdateDeviceBody) GetConfigOk ¶
func (o *UpdateDeviceBody) GetConfigOk() (*DeviceConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDeviceBody) GetEnabled ¶
func (o *UpdateDeviceBody) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UpdateDeviceBody) GetEnabledOk ¶
func (o *UpdateDeviceBody) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDeviceBody) GetFirmware ¶
func (o *UpdateDeviceBody) GetFirmware() FirmwareMetadata
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*UpdateDeviceBody) GetFirmwareOk ¶
func (o *UpdateDeviceBody) GetFirmwareOk() (*FirmwareMetadata, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDeviceBody) GetTags ¶
func (o *UpdateDeviceBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*UpdateDeviceBody) GetTagsOk ¶
func (o *UpdateDeviceBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDeviceBody) HasCollectionId ¶
func (o *UpdateDeviceBody) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*UpdateDeviceBody) HasConfig ¶
func (o *UpdateDeviceBody) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*UpdateDeviceBody) HasEnabled ¶
func (o *UpdateDeviceBody) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UpdateDeviceBody) HasFirmware ¶
func (o *UpdateDeviceBody) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (*UpdateDeviceBody) HasTags ¶
func (o *UpdateDeviceBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (UpdateDeviceBody) MarshalJSON ¶
func (o UpdateDeviceBody) MarshalJSON() ([]byte, error)
func (*UpdateDeviceBody) SetCollectionId ¶
func (o *UpdateDeviceBody) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*UpdateDeviceBody) SetConfig ¶
func (o *UpdateDeviceBody) SetConfig(v DeviceConfig)
SetConfig gets a reference to the given DeviceConfig and assigns it to the Config field.
func (*UpdateDeviceBody) SetEnabled ¶
func (o *UpdateDeviceBody) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UpdateDeviceBody) SetFirmware ¶
func (o *UpdateDeviceBody) SetFirmware(v FirmwareMetadata)
SetFirmware gets a reference to the given FirmwareMetadata and assigns it to the Firmware field.
func (*UpdateDeviceBody) SetTags ¶
func (o *UpdateDeviceBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (UpdateDeviceBody) ToMap ¶
func (o UpdateDeviceBody) ToMap() (map[string]interface{}, error)
type UpdateFirmwareBody ¶
type UpdateFirmwareBody struct { CollectionId *string `json:"collectionId,omitempty"` Version *string `json:"version,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
UpdateFirmwareBody This is the request object when updating the firmware image
func NewUpdateFirmwareBody ¶
func NewUpdateFirmwareBody() *UpdateFirmwareBody
NewUpdateFirmwareBody instantiates a new UpdateFirmwareBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateFirmwareBodyWithDefaults ¶
func NewUpdateFirmwareBodyWithDefaults() *UpdateFirmwareBody
NewUpdateFirmwareBodyWithDefaults instantiates a new UpdateFirmwareBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateFirmwareBody) GetCollectionId ¶
func (o *UpdateFirmwareBody) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*UpdateFirmwareBody) GetCollectionIdOk ¶
func (o *UpdateFirmwareBody) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFirmwareBody) GetEnabled ¶
func (o *UpdateFirmwareBody) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UpdateFirmwareBody) GetEnabledOk ¶
func (o *UpdateFirmwareBody) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFirmwareBody) GetTags ¶
func (o *UpdateFirmwareBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*UpdateFirmwareBody) GetTagsOk ¶
func (o *UpdateFirmwareBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFirmwareBody) GetVersion ¶
func (o *UpdateFirmwareBody) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*UpdateFirmwareBody) GetVersionOk ¶
func (o *UpdateFirmwareBody) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFirmwareBody) HasCollectionId ¶
func (o *UpdateFirmwareBody) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*UpdateFirmwareBody) HasEnabled ¶
func (o *UpdateFirmwareBody) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UpdateFirmwareBody) HasTags ¶
func (o *UpdateFirmwareBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*UpdateFirmwareBody) HasVersion ¶
func (o *UpdateFirmwareBody) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (UpdateFirmwareBody) MarshalJSON ¶
func (o UpdateFirmwareBody) MarshalJSON() ([]byte, error)
func (*UpdateFirmwareBody) SetCollectionId ¶
func (o *UpdateFirmwareBody) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*UpdateFirmwareBody) SetEnabled ¶
func (o *UpdateFirmwareBody) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UpdateFirmwareBody) SetTags ¶
func (o *UpdateFirmwareBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*UpdateFirmwareBody) SetVersion ¶
func (o *UpdateFirmwareBody) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (UpdateFirmwareBody) ToMap ¶
func (o UpdateFirmwareBody) ToMap() (map[string]interface{}, error)
type UpdateGatewayBody ¶
type UpdateGatewayBody struct { Name *string `json:"name,omitempty"` CollectionId *string `json:"collectionId,omitempty"` Type *GatewayType `json:"type,omitempty"` Config *GatewayConfig `json:"config,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
UpdateGatewayBody struct for UpdateGatewayBody
func NewUpdateGatewayBody ¶
func NewUpdateGatewayBody() *UpdateGatewayBody
NewUpdateGatewayBody instantiates a new UpdateGatewayBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateGatewayBodyWithDefaults ¶
func NewUpdateGatewayBodyWithDefaults() *UpdateGatewayBody
NewUpdateGatewayBodyWithDefaults instantiates a new UpdateGatewayBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateGatewayBody) GetCollectionId ¶
func (o *UpdateGatewayBody) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*UpdateGatewayBody) GetCollectionIdOk ¶
func (o *UpdateGatewayBody) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayBody) GetConfig ¶
func (o *UpdateGatewayBody) GetConfig() GatewayConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*UpdateGatewayBody) GetConfigOk ¶
func (o *UpdateGatewayBody) GetConfigOk() (*GatewayConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayBody) GetEnabled ¶
func (o *UpdateGatewayBody) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UpdateGatewayBody) GetEnabledOk ¶
func (o *UpdateGatewayBody) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayBody) GetName ¶
func (o *UpdateGatewayBody) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateGatewayBody) GetNameOk ¶
func (o *UpdateGatewayBody) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayBody) GetTags ¶
func (o *UpdateGatewayBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*UpdateGatewayBody) GetTagsOk ¶
func (o *UpdateGatewayBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayBody) GetType ¶
func (o *UpdateGatewayBody) GetType() GatewayType
GetType returns the Type field value if set, zero value otherwise.
func (*UpdateGatewayBody) GetTypeOk ¶
func (o *UpdateGatewayBody) GetTypeOk() (*GatewayType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayBody) HasCollectionId ¶
func (o *UpdateGatewayBody) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*UpdateGatewayBody) HasConfig ¶
func (o *UpdateGatewayBody) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*UpdateGatewayBody) HasEnabled ¶
func (o *UpdateGatewayBody) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UpdateGatewayBody) HasName ¶
func (o *UpdateGatewayBody) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateGatewayBody) HasTags ¶
func (o *UpdateGatewayBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*UpdateGatewayBody) HasType ¶
func (o *UpdateGatewayBody) HasType() bool
HasType returns a boolean if a field has been set.
func (UpdateGatewayBody) MarshalJSON ¶
func (o UpdateGatewayBody) MarshalJSON() ([]byte, error)
func (*UpdateGatewayBody) SetCollectionId ¶
func (o *UpdateGatewayBody) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*UpdateGatewayBody) SetConfig ¶
func (o *UpdateGatewayBody) SetConfig(v GatewayConfig)
SetConfig gets a reference to the given GatewayConfig and assigns it to the Config field.
func (*UpdateGatewayBody) SetEnabled ¶
func (o *UpdateGatewayBody) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UpdateGatewayBody) SetName ¶
func (o *UpdateGatewayBody) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateGatewayBody) SetTags ¶
func (o *UpdateGatewayBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*UpdateGatewayBody) SetType ¶
func (o *UpdateGatewayBody) SetType(v GatewayType)
SetType gets a reference to the given GatewayType and assigns it to the Type field.
func (UpdateGatewayBody) ToMap ¶
func (o UpdateGatewayBody) ToMap() (map[string]interface{}, error)
type UpdateOutputBody ¶
type UpdateOutputBody struct { CollectionId *string `json:"collectionId,omitempty"` Type *OutputType `json:"type,omitempty"` Config *OutputConfig `json:"config,omitempty"` Enabled *bool `json:"enabled,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
UpdateOutputBody Request type to update outputs
func NewUpdateOutputBody ¶
func NewUpdateOutputBody() *UpdateOutputBody
NewUpdateOutputBody instantiates a new UpdateOutputBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateOutputBodyWithDefaults ¶
func NewUpdateOutputBodyWithDefaults() *UpdateOutputBody
NewUpdateOutputBodyWithDefaults instantiates a new UpdateOutputBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateOutputBody) GetCollectionId ¶
func (o *UpdateOutputBody) GetCollectionId() string
GetCollectionId returns the CollectionId field value if set, zero value otherwise.
func (*UpdateOutputBody) GetCollectionIdOk ¶
func (o *UpdateOutputBody) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOutputBody) GetConfig ¶
func (o *UpdateOutputBody) GetConfig() OutputConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*UpdateOutputBody) GetConfigOk ¶
func (o *UpdateOutputBody) GetConfigOk() (*OutputConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOutputBody) GetEnabled ¶
func (o *UpdateOutputBody) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UpdateOutputBody) GetEnabledOk ¶
func (o *UpdateOutputBody) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOutputBody) GetTags ¶
func (o *UpdateOutputBody) GetTags() map[string]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*UpdateOutputBody) GetTagsOk ¶
func (o *UpdateOutputBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOutputBody) GetType ¶
func (o *UpdateOutputBody) GetType() OutputType
GetType returns the Type field value if set, zero value otherwise.
func (*UpdateOutputBody) GetTypeOk ¶
func (o *UpdateOutputBody) GetTypeOk() (*OutputType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOutputBody) HasCollectionId ¶
func (o *UpdateOutputBody) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (*UpdateOutputBody) HasConfig ¶
func (o *UpdateOutputBody) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*UpdateOutputBody) HasEnabled ¶
func (o *UpdateOutputBody) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UpdateOutputBody) HasTags ¶
func (o *UpdateOutputBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*UpdateOutputBody) HasType ¶
func (o *UpdateOutputBody) HasType() bool
HasType returns a boolean if a field has been set.
func (UpdateOutputBody) MarshalJSON ¶
func (o UpdateOutputBody) MarshalJSON() ([]byte, error)
func (*UpdateOutputBody) SetCollectionId ¶
func (o *UpdateOutputBody) SetCollectionId(v string)
SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.
func (*UpdateOutputBody) SetConfig ¶
func (o *UpdateOutputBody) SetConfig(v OutputConfig)
SetConfig gets a reference to the given OutputConfig and assigns it to the Config field.
func (*UpdateOutputBody) SetEnabled ¶
func (o *UpdateOutputBody) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UpdateOutputBody) SetTags ¶
func (o *UpdateOutputBody) SetTags(v map[string]string)
SetTags gets a reference to the given map[string]string and assigns it to the Tags field.
func (*UpdateOutputBody) SetType ¶
func (o *UpdateOutputBody) SetType(v OutputType)
SetType gets a reference to the given OutputType and assigns it to the Type field.
func (UpdateOutputBody) ToMap ¶
func (o UpdateOutputBody) ToMap() (map[string]interface{}, error)
type VerifyCertificateBody ¶
type VerifyCertificateBody struct { GatewayId *string `json:"gatewayId,omitempty"` DeviceId *string `json:"deviceId,omitempty"` Certificate *string `json:"certificate,omitempty"` }
VerifyCertificateBody Verify a certificate
func NewVerifyCertificateBody ¶
func NewVerifyCertificateBody() *VerifyCertificateBody
NewVerifyCertificateBody instantiates a new VerifyCertificateBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerifyCertificateBodyWithDefaults ¶
func NewVerifyCertificateBodyWithDefaults() *VerifyCertificateBody
NewVerifyCertificateBodyWithDefaults instantiates a new VerifyCertificateBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerifyCertificateBody) GetCertificate ¶
func (o *VerifyCertificateBody) GetCertificate() string
GetCertificate returns the Certificate field value if set, zero value otherwise.
func (*VerifyCertificateBody) GetCertificateOk ¶
func (o *VerifyCertificateBody) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerifyCertificateBody) GetDeviceId ¶
func (o *VerifyCertificateBody) GetDeviceId() string
GetDeviceId returns the DeviceId field value if set, zero value otherwise.
func (*VerifyCertificateBody) GetDeviceIdOk ¶
func (o *VerifyCertificateBody) GetDeviceIdOk() (*string, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerifyCertificateBody) GetGatewayId ¶
func (o *VerifyCertificateBody) GetGatewayId() string
GetGatewayId returns the GatewayId field value if set, zero value otherwise.
func (*VerifyCertificateBody) GetGatewayIdOk ¶
func (o *VerifyCertificateBody) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerifyCertificateBody) HasCertificate ¶
func (o *VerifyCertificateBody) HasCertificate() bool
HasCertificate returns a boolean if a field has been set.
func (*VerifyCertificateBody) HasDeviceId ¶
func (o *VerifyCertificateBody) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*VerifyCertificateBody) HasGatewayId ¶
func (o *VerifyCertificateBody) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.
func (VerifyCertificateBody) MarshalJSON ¶
func (o VerifyCertificateBody) MarshalJSON() ([]byte, error)
func (*VerifyCertificateBody) SetCertificate ¶
func (o *VerifyCertificateBody) SetCertificate(v string)
SetCertificate gets a reference to the given string and assigns it to the Certificate field.
func (*VerifyCertificateBody) SetDeviceId ¶
func (o *VerifyCertificateBody) SetDeviceId(v string)
SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.
func (*VerifyCertificateBody) SetGatewayId ¶
func (o *VerifyCertificateBody) SetGatewayId(v string)
SetGatewayId gets a reference to the given string and assigns it to the GatewayId field.
func (VerifyCertificateBody) ToMap ¶
func (o VerifyCertificateBody) ToMap() (map[string]interface{}, error)
type VerifyCertificateResponse ¶
type VerifyCertificateResponse struct { Valid *bool `json:"valid,omitempty"` Errors []string `json:"errors,omitempty"` }
VerifyCertificateResponse Response when verifying a certificate. The valid flag is set to true when the certificate is valid. Any errors will be added to the errors array.
func NewVerifyCertificateResponse ¶
func NewVerifyCertificateResponse() *VerifyCertificateResponse
NewVerifyCertificateResponse instantiates a new VerifyCertificateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerifyCertificateResponseWithDefaults ¶
func NewVerifyCertificateResponseWithDefaults() *VerifyCertificateResponse
NewVerifyCertificateResponseWithDefaults instantiates a new VerifyCertificateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerifyCertificateResponse) GetErrors ¶
func (o *VerifyCertificateResponse) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*VerifyCertificateResponse) GetErrorsOk ¶
func (o *VerifyCertificateResponse) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerifyCertificateResponse) GetValid ¶
func (o *VerifyCertificateResponse) GetValid() bool
GetValid returns the Valid field value if set, zero value otherwise.
func (*VerifyCertificateResponse) GetValidOk ¶
func (o *VerifyCertificateResponse) GetValidOk() (*bool, bool)
GetValidOk returns a tuple with the Valid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerifyCertificateResponse) HasErrors ¶
func (o *VerifyCertificateResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*VerifyCertificateResponse) HasValid ¶
func (o *VerifyCertificateResponse) HasValid() bool
HasValid returns a boolean if a field has been set.
func (VerifyCertificateResponse) MarshalJSON ¶
func (o VerifyCertificateResponse) MarshalJSON() ([]byte, error)
func (*VerifyCertificateResponse) SetErrors ¶
func (o *VerifyCertificateResponse) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*VerifyCertificateResponse) SetValid ¶
func (o *VerifyCertificateResponse) SetValid(v bool)
SetValid gets a reference to the given bool and assigns it to the Valid field.
func (VerifyCertificateResponse) ToMap ¶
func (o VerifyCertificateResponse) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_blobs.go
- api_certificates.go
- api_collections.go
- api_devices.go
- api_fota.go
- api_gateways.go
- api_outputs.go
- api_span.go
- client.go
- configuration.go
- model_activity_event.go
- model_add_downstream_message_body.go
- model_any.go
- model_blob.go
- model_blob_stats.go
- model_cellular_io_t_config.go
- model_cellular_io_t_metadata.go
- model_certificate_chain_response.go
- model_certificate_info.go
- model_clear_firmware_error_response.go
- model_co_ap_metadata.go
- model_collection.go
- model_collection_firmware.go
- model_collection_stats.go
- model_create_certificate_body.go
- model_create_certificate_response.go
- model_create_collection_request.go
- model_create_device_body.go
- model_create_firmware_body.go
- model_create_gateway_body.go
- model_create_output_body.go
- model_delete_downstream_message_response.go
- model_device.go
- model_device_certificate_response.go
- model_device_config.go
- model_device_metadata.go
- model_device_stats.go
- model_firmware.go
- model_firmware_management.go
- model_firmware_metadata.go
- model_firmware_stats.go
- model_firmware_usage_response.go
- model_gateway.go
- model_gateway_certificate_response.go
- model_gateway_cio_t_config.go
- model_gateway_config.go
- model_gateway_custom_config.go
- model_gateway_device_config.go
- model_gateway_device_metadata.go
- model_gateway_inet_config.go
- model_gateway_metadata.go
- model_gateway_stats.go
- model_gateway_status.go
- model_gateway_type.go
- model_inet_metadata.go
- model_list_blob_response.go
- model_list_collection_response.go
- model_list_data_response.go
- model_list_devices_response.go
- model_list_downstream_messages_response.go
- model_list_firmware_response.go
- model_list_gateway_response.go
- model_list_output_response.go
- model_list_upstream_messages_response.go
- model_message_downstream.go
- model_message_state.go
- model_message_transport.go
- model_message_upstream.go
- model_mqtt_metadata.go
- model_output.go
- model_output_config.go
- model_output_data_message.go
- model_output_log_entry.go
- model_output_log_response.go
- model_output_message_type.go
- model_output_stats.go
- model_output_status_response.go
- model_output_type.go
- model_retrieve_blob_response.go
- model_rpc_status.go
- model_sign_certificate_body.go
- model_sign_certificate_response.go
- model_system_info_response.go
- model_udp_metadata.go
- model_update_collection_body.go
- model_update_device_body.go
- model_update_firmware_body.go
- model_update_gateway_body.go
- model_update_output_body.go
- model_verify_certificate_body.go
- model_verify_certificate_response.go
- response.go
- utils.go