Documentation
¶
Index ¶
- Constants
- type Attribute
- type BatchPublishMessage
- type BatchUpdateFirmwareRequest
- type BatchUpdateFirmwareRequestParams
- type BatchUpdateFirmwareResponse
- type BatchUpdateFirmwareResponseParams
- type BatchUpdateShadow
- type BindDevicesRequest
- type BindDevicesRequestParams
- type BindDevicesResponse
- type BindDevicesResponseParams
- type BrokerSubscribe
- type CLSLogItem
- type CancelDeviceFirmwareTaskRequest
- type CancelDeviceFirmwareTaskRequestParams
- type CancelDeviceFirmwareTaskResponse
- type CancelDeviceFirmwareTaskResponseParams
- type CancelTaskRequest
- type CancelTaskRequestParams
- type CancelTaskResponse
- type CancelTaskResponseParams
- type Client
- func (c *Client) BatchUpdateFirmware(request *BatchUpdateFirmwareRequest) (response *BatchUpdateFirmwareResponse, err error)
- func (c *Client) BatchUpdateFirmwareWithContext(ctx context.Context, request *BatchUpdateFirmwareRequest) (response *BatchUpdateFirmwareResponse, err error)
- func (c *Client) BindDevices(request *BindDevicesRequest) (response *BindDevicesResponse, err error)
- func (c *Client) BindDevicesWithContext(ctx context.Context, request *BindDevicesRequest) (response *BindDevicesResponse, err error)
- func (c *Client) CancelDeviceFirmwareTask(request *CancelDeviceFirmwareTaskRequest) (response *CancelDeviceFirmwareTaskResponse, err error)
- func (c *Client) CancelDeviceFirmwareTaskWithContext(ctx context.Context, request *CancelDeviceFirmwareTaskRequest) (response *CancelDeviceFirmwareTaskResponse, err error)
- func (c *Client) CancelTask(request *CancelTaskRequest) (response *CancelTaskResponse, err error)
- func (c *Client) CancelTaskWithContext(ctx context.Context, request *CancelTaskRequest) (response *CancelTaskResponse, err error)
- func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
- func (c *Client) CreateDeviceWithContext(ctx context.Context, request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
- func (c *Client) CreateLoraDevice(request *CreateLoraDeviceRequest) (response *CreateLoraDeviceResponse, err error)
- func (c *Client) CreateLoraDeviceWithContext(ctx context.Context, request *CreateLoraDeviceRequest) (response *CreateLoraDeviceResponse, err error)
- func (c *Client) CreateMultiDevice(request *CreateMultiDeviceRequest) (response *CreateMultiDeviceResponse, err error)
- func (c *Client) CreateMultiDeviceWithContext(ctx context.Context, request *CreateMultiDeviceRequest) (response *CreateMultiDeviceResponse, err error)
- func (c *Client) CreateMultiDevicesTask(request *CreateMultiDevicesTaskRequest) (response *CreateMultiDevicesTaskResponse, err error)
- func (c *Client) CreateMultiDevicesTaskWithContext(ctx context.Context, request *CreateMultiDevicesTaskRequest) (response *CreateMultiDevicesTaskResponse, err error)
- func (c *Client) CreateProduct(request *CreateProductRequest) (response *CreateProductResponse, err error)
- func (c *Client) CreateProductWithContext(ctx context.Context, request *CreateProductRequest) (response *CreateProductResponse, err error)
- func (c *Client) CreateTask(request *CreateTaskRequest) (response *CreateTaskResponse, err error)
- func (c *Client) CreateTaskFileUrl(request *CreateTaskFileUrlRequest) (response *CreateTaskFileUrlResponse, err error)
- func (c *Client) CreateTaskFileUrlWithContext(ctx context.Context, request *CreateTaskFileUrlRequest) (response *CreateTaskFileUrlResponse, err error)
- func (c *Client) CreateTaskWithContext(ctx context.Context, request *CreateTaskRequest) (response *CreateTaskResponse, err error)
- func (c *Client) CreateTopicPolicy(request *CreateTopicPolicyRequest) (response *CreateTopicPolicyResponse, err error)
- func (c *Client) CreateTopicPolicyWithContext(ctx context.Context, request *CreateTopicPolicyRequest) (response *CreateTopicPolicyResponse, err error)
- func (c *Client) CreateTopicRule(request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)
- func (c *Client) CreateTopicRuleWithContext(ctx context.Context, request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)
- func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteDeviceResource(request *DeleteDeviceResourceRequest) (response *DeleteDeviceResourceResponse, err error)
- func (c *Client) DeleteDeviceResourceWithContext(ctx context.Context, request *DeleteDeviceResourceRequest) (response *DeleteDeviceResourceResponse, err error)
- func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteLoraDevice(request *DeleteLoraDeviceRequest) (response *DeleteLoraDeviceResponse, err error)
- func (c *Client) DeleteLoraDeviceWithContext(ctx context.Context, request *DeleteLoraDeviceRequest) (response *DeleteLoraDeviceResponse, err error)
- func (c *Client) DeleteProduct(request *DeleteProductRequest) (response *DeleteProductResponse, err error)
- func (c *Client) DeleteProductWithContext(ctx context.Context, request *DeleteProductRequest) (response *DeleteProductResponse, err error)
- func (c *Client) DeleteTopicRule(request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)
- func (c *Client) DeleteTopicRuleWithContext(ctx context.Context, request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)
- func (c *Client) DescribeAllDevices(request *DescribeAllDevicesRequest) (response *DescribeAllDevicesResponse, err error)
- func (c *Client) DescribeAllDevicesWithContext(ctx context.Context, request *DescribeAllDevicesRequest) (response *DescribeAllDevicesResponse, err error)
- func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
- func (c *Client) DescribeDeviceClientKey(request *DescribeDeviceClientKeyRequest) (response *DescribeDeviceClientKeyResponse, err error)
- func (c *Client) DescribeDeviceClientKeyWithContext(ctx context.Context, request *DescribeDeviceClientKeyRequest) (response *DescribeDeviceClientKeyResponse, err error)
- func (c *Client) DescribeDeviceResource(request *DescribeDeviceResourceRequest) (response *DescribeDeviceResourceResponse, err error)
- func (c *Client) DescribeDeviceResourceWithContext(ctx context.Context, request *DescribeDeviceResourceRequest) (response *DescribeDeviceResourceResponse, err error)
- func (c *Client) DescribeDeviceResources(request *DescribeDeviceResourcesRequest) (response *DescribeDeviceResourcesResponse, err error)
- func (c *Client) DescribeDeviceResourcesWithContext(ctx context.Context, request *DescribeDeviceResourcesRequest) (response *DescribeDeviceResourcesResponse, err error)
- func (c *Client) DescribeDeviceShadow(request *DescribeDeviceShadowRequest) (response *DescribeDeviceShadowResponse, err error)
- func (c *Client) DescribeDeviceShadowWithContext(ctx context.Context, request *DescribeDeviceShadowRequest) (response *DescribeDeviceShadowResponse, err error)
- func (c *Client) DescribeDeviceWithContext(ctx context.Context, request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
- func (c *Client) DescribeDevices(request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)
- func (c *Client) DescribeDevicesWithContext(ctx context.Context, request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)
- func (c *Client) DescribeFirmware(request *DescribeFirmwareRequest) (response *DescribeFirmwareResponse, err error)
- func (c *Client) DescribeFirmwareTask(request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)
- func (c *Client) DescribeFirmwareTaskDevices(request *DescribeFirmwareTaskDevicesRequest) (response *DescribeFirmwareTaskDevicesResponse, err error)
- func (c *Client) DescribeFirmwareTaskDevicesWithContext(ctx context.Context, request *DescribeFirmwareTaskDevicesRequest) (response *DescribeFirmwareTaskDevicesResponse, err error)
- func (c *Client) DescribeFirmwareTaskDistribution(request *DescribeFirmwareTaskDistributionRequest) (response *DescribeFirmwareTaskDistributionResponse, err error)
- func (c *Client) DescribeFirmwareTaskDistributionWithContext(ctx context.Context, request *DescribeFirmwareTaskDistributionRequest) (response *DescribeFirmwareTaskDistributionResponse, err error)
- func (c *Client) DescribeFirmwareTaskStatistics(request *DescribeFirmwareTaskStatisticsRequest) (response *DescribeFirmwareTaskStatisticsResponse, err error)
- func (c *Client) DescribeFirmwareTaskStatisticsWithContext(ctx context.Context, request *DescribeFirmwareTaskStatisticsRequest) (response *DescribeFirmwareTaskStatisticsResponse, err error)
- func (c *Client) DescribeFirmwareTaskWithContext(ctx context.Context, request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)
- func (c *Client) DescribeFirmwareTasks(request *DescribeFirmwareTasksRequest) (response *DescribeFirmwareTasksResponse, err error)
- func (c *Client) DescribeFirmwareTasksWithContext(ctx context.Context, request *DescribeFirmwareTasksRequest) (response *DescribeFirmwareTasksResponse, err error)
- func (c *Client) DescribeFirmwareWithContext(ctx context.Context, request *DescribeFirmwareRequest) (response *DescribeFirmwareResponse, err error)
- func (c *Client) DescribeLoraDevice(request *DescribeLoraDeviceRequest) (response *DescribeLoraDeviceResponse, err error)
- func (c *Client) DescribeLoraDeviceWithContext(ctx context.Context, request *DescribeLoraDeviceRequest) (response *DescribeLoraDeviceResponse, err error)
- func (c *Client) DescribeMultiDevTask(request *DescribeMultiDevTaskRequest) (response *DescribeMultiDevTaskResponse, err error)
- func (c *Client) DescribeMultiDevTaskWithContext(ctx context.Context, request *DescribeMultiDevTaskRequest) (response *DescribeMultiDevTaskResponse, err error)
- func (c *Client) DescribeMultiDevices(request *DescribeMultiDevicesRequest) (response *DescribeMultiDevicesResponse, err error)
- func (c *Client) DescribeMultiDevicesWithContext(ctx context.Context, request *DescribeMultiDevicesRequest) (response *DescribeMultiDevicesResponse, err error)
- func (c *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)
- func (c *Client) DescribeProductResource(request *DescribeProductResourceRequest) (response *DescribeProductResourceResponse, err error)
- func (c *Client) DescribeProductResourceWithContext(ctx context.Context, request *DescribeProductResourceRequest) (response *DescribeProductResourceResponse, err error)
- func (c *Client) DescribeProductResources(request *DescribeProductResourcesRequest) (response *DescribeProductResourcesResponse, err error)
- func (c *Client) DescribeProductResourcesWithContext(ctx context.Context, request *DescribeProductResourcesRequest) (response *DescribeProductResourcesResponse, err error)
- func (c *Client) DescribeProductTask(request *DescribeProductTaskRequest) (response *DescribeProductTaskResponse, err error)
- func (c *Client) DescribeProductTaskWithContext(ctx context.Context, request *DescribeProductTaskRequest) (response *DescribeProductTaskResponse, err error)
- func (c *Client) DescribeProductTasks(request *DescribeProductTasksRequest) (response *DescribeProductTasksResponse, err error)
- func (c *Client) DescribeProductTasksWithContext(ctx context.Context, request *DescribeProductTasksRequest) (response *DescribeProductTasksResponse, err error)
- func (c *Client) DescribeProductWithContext(ctx context.Context, request *DescribeProductRequest) (response *DescribeProductResponse, err error)
- func (c *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
- func (c *Client) DescribeProductsWithContext(ctx context.Context, request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
- func (c *Client) DescribePushResourceTaskStatistics(request *DescribePushResourceTaskStatisticsRequest) (response *DescribePushResourceTaskStatisticsResponse, err error)
- func (c *Client) DescribePushResourceTaskStatisticsWithContext(ctx context.Context, request *DescribePushResourceTaskStatisticsRequest) (response *DescribePushResourceTaskStatisticsResponse, err error)
- func (c *Client) DescribeResourceTasks(request *DescribeResourceTasksRequest) (response *DescribeResourceTasksResponse, err error)
- func (c *Client) DescribeResourceTasksWithContext(ctx context.Context, request *DescribeResourceTasksRequest) (response *DescribeResourceTasksResponse, err error)
- func (c *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
- func (c *Client) DescribeTaskWithContext(ctx context.Context, request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DisableTopicRule(request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)
- func (c *Client) DisableTopicRuleWithContext(ctx context.Context, request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)
- func (c *Client) DownloadDeviceResource(request *DownloadDeviceResourceRequest) (response *DownloadDeviceResourceResponse, err error)
- func (c *Client) DownloadDeviceResourceWithContext(ctx context.Context, request *DownloadDeviceResourceRequest) (response *DownloadDeviceResourceResponse, err error)
- func (c *Client) EditFirmware(request *EditFirmwareRequest) (response *EditFirmwareResponse, err error)
- func (c *Client) EditFirmwareWithContext(ctx context.Context, request *EditFirmwareRequest) (response *EditFirmwareResponse, err error)
- func (c *Client) EnableTopicRule(request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)
- func (c *Client) EnableTopicRuleWithContext(ctx context.Context, request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)
- func (c *Client) GetCOSURL(request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)
- func (c *Client) GetCOSURLWithContext(ctx context.Context, request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)
- func (c *Client) GetUserResourceInfo(request *GetUserResourceInfoRequest) (response *GetUserResourceInfoResponse, err error)
- func (c *Client) GetUserResourceInfoWithContext(ctx context.Context, request *GetUserResourceInfoRequest) (response *GetUserResourceInfoResponse, err error)
- func (c *Client) ListLog(request *ListLogRequest) (response *ListLogResponse, err error)
- func (c *Client) ListLogPayload(request *ListLogPayloadRequest) (response *ListLogPayloadResponse, err error)
- func (c *Client) ListLogPayloadWithContext(ctx context.Context, request *ListLogPayloadRequest) (response *ListLogPayloadResponse, err error)
- func (c *Client) ListLogWithContext(ctx context.Context, request *ListLogRequest) (response *ListLogResponse, err error)
- func (c *Client) ListSDKLog(request *ListSDKLogRequest) (response *ListSDKLogResponse, err error)
- func (c *Client) ListSDKLogWithContext(ctx context.Context, request *ListSDKLogRequest) (response *ListSDKLogResponse, err error)
- func (c *Client) PublishAsDevice(request *PublishAsDeviceRequest) (response *PublishAsDeviceResponse, err error)
- func (c *Client) PublishAsDeviceWithContext(ctx context.Context, request *PublishAsDeviceRequest) (response *PublishAsDeviceResponse, err error)
- func (c *Client) PublishBroadcastMessage(request *PublishBroadcastMessageRequest) (response *PublishBroadcastMessageResponse, err error)
- func (c *Client) PublishBroadcastMessageWithContext(ctx context.Context, request *PublishBroadcastMessageRequest) (response *PublishBroadcastMessageResponse, err error)
- func (c *Client) PublishMessage(request *PublishMessageRequest) (response *PublishMessageResponse, err error)
- func (c *Client) PublishMessageWithContext(ctx context.Context, request *PublishMessageRequest) (response *PublishMessageResponse, err error)
- func (c *Client) PublishRRPCMessage(request *PublishRRPCMessageRequest) (response *PublishRRPCMessageResponse, err error)
- func (c *Client) PublishRRPCMessageWithContext(ctx context.Context, request *PublishRRPCMessageRequest) (response *PublishRRPCMessageResponse, err error)
- func (c *Client) PublishToDevice(request *PublishToDeviceRequest) (response *PublishToDeviceResponse, err error)
- func (c *Client) PublishToDeviceWithContext(ctx context.Context, request *PublishToDeviceRequest) (response *PublishToDeviceResponse, err error)
- func (c *Client) ReplaceTopicRule(request *ReplaceTopicRuleRequest) (response *ReplaceTopicRuleResponse, err error)
- func (c *Client) ReplaceTopicRuleWithContext(ctx context.Context, request *ReplaceTopicRuleRequest) (response *ReplaceTopicRuleResponse, err error)
- func (c *Client) ResetDeviceState(request *ResetDeviceStateRequest) (response *ResetDeviceStateResponse, err error)
- func (c *Client) ResetDeviceStateWithContext(ctx context.Context, request *ResetDeviceStateRequest) (response *ResetDeviceStateResponse, err error)
- func (c *Client) RetryDeviceFirmwareTask(request *RetryDeviceFirmwareTaskRequest) (response *RetryDeviceFirmwareTaskResponse, err error)
- func (c *Client) RetryDeviceFirmwareTaskWithContext(ctx context.Context, request *RetryDeviceFirmwareTaskRequest) (response *RetryDeviceFirmwareTaskResponse, err error)
- func (c *Client) SetProductsForbiddenStatus(request *SetProductsForbiddenStatusRequest) (response *SetProductsForbiddenStatusResponse, err error)
- func (c *Client) SetProductsForbiddenStatusWithContext(ctx context.Context, request *SetProductsForbiddenStatusRequest) (response *SetProductsForbiddenStatusResponse, err error)
- func (c *Client) UnbindDevices(request *UnbindDevicesRequest) (response *UnbindDevicesResponse, err error)
- func (c *Client) UnbindDevicesWithContext(ctx context.Context, request *UnbindDevicesRequest) (response *UnbindDevicesResponse, err error)
- func (c *Client) UpdateDeviceAvailableState(request *UpdateDeviceAvailableStateRequest) (response *UpdateDeviceAvailableStateResponse, err error)
- func (c *Client) UpdateDeviceAvailableStateWithContext(ctx context.Context, request *UpdateDeviceAvailableStateRequest) (response *UpdateDeviceAvailableStateResponse, err error)
- func (c *Client) UpdateDeviceShadow(request *UpdateDeviceShadowRequest) (response *UpdateDeviceShadowResponse, err error)
- func (c *Client) UpdateDeviceShadowWithContext(ctx context.Context, request *UpdateDeviceShadowRequest) (response *UpdateDeviceShadowResponse, err error)
- func (c *Client) UpdateDevicesEnableState(request *UpdateDevicesEnableStateRequest) (response *UpdateDevicesEnableStateResponse, err error)
- func (c *Client) UpdateDevicesEnableStateWithContext(ctx context.Context, request *UpdateDevicesEnableStateRequest) (response *UpdateDevicesEnableStateResponse, err error)
- func (c *Client) UpdateProductDynamicRegister(request *UpdateProductDynamicRegisterRequest) (response *UpdateProductDynamicRegisterResponse, err error)
- func (c *Client) UpdateProductDynamicRegisterWithContext(ctx context.Context, request *UpdateProductDynamicRegisterRequest) (response *UpdateProductDynamicRegisterResponse, err error)
- func (c *Client) UpdateTopicPolicy(request *UpdateTopicPolicyRequest) (response *UpdateTopicPolicyResponse, err error)
- func (c *Client) UpdateTopicPolicyWithContext(ctx context.Context, request *UpdateTopicPolicyRequest) (response *UpdateTopicPolicyResponse, err error)
- func (c *Client) UploadFirmware(request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
- func (c *Client) UploadFirmwareWithContext(ctx context.Context, request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
- type CreateDeviceRequest
- type CreateDeviceRequestParams
- type CreateDeviceResponse
- type CreateDeviceResponseParams
- type CreateLoraDeviceRequest
- type CreateLoraDeviceRequestParams
- type CreateLoraDeviceResponse
- type CreateLoraDeviceResponseParams
- type CreateMultiDeviceRequest
- type CreateMultiDeviceRequestParams
- type CreateMultiDeviceResponse
- type CreateMultiDeviceResponseParams
- type CreateMultiDevicesTaskRequest
- type CreateMultiDevicesTaskRequestParams
- type CreateMultiDevicesTaskResponse
- type CreateMultiDevicesTaskResponseParams
- type CreateProductRequest
- type CreateProductRequestParams
- type CreateProductResponse
- type CreateProductResponseParams
- type CreateTaskFileUrlRequest
- type CreateTaskFileUrlRequestParams
- type CreateTaskFileUrlResponse
- type CreateTaskFileUrlResponseParams
- type CreateTaskRequest
- type CreateTaskRequestParams
- type CreateTaskResponse
- type CreateTaskResponseParams
- type CreateTopicPolicyRequest
- type CreateTopicPolicyRequestParams
- type CreateTopicPolicyResponse
- type CreateTopicPolicyResponseParams
- type CreateTopicRuleRequest
- type CreateTopicRuleRequestParams
- type CreateTopicRuleResponse
- type CreateTopicRuleResponseParams
- type DeleteDeviceRequest
- type DeleteDeviceRequestParams
- type DeleteDeviceResourceRequest
- type DeleteDeviceResourceRequestParams
- type DeleteDeviceResourceResponse
- type DeleteDeviceResourceResponseParams
- type DeleteDeviceResponse
- type DeleteDeviceResponseParams
- type DeleteLoraDeviceRequest
- type DeleteLoraDeviceRequestParams
- type DeleteLoraDeviceResponse
- type DeleteLoraDeviceResponseParams
- type DeleteProductRequest
- type DeleteProductRequestParams
- type DeleteProductResponse
- type DeleteProductResponseParams
- type DeleteTopicRuleRequest
- type DeleteTopicRuleRequestParams
- type DeleteTopicRuleResponse
- type DeleteTopicRuleResponseParams
- type DescribeAllDevicesRequest
- type DescribeAllDevicesRequestParams
- type DescribeAllDevicesResponse
- type DescribeAllDevicesResponseParams
- type DescribeDeviceClientKeyRequest
- type DescribeDeviceClientKeyRequestParams
- type DescribeDeviceClientKeyResponse
- type DescribeDeviceClientKeyResponseParams
- type DescribeDeviceRequest
- type DescribeDeviceRequestParams
- type DescribeDeviceResourceRequest
- type DescribeDeviceResourceRequestParams
- type DescribeDeviceResourceResponse
- type DescribeDeviceResourceResponseParams
- type DescribeDeviceResourcesRequest
- type DescribeDeviceResourcesRequestParams
- type DescribeDeviceResourcesResponse
- type DescribeDeviceResourcesResponseParams
- type DescribeDeviceResponse
- type DescribeDeviceResponseParams
- type DescribeDeviceShadowRequest
- type DescribeDeviceShadowRequestParams
- type DescribeDeviceShadowResponse
- type DescribeDeviceShadowResponseParams
- type DescribeDevicesRequest
- type DescribeDevicesRequestParams
- type DescribeDevicesResponse
- type DescribeDevicesResponseParams
- type DescribeFirmwareRequest
- type DescribeFirmwareRequestParams
- type DescribeFirmwareResponse
- type DescribeFirmwareResponseParams
- type DescribeFirmwareTaskDevicesRequest
- type DescribeFirmwareTaskDevicesRequestParams
- type DescribeFirmwareTaskDevicesResponse
- type DescribeFirmwareTaskDevicesResponseParams
- type DescribeFirmwareTaskDistributionRequest
- type DescribeFirmwareTaskDistributionRequestParams
- type DescribeFirmwareTaskDistributionResponse
- type DescribeFirmwareTaskDistributionResponseParams
- type DescribeFirmwareTaskRequest
- type DescribeFirmwareTaskRequestParams
- type DescribeFirmwareTaskResponse
- type DescribeFirmwareTaskResponseParams
- type DescribeFirmwareTaskStatisticsRequest
- type DescribeFirmwareTaskStatisticsRequestParams
- type DescribeFirmwareTaskStatisticsResponse
- type DescribeFirmwareTaskStatisticsResponseParams
- type DescribeFirmwareTasksRequest
- type DescribeFirmwareTasksRequestParams
- type DescribeFirmwareTasksResponse
- type DescribeFirmwareTasksResponseParams
- type DescribeLoraDeviceRequest
- type DescribeLoraDeviceRequestParams
- type DescribeLoraDeviceResponse
- type DescribeLoraDeviceResponseParams
- type DescribeMultiDevTaskRequest
- type DescribeMultiDevTaskRequestParams
- type DescribeMultiDevTaskResponse
- type DescribeMultiDevTaskResponseParams
- type DescribeMultiDevicesRequest
- type DescribeMultiDevicesRequestParams
- type DescribeMultiDevicesResponse
- type DescribeMultiDevicesResponseParams
- type DescribeProductRequest
- type DescribeProductRequestParams
- type DescribeProductResourceRequest
- type DescribeProductResourceRequestParams
- type DescribeProductResourceResponse
- type DescribeProductResourceResponseParams
- type DescribeProductResourcesRequest
- type DescribeProductResourcesRequestParams
- type DescribeProductResourcesResponse
- type DescribeProductResourcesResponseParams
- type DescribeProductResponse
- type DescribeProductResponseParams
- type DescribeProductTaskRequest
- type DescribeProductTaskRequestParams
- type DescribeProductTaskResponse
- type DescribeProductTaskResponseParams
- type DescribeProductTasksRequest
- type DescribeProductTasksRequestParams
- type DescribeProductTasksResponse
- type DescribeProductTasksResponseParams
- type DescribeProductsRequest
- type DescribeProductsRequestParams
- type DescribeProductsResponse
- type DescribeProductsResponseParams
- type DescribePushResourceTaskStatisticsRequest
- type DescribePushResourceTaskStatisticsRequestParams
- type DescribePushResourceTaskStatisticsResponse
- type DescribePushResourceTaskStatisticsResponseParams
- type DescribeResourceTasksRequest
- type DescribeResourceTasksRequestParams
- type DescribeResourceTasksResponse
- type DescribeResourceTasksResponseParams
- type DescribeTaskRequest
- type DescribeTaskRequestParams
- type DescribeTaskResponse
- type DescribeTaskResponseParams
- type DescribeTasksRequest
- type DescribeTasksRequestParams
- type DescribeTasksResponse
- type DescribeTasksResponseParams
- type DeviceInfo
- type DeviceLabel
- type DeviceProperty
- type DeviceResourceInfo
- type DeviceTag
- type DeviceUpdateStatus
- type DisableTopicRuleRequest
- type DisableTopicRuleRequestParams
- type DisableTopicRuleResponse
- type DisableTopicRuleResponseParams
- type DownloadDeviceResourceRequest
- type DownloadDeviceResourceRequestParams
- type DownloadDeviceResourceResponse
- type DownloadDeviceResourceResponseParams
- type EditFirmwareRequest
- type EditFirmwareRequestParams
- type EditFirmwareResponse
- type EditFirmwareResponseParams
- type EnableTopicRuleRequest
- type EnableTopicRuleRequestParams
- type EnableTopicRuleResponse
- type EnableTopicRuleResponseParams
- type FirmwareTaskInfo
- type GetCOSURLRequest
- type GetCOSURLRequestParams
- type GetCOSURLResponse
- type GetCOSURLResponseParams
- type GetUserResourceInfoRequest
- type GetUserResourceInfoRequestParams
- type GetUserResourceInfoResponse
- type GetUserResourceInfoResponseParams
- type ListLogPayloadRequest
- type ListLogPayloadRequestParams
- type ListLogPayloadResponse
- type ListLogPayloadResponseParams
- type ListLogRequest
- type ListLogRequestParams
- type ListLogResponse
- type ListLogResponseParams
- type ListSDKLogRequest
- type ListSDKLogRequestParams
- type ListSDKLogResponse
- type ListSDKLogResponseParams
- type MultiDevicesInfo
- type PayloadLogItem
- type ProductInfo
- type ProductMetadata
- type ProductProperties
- type ProductResourceInfo
- type ProductTaskInfo
- type PublishAsDeviceRequest
- type PublishAsDeviceRequestParams
- type PublishAsDeviceResponse
- type PublishAsDeviceResponseParams
- type PublishBroadcastMessageRequest
- type PublishBroadcastMessageRequestParams
- type PublishBroadcastMessageResponse
- type PublishBroadcastMessageResponseParams
- type PublishMessageRequest
- type PublishMessageRequestParams
- type PublishMessageResponse
- type PublishMessageResponseParams
- type PublishRRPCMessageRequest
- type PublishRRPCMessageRequestParams
- type PublishRRPCMessageResponse
- type PublishRRPCMessageResponseParams
- type PublishToDeviceRequest
- type PublishToDeviceRequestParams
- type PublishToDeviceResponse
- type PublishToDeviceResponseParams
- type ReplaceTopicRuleRequest
- type ReplaceTopicRuleRequestParams
- type ReplaceTopicRuleResponse
- type ReplaceTopicRuleResponseParams
- type ResetDeviceResult
- type ResetDeviceStateRequest
- type ResetDeviceStateRequestParams
- type ResetDeviceStateResponse
- type ResetDeviceStateResponseParams
- type RetryDeviceFirmwareTaskRequest
- type RetryDeviceFirmwareTaskRequestParams
- type RetryDeviceFirmwareTaskResponse
- type RetryDeviceFirmwareTaskResponseParams
- type SDKLogItem
- type SearchKeyword
- type SetProductsForbiddenStatusRequest
- type SetProductsForbiddenStatusRequestParams
- type SetProductsForbiddenStatusResponse
- type SetProductsForbiddenStatusResponseParams
- type StatusStatistic
- type Task
- type TaskInfo
- type TopicRulePayload
- type UnbindDevicesRequest
- type UnbindDevicesRequestParams
- type UnbindDevicesResponse
- type UnbindDevicesResponseParams
- type UpdateDeviceAvailableStateRequest
- type UpdateDeviceAvailableStateRequestParams
- type UpdateDeviceAvailableStateResponse
- type UpdateDeviceAvailableStateResponseParams
- type UpdateDeviceShadowRequest
- type UpdateDeviceShadowRequestParams
- type UpdateDeviceShadowResponse
- type UpdateDeviceShadowResponseParams
- type UpdateDevicesEnableStateRequest
- type UpdateDevicesEnableStateRequestParams
- type UpdateDevicesEnableStateResponse
- type UpdateDevicesEnableStateResponseParams
- type UpdateProductDynamicRegisterRequest
- type UpdateProductDynamicRegisterRequestParams
- type UpdateProductDynamicRegisterResponse
- type UpdateProductDynamicRegisterResponseParams
- type UpdateTopicPolicyRequest
- type UpdateTopicPolicyRequestParams
- type UpdateTopicPolicyResponse
- type UpdateTopicPolicyResponseParams
- type UploadFirmwareRequest
- type UploadFirmwareRequestParams
- type UploadFirmwareResponse
- type UploadFirmwareResponseParams
Constants ¶
const ( // 操作失败。 FAILEDOPERATION = "FailedOperation" // 任务已经开始。 FAILEDOPERATION_ASYNCTASKALREADYSTARTED = "FailedOperation.AsyncTaskAlreadyStarted" // 绑定设备超过限制。 FAILEDOPERATION_BINDDEVICEOVERLIMIT = "FailedOperation.BindDeviceOverLimit" // 广播任务正在执行。 FAILEDOPERATION_BROADCASTTASKISRUNNING = "FailedOperation.BroadcastTaskIsRunning" // 设备已经被禁用。 FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled" // 设备固件升级任务已经完成。 FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone" // 设备正在升级中。 FAILEDOPERATION_DEVICEISUPDATING = "FailedOperation.DeviceIsUpdating" // 设备没有订阅相应的topic。 FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription" // 设备离线。 FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline" // 设备已经运行其他ota升级任务。 FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask" // 不能创建重复的函数。 FAILEDOPERATION_DUPLICATIONOFFUNCTIONITEM = "FailedOperation.DuplicationOfFunctionItem" // 函数文件不存在。 FAILEDOPERATION_FUNCTIONFILENOTEXIST = "FailedOperation.FunctionFileNotExist" // 消息长度非法。 FAILEDOPERATION_INVALIDMSGLEN = "FailedOperation.InvalidMsgLen" // 消息topic非法。 FAILEDOPERATION_INVALIDTOPICNAME = "FailedOperation.InvalidTopicName" // 产品未绑定,无法代理订阅。 FAILEDOPERATION_PRODUCTNOTBIND = "FailedOperation.ProductNotBind" // 同名产品资源已存在。 FAILEDOPERATION_PRODUCTRESOURCEDUPLICATE = "FailedOperation.ProductResourceDuplicate" // 代理ip或端口资源不足。 FAILEDOPERATION_PROXYIPISNOTENOUGH = "FailedOperation.ProxyIPIsNotEnough" // RRPC接口未收到设备端响应。 FAILEDOPERATION_RRPCTIMEOUT = "FailedOperation.RRPCTimeout" // 该规则引擎已经是禁用状态,不需要再被禁用。 FAILEDOPERATION_RULEALREADYDISABLED = "FailedOperation.RuleAlreadyDisabled" // 规则已经是启用状态。 FAILEDOPERATION_RULEALREADYENABLED = "FailedOperation.RuleAlreadyEnabled" // 用户或产品不匹配任务ID。 FAILEDOPERATION_TASKIDNOTMATCH = "FailedOperation.TaskIDNotMatch" // 白名单校验未开启,用户不可创建设备,平台会根据设备认证时携带的设备名称自动创建设备。 FAILEDOPERATION_TIDWHITELISTNOTOPEN = "FailedOperation.TidWhiteListNotOpen" // 更新版本不匹配。 FAILEDOPERATION_UPDATEVERSIONNOTMATCH = "FailedOperation.UpdateVersionNotMatch" // 内部错误。 INTERNALERROR = "InternalError" // 数据库内部错误。 INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 规则行为未配置。 INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" // 检查第三方URL超时或失败。 INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail" // 保存失败,行为操作和转发错误行为数据目标不可一致。 INVALIDPARAMETERVALUE_CLOUDCOMPONENTALREADYEXIST = "InvalidParameterValue.CloudComponentAlreadyExist" // 格式错误,DefinedPsk需为Base64格式的字符串。 INVALIDPARAMETERVALUE_DEFINEDPSKNOTBASE64 = "InvalidParameterValue.DefinedPskNotBase64" // 创建的设备名已存在。 INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist" // 设备不是网关类型。 INVALIDPARAMETERVALUE_DEVICEISNOTGATEWAY = "InvalidParameterValue.DeviceIsNotGateway" // 设备不存在。 INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist" // 存失败,行为操作和转发错误行为数据目标不可为同一设备。 INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice" // 固件已存在。 INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist" // JSON参数非法。 INVALIDPARAMETERVALUE_INVALIDJSON = "InvalidParameterValue.InvalidJSON" // SQL语句含有非法字符。 INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL" // State JSON对象中包含非法节点。 INVALIDPARAMETERVALUE_JSONHASINVALIDNODE = "InvalidParameterValue.JSONHasInvalidNode" // State JSON对象超过大小限制,最大为 8k。 INVALIDPARAMETERVALUE_JSONSIZEEXCEEDLIMIT = "InvalidParameterValue.JSONSizeExceedLimit" // 不可合并。 INVALIDPARAMETERVALUE_NOTMERGEABLE = "InvalidParameterValue.NotMergeAble" // 修改规则的操作被禁止。 INVALIDPARAMETERVALUE_OPERATIONDENIED = "InvalidParameterValue.OperationDenied" // 请求中缺少关键字段信息。 INVALIDPARAMETERVALUE_PARAMINCOMPLETE = "InvalidParameterValue.ParamIncomplete" // 消息Payload超出限制。 INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit" // prefix不合法。 INVALIDPARAMETERVALUE_PREFIXINVALID = "InvalidParameterValue.PrefixInvalid" // 创建的产品名已存在。 INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist" // 产品不是网关类型,无法绑定子产品。 INVALIDPARAMETERVALUE_PRODUCTISNOTGATEWAY = "InvalidParameterValue.ProductIsNotGateway" // 产品类型不支持。 INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" // 查询设备信息失败。 INVALIDPARAMETERVALUE_QUERYDEVICEFAIL = "InvalidParameterValue.QueryDeviceFail" // 查询LoRa设备信息失败。 INVALIDPARAMETERVALUE_QUERYLORADEVICEFAIL = "InvalidParameterValue.QueryLoraDeviceFail" // 查询设备非LoRa类型设备。 INVALIDPARAMETERVALUE_QUERYNOTLORADEVICEFAIL = "InvalidParameterValue.QueryNotLoraDeviceFail" // 注册LoRa设备LoRa信息错误。 INVALIDPARAMETERVALUE_REGISTERLORAINFOERROR = "InvalidParameterValue.RegisterLoraInfoError" // 转发的topic格式错误。 INVALIDPARAMETERVALUE_REPUBLISHTOPICFORMATERROR = "InvalidParameterValue.RepublishTopicFormatError" // 规则数量超过限制。 INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" // 用户或产品不匹配任务ID。 INVALIDPARAMETERVALUE_TASKIDNOTMATCH = "InvalidParameterValue.TaskIDNotMatch" // 该TID产品已存在。 INVALIDPARAMETERVALUE_TIDPRODUCTALREADYEXIST = "InvalidParameterValue.TidProductAlreadyExist" // Topic已存在。 INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist" // 规则已存在。 INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist" // 规则sql未编辑。 INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" // 请确认规则相关数据是否有更新。 INVALIDPARAMETERVALUE_UPDATETOPICRULEDBFAIL = "InvalidParameterValue.UpdateTopicRuleDBFail" // 设备数量超过限制。 LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit" // 固件数量超出限制。 LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = "LimitExceeded.FirmwareExceedLimit" // 消息已经保存到离线队列。 LIMITEXCEEDED_MESSAGESAVED = "LimitExceeded.MessageSaved" // qos为1的离线消息超过数量限制。 LIMITEXCEEDED_OFFLINEMESSAGEEXCEEDLIMIT = "LimitExceeded.OfflineMessageExceedLimit" // 等待和处理中的任务数过多。 LIMITEXCEEDED_PENGINGORPROCESSINGTASKSEXCEEDLIMIT = "LimitExceeded.PengingOrProcessingTasksExceedLimit" // 超过产品数量限制。 LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit" // Topic数量超出限制。 LIMITEXCEEDED_TOPICPOLICYEXCEEDLIMIT = "LimitExceeded.TopicPolicyExceedLimit" // 批量创建设备任务不存在。 RESOURCENOTFOUND_CREATEMULTIDEVICETASKNOTEXIST = "ResourceNotFound.CreateMultiDeviceTaskNotExist" // 设备固件升级任务不存在。 RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist" // 设备无固件版本。 RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware" // 设备不存在。 RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" // 设备资源不存在。 RESOURCENOTFOUND_DEVICERESOURCENOTEXIST = "ResourceNotFound.DeviceResourceNotExist" // 设备影子不存在。 RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist" // 固件不存在。 RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist" // 固件升级任务不存在。 RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist" // 产品不存在。 RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" // 用户不存在此产品或设备。 RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist" // 产品资源不存在。 RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist" // 资源文件不存在。 RESOURCENOTFOUND_RESOURCEFILENOTEXIST = "ResourceNotFound.ResourceFileNotExist" // 任务不存在。 RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist" // 物模型不存在。 RESOURCENOTFOUND_THINGMODELNOTEXIST = "ResourceNotFound.ThingModelNotExist" // Topic不存在。 RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist" // 规则不存在。 RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist" // 批量创建设备任务未完成。 UNAUTHORIZEDOPERATION_CREATEMULTIDEVICETASKNOTFINISHED = "UnauthorizedOperation.CreateMultiDeviceTaskNotFinished" // 该设备绑定了网关设备,无法删除。 UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway" // 设备未启用。 UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled" // 删除的产品下还包括未删除的设备。 UNAUTHORIZEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnauthorizedOperation.DevicesExistUnderProduct" // 该设备下仍有绑定的设备。 UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices" // 没有权限。 UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" // 该产品类型不能创建LoRa设备。 UNAUTHORIZEDOPERATION_PRODUCTCANTHAVELORADEVICE = "UnauthorizedOperation.ProductCantHaveLoRaDevice" // NB-IoT产品不允许创建普通设备。 UNAUTHORIZEDOPERATION_PRODUCTCANTHAVENORMALDEVICE = "UnauthorizedOperation.ProductCantHaveNormalDevice" // 该产品类型只能创建LoRa设备。 UNAUTHORIZEDOPERATION_PRODUCTCANTHAVENOTLORADEVICE = "UnauthorizedOperation.ProductCantHaveNotLoRaDevice" // 产品禁用了该功能。 UNAUTHORIZEDOPERATION_PRODUCTISFORBIDDEN = "UnauthorizedOperation.ProductIsForbidden" // 产品不支持密钥认证。 UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = "UnauthorizedOperation.ProductNotSupportPSK" // 用户未通过实名认证。 UNAUTHORIZEDOPERATION_USERNOTAUTHENTICAED = "UnauthorizedOperation.UserNotAuthenticaed" // 设备私钥已被获取。 UNSUPPORTEDOPERATION_CLIENTCERTALREADYGOT = "UnsupportedOperation.ClientCertAlreadyGot" // 设备ota升级中。 UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress" // 网关产品下存在绑定的子产品,无法删除。 UNSUPPORTEDOPERATION_GATEWAYPRODUCTHASBINDEDPRODUCT = "UnsupportedOperation.GatewayProductHasBindedProduct" // 存在网关设备绑定当前产品,无法删除。 UNSUPPORTEDOPERATION_PRODUCTHASBINDGATEWAY = "UnsupportedOperation.ProductHasBindGateway" // 产品存在绑定的网关产品,无法删除。 UNSUPPORTEDOPERATION_PRODUCTHASBINDEDGATEWAYPRODUCT = "UnsupportedOperation.ProductHasBindedGatewayProduct" // 产品为Suite token类型,无法创建新设备。 UNSUPPORTEDOPERATION_SUITETOKENNOCREATE = "UnsupportedOperation.SuiteTokenNoCreate" // 不支持的认证类型。 UNSUPPORTEDOPERATION_WRONGPRODUCTAUTHTYPE = "UnsupportedOperation.WrongProductAuthType" )
const APIVersion = "2018-06-14"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct {
// 属性列表
Tags []*DeviceTag `json:"Tags,omitempty" name:"Tags"`
}
type BatchPublishMessage ¶
type BatchUpdateFirmwareRequest ¶
type BatchUpdateFirmwareRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件新版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件原版本号,根据文件列表升级固件不需要填写此参数
FirmwareOriVersion *string `json:"FirmwareOriVersion,omitempty" name:"FirmwareOriVersion"`
// 升级方式,0 静默升级 1 用户确认升级。 不填默认为静默升级方式
UpgradeMethod *uint64 `json:"UpgradeMethod,omitempty" name:"UpgradeMethod"`
// 设备列表文件名称,根据文件列表升级固件需要填写此参数
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 设备列表的文件md5值
FileMd5 *string `json:"FileMd5,omitempty" name:"FileMd5"`
// 设备列表的文件大小值
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 需要升级的设备名称列表
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 固件升级任务,默认超时时间。 最小取值60秒,最大为3600秒
TimeoutInterval *uint64 `json:"TimeoutInterval,omitempty" name:"TimeoutInterval"`
}
func NewBatchUpdateFirmwareRequest ¶
func NewBatchUpdateFirmwareRequest() (request *BatchUpdateFirmwareRequest)
func (*BatchUpdateFirmwareRequest) FromJsonString ¶
func (r *BatchUpdateFirmwareRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchUpdateFirmwareRequest) ToJsonString ¶
func (r *BatchUpdateFirmwareRequest) ToJsonString() string
type BatchUpdateFirmwareRequestParams ¶ added in v1.0.426
type BatchUpdateFirmwareRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件新版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件原版本号,根据文件列表升级固件不需要填写此参数
FirmwareOriVersion *string `json:"FirmwareOriVersion,omitempty" name:"FirmwareOriVersion"`
// 升级方式,0 静默升级 1 用户确认升级。 不填默认为静默升级方式
UpgradeMethod *uint64 `json:"UpgradeMethod,omitempty" name:"UpgradeMethod"`
// 设备列表文件名称,根据文件列表升级固件需要填写此参数
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 设备列表的文件md5值
FileMd5 *string `json:"FileMd5,omitempty" name:"FileMd5"`
// 设备列表的文件大小值
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 需要升级的设备名称列表
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 固件升级任务,默认超时时间。 最小取值60秒,最大为3600秒
TimeoutInterval *uint64 `json:"TimeoutInterval,omitempty" name:"TimeoutInterval"`
}
Predefined struct for user
type BatchUpdateFirmwareResponse ¶
type BatchUpdateFirmwareResponse struct {
*tchttp.BaseResponse
Response *BatchUpdateFirmwareResponseParams `json:"Response"`
}
func NewBatchUpdateFirmwareResponse ¶
func NewBatchUpdateFirmwareResponse() (response *BatchUpdateFirmwareResponse)
func (*BatchUpdateFirmwareResponse) FromJsonString ¶
func (r *BatchUpdateFirmwareResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchUpdateFirmwareResponse) ToJsonString ¶
func (r *BatchUpdateFirmwareResponse) ToJsonString() string
type BatchUpdateFirmwareResponseParams ¶ added in v1.0.426
type BatchUpdateFirmwareResponseParams struct {
// 任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type BatchUpdateShadow ¶
type BatchUpdateShadow struct {
// 设备影子的期望状态,格式为 Json 对象序列化之后的字符串
Desired *string `json:"Desired,omitempty" name:"Desired"`
}
type BindDevicesRequest ¶
type BindDevicesRequest struct {
*tchttp.BaseRequest
// 网关设备的产品ID
GatewayProductId *string `json:"GatewayProductId,omitempty" name:"GatewayProductId"`
// 网关设备的设备名
GatewayDeviceName *string `json:"GatewayDeviceName,omitempty" name:"GatewayDeviceName"`
// 被绑定设备的产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 被绑定的多个设备名
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 中兴CLAA设备的绑定需要skey,普通的设备不需要
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
func NewBindDevicesRequest ¶
func NewBindDevicesRequest() (request *BindDevicesRequest)
func (*BindDevicesRequest) FromJsonString ¶
func (r *BindDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindDevicesRequest) ToJsonString ¶
func (r *BindDevicesRequest) ToJsonString() string
type BindDevicesRequestParams ¶ added in v1.0.426
type BindDevicesRequestParams struct {
// 网关设备的产品ID
GatewayProductId *string `json:"GatewayProductId,omitempty" name:"GatewayProductId"`
// 网关设备的设备名
GatewayDeviceName *string `json:"GatewayDeviceName,omitempty" name:"GatewayDeviceName"`
// 被绑定设备的产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 被绑定的多个设备名
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 中兴CLAA设备的绑定需要skey,普通的设备不需要
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
Predefined struct for user
type BindDevicesResponse ¶
type BindDevicesResponse struct {
*tchttp.BaseResponse
Response *BindDevicesResponseParams `json:"Response"`
}
func NewBindDevicesResponse ¶
func NewBindDevicesResponse() (response *BindDevicesResponse)
func (*BindDevicesResponse) FromJsonString ¶
func (r *BindDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindDevicesResponse) ToJsonString ¶
func (r *BindDevicesResponse) ToJsonString() string
type BindDevicesResponseParams ¶ added in v1.0.426
type BindDevicesResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type BrokerSubscribe ¶
type CLSLogItem ¶ added in v1.0.329
type CLSLogItem struct {
// 日志内容
Content *string `json:"Content,omitempty" name:"Content"`
// 设备名称
Devicename *string `json:"Devicename,omitempty" name:"Devicename"`
// 产品ID
Productid *string `json:"Productid,omitempty" name:"Productid"`
// 请求ID
Requestid *string `json:"Requestid,omitempty" name:"Requestid"`
// 结果
Result *string `json:"Result,omitempty" name:"Result"`
// 模块
Scene *string `json:"Scene,omitempty" name:"Scene"`
// 日志时间
Time *string `json:"Time,omitempty" name:"Time"`
// 腾讯云账号
Userid *string `json:"Userid,omitempty" name:"Userid"`
}
type CancelDeviceFirmwareTaskRequest ¶
type CancelDeviceFirmwareTaskRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件升级任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
func NewCancelDeviceFirmwareTaskRequest ¶
func NewCancelDeviceFirmwareTaskRequest() (request *CancelDeviceFirmwareTaskRequest)
func (*CancelDeviceFirmwareTaskRequest) FromJsonString ¶
func (r *CancelDeviceFirmwareTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelDeviceFirmwareTaskRequest) ToJsonString ¶
func (r *CancelDeviceFirmwareTaskRequest) ToJsonString() string
type CancelDeviceFirmwareTaskRequestParams ¶ added in v1.0.426
type CancelDeviceFirmwareTaskRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件升级任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
Predefined struct for user
type CancelDeviceFirmwareTaskResponse ¶
type CancelDeviceFirmwareTaskResponse struct {
*tchttp.BaseResponse
Response *CancelDeviceFirmwareTaskResponseParams `json:"Response"`
}
func NewCancelDeviceFirmwareTaskResponse ¶
func NewCancelDeviceFirmwareTaskResponse() (response *CancelDeviceFirmwareTaskResponse)
func (*CancelDeviceFirmwareTaskResponse) FromJsonString ¶
func (r *CancelDeviceFirmwareTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelDeviceFirmwareTaskResponse) ToJsonString ¶
func (r *CancelDeviceFirmwareTaskResponse) ToJsonString() string
type CancelDeviceFirmwareTaskResponseParams ¶ added in v1.0.426
type CancelDeviceFirmwareTaskResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CancelTaskRequest ¶
type CancelTaskRequest struct {
*tchttp.BaseRequest
// 任务 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
func NewCancelTaskRequest ¶
func NewCancelTaskRequest() (request *CancelTaskRequest)
func (*CancelTaskRequest) FromJsonString ¶
func (r *CancelTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelTaskRequest) ToJsonString ¶
func (r *CancelTaskRequest) ToJsonString() string
type CancelTaskRequestParams ¶ added in v1.0.426
type CancelTaskRequestParams struct {
// 任务 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
Predefined struct for user
type CancelTaskResponse ¶
type CancelTaskResponse struct {
*tchttp.BaseResponse
Response *CancelTaskResponseParams `json:"Response"`
}
func NewCancelTaskResponse ¶
func NewCancelTaskResponse() (response *CancelTaskResponse)
func (*CancelTaskResponse) FromJsonString ¶
func (r *CancelTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelTaskResponse) ToJsonString ¶
func (r *CancelTaskResponse) ToJsonString() string
type CancelTaskResponseParams ¶ added in v1.0.426
type CancelTaskResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BatchUpdateFirmware ¶
func (c *Client) BatchUpdateFirmware(request *BatchUpdateFirmwareRequest) (response *BatchUpdateFirmwareResponse, err error)
BatchUpdateFirmware 本接口(BatchUpdateFirmware)用于批量更新设备固件
可能返回的错误码:
FAILEDOPERATION_DEVICEISUPDATING = "FailedOperation.DeviceIsUpdating" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
func (*Client) BatchUpdateFirmwareWithContext ¶ added in v1.0.324
func (c *Client) BatchUpdateFirmwareWithContext(ctx context.Context, request *BatchUpdateFirmwareRequest) (response *BatchUpdateFirmwareResponse, err error)
BatchUpdateFirmware 本接口(BatchUpdateFirmware)用于批量更新设备固件
可能返回的错误码:
FAILEDOPERATION_DEVICEISUPDATING = "FailedOperation.DeviceIsUpdating" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
func (*Client) BindDevices ¶
func (c *Client) BindDevices(request *BindDevicesRequest) (response *BindDevicesResponse, err error)
BindDevices 本接口(BindDevices)用于网关设备批量绑定子设备
可能返回的错误码:
FAILEDOPERATION_BINDDEVICEOVERLIMIT = "FailedOperation.BindDeviceOverLimit" INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEVICEISNOTGATEWAY = "InvalidParameterValue.DeviceIsNotGateway" INVALIDPARAMETERVALUE_PRODUCTISNOTGATEWAY = "InvalidParameterValue.ProductIsNotGateway" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway" UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
func (*Client) BindDevicesWithContext ¶ added in v1.0.324
func (c *Client) BindDevicesWithContext(ctx context.Context, request *BindDevicesRequest) (response *BindDevicesResponse, err error)
BindDevices 本接口(BindDevices)用于网关设备批量绑定子设备
可能返回的错误码:
FAILEDOPERATION_BINDDEVICEOVERLIMIT = "FailedOperation.BindDeviceOverLimit" INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEVICEISNOTGATEWAY = "InvalidParameterValue.DeviceIsNotGateway" INVALIDPARAMETERVALUE_PRODUCTISNOTGATEWAY = "InvalidParameterValue.ProductIsNotGateway" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway" UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
func (*Client) CancelDeviceFirmwareTask ¶
func (c *Client) CancelDeviceFirmwareTask(request *CancelDeviceFirmwareTaskRequest) (response *CancelDeviceFirmwareTaskResponse, err error)
CancelDeviceFirmwareTask 取消设备升级任务
可能返回的错误码:
FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone" FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask" RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist"
func (*Client) CancelDeviceFirmwareTaskWithContext ¶ added in v1.0.324
func (c *Client) CancelDeviceFirmwareTaskWithContext(ctx context.Context, request *CancelDeviceFirmwareTaskRequest) (response *CancelDeviceFirmwareTaskResponse, err error)
CancelDeviceFirmwareTask 取消设备升级任务
可能返回的错误码:
FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone" FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask" RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist"
func (*Client) CancelTask ¶
func (c *Client) CancelTask(request *CancelTaskRequest) (response *CancelTaskResponse, err error)
CancelTask 本接口(CancelTask)用于取消一个未被调度的任务。
可能返回的错误码:
FAILEDOPERATION_ASYNCTASKALREADYSTARTED = "FailedOperation.AsyncTaskAlreadyStarted" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) CancelTaskWithContext ¶ added in v1.0.324
func (c *Client) CancelTaskWithContext(ctx context.Context, request *CancelTaskRequest) (response *CancelTaskResponse, err error)
CancelTask 本接口(CancelTask)用于取消一个未被调度的任务。
可能返回的错误码:
FAILEDOPERATION_ASYNCTASKALREADYSTARTED = "FailedOperation.AsyncTaskAlreadyStarted" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) CreateDevice ¶
func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
CreateDevice 本接口(CreateDevice)用于新建一个物联网通信设备。
可能返回的错误码:
FAILEDOPERATION_TIDWHITELISTNOTOPEN = "FailedOperation.TidWhiteListNotOpen" INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINEDPSKNOTBASE64 = "InvalidParameterValue.DefinedPskNotBase64" INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist" LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_PRODUCTCANTHAVELORADEVICE = "UnauthorizedOperation.ProductCantHaveLoRaDevice" UNAUTHORIZEDOPERATION_PRODUCTCANTHAVENORMALDEVICE = "UnauthorizedOperation.ProductCantHaveNormalDevice" UNAUTHORIZEDOPERATION_PRODUCTCANTHAVENOTLORADEVICE = "UnauthorizedOperation.ProductCantHaveNotLoRaDevice" UNAUTHORIZEDOPERATION_PRODUCTISFORBIDDEN = "UnauthorizedOperation.ProductIsForbidden" UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = "UnauthorizedOperation.ProductNotSupportPSK" UNSUPPORTEDOPERATION_SUITETOKENNOCREATE = "UnsupportedOperation.SuiteTokenNoCreate"
func (*Client) CreateDeviceWithContext ¶ added in v1.0.324
func (c *Client) CreateDeviceWithContext(ctx context.Context, request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
CreateDevice 本接口(CreateDevice)用于新建一个物联网通信设备。
可能返回的错误码:
FAILEDOPERATION_TIDWHITELISTNOTOPEN = "FailedOperation.TidWhiteListNotOpen" INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINEDPSKNOTBASE64 = "InvalidParameterValue.DefinedPskNotBase64" INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist" LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_PRODUCTCANTHAVELORADEVICE = "UnauthorizedOperation.ProductCantHaveLoRaDevice" UNAUTHORIZEDOPERATION_PRODUCTCANTHAVENORMALDEVICE = "UnauthorizedOperation.ProductCantHaveNormalDevice" UNAUTHORIZEDOPERATION_PRODUCTCANTHAVENOTLORADEVICE = "UnauthorizedOperation.ProductCantHaveNotLoRaDevice" UNAUTHORIZEDOPERATION_PRODUCTISFORBIDDEN = "UnauthorizedOperation.ProductIsForbidden" UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = "UnauthorizedOperation.ProductNotSupportPSK" UNSUPPORTEDOPERATION_SUITETOKENNOCREATE = "UnsupportedOperation.SuiteTokenNoCreate"
func (*Client) CreateLoraDevice ¶
func (c *Client) CreateLoraDevice(request *CreateLoraDeviceRequest) (response *CreateLoraDeviceResponse, err error)
CreateLoraDevice 创建lora类型的设备
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist"
func (*Client) CreateLoraDeviceWithContext ¶ added in v1.0.324
func (c *Client) CreateLoraDeviceWithContext(ctx context.Context, request *CreateLoraDeviceRequest) (response *CreateLoraDeviceResponse, err error)
CreateLoraDevice 创建lora类型的设备
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist"
func (*Client) CreateMultiDevice ¶
func (c *Client) CreateMultiDevice(request *CreateMultiDeviceRequest) (response *CreateMultiDeviceResponse, err error)
CreateMultiDevice 本接口(CreateMultiDevice)用于批量创建物联云设备。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateMultiDeviceWithContext ¶ added in v1.0.324
func (c *Client) CreateMultiDeviceWithContext(ctx context.Context, request *CreateMultiDeviceRequest) (response *CreateMultiDeviceResponse, err error)
CreateMultiDevice 本接口(CreateMultiDevice)用于批量创建物联云设备。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateMultiDevicesTask ¶
func (c *Client) CreateMultiDevicesTask(request *CreateMultiDevicesTaskRequest) (response *CreateMultiDevicesTaskResponse, err error)
CreateMultiDevicesTask 本接口(CreateMultiDevicesTask)用于创建产品级别的批量创建设备任务
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateMultiDevicesTaskWithContext ¶ added in v1.0.324
func (c *Client) CreateMultiDevicesTaskWithContext(ctx context.Context, request *CreateMultiDevicesTaskRequest) (response *CreateMultiDevicesTaskResponse, err error)
CreateMultiDevicesTask 本接口(CreateMultiDevicesTask)用于创建产品级别的批量创建设备任务
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateProduct ¶
func (c *Client) CreateProduct(request *CreateProductRequest) (response *CreateProductResponse, err error)
CreateProduct 本接口(CreateProduct)用于创建一个新的物联网通信产品
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" INVALIDPARAMETERVALUE_TIDPRODUCTALREADYEXIST = "InvalidParameterValue.TidProductAlreadyExist" LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit" RESOURCENOTFOUND_THINGMODELNOTEXIST = "ResourceNotFound.ThingModelNotExist" UNAUTHORIZEDOPERATION_USERNOTAUTHENTICAED = "UnauthorizedOperation.UserNotAuthenticaed"
func (*Client) CreateProductWithContext ¶ added in v1.0.324
func (c *Client) CreateProductWithContext(ctx context.Context, request *CreateProductRequest) (response *CreateProductResponse, err error)
CreateProduct 本接口(CreateProduct)用于创建一个新的物联网通信产品
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" INVALIDPARAMETERVALUE_TIDPRODUCTALREADYEXIST = "InvalidParameterValue.TidProductAlreadyExist" LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit" RESOURCENOTFOUND_THINGMODELNOTEXIST = "ResourceNotFound.ThingModelNotExist" UNAUTHORIZEDOPERATION_USERNOTAUTHENTICAED = "UnauthorizedOperation.UserNotAuthenticaed"
func (*Client) CreateTask ¶
func (c *Client) CreateTask(request *CreateTaskRequest) (response *CreateTaskResponse, err error)
CreateTask 本接口(CreateTask)用于创建一个批量任务。目前此接口可以创建批量更新影子以及批量下发消息的任务
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_PENGINGORPROCESSINGTASKSEXCEEDLIMIT = "LimitExceeded.PengingOrProcessingTasksExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateTaskFileUrl ¶
func (c *Client) CreateTaskFileUrl(request *CreateTaskFileUrlRequest) (response *CreateTaskFileUrlResponse, err error)
CreateTaskFileUrl 本接口(CreateTaskFileUrl)用于获取产品级任务文件上传链接
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateTaskFileUrlWithContext ¶ added in v1.0.324
func (c *Client) CreateTaskFileUrlWithContext(ctx context.Context, request *CreateTaskFileUrlRequest) (response *CreateTaskFileUrlResponse, err error)
CreateTaskFileUrl 本接口(CreateTaskFileUrl)用于获取产品级任务文件上传链接
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateTaskWithContext ¶ added in v1.0.324
func (c *Client) CreateTaskWithContext(ctx context.Context, request *CreateTaskRequest) (response *CreateTaskResponse, err error)
CreateTask 本接口(CreateTask)用于创建一个批量任务。目前此接口可以创建批量更新影子以及批量下发消息的任务
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_PENGINGORPROCESSINGTASKSEXCEEDLIMIT = "LimitExceeded.PengingOrProcessingTasksExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateTopicPolicy ¶
func (c *Client) CreateTopicPolicy(request *CreateTopicPolicyRequest) (response *CreateTopicPolicyResponse, err error)
CreateTopicPolicy 本接口(CreateTopicPolicy)用于创建一个Topic
可能返回的错误码:
FAILEDOPERATION_PRODUCTNOTBIND = "FailedOperation.ProductNotBind" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist" LIMITEXCEEDED_TOPICPOLICYEXCEEDLIMIT = "LimitExceeded.TopicPolicyExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateTopicPolicyWithContext ¶ added in v1.0.324
func (c *Client) CreateTopicPolicyWithContext(ctx context.Context, request *CreateTopicPolicyRequest) (response *CreateTopicPolicyResponse, err error)
CreateTopicPolicy 本接口(CreateTopicPolicy)用于创建一个Topic
可能返回的错误码:
FAILEDOPERATION_PRODUCTNOTBIND = "FailedOperation.ProductNotBind" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist" LIMITEXCEEDED_TOPICPOLICYEXCEEDLIMIT = "LimitExceeded.TopicPolicyExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) CreateTopicRule ¶
func (c *Client) CreateTopicRule(request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)
CreateTopicRule 本接口(CreateTopicRule)用于创建一个规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail" INVALIDPARAMETERVALUE_CLOUDCOMPONENTALREADYEXIST = "InvalidParameterValue.CloudComponentAlreadyExist" INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice" INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateTopicRuleWithContext ¶ added in v1.0.324
func (c *Client) CreateTopicRuleWithContext(ctx context.Context, request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)
CreateTopicRule 本接口(CreateTopicRule)用于创建一个规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail" INVALIDPARAMETERVALUE_CLOUDCOMPONENTALREADYEXIST = "InvalidParameterValue.CloudComponentAlreadyExist" INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice" INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteDevice ¶
func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
DeleteDevice 本接口(DeleteDevice)用于删除物联网通信设备。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway" UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices" UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
func (*Client) DeleteDeviceResource ¶ added in v1.0.352
func (c *Client) DeleteDeviceResource(request *DeleteDeviceResourceRequest) (response *DeleteDeviceResourceResponse, err error)
DeleteDeviceResource 本接口(DeleteDeviceResource)用于删除设备资源
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit" RESOURCENOTFOUND_DEVICERESOURCENOTEXIST = "ResourceNotFound.DeviceResourceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_USERNOTAUTHENTICAED = "UnauthorizedOperation.UserNotAuthenticaed"
func (*Client) DeleteDeviceResourceWithContext ¶ added in v1.0.352
func (c *Client) DeleteDeviceResourceWithContext(ctx context.Context, request *DeleteDeviceResourceRequest) (response *DeleteDeviceResourceResponse, err error)
DeleteDeviceResource 本接口(DeleteDeviceResource)用于删除设备资源
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit" RESOURCENOTFOUND_DEVICERESOURCENOTEXIST = "ResourceNotFound.DeviceResourceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_USERNOTAUTHENTICAED = "UnauthorizedOperation.UserNotAuthenticaed"
func (*Client) DeleteDeviceWithContext ¶ added in v1.0.324
func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
DeleteDevice 本接口(DeleteDevice)用于删除物联网通信设备。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway" UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices" UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
func (*Client) DeleteLoraDevice ¶
func (c *Client) DeleteLoraDevice(request *DeleteLoraDeviceRequest) (response *DeleteLoraDeviceResponse, err error)
DeleteLoraDevice 删除lora类型的设备
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) DeleteLoraDeviceWithContext ¶ added in v1.0.324
func (c *Client) DeleteLoraDeviceWithContext(ctx context.Context, request *DeleteLoraDeviceRequest) (response *DeleteLoraDeviceResponse, err error)
DeleteLoraDevice 删除lora类型的设备
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) DeleteProduct ¶
func (c *Client) DeleteProduct(request *DeleteProductRequest) (response *DeleteProductResponse, err error)
DeleteProduct 本接口(DeleteProduct)用于删除一个物联网通信产品
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnauthorizedOperation.DevicesExistUnderProduct" UNSUPPORTEDOPERATION_GATEWAYPRODUCTHASBINDEDPRODUCT = "UnsupportedOperation.GatewayProductHasBindedProduct" UNSUPPORTEDOPERATION_PRODUCTHASBINDGATEWAY = "UnsupportedOperation.ProductHasBindGateway" UNSUPPORTEDOPERATION_PRODUCTHASBINDEDGATEWAYPRODUCT = "UnsupportedOperation.ProductHasBindedGatewayProduct"
func (*Client) DeleteProductWithContext ¶ added in v1.0.324
func (c *Client) DeleteProductWithContext(ctx context.Context, request *DeleteProductRequest) (response *DeleteProductResponse, err error)
DeleteProduct 本接口(DeleteProduct)用于删除一个物联网通信产品
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnauthorizedOperation.DevicesExistUnderProduct" UNSUPPORTEDOPERATION_GATEWAYPRODUCTHASBINDEDPRODUCT = "UnsupportedOperation.GatewayProductHasBindedProduct" UNSUPPORTEDOPERATION_PRODUCTHASBINDGATEWAY = "UnsupportedOperation.ProductHasBindGateway" UNSUPPORTEDOPERATION_PRODUCTHASBINDEDGATEWAYPRODUCT = "UnsupportedOperation.ProductHasBindedGatewayProduct"
func (*Client) DeleteTopicRule ¶
func (c *Client) DeleteTopicRule(request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)
DeleteTopicRule 本接口(DeleteTopicRule)用于删除规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) DeleteTopicRuleWithContext ¶ added in v1.0.324
func (c *Client) DeleteTopicRuleWithContext(ctx context.Context, request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)
DeleteTopicRule 本接口(DeleteTopicRule)用于删除规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) DescribeAllDevices ¶
func (c *Client) DescribeAllDevices(request *DescribeAllDevicesRequest) (response *DescribeAllDevicesResponse, err error)
DescribeAllDevices 查询所有设备列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) DescribeAllDevicesWithContext ¶ added in v1.0.324
func (c *Client) DescribeAllDevicesWithContext(ctx context.Context, request *DescribeAllDevicesRequest) (response *DescribeAllDevicesResponse, err error)
DescribeAllDevices 查询所有设备列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) DescribeDevice ¶
func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
DescribeDevice 本接口(DescribeDevice)用于查看设备信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeDeviceClientKey ¶
func (c *Client) DescribeDeviceClientKey(request *DescribeDeviceClientKeyRequest) (response *DescribeDeviceClientKeyResponse, err error)
DescribeDeviceClientKey 获取证书认证类型设备的私钥,刚生成或者重置设备后仅可调用一次
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNSUPPORTEDOPERATION_CLIENTCERTALREADYGOT = "UnsupportedOperation.ClientCertAlreadyGot" UNSUPPORTEDOPERATION_WRONGPRODUCTAUTHTYPE = "UnsupportedOperation.WrongProductAuthType"
func (*Client) DescribeDeviceClientKeyWithContext ¶ added in v1.0.324
func (c *Client) DescribeDeviceClientKeyWithContext(ctx context.Context, request *DescribeDeviceClientKeyRequest) (response *DescribeDeviceClientKeyResponse, err error)
DescribeDeviceClientKey 获取证书认证类型设备的私钥,刚生成或者重置设备后仅可调用一次
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNSUPPORTEDOPERATION_CLIENTCERTALREADYGOT = "UnsupportedOperation.ClientCertAlreadyGot" UNSUPPORTEDOPERATION_WRONGPRODUCTAUTHTYPE = "UnsupportedOperation.WrongProductAuthType"
func (*Client) DescribeDeviceResource ¶
func (c *Client) DescribeDeviceResource(request *DescribeDeviceResourceRequest) (response *DescribeDeviceResourceResponse, err error)
DescribeDeviceResource 本接口(DescribeDeviceResource)用于查询设备资源详情。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICERESOURCENOTEXIST = "ResourceNotFound.DeviceResourceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeDeviceResourceWithContext ¶ added in v1.0.324
func (c *Client) DescribeDeviceResourceWithContext(ctx context.Context, request *DescribeDeviceResourceRequest) (response *DescribeDeviceResourceResponse, err error)
DescribeDeviceResource 本接口(DescribeDeviceResource)用于查询设备资源详情。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICERESOURCENOTEXIST = "ResourceNotFound.DeviceResourceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeDeviceResources ¶
func (c *Client) DescribeDeviceResources(request *DescribeDeviceResourcesRequest) (response *DescribeDeviceResourcesResponse, err error)
DescribeDeviceResources 本接口(DescribeDeviceResources)用于查询设备资源列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeDeviceResourcesWithContext ¶ added in v1.0.324
func (c *Client) DescribeDeviceResourcesWithContext(ctx context.Context, request *DescribeDeviceResourcesRequest) (response *DescribeDeviceResourcesResponse, err error)
DescribeDeviceResources 本接口(DescribeDeviceResources)用于查询设备资源列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeDeviceShadow ¶
func (c *Client) DescribeDeviceShadow(request *DescribeDeviceShadowRequest) (response *DescribeDeviceShadowResponse, err error)
DescribeDeviceShadow 本接口(DescribeDeviceShadow)用于查询虚拟设备信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PARAMINCOMPLETE = "InvalidParameterValue.ParamIncomplete" RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist" RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
func (*Client) DescribeDeviceShadowWithContext ¶ added in v1.0.324
func (c *Client) DescribeDeviceShadowWithContext(ctx context.Context, request *DescribeDeviceShadowRequest) (response *DescribeDeviceShadowResponse, err error)
DescribeDeviceShadow 本接口(DescribeDeviceShadow)用于查询虚拟设备信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PARAMINCOMPLETE = "InvalidParameterValue.ParamIncomplete" RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist" RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
func (*Client) DescribeDeviceWithContext ¶ added in v1.0.324
func (c *Client) DescribeDeviceWithContext(ctx context.Context, request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
DescribeDevice 本接口(DescribeDevice)用于查看设备信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeDevices ¶
func (c *Client) DescribeDevices(request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)
DescribeDevices 本接口(DescribeDevices)用于查询物联网通信设备的设备列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeDevicesWithContext ¶ added in v1.0.324
func (c *Client) DescribeDevicesWithContext(ctx context.Context, request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)
DescribeDevices 本接口(DescribeDevices)用于查询物联网通信设备的设备列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeFirmware ¶
func (c *Client) DescribeFirmware(request *DescribeFirmwareRequest) (response *DescribeFirmwareResponse, err error)
DescribeFirmware 查询固件信息
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
func (*Client) DescribeFirmwareTask ¶
func (c *Client) DescribeFirmwareTask(request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)
DescribeFirmwareTask 查询固件升级任务详情
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTaskDevices ¶
func (c *Client) DescribeFirmwareTaskDevices(request *DescribeFirmwareTaskDevicesRequest) (response *DescribeFirmwareTaskDevicesResponse, err error)
DescribeFirmwareTaskDevices 查询固件升级任务的设备列表
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTaskDevicesWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirmwareTaskDevicesWithContext(ctx context.Context, request *DescribeFirmwareTaskDevicesRequest) (response *DescribeFirmwareTaskDevicesResponse, err error)
DescribeFirmwareTaskDevices 查询固件升级任务的设备列表
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTaskDistribution ¶
func (c *Client) DescribeFirmwareTaskDistribution(request *DescribeFirmwareTaskDistributionRequest) (response *DescribeFirmwareTaskDistributionResponse, err error)
DescribeFirmwareTaskDistribution 查询固件升级任务状态分布
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTaskDistributionWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirmwareTaskDistributionWithContext(ctx context.Context, request *DescribeFirmwareTaskDistributionRequest) (response *DescribeFirmwareTaskDistributionResponse, err error)
DescribeFirmwareTaskDistribution 查询固件升级任务状态分布
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTaskStatistics ¶
func (c *Client) DescribeFirmwareTaskStatistics(request *DescribeFirmwareTaskStatisticsRequest) (response *DescribeFirmwareTaskStatisticsResponse, err error)
DescribeFirmwareTaskStatistics 查询固件升级任务统计信息
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTaskStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirmwareTaskStatisticsWithContext(ctx context.Context, request *DescribeFirmwareTaskStatisticsRequest) (response *DescribeFirmwareTaskStatisticsResponse, err error)
DescribeFirmwareTaskStatistics 查询固件升级任务统计信息
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTaskWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirmwareTaskWithContext(ctx context.Context, request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)
DescribeFirmwareTask 查询固件升级任务详情
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTasks ¶
func (c *Client) DescribeFirmwareTasks(request *DescribeFirmwareTasksRequest) (response *DescribeFirmwareTasksResponse, err error)
DescribeFirmwareTasks 查询固件升级任务列表
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareTasksWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirmwareTasksWithContext(ctx context.Context, request *DescribeFirmwareTasksRequest) (response *DescribeFirmwareTasksResponse, err error)
DescribeFirmwareTasks 查询固件升级任务列表
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
func (*Client) DescribeFirmwareWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirmwareWithContext(ctx context.Context, request *DescribeFirmwareRequest) (response *DescribeFirmwareResponse, err error)
DescribeFirmware 查询固件信息
可能返回的错误码:
RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
func (*Client) DescribeLoraDevice ¶
func (c *Client) DescribeLoraDevice(request *DescribeLoraDeviceRequest) (response *DescribeLoraDeviceResponse, err error)
DescribeLoraDevice 获取lora类型设备的详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist" INVALIDPARAMETERVALUE_QUERYDEVICEFAIL = "InvalidParameterValue.QueryDeviceFail" INVALIDPARAMETERVALUE_QUERYLORADEVICEFAIL = "InvalidParameterValue.QueryLoraDeviceFail" INVALIDPARAMETERVALUE_QUERYNOTLORADEVICEFAIL = "InvalidParameterValue.QueryNotLoraDeviceFail" INVALIDPARAMETERVALUE_REGISTERLORAINFOERROR = "InvalidParameterValue.RegisterLoraInfoError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) DescribeLoraDeviceWithContext ¶ added in v1.0.324
func (c *Client) DescribeLoraDeviceWithContext(ctx context.Context, request *DescribeLoraDeviceRequest) (response *DescribeLoraDeviceResponse, err error)
DescribeLoraDevice 获取lora类型设备的详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist" INVALIDPARAMETERVALUE_QUERYDEVICEFAIL = "InvalidParameterValue.QueryDeviceFail" INVALIDPARAMETERVALUE_QUERYLORADEVICEFAIL = "InvalidParameterValue.QueryLoraDeviceFail" INVALIDPARAMETERVALUE_QUERYNOTLORADEVICEFAIL = "InvalidParameterValue.QueryNotLoraDeviceFail" INVALIDPARAMETERVALUE_REGISTERLORAINFOERROR = "InvalidParameterValue.RegisterLoraInfoError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) DescribeMultiDevTask ¶
func (c *Client) DescribeMultiDevTask(request *DescribeMultiDevTaskRequest) (response *DescribeMultiDevTaskResponse, err error)
DescribeMultiDevTask 本接口(DescribeMultiDevTask)用于查询批量创建设备任务的执行状态。
可能返回的错误码:
FAILEDOPERATION_TASKIDNOTMATCH = "FailedOperation.TaskIDNotMatch" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_TASKIDNOTMATCH = "InvalidParameterValue.TaskIDNotMatch" RESOURCENOTFOUND_CREATEMULTIDEVICETASKNOTEXIST = "ResourceNotFound.CreateMultiDeviceTaskNotExist" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) DescribeMultiDevTaskWithContext ¶ added in v1.0.324
func (c *Client) DescribeMultiDevTaskWithContext(ctx context.Context, request *DescribeMultiDevTaskRequest) (response *DescribeMultiDevTaskResponse, err error)
DescribeMultiDevTask 本接口(DescribeMultiDevTask)用于查询批量创建设备任务的执行状态。
可能返回的错误码:
FAILEDOPERATION_TASKIDNOTMATCH = "FailedOperation.TaskIDNotMatch" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_TASKIDNOTMATCH = "InvalidParameterValue.TaskIDNotMatch" RESOURCENOTFOUND_CREATEMULTIDEVICETASKNOTEXIST = "ResourceNotFound.CreateMultiDeviceTaskNotExist" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) DescribeMultiDevices ¶
func (c *Client) DescribeMultiDevices(request *DescribeMultiDevicesRequest) (response *DescribeMultiDevicesResponse, err error)
DescribeMultiDevices 本接口(DescribeMultiDevices)用于查询批量创建设备的执行结果。
可能返回的错误码:
FAILEDOPERATION_TASKIDNOTMATCH = "FailedOperation.TaskIDNotMatch" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist" LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit" RESOURCENOTFOUND_CREATEMULTIDEVICETASKNOTEXIST = "ResourceNotFound.CreateMultiDeviceTaskNotExist" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist" UNAUTHORIZEDOPERATION_CREATEMULTIDEVICETASKNOTFINISHED = "UnauthorizedOperation.CreateMultiDeviceTaskNotFinished"
func (*Client) DescribeMultiDevicesWithContext ¶ added in v1.0.324
func (c *Client) DescribeMultiDevicesWithContext(ctx context.Context, request *DescribeMultiDevicesRequest) (response *DescribeMultiDevicesResponse, err error)
DescribeMultiDevices 本接口(DescribeMultiDevices)用于查询批量创建设备的执行结果。
可能返回的错误码:
FAILEDOPERATION_TASKIDNOTMATCH = "FailedOperation.TaskIDNotMatch" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist" LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit" RESOURCENOTFOUND_CREATEMULTIDEVICETASKNOTEXIST = "ResourceNotFound.CreateMultiDeviceTaskNotExist" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist" UNAUTHORIZEDOPERATION_CREATEMULTIDEVICETASKNOTFINISHED = "UnauthorizedOperation.CreateMultiDeviceTaskNotFinished"
func (*Client) DescribeProduct ¶ added in v1.0.378
func (c *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)
DescribeProduct 本接口(DescribeProduct)用于查看产品详情
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeProductResource ¶
func (c *Client) DescribeProductResource(request *DescribeProductResourceRequest) (response *DescribeProductResourceResponse, err error)
DescribeProductResource 本接口(DescribeProductResource)用于查询产品资源详情。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribeProductResourceWithContext ¶ added in v1.0.324
func (c *Client) DescribeProductResourceWithContext(ctx context.Context, request *DescribeProductResourceRequest) (response *DescribeProductResourceResponse, err error)
DescribeProductResource 本接口(DescribeProductResource)用于查询产品资源详情。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribeProductResources ¶
func (c *Client) DescribeProductResources(request *DescribeProductResourcesRequest) (response *DescribeProductResourcesResponse, err error)
DescribeProductResources 本接口(DescribeProductResources)用于查询产品资源列表。
可能返回的错误码:
FAILEDOPERATION_PRODUCTRESOURCEDUPLICATE = "FailedOperation.ProductResourceDuplicate" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribeProductResourcesWithContext ¶ added in v1.0.324
func (c *Client) DescribeProductResourcesWithContext(ctx context.Context, request *DescribeProductResourcesRequest) (response *DescribeProductResourcesResponse, err error)
DescribeProductResources 本接口(DescribeProductResources)用于查询产品资源列表。
可能返回的错误码:
FAILEDOPERATION_PRODUCTRESOURCEDUPLICATE = "FailedOperation.ProductResourceDuplicate" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribeProductTask ¶
func (c *Client) DescribeProductTask(request *DescribeProductTaskRequest) (response *DescribeProductTaskResponse, err error)
DescribeProductTask 本接口(DescribeProductTask)用于查看产品级别的任务信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_CREATEMULTIDEVICETASKNOTEXIST = "ResourceNotFound.CreateMultiDeviceTaskNotExist" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) DescribeProductTaskWithContext ¶ added in v1.0.324
func (c *Client) DescribeProductTaskWithContext(ctx context.Context, request *DescribeProductTaskRequest) (response *DescribeProductTaskResponse, err error)
DescribeProductTask 本接口(DescribeProductTask)用于查看产品级别的任务信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_CREATEMULTIDEVICETASKNOTEXIST = "ResourceNotFound.CreateMultiDeviceTaskNotExist" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) DescribeProductTasks ¶
func (c *Client) DescribeProductTasks(request *DescribeProductTasksRequest) (response *DescribeProductTasksResponse, err error)
DescribeProductTasks 本接口(DescribeProductTasks)用于查看产品级别的任务列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeProductTasksWithContext ¶ added in v1.0.324
func (c *Client) DescribeProductTasksWithContext(ctx context.Context, request *DescribeProductTasksRequest) (response *DescribeProductTasksResponse, err error)
DescribeProductTasks 本接口(DescribeProductTasks)用于查看产品级别的任务列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeProductWithContext ¶ added in v1.0.378
func (c *Client) DescribeProductWithContext(ctx context.Context, request *DescribeProductRequest) (response *DescribeProductResponse, err error)
DescribeProduct 本接口(DescribeProduct)用于查看产品详情
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) DescribeProducts ¶
func (c *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
DescribeProducts 本接口(DescribeProducts)用于列出产品列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeProductsWithContext ¶ added in v1.0.324
func (c *Client) DescribeProductsWithContext(ctx context.Context, request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
DescribeProducts 本接口(DescribeProducts)用于列出产品列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePushResourceTaskStatistics ¶
func (c *Client) DescribePushResourceTaskStatistics(request *DescribePushResourceTaskStatisticsRequest) (response *DescribePushResourceTaskStatisticsResponse, err error)
DescribePushResourceTaskStatistics 查询推送资源任务统计信息
可能返回的错误码:
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribePushResourceTaskStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribePushResourceTaskStatisticsWithContext(ctx context.Context, request *DescribePushResourceTaskStatisticsRequest) (response *DescribePushResourceTaskStatisticsResponse, err error)
DescribePushResourceTaskStatistics 查询推送资源任务统计信息
可能返回的错误码:
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribeResourceTasks ¶
func (c *Client) DescribeResourceTasks(request *DescribeResourceTasksRequest) (response *DescribeResourceTasksResponse, err error)
DescribeResourceTasks 查询资源推送任务列表
可能返回的错误码:
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribeResourceTasksWithContext ¶ added in v1.0.324
func (c *Client) DescribeResourceTasksWithContext(ctx context.Context, request *DescribeResourceTasksRequest) (response *DescribeResourceTasksResponse, err error)
DescribeResourceTasks 查询资源推送任务列表
可能返回的错误码:
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
func (*Client) DescribeTask ¶
func (c *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
DescribeTask 本接口(DescribeTask)用于查询一个已创建任务的详情,任务保留一个月
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) DescribeTaskWithContext ¶ added in v1.0.324
func (c *Client) DescribeTaskWithContext(ctx context.Context, request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
DescribeTask 本接口(DescribeTask)用于查询一个已创建任务的详情,任务保留一个月
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TASKNOTEXIST = "ResourceNotFound.TaskNotExist"
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 本接口(DescribeTasks)用于查询已创建的任务列表,任务保留一个月
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeTasksWithContext ¶ added in v1.0.324
func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 本接口(DescribeTasks)用于查询已创建的任务列表,任务保留一个月
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DisableTopicRule ¶
func (c *Client) DisableTopicRule(request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)
DisableTopicRule 本接口(DisableTopicRule)用于禁用规则
可能返回的错误码:
FAILEDOPERATION_RULEALREADYDISABLED = "FailedOperation.RuleAlreadyDisabled" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) DisableTopicRuleWithContext ¶ added in v1.0.324
func (c *Client) DisableTopicRuleWithContext(ctx context.Context, request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)
DisableTopicRule 本接口(DisableTopicRule)用于禁用规则
可能返回的错误码:
FAILEDOPERATION_RULEALREADYDISABLED = "FailedOperation.RuleAlreadyDisabled" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) DownloadDeviceResource ¶ added in v1.0.352
func (c *Client) DownloadDeviceResource(request *DownloadDeviceResourceRequest) (response *DownloadDeviceResourceResponse, err error)
DownloadDeviceResource 本接口(DownloadDeviceResource)用于下载设备资源
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit" RESOURCENOTFOUND_DEVICERESOURCENOTEXIST = "ResourceNotFound.DeviceResourceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" RESOURCENOTFOUND_RESOURCEFILENOTEXIST = "ResourceNotFound.ResourceFileNotExist" UNAUTHORIZEDOPERATION_USERNOTAUTHENTICAED = "UnauthorizedOperation.UserNotAuthenticaed"
func (*Client) DownloadDeviceResourceWithContext ¶ added in v1.0.352
func (c *Client) DownloadDeviceResourceWithContext(ctx context.Context, request *DownloadDeviceResourceRequest) (response *DownloadDeviceResourceResponse, err error)
DownloadDeviceResource 本接口(DownloadDeviceResource)用于下载设备资源
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit" RESOURCENOTFOUND_DEVICERESOURCENOTEXIST = "ResourceNotFound.DeviceResourceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" RESOURCENOTFOUND_RESOURCEFILENOTEXIST = "ResourceNotFound.ResourceFileNotExist" UNAUTHORIZEDOPERATION_USERNOTAUTHENTICAED = "UnauthorizedOperation.UserNotAuthenticaed"
func (*Client) EditFirmware ¶
func (c *Client) EditFirmware(request *EditFirmwareRequest) (response *EditFirmwareResponse, err error)
EditFirmware 编辑固件信息
可能返回的错误码:
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"
func (*Client) EditFirmwareWithContext ¶ added in v1.0.324
func (c *Client) EditFirmwareWithContext(ctx context.Context, request *EditFirmwareRequest) (response *EditFirmwareResponse, err error)
EditFirmware 编辑固件信息
可能返回的错误码:
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"
func (*Client) EnableTopicRule ¶
func (c *Client) EnableTopicRule(request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)
EnableTopicRule 本接口(EnableTopicRule)用于启用规则
可能返回的错误码:
FAILEDOPERATION_DUPLICATIONOFFUNCTIONITEM = "FailedOperation.DuplicationOfFunctionItem" FAILEDOPERATION_FUNCTIONFILENOTEXIST = "FailedOperation.FunctionFileNotExist" FAILEDOPERATION_PROXYIPISNOTENOUGH = "FailedOperation.ProxyIPIsNotEnough" FAILEDOPERATION_RULEALREADYENABLED = "FailedOperation.RuleAlreadyEnabled" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail" INVALIDPARAMETERVALUE_CLOUDCOMPONENTALREADYEXIST = "InvalidParameterValue.CloudComponentAlreadyExist" INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice" INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) EnableTopicRuleWithContext ¶ added in v1.0.324
func (c *Client) EnableTopicRuleWithContext(ctx context.Context, request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)
EnableTopicRule 本接口(EnableTopicRule)用于启用规则
可能返回的错误码:
FAILEDOPERATION_DUPLICATIONOFFUNCTIONITEM = "FailedOperation.DuplicationOfFunctionItem" FAILEDOPERATION_FUNCTIONFILENOTEXIST = "FailedOperation.FunctionFileNotExist" FAILEDOPERATION_PROXYIPISNOTENOUGH = "FailedOperation.ProxyIPIsNotEnough" FAILEDOPERATION_RULEALREADYENABLED = "FailedOperation.RuleAlreadyEnabled" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail" INVALIDPARAMETERVALUE_CLOUDCOMPONENTALREADYEXIST = "InvalidParameterValue.CloudComponentAlreadyExist" INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice" INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
func (*Client) GetCOSURL ¶
func (c *Client) GetCOSURL(request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)
GetCOSURL 本接口(GetCOSURL)用于获取固件存储在COS的URL
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetCOSURLWithContext ¶ added in v1.0.324
func (c *Client) GetCOSURLWithContext(ctx context.Context, request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)
GetCOSURL 本接口(GetCOSURL)用于获取固件存储在COS的URL
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetUserResourceInfo ¶
func (c *Client) GetUserResourceInfo(request *GetUserResourceInfoRequest) (response *GetUserResourceInfoResponse, err error)
GetUserResourceInfo 本接口(GetUserResourceInfo)用于查询用户资源使用信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) GetUserResourceInfoWithContext ¶ added in v1.0.324
func (c *Client) GetUserResourceInfoWithContext(ctx context.Context, request *GetUserResourceInfoRequest) (response *GetUserResourceInfoResponse, err error)
GetUserResourceInfo 本接口(GetUserResourceInfo)用于查询用户资源使用信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) ListLog ¶ added in v1.0.329
func (c *Client) ListLog(request *ListLogRequest) (response *ListLogResponse, err error)
ListLog 本接口(ListLog)用于查看日志信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ListLogPayload ¶ added in v1.0.329
func (c *Client) ListLogPayload(request *ListLogPayloadRequest) (response *ListLogPayloadResponse, err error)
ListLogPayload 获取日志内容列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ListLogPayloadWithContext ¶ added in v1.0.329
func (c *Client) ListLogPayloadWithContext(ctx context.Context, request *ListLogPayloadRequest) (response *ListLogPayloadResponse, err error)
ListLogPayload 获取日志内容列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ListLogWithContext ¶ added in v1.0.329
func (c *Client) ListLogWithContext(ctx context.Context, request *ListLogRequest) (response *ListLogResponse, err error)
ListLog 本接口(ListLog)用于查看日志信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ListSDKLog ¶ added in v1.0.329
func (c *Client) ListSDKLog(request *ListSDKLogRequest) (response *ListSDKLogResponse, err error)
ListSDKLog 获取设备上报的日志
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) ListSDKLogWithContext ¶ added in v1.0.329
func (c *Client) ListSDKLogWithContext(ctx context.Context, request *ListSDKLogRequest) (response *ListSDKLogResponse, err error)
ListSDKLog 获取设备上报的日志
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) PublishAsDevice ¶
func (c *Client) PublishAsDevice(request *PublishAsDeviceRequest) (response *PublishAsDeviceResponse, err error)
PublishAsDevice 模拟lora类型的设备端向服务器端发送消息
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) PublishAsDeviceWithContext ¶ added in v1.0.324
func (c *Client) PublishAsDeviceWithContext(ctx context.Context, request *PublishAsDeviceRequest) (response *PublishAsDeviceResponse, err error)
PublishAsDevice 模拟lora类型的设备端向服务器端发送消息
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) PublishBroadcastMessage ¶
func (c *Client) PublishBroadcastMessage(request *PublishBroadcastMessageRequest) (response *PublishBroadcastMessageResponse, err error)
PublishBroadcastMessage 发布广播消息
可能返回的错误码:
FAILEDOPERATION_BROADCASTTASKISRUNNING = "FailedOperation.BroadcastTaskIsRunning" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) PublishBroadcastMessageWithContext ¶ added in v1.0.324
func (c *Client) PublishBroadcastMessageWithContext(ctx context.Context, request *PublishBroadcastMessageRequest) (response *PublishBroadcastMessageResponse, err error)
PublishBroadcastMessage 发布广播消息
可能返回的错误码:
FAILEDOPERATION_BROADCASTTASKISRUNNING = "FailedOperation.BroadcastTaskIsRunning" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) PublishMessage ¶
func (c *Client) PublishMessage(request *PublishMessageRequest) (response *PublishMessageResponse, err error)
PublishMessage 本接口(PublishMessage)用于向某个主题发消息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled" FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription" FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline" FAILEDOPERATION_INVALIDMSGLEN = "FailedOperation.InvalidMsgLen" FAILEDOPERATION_INVALIDTOPICNAME = "FailedOperation.InvalidTopicName" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit" LIMITEXCEEDED_MESSAGESAVED = "LimitExceeded.MessageSaved" LIMITEXCEEDED_OFFLINEMESSAGEEXCEEDLIMIT = "LimitExceeded.OfflineMessageExceedLimit" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist" UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
func (*Client) PublishMessageWithContext ¶ added in v1.0.324
func (c *Client) PublishMessageWithContext(ctx context.Context, request *PublishMessageRequest) (response *PublishMessageResponse, err error)
PublishMessage 本接口(PublishMessage)用于向某个主题发消息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled" FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription" FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline" FAILEDOPERATION_INVALIDMSGLEN = "FailedOperation.InvalidMsgLen" FAILEDOPERATION_INVALIDTOPICNAME = "FailedOperation.InvalidTopicName" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit" LIMITEXCEEDED_MESSAGESAVED = "LimitExceeded.MessageSaved" LIMITEXCEEDED_OFFLINEMESSAGEEXCEEDLIMIT = "LimitExceeded.OfflineMessageExceedLimit" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist" UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
func (*Client) PublishRRPCMessage ¶
func (c *Client) PublishRRPCMessage(request *PublishRRPCMessageRequest) (response *PublishRRPCMessageResponse, err error)
PublishRRPCMessage 发布RRPC消息
可能返回的错误码:
FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled" FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription" FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline" FAILEDOPERATION_RRPCTIMEOUT = "FailedOperation.RRPCTimeout" INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit" LIMITEXCEEDED_OFFLINEMESSAGEEXCEEDLIMIT = "LimitExceeded.OfflineMessageExceedLimit" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) PublishRRPCMessageWithContext ¶ added in v1.0.324
func (c *Client) PublishRRPCMessageWithContext(ctx context.Context, request *PublishRRPCMessageRequest) (response *PublishRRPCMessageResponse, err error)
PublishRRPCMessage 发布RRPC消息
可能返回的错误码:
FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled" FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription" FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline" FAILEDOPERATION_RRPCTIMEOUT = "FailedOperation.RRPCTimeout" INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit" LIMITEXCEEDED_OFFLINEMESSAGEEXCEEDLIMIT = "LimitExceeded.OfflineMessageExceedLimit" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) PublishToDevice ¶
func (c *Client) PublishToDevice(request *PublishToDeviceRequest) (response *PublishToDeviceResponse, err error)
PublishToDevice 服务器端下发消息给lora类型的设备
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) PublishToDeviceWithContext ¶ added in v1.0.324
func (c *Client) PublishToDeviceWithContext(ctx context.Context, request *PublishToDeviceRequest) (response *PublishToDeviceResponse, err error)
PublishToDevice 服务器端下发消息给lora类型的设备
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) ReplaceTopicRule ¶
func (c *Client) ReplaceTopicRule(request *ReplaceTopicRuleRequest) (response *ReplaceTopicRuleResponse, err error)
ReplaceTopicRule 本接口(ReplaceTopicRule)用于修改替换规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail" INVALIDPARAMETERVALUE_CLOUDCOMPONENTALREADYEXIST = "InvalidParameterValue.CloudComponentAlreadyExist" INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice" INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL" INVALIDPARAMETERVALUE_OPERATIONDENIED = "InvalidParameterValue.OperationDenied" INVALIDPARAMETERVALUE_REPUBLISHTOPICFORMATERROR = "InvalidParameterValue.RepublishTopicFormatError" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist" INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" INVALIDPARAMETERVALUE_UPDATETOPICRULEDBFAIL = "InvalidParameterValue.UpdateTopicRuleDBFail" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ReplaceTopicRuleWithContext ¶ added in v1.0.324
func (c *Client) ReplaceTopicRuleWithContext(ctx context.Context, request *ReplaceTopicRuleRequest) (response *ReplaceTopicRuleResponse, err error)
ReplaceTopicRule 本接口(ReplaceTopicRule)用于修改替换规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail" INVALIDPARAMETERVALUE_CLOUDCOMPONENTALREADYEXIST = "InvalidParameterValue.CloudComponentAlreadyExist" INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice" INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL" INVALIDPARAMETERVALUE_OPERATIONDENIED = "InvalidParameterValue.OperationDenied" INVALIDPARAMETERVALUE_REPUBLISHTOPICFORMATERROR = "InvalidParameterValue.RepublishTopicFormatError" INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist" INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" INVALIDPARAMETERVALUE_UPDATETOPICRULEDBFAIL = "InvalidParameterValue.UpdateTopicRuleDBFail" RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResetDeviceState ¶
func (c *Client) ResetDeviceState(request *ResetDeviceStateRequest) (response *ResetDeviceStateResponse, err error)
ResetDeviceState 重置设备的连接状态
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
func (*Client) ResetDeviceStateWithContext ¶ added in v1.0.324
func (c *Client) ResetDeviceStateWithContext(ctx context.Context, request *ResetDeviceStateRequest) (response *ResetDeviceStateResponse, err error)
ResetDeviceState 重置设备的连接状态
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
func (*Client) RetryDeviceFirmwareTask ¶
func (c *Client) RetryDeviceFirmwareTask(request *RetryDeviceFirmwareTaskRequest) (response *RetryDeviceFirmwareTaskResponse, err error)
RetryDeviceFirmwareTask 重试设备升级任务
可能返回的错误码:
FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone" FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask" RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist"
func (*Client) RetryDeviceFirmwareTaskWithContext ¶ added in v1.0.324
func (c *Client) RetryDeviceFirmwareTaskWithContext(ctx context.Context, request *RetryDeviceFirmwareTaskRequest) (response *RetryDeviceFirmwareTaskResponse, err error)
RetryDeviceFirmwareTask 重试设备升级任务
可能返回的错误码:
FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone" FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask" RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist"
func (*Client) SetProductsForbiddenStatus ¶ added in v1.0.259
func (c *Client) SetProductsForbiddenStatus(request *SetProductsForbiddenStatusRequest) (response *SetProductsForbiddenStatusResponse, err error)
SetProductsForbiddenStatus 批量设置产品禁用状态
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) SetProductsForbiddenStatusWithContext ¶ added in v1.0.324
func (c *Client) SetProductsForbiddenStatusWithContext(ctx context.Context, request *SetProductsForbiddenStatusRequest) (response *SetProductsForbiddenStatusResponse, err error)
SetProductsForbiddenStatus 批量设置产品禁用状态
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) UnbindDevices ¶
func (c *Client) UnbindDevices(request *UnbindDevicesRequest) (response *UnbindDevicesResponse, err error)
UnbindDevices 本接口(UnbindDevices)用于网关设备批量解绑子设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) UnbindDevicesWithContext ¶ added in v1.0.324
func (c *Client) UnbindDevicesWithContext(ctx context.Context, request *UnbindDevicesRequest) (response *UnbindDevicesResponse, err error)
UnbindDevices 本接口(UnbindDevices)用于网关设备批量解绑子设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
func (*Client) UpdateDeviceAvailableState ¶
func (c *Client) UpdateDeviceAvailableState(request *UpdateDeviceAvailableStateRequest) (response *UpdateDeviceAvailableStateResponse, err error)
UpdateDeviceAvailableState 启用或者禁用设备
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
func (*Client) UpdateDeviceAvailableStateWithContext ¶ added in v1.0.324
func (c *Client) UpdateDeviceAvailableStateWithContext(ctx context.Context, request *UpdateDeviceAvailableStateRequest) (response *UpdateDeviceAvailableStateResponse, err error)
UpdateDeviceAvailableState 启用或者禁用设备
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
func (*Client) UpdateDeviceShadow ¶
func (c *Client) UpdateDeviceShadow(request *UpdateDeviceShadowRequest) (response *UpdateDeviceShadowResponse, err error)
UpdateDeviceShadow 本接口(UpdateDeviceShadow)用于更新虚拟设备信息。
可能返回的错误码:
FAILEDOPERATION_UPDATEVERSIONNOTMATCH = "FailedOperation.UpdateVersionNotMatch" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDJSON = "InvalidParameterValue.InvalidJSON" INVALIDPARAMETERVALUE_JSONHASINVALIDNODE = "InvalidParameterValue.JSONHasInvalidNode" INVALIDPARAMETERVALUE_JSONSIZEEXCEEDLIMIT = "InvalidParameterValue.JSONSizeExceedLimit" INVALIDPARAMETERVALUE_NOTMERGEABLE = "InvalidParameterValue.NotMergeAble" INVALIDPARAMETERVALUE_PREFIXINVALID = "InvalidParameterValue.PrefixInvalid" RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist" RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
func (*Client) UpdateDeviceShadowWithContext ¶ added in v1.0.324
func (c *Client) UpdateDeviceShadowWithContext(ctx context.Context, request *UpdateDeviceShadowRequest) (response *UpdateDeviceShadowResponse, err error)
UpdateDeviceShadow 本接口(UpdateDeviceShadow)用于更新虚拟设备信息。
可能返回的错误码:
FAILEDOPERATION_UPDATEVERSIONNOTMATCH = "FailedOperation.UpdateVersionNotMatch" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDJSON = "InvalidParameterValue.InvalidJSON" INVALIDPARAMETERVALUE_JSONHASINVALIDNODE = "InvalidParameterValue.JSONHasInvalidNode" INVALIDPARAMETERVALUE_JSONSIZEEXCEEDLIMIT = "InvalidParameterValue.JSONSizeExceedLimit" INVALIDPARAMETERVALUE_NOTMERGEABLE = "InvalidParameterValue.NotMergeAble" INVALIDPARAMETERVALUE_PREFIXINVALID = "InvalidParameterValue.PrefixInvalid" RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist" RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
func (*Client) UpdateDevicesEnableState ¶ added in v1.0.259
func (c *Client) UpdateDevicesEnableState(request *UpdateDevicesEnableStateRequest) (response *UpdateDevicesEnableStateResponse, err error)
UpdateDevicesEnableState 批量启用或者禁用设备
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
func (*Client) UpdateDevicesEnableStateWithContext ¶ added in v1.0.324
func (c *Client) UpdateDevicesEnableStateWithContext(ctx context.Context, request *UpdateDevicesEnableStateRequest) (response *UpdateDevicesEnableStateResponse, err error)
UpdateDevicesEnableState 批量启用或者禁用设备
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
func (*Client) UpdateProductDynamicRegister ¶ added in v1.0.378
func (c *Client) UpdateProductDynamicRegister(request *UpdateProductDynamicRegisterRequest) (response *UpdateProductDynamicRegisterResponse, err error)
UpdateProductDynamicRegister 更新产品动态注册的配置
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_PRODUCTISFORBIDDEN = "UnauthorizedOperation.ProductIsForbidden"
func (*Client) UpdateProductDynamicRegisterWithContext ¶ added in v1.0.378
func (c *Client) UpdateProductDynamicRegisterWithContext(ctx context.Context, request *UpdateProductDynamicRegisterRequest) (response *UpdateProductDynamicRegisterResponse, err error)
UpdateProductDynamicRegister 更新产品动态注册的配置
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PRODUCTTYPENOTSUPPORT = "InvalidParameterValue.ProductTypeNotSupport" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" UNAUTHORIZEDOPERATION_PRODUCTISFORBIDDEN = "UnauthorizedOperation.ProductIsForbidden"
func (*Client) UpdateTopicPolicy ¶
func (c *Client) UpdateTopicPolicy(request *UpdateTopicPolicyRequest) (response *UpdateTopicPolicyResponse, err error)
UpdateTopicPolicy 本接口(UpdateTopicPolicy)用于更新Topic信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist" RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"
func (*Client) UpdateTopicPolicyWithContext ¶ added in v1.0.324
func (c *Client) UpdateTopicPolicyWithContext(ctx context.Context, request *UpdateTopicPolicyRequest) (response *UpdateTopicPolicyResponse, err error)
UpdateTopicPolicy 本接口(UpdateTopicPolicy)用于更新Topic信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist" RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"
func (*Client) UploadFirmware ¶
func (c *Client) UploadFirmware(request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
UploadFirmware 本接口(UploadFirmware)用于上传设备固件信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist" LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = "LimitExceeded.FirmwareExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
func (*Client) UploadFirmwareWithContext ¶ added in v1.0.324
func (c *Client) UploadFirmwareWithContext(ctx context.Context, request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
UploadFirmware 本接口(UploadFirmware)用于上传设备固件信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist" LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = "LimitExceeded.FirmwareExceedLimit" RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
type CreateDeviceRequest ¶
type CreateDeviceRequest struct {
*tchttp.BaseRequest
// 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备属性
Attribute *Attribute `json:"Attribute,omitempty" name:"Attribute"`
// 是否使用自定义PSK,默认不使用
DefinedPsk *string `json:"DefinedPsk,omitempty" name:"DefinedPsk"`
// 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通
Isp *uint64 `json:"Isp,omitempty" name:"Isp"`
// IMEI,当产品是NB-IoT产品时,此字段必填
Imei *string `json:"Imei,omitempty" name:"Imei"`
// LoRa设备的DevEui,当创建LoRa时,此字段必填
LoraDevEui *string `json:"LoraDevEui,omitempty" name:"LoraDevEui"`
// LoRa设备的MoteType
LoraMoteType *uint64 `json:"LoraMoteType,omitempty" name:"LoraMoteType"`
// 创建LoRa设备需要skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
// LoRa设备的AppKey
LoraAppKey *string `json:"LoraAppKey,omitempty" name:"LoraAppKey"`
}
func NewCreateDeviceRequest ¶
func NewCreateDeviceRequest() (request *CreateDeviceRequest)
func (*CreateDeviceRequest) FromJsonString ¶
func (r *CreateDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceRequest) ToJsonString ¶
func (r *CreateDeviceRequest) ToJsonString() string
type CreateDeviceRequestParams ¶ added in v1.0.426
type CreateDeviceRequestParams struct {
// 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备属性
Attribute *Attribute `json:"Attribute,omitempty" name:"Attribute"`
// 是否使用自定义PSK,默认不使用
DefinedPsk *string `json:"DefinedPsk,omitempty" name:"DefinedPsk"`
// 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通
Isp *uint64 `json:"Isp,omitempty" name:"Isp"`
// IMEI,当产品是NB-IoT产品时,此字段必填
Imei *string `json:"Imei,omitempty" name:"Imei"`
// LoRa设备的DevEui,当创建LoRa时,此字段必填
LoraDevEui *string `json:"LoraDevEui,omitempty" name:"LoraDevEui"`
// LoRa设备的MoteType
LoraMoteType *uint64 `json:"LoraMoteType,omitempty" name:"LoraMoteType"`
// 创建LoRa设备需要skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
// LoRa设备的AppKey
LoraAppKey *string `json:"LoraAppKey,omitempty" name:"LoraAppKey"`
}
Predefined struct for user
type CreateDeviceResponse ¶
type CreateDeviceResponse struct {
*tchttp.BaseResponse
Response *CreateDeviceResponseParams `json:"Response"`
}
func NewCreateDeviceResponse ¶
func NewCreateDeviceResponse() (response *CreateDeviceResponse)
func (*CreateDeviceResponse) FromJsonString ¶
func (r *CreateDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceResponse) ToJsonString ¶
func (r *CreateDeviceResponse) ToJsonString() string
type CreateDeviceResponseParams ¶ added in v1.0.426
type CreateDeviceResponseParams struct {
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 对称加密密钥,base64编码。采用对称加密时返回该参数
DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"`
// 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数
DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"`
// 设备私钥,用于 TLS 建立链接时校验客户端身份,腾讯云后台不保存,请妥善保管。采用非对称加密时返回该参数
DevicePrivateKey *string `json:"DevicePrivateKey,omitempty" name:"DevicePrivateKey"`
// LoRa设备的DevEui,当设备是LoRa设备时,会返回该字段
LoraDevEui *string `json:"LoraDevEui,omitempty" name:"LoraDevEui"`
// LoRa设备的MoteType,当设备是LoRa设备时,会返回该字段
LoraMoteType *uint64 `json:"LoraMoteType,omitempty" name:"LoraMoteType"`
// LoRa设备的AppKey,当设备是LoRa设备时,会返回该字段
LoraAppKey *string `json:"LoraAppKey,omitempty" name:"LoraAppKey"`
// LoRa设备的NwkKey,当设备是LoRa设备时,会返回该字段
LoraNwkKey *string `json:"LoraNwkKey,omitempty" name:"LoraNwkKey"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateLoraDeviceRequest ¶
type CreateLoraDeviceRequest struct {
*tchttp.BaseRequest
// 产品Id ,创建产品时腾讯云为用户分配全局唯一的Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备类型 ,目前支持A、B、C三种
DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"`
// LoRa应用UUID
AppEui *string `json:"AppEui,omitempty" name:"AppEui"`
// LoRa设备UUID
DeviceEui *string `json:"DeviceEui,omitempty" name:"DeviceEui"`
// LoRa应用密钥
AppKey *string `json:"AppKey,omitempty" name:"AppKey"`
// LoRa设备验证密钥
AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"`
// 设备备注
Memo *string `json:"Memo,omitempty" name:"Memo"`
}
func NewCreateLoraDeviceRequest ¶
func NewCreateLoraDeviceRequest() (request *CreateLoraDeviceRequest)
func (*CreateLoraDeviceRequest) FromJsonString ¶
func (r *CreateLoraDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoraDeviceRequest) ToJsonString ¶
func (r *CreateLoraDeviceRequest) ToJsonString() string
type CreateLoraDeviceRequestParams ¶ added in v1.0.426
type CreateLoraDeviceRequestParams struct {
// 产品Id ,创建产品时腾讯云为用户分配全局唯一的Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备类型 ,目前支持A、B、C三种
DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"`
// LoRa应用UUID
AppEui *string `json:"AppEui,omitempty" name:"AppEui"`
// LoRa设备UUID
DeviceEui *string `json:"DeviceEui,omitempty" name:"DeviceEui"`
// LoRa应用密钥
AppKey *string `json:"AppKey,omitempty" name:"AppKey"`
// LoRa设备验证密钥
AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"`
// 设备备注
Memo *string `json:"Memo,omitempty" name:"Memo"`
}
Predefined struct for user
type CreateLoraDeviceResponse ¶
type CreateLoraDeviceResponse struct {
*tchttp.BaseResponse
Response *CreateLoraDeviceResponseParams `json:"Response"`
}
func NewCreateLoraDeviceResponse ¶
func NewCreateLoraDeviceResponse() (response *CreateLoraDeviceResponse)
func (*CreateLoraDeviceResponse) FromJsonString ¶
func (r *CreateLoraDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoraDeviceResponse) ToJsonString ¶
func (r *CreateLoraDeviceResponse) ToJsonString() string
type CreateLoraDeviceResponseParams ¶ added in v1.0.426
type CreateLoraDeviceResponseParams struct {
// LoRa应用UUID
AppEui *string `json:"AppEui,omitempty" name:"AppEui"`
// LoRa设备UUID
DeviceEui *string `json:"DeviceEui,omitempty" name:"DeviceEui"`
// 设备类型,目前支持A、B、C三种
ClassType *string `json:"ClassType,omitempty" name:"ClassType"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateMultiDeviceRequest ¶
type CreateMultiDeviceRequest struct {
*tchttp.BaseRequest
// 产品 ID。创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 批量创建的设备名数组,单次最多创建 100 个设备。命名规则:[a-zA-Z0-9:_-]{1,48}
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
}
func NewCreateMultiDeviceRequest ¶
func NewCreateMultiDeviceRequest() (request *CreateMultiDeviceRequest)
func (*CreateMultiDeviceRequest) FromJsonString ¶
func (r *CreateMultiDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMultiDeviceRequest) ToJsonString ¶
func (r *CreateMultiDeviceRequest) ToJsonString() string
type CreateMultiDeviceRequestParams ¶ added in v1.0.426
type CreateMultiDeviceRequestParams struct {
// 产品 ID。创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 批量创建的设备名数组,单次最多创建 100 个设备。命名规则:[a-zA-Z0-9:_-]{1,48}
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
}
Predefined struct for user
type CreateMultiDeviceResponse ¶
type CreateMultiDeviceResponse struct {
*tchttp.BaseResponse
Response *CreateMultiDeviceResponseParams `json:"Response"`
}
func NewCreateMultiDeviceResponse ¶
func NewCreateMultiDeviceResponse() (response *CreateMultiDeviceResponse)
func (*CreateMultiDeviceResponse) FromJsonString ¶
func (r *CreateMultiDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMultiDeviceResponse) ToJsonString ¶
func (r *CreateMultiDeviceResponse) ToJsonString() string
type CreateMultiDeviceResponseParams ¶ added in v1.0.426
type CreateMultiDeviceResponseParams struct {
// 任务ID,腾讯云生成全局唯一的任务 ID,有效期一个月,一个月之后任务失效。可以调用获取创建多设备任务状态接口获取该任务的执行状态,当状态为成功时,可以调用获取创建多设备任务结果接口获取该任务的结果
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateMultiDevicesTaskRequest ¶
type CreateMultiDevicesTaskRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 参数类型 cosfile-文件上传 random-随机创建
ParametersType *string `json:"ParametersType,omitempty" name:"ParametersType"`
// 文件上传类型时文件名
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 文件上传类型时文件大小
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 随机创建时设备创建个数
BatchCount *uint64 `json:"BatchCount,omitempty" name:"BatchCount"`
// 文件上传类型时文件md5值
Hash *string `json:"Hash,omitempty" name:"Hash"`
}
func NewCreateMultiDevicesTaskRequest ¶
func NewCreateMultiDevicesTaskRequest() (request *CreateMultiDevicesTaskRequest)
func (*CreateMultiDevicesTaskRequest) FromJsonString ¶
func (r *CreateMultiDevicesTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMultiDevicesTaskRequest) ToJsonString ¶
func (r *CreateMultiDevicesTaskRequest) ToJsonString() string
type CreateMultiDevicesTaskRequestParams ¶ added in v1.0.426
type CreateMultiDevicesTaskRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 参数类型 cosfile-文件上传 random-随机创建
ParametersType *string `json:"ParametersType,omitempty" name:"ParametersType"`
// 文件上传类型时文件名
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 文件上传类型时文件大小
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 随机创建时设备创建个数
BatchCount *uint64 `json:"BatchCount,omitempty" name:"BatchCount"`
// 文件上传类型时文件md5值
Hash *string `json:"Hash,omitempty" name:"Hash"`
}
Predefined struct for user
type CreateMultiDevicesTaskResponse ¶
type CreateMultiDevicesTaskResponse struct {
*tchttp.BaseResponse
Response *CreateMultiDevicesTaskResponseParams `json:"Response"`
}
func NewCreateMultiDevicesTaskResponse ¶
func NewCreateMultiDevicesTaskResponse() (response *CreateMultiDevicesTaskResponse)
func (*CreateMultiDevicesTaskResponse) FromJsonString ¶
func (r *CreateMultiDevicesTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMultiDevicesTaskResponse) ToJsonString ¶
func (r *CreateMultiDevicesTaskResponse) ToJsonString() string
type CreateMultiDevicesTaskResponseParams ¶ added in v1.0.426
type CreateMultiDevicesTaskResponseParams struct {
// 任务ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateProductRequest ¶
type CreateProductRequest struct {
*tchttp.BaseRequest
// 产品名称,名称不能和已经存在的产品名称重复。命名规则:[a-zA-Z0-9:_-]{1,32}
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品属性
ProductProperties *ProductProperties `json:"ProductProperties,omitempty" name:"ProductProperties"`
// 创建CLAA产品时,需要Skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
func NewCreateProductRequest ¶
func NewCreateProductRequest() (request *CreateProductRequest)
func (*CreateProductRequest) FromJsonString ¶
func (r *CreateProductRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProductRequest) ToJsonString ¶
func (r *CreateProductRequest) ToJsonString() string
type CreateProductRequestParams ¶ added in v1.0.426
type CreateProductRequestParams struct {
// 产品名称,名称不能和已经存在的产品名称重复。命名规则:[a-zA-Z0-9:_-]{1,32}
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品属性
ProductProperties *ProductProperties `json:"ProductProperties,omitempty" name:"ProductProperties"`
// 创建CLAA产品时,需要Skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
Predefined struct for user
type CreateProductResponse ¶
type CreateProductResponse struct {
*tchttp.BaseResponse
Response *CreateProductResponseParams `json:"Response"`
}
func NewCreateProductResponse ¶
func NewCreateProductResponse() (response *CreateProductResponse)
func (*CreateProductResponse) FromJsonString ¶
func (r *CreateProductResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProductResponse) ToJsonString ¶
func (r *CreateProductResponse) ToJsonString() string
type CreateProductResponseParams ¶ added in v1.0.426
type CreateProductResponseParams struct {
// 产品名称
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品 ID,腾讯云生成全局唯一 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品属性
ProductProperties *ProductProperties `json:"ProductProperties,omitempty" name:"ProductProperties"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateTaskFileUrlRequest ¶
type CreateTaskFileUrlRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewCreateTaskFileUrlRequest ¶
func NewCreateTaskFileUrlRequest() (request *CreateTaskFileUrlRequest)
func (*CreateTaskFileUrlRequest) FromJsonString ¶
func (r *CreateTaskFileUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTaskFileUrlRequest) ToJsonString ¶
func (r *CreateTaskFileUrlRequest) ToJsonString() string
type CreateTaskFileUrlRequestParams ¶ added in v1.0.426
type CreateTaskFileUrlRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
Predefined struct for user
type CreateTaskFileUrlResponse ¶
type CreateTaskFileUrlResponse struct {
*tchttp.BaseResponse
Response *CreateTaskFileUrlResponseParams `json:"Response"`
}
func NewCreateTaskFileUrlResponse ¶
func NewCreateTaskFileUrlResponse() (response *CreateTaskFileUrlResponse)
func (*CreateTaskFileUrlResponse) FromJsonString ¶
func (r *CreateTaskFileUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTaskFileUrlResponse) ToJsonString ¶
func (r *CreateTaskFileUrlResponse) ToJsonString() string
type CreateTaskFileUrlResponseParams ¶ added in v1.0.426
type CreateTaskFileUrlResponseParams struct {
// 任务文件上传链接
Url *string `json:"Url,omitempty" name:"Url"`
// 任务文件名
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateTaskRequest ¶
type CreateTaskRequest struct {
*tchttp.BaseRequest
// 任务类型,取值为 “UpdateShadow” 或者 “PublishMessage”
TaskType *string `json:"TaskType,omitempty" name:"TaskType"`
// 执行任务的产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 执行任务的设备名的正则表达式
DeviceNameFilter *string `json:"DeviceNameFilter,omitempty" name:"DeviceNameFilter"`
// 任务开始执行的时间。 取值为 Unix 时间戳,单位秒,且需大于等于当前时间时间戳,0为系统当前时间时间戳,即立即执行,最大为当前时间86400秒后,超过则取值为当前时间86400秒后
ScheduleTimeInSeconds *uint64 `json:"ScheduleTimeInSeconds,omitempty" name:"ScheduleTimeInSeconds"`
// 任务描述细节,描述见下 Task
Tasks *Task `json:"Tasks,omitempty" name:"Tasks"`
// 最长执行时间,单位秒,被调度后超过此时间仍未有结果则视为任务失败。取值为0-86400,默认为86400
MaxExecutionTimeInSeconds *uint64 `json:"MaxExecutionTimeInSeconds,omitempty" name:"MaxExecutionTimeInSeconds"`
}
func NewCreateTaskRequest ¶
func NewCreateTaskRequest() (request *CreateTaskRequest)
func (*CreateTaskRequest) FromJsonString ¶
func (r *CreateTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTaskRequest) ToJsonString ¶
func (r *CreateTaskRequest) ToJsonString() string
type CreateTaskRequestParams ¶ added in v1.0.426
type CreateTaskRequestParams struct {
// 任务类型,取值为 “UpdateShadow” 或者 “PublishMessage”
TaskType *string `json:"TaskType,omitempty" name:"TaskType"`
// 执行任务的产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 执行任务的设备名的正则表达式
DeviceNameFilter *string `json:"DeviceNameFilter,omitempty" name:"DeviceNameFilter"`
// 任务开始执行的时间。 取值为 Unix 时间戳,单位秒,且需大于等于当前时间时间戳,0为系统当前时间时间戳,即立即执行,最大为当前时间86400秒后,超过则取值为当前时间86400秒后
ScheduleTimeInSeconds *uint64 `json:"ScheduleTimeInSeconds,omitempty" name:"ScheduleTimeInSeconds"`
// 任务描述细节,描述见下 Task
Tasks *Task `json:"Tasks,omitempty" name:"Tasks"`
// 最长执行时间,单位秒,被调度后超过此时间仍未有结果则视为任务失败。取值为0-86400,默认为86400
MaxExecutionTimeInSeconds *uint64 `json:"MaxExecutionTimeInSeconds,omitempty" name:"MaxExecutionTimeInSeconds"`
}
Predefined struct for user
type CreateTaskResponse ¶
type CreateTaskResponse struct {
*tchttp.BaseResponse
Response *CreateTaskResponseParams `json:"Response"`
}
func NewCreateTaskResponse ¶
func NewCreateTaskResponse() (response *CreateTaskResponse)
func (*CreateTaskResponse) FromJsonString ¶
func (r *CreateTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTaskResponse) ToJsonString ¶
func (r *CreateTaskResponse) ToJsonString() string
type CreateTaskResponseParams ¶ added in v1.0.426
type CreateTaskResponseParams struct {
// 创建的任务ID
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateTopicPolicyRequest ¶
type CreateTopicPolicyRequest struct {
*tchttp.BaseRequest
// 产品自身ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// Topic名称
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// Topic权限,1发布,2订阅,3订阅和发布
Privilege *uint64 `json:"Privilege,omitempty" name:"Privilege"`
// 代理订阅信息,网关产品为绑定的子产品创建topic时需要填写,内容为子产品的ID和设备信息。
BrokerSubscribe *BrokerSubscribe `json:"BrokerSubscribe,omitempty" name:"BrokerSubscribe"`
}
func NewCreateTopicPolicyRequest ¶
func NewCreateTopicPolicyRequest() (request *CreateTopicPolicyRequest)
func (*CreateTopicPolicyRequest) FromJsonString ¶
func (r *CreateTopicPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicPolicyRequest) ToJsonString ¶
func (r *CreateTopicPolicyRequest) ToJsonString() string
type CreateTopicPolicyRequestParams ¶ added in v1.0.426
type CreateTopicPolicyRequestParams struct {
// 产品自身ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// Topic名称
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// Topic权限,1发布,2订阅,3订阅和发布
Privilege *uint64 `json:"Privilege,omitempty" name:"Privilege"`
// 代理订阅信息,网关产品为绑定的子产品创建topic时需要填写,内容为子产品的ID和设备信息。
BrokerSubscribe *BrokerSubscribe `json:"BrokerSubscribe,omitempty" name:"BrokerSubscribe"`
}
Predefined struct for user
type CreateTopicPolicyResponse ¶
type CreateTopicPolicyResponse struct {
*tchttp.BaseResponse
Response *CreateTopicPolicyResponseParams `json:"Response"`
}
func NewCreateTopicPolicyResponse ¶
func NewCreateTopicPolicyResponse() (response *CreateTopicPolicyResponse)
func (*CreateTopicPolicyResponse) FromJsonString ¶
func (r *CreateTopicPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicPolicyResponse) ToJsonString ¶
func (r *CreateTopicPolicyResponse) ToJsonString() string
type CreateTopicPolicyResponseParams ¶ added in v1.0.426
type CreateTopicPolicyResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateTopicRuleRequest ¶
type CreateTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则内容
TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitempty" name:"TopicRulePayload"`
}
func NewCreateTopicRuleRequest ¶
func NewCreateTopicRuleRequest() (request *CreateTopicRuleRequest)
func (*CreateTopicRuleRequest) FromJsonString ¶
func (r *CreateTopicRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRuleRequest) ToJsonString ¶
func (r *CreateTopicRuleRequest) ToJsonString() string
type CreateTopicRuleRequestParams ¶ added in v1.0.426
type CreateTopicRuleRequestParams struct {
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则内容
TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitempty" name:"TopicRulePayload"`
}
Predefined struct for user
type CreateTopicRuleResponse ¶
type CreateTopicRuleResponse struct {
*tchttp.BaseResponse
Response *CreateTopicRuleResponseParams `json:"Response"`
}
func NewCreateTopicRuleResponse ¶
func NewCreateTopicRuleResponse() (response *CreateTopicRuleResponse)
func (*CreateTopicRuleResponse) FromJsonString ¶
func (r *CreateTopicRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRuleResponse) ToJsonString ¶
func (r *CreateTopicRuleResponse) ToJsonString() string
type CreateTopicRuleResponseParams ¶ added in v1.0.426
type CreateTopicRuleResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct {
*tchttp.BaseRequest
// 设备所属的产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 需要删除的设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 删除LoRa设备以及LoRa网关设备需要skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
func NewDeleteDeviceRequest ¶
func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)
func (*DeleteDeviceRequest) FromJsonString ¶
func (r *DeleteDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceRequest) ToJsonString ¶
func (r *DeleteDeviceRequest) ToJsonString() string
type DeleteDeviceRequestParams ¶ added in v1.0.426
type DeleteDeviceRequestParams struct {
// 设备所属的产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 需要删除的设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 删除LoRa设备以及LoRa网关设备需要skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
Predefined struct for user
type DeleteDeviceResourceRequest ¶ added in v1.0.352
type DeleteDeviceResourceRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDeleteDeviceResourceRequest ¶ added in v1.0.352
func NewDeleteDeviceResourceRequest() (request *DeleteDeviceResourceRequest)
func (*DeleteDeviceResourceRequest) FromJsonString ¶ added in v1.0.352
func (r *DeleteDeviceResourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceResourceRequest) ToJsonString ¶ added in v1.0.352
func (r *DeleteDeviceResourceRequest) ToJsonString() string
type DeleteDeviceResourceRequestParams ¶ added in v1.0.426
type DeleteDeviceResourceRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
Predefined struct for user
type DeleteDeviceResourceResponse ¶ added in v1.0.352
type DeleteDeviceResourceResponse struct {
*tchttp.BaseResponse
Response *DeleteDeviceResourceResponseParams `json:"Response"`
}
func NewDeleteDeviceResourceResponse ¶ added in v1.0.352
func NewDeleteDeviceResourceResponse() (response *DeleteDeviceResourceResponse)
func (*DeleteDeviceResourceResponse) FromJsonString ¶ added in v1.0.352
func (r *DeleteDeviceResourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceResourceResponse) ToJsonString ¶ added in v1.0.352
func (r *DeleteDeviceResourceResponse) ToJsonString() string
type DeleteDeviceResourceResponseParams ¶ added in v1.0.426
type DeleteDeviceResourceResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct {
*tchttp.BaseResponse
Response *DeleteDeviceResponseParams `json:"Response"`
}
func NewDeleteDeviceResponse ¶
func NewDeleteDeviceResponse() (response *DeleteDeviceResponse)
func (*DeleteDeviceResponse) FromJsonString ¶
func (r *DeleteDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceResponse) ToJsonString ¶
func (r *DeleteDeviceResponse) ToJsonString() string
type DeleteDeviceResponseParams ¶ added in v1.0.426
type DeleteDeviceResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteLoraDeviceRequest ¶
type DeleteLoraDeviceRequest struct {
*tchttp.BaseRequest
// 设备所属产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDeleteLoraDeviceRequest ¶
func NewDeleteLoraDeviceRequest() (request *DeleteLoraDeviceRequest)
func (*DeleteLoraDeviceRequest) FromJsonString ¶
func (r *DeleteLoraDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoraDeviceRequest) ToJsonString ¶
func (r *DeleteLoraDeviceRequest) ToJsonString() string
type DeleteLoraDeviceRequestParams ¶ added in v1.0.426
type DeleteLoraDeviceRequestParams struct {
// 设备所属产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
Predefined struct for user
type DeleteLoraDeviceResponse ¶
type DeleteLoraDeviceResponse struct {
*tchttp.BaseResponse
Response *DeleteLoraDeviceResponseParams `json:"Response"`
}
func NewDeleteLoraDeviceResponse ¶
func NewDeleteLoraDeviceResponse() (response *DeleteLoraDeviceResponse)
func (*DeleteLoraDeviceResponse) FromJsonString ¶
func (r *DeleteLoraDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoraDeviceResponse) ToJsonString ¶
func (r *DeleteLoraDeviceResponse) ToJsonString() string
type DeleteLoraDeviceResponseParams ¶ added in v1.0.426
type DeleteLoraDeviceResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteProductRequest ¶
type DeleteProductRequest struct {
*tchttp.BaseRequest
// 需要删除的产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 删除LoRa产品需要skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
func NewDeleteProductRequest ¶
func NewDeleteProductRequest() (request *DeleteProductRequest)
func (*DeleteProductRequest) FromJsonString ¶
func (r *DeleteProductRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProductRequest) ToJsonString ¶
func (r *DeleteProductRequest) ToJsonString() string
type DeleteProductRequestParams ¶ added in v1.0.426
type DeleteProductRequestParams struct {
// 需要删除的产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 删除LoRa产品需要skey
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
Predefined struct for user
type DeleteProductResponse ¶
type DeleteProductResponse struct {
*tchttp.BaseResponse
Response *DeleteProductResponseParams `json:"Response"`
}
func NewDeleteProductResponse ¶
func NewDeleteProductResponse() (response *DeleteProductResponse)
func (*DeleteProductResponse) FromJsonString ¶
func (r *DeleteProductResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProductResponse) ToJsonString ¶
func (r *DeleteProductResponse) ToJsonString() string
type DeleteProductResponseParams ¶ added in v1.0.426
type DeleteProductResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteTopicRuleRequest ¶
type DeleteTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewDeleteTopicRuleRequest ¶
func NewDeleteTopicRuleRequest() (request *DeleteTopicRuleRequest)
func (*DeleteTopicRuleRequest) FromJsonString ¶
func (r *DeleteTopicRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicRuleRequest) ToJsonString ¶
func (r *DeleteTopicRuleRequest) ToJsonString() string
type DeleteTopicRuleRequestParams ¶ added in v1.0.426
type DeleteTopicRuleRequestParams struct {
// 规则名
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
Predefined struct for user
type DeleteTopicRuleResponse ¶
type DeleteTopicRuleResponse struct {
*tchttp.BaseResponse
Response *DeleteTopicRuleResponseParams `json:"Response"`
}
func NewDeleteTopicRuleResponse ¶
func NewDeleteTopicRuleResponse() (response *DeleteTopicRuleResponse)
func (*DeleteTopicRuleResponse) FromJsonString ¶
func (r *DeleteTopicRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicRuleResponse) ToJsonString ¶
func (r *DeleteTopicRuleResponse) ToJsonString() string
type DeleteTopicRuleResponseParams ¶ added in v1.0.426
type DeleteTopicRuleResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeAllDevicesRequest ¶
type DescribeAllDevicesRequest struct {
*tchttp.BaseRequest
// 查询偏移量。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 查询设备数量。最大支持250个
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeAllDevicesRequest ¶
func NewDescribeAllDevicesRequest() (request *DescribeAllDevicesRequest)
func (*DescribeAllDevicesRequest) FromJsonString ¶
func (r *DescribeAllDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllDevicesRequest) ToJsonString ¶
func (r *DescribeAllDevicesRequest) ToJsonString() string
type DescribeAllDevicesRequestParams ¶ added in v1.0.426
type DescribeAllDevicesRequestParams struct {
// 查询偏移量。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 查询设备数量。最大支持250个
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeAllDevicesResponse ¶
type DescribeAllDevicesResponse struct {
*tchttp.BaseResponse
Response *DescribeAllDevicesResponseParams `json:"Response"`
}
func NewDescribeAllDevicesResponse ¶
func NewDescribeAllDevicesResponse() (response *DescribeAllDevicesResponse)
func (*DescribeAllDevicesResponse) FromJsonString ¶
func (r *DescribeAllDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllDevicesResponse) ToJsonString ¶
func (r *DescribeAllDevicesResponse) ToJsonString() string
type DescribeAllDevicesResponseParams ¶ added in v1.0.426
type DescribeAllDevicesResponseParams struct {
// 设备总数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 查询的设备列表信息。
Devices []*DeviceProperty `json:"Devices,omitempty" name:"Devices"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDeviceClientKeyRequest ¶
type DescribeDeviceClientKeyRequest struct {
*tchttp.BaseRequest
// 所属产品的Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDescribeDeviceClientKeyRequest ¶
func NewDescribeDeviceClientKeyRequest() (request *DescribeDeviceClientKeyRequest)
func (*DescribeDeviceClientKeyRequest) FromJsonString ¶
func (r *DescribeDeviceClientKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceClientKeyRequest) ToJsonString ¶
func (r *DescribeDeviceClientKeyRequest) ToJsonString() string
type DescribeDeviceClientKeyRequestParams ¶ added in v1.0.426
type DescribeDeviceClientKeyRequestParams struct {
// 所属产品的Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
Predefined struct for user
type DescribeDeviceClientKeyResponse ¶
type DescribeDeviceClientKeyResponse struct {
*tchttp.BaseResponse
Response *DescribeDeviceClientKeyResponseParams `json:"Response"`
}
func NewDescribeDeviceClientKeyResponse ¶
func NewDescribeDeviceClientKeyResponse() (response *DescribeDeviceClientKeyResponse)
func (*DescribeDeviceClientKeyResponse) FromJsonString ¶
func (r *DescribeDeviceClientKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceClientKeyResponse) ToJsonString ¶
func (r *DescribeDeviceClientKeyResponse) ToJsonString() string
type DescribeDeviceClientKeyResponseParams ¶ added in v1.0.426
type DescribeDeviceClientKeyResponseParams struct {
// 设备的私钥
ClientKey *string `json:"ClientKey,omitempty" name:"ClientKey"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDeviceRequest ¶
type DescribeDeviceRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDescribeDeviceRequest ¶
func NewDescribeDeviceRequest() (request *DescribeDeviceRequest)
func (*DescribeDeviceRequest) FromJsonString ¶
func (r *DescribeDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceRequest) ToJsonString ¶
func (r *DescribeDeviceRequest) ToJsonString() string
type DescribeDeviceRequestParams ¶ added in v1.0.426
type DescribeDeviceRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
Predefined struct for user
type DescribeDeviceResourceRequest ¶
type DescribeDeviceResourceRequest struct {
*tchttp.BaseRequest
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 具体的设备资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDescribeDeviceResourceRequest ¶
func NewDescribeDeviceResourceRequest() (request *DescribeDeviceResourceRequest)
func (*DescribeDeviceResourceRequest) FromJsonString ¶
func (r *DescribeDeviceResourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceResourceRequest) ToJsonString ¶
func (r *DescribeDeviceResourceRequest) ToJsonString() string
type DescribeDeviceResourceRequestParams ¶ added in v1.0.426
type DescribeDeviceResourceRequestParams struct {
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 具体的设备资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DescribeDeviceResourceResponse ¶
type DescribeDeviceResourceResponse struct {
*tchttp.BaseResponse
Response *DescribeDeviceResourceResponseParams `json:"Response"`
}
func NewDescribeDeviceResourceResponse ¶
func NewDescribeDeviceResourceResponse() (response *DescribeDeviceResourceResponse)
func (*DescribeDeviceResourceResponse) FromJsonString ¶
func (r *DescribeDeviceResourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceResourceResponse) ToJsonString ¶
func (r *DescribeDeviceResourceResponse) ToJsonString() string
type DescribeDeviceResourceResponseParams ¶ added in v1.0.426
type DescribeDeviceResourceResponseParams struct {
// 设备资源详情
Result *DeviceResourceInfo `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDeviceResourcesRequest ¶
type DescribeDeviceResourcesRequest struct {
*tchttp.BaseRequest
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 10-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 需要过滤的设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 资源搜索开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 资源搜索结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribeDeviceResourcesRequest ¶
func NewDescribeDeviceResourcesRequest() (request *DescribeDeviceResourcesRequest)
func (*DescribeDeviceResourcesRequest) FromJsonString ¶
func (r *DescribeDeviceResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceResourcesRequest) ToJsonString ¶
func (r *DescribeDeviceResourcesRequest) ToJsonString() string
type DescribeDeviceResourcesRequestParams ¶ added in v1.0.426
type DescribeDeviceResourcesRequestParams struct {
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 10-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 需要过滤的设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 资源搜索开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 资源搜索结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
Predefined struct for user
type DescribeDeviceResourcesResponse ¶
type DescribeDeviceResourcesResponse struct {
*tchttp.BaseResponse
Response *DescribeDeviceResourcesResponseParams `json:"Response"`
}
func NewDescribeDeviceResourcesResponse ¶
func NewDescribeDeviceResourcesResponse() (response *DescribeDeviceResourcesResponse)
func (*DescribeDeviceResourcesResponse) FromJsonString ¶
func (r *DescribeDeviceResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceResourcesResponse) ToJsonString ¶
func (r *DescribeDeviceResourcesResponse) ToJsonString() string
type DescribeDeviceResourcesResponseParams ¶ added in v1.0.426
type DescribeDeviceResourcesResponseParams struct {
// 资源总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 资源列表
// 注意:此字段可能返回 null,表示取不到有效值。
Result []*DeviceResourceInfo `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDeviceResponse ¶
type DescribeDeviceResponse struct {
*tchttp.BaseResponse
Response *DescribeDeviceResponseParams `json:"Response"`
}
func NewDescribeDeviceResponse ¶
func NewDescribeDeviceResponse() (response *DescribeDeviceResponse)
func (*DescribeDeviceResponse) FromJsonString ¶
func (r *DescribeDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceResponse) ToJsonString ¶
func (r *DescribeDeviceResponse) ToJsonString() string
type DescribeDeviceResponseParams ¶ added in v1.0.426
type DescribeDeviceResponseParams struct {
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备是否在线,0不在线,1在线
Online *uint64 `json:"Online,omitempty" name:"Online"`
// 设备登录时间
LoginTime *uint64 `json:"LoginTime,omitempty" name:"LoginTime"`
// 设备固件版本
Version *string `json:"Version,omitempty" name:"Version"`
// 设备最后更新时间
LastUpdateTime *uint64 `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`
// 设备证书
DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"`
// 设备密钥
DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"`
// 设备属性
Tags []*DeviceTag `json:"Tags,omitempty" name:"Tags"`
// 设备类型
DeviceType *uint64 `json:"DeviceType,omitempty" name:"DeviceType"`
// 国际移动设备识别码 IMEI
Imei *string `json:"Imei,omitempty" name:"Imei"`
// 运营商类型
Isp *uint64 `json:"Isp,omitempty" name:"Isp"`
// IP地址
ConnIP *uint64 `json:"ConnIP,omitempty" name:"ConnIP"`
// NB IoT运营商处的DeviceID
NbiotDeviceID *string `json:"NbiotDeviceID,omitempty" name:"NbiotDeviceID"`
// Lora设备的dev eui
LoraDevEui *string `json:"LoraDevEui,omitempty" name:"LoraDevEui"`
// Lora设备的mote type
LoraMoteType *uint64 `json:"LoraMoteType,omitempty" name:"LoraMoteType"`
// 设备的sdk日志等级
// 注意:此字段可能返回 null,表示取不到有效值。
LogLevel *uint64 `json:"LogLevel,omitempty" name:"LogLevel"`
// 首次上线时间
// 注意:此字段可能返回 null,表示取不到有效值。
FirstOnlineTime *uint64 `json:"FirstOnlineTime,omitempty" name:"FirstOnlineTime"`
// 最近下线时间
// 注意:此字段可能返回 null,表示取不到有效值。
LastOfflineTime *uint64 `json:"LastOfflineTime,omitempty" name:"LastOfflineTime"`
// 设备创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 设备证书获取状态,0 未获取过设备密钥, 1 已获取过设备密钥
// 注意:此字段可能返回 null,表示取不到有效值。
CertState *uint64 `json:"CertState,omitempty" name:"CertState"`
// 设备启用状态
// 注意:此字段可能返回 null,表示取不到有效值。
EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"`
// 设备标签
// 注意:此字段可能返回 null,表示取不到有效值。
Labels []*DeviceLabel `json:"Labels,omitempty" name:"Labels"`
// MQTT客户端IP地址
// 注意:此字段可能返回 null,表示取不到有效值。
ClientIP *string `json:"ClientIP,omitempty" name:"ClientIP"`
// 设备固件更新时间
// 注意:此字段可能返回 null,表示取不到有效值。
FirmwareUpdateTime *uint64 `json:"FirmwareUpdateTime,omitempty" name:"FirmwareUpdateTime"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDeviceShadowRequest ¶
type DescribeDeviceShadowRequest struct {
*tchttp.BaseRequest
// 产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDescribeDeviceShadowRequest ¶
func NewDescribeDeviceShadowRequest() (request *DescribeDeviceShadowRequest)
func (*DescribeDeviceShadowRequest) FromJsonString ¶
func (r *DescribeDeviceShadowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceShadowRequest) ToJsonString ¶
func (r *DescribeDeviceShadowRequest) ToJsonString() string
type DescribeDeviceShadowRequestParams ¶ added in v1.0.426
type DescribeDeviceShadowRequestParams struct {
// 产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
Predefined struct for user
type DescribeDeviceShadowResponse ¶
type DescribeDeviceShadowResponse struct {
*tchttp.BaseResponse
Response *DescribeDeviceShadowResponseParams `json:"Response"`
}
func NewDescribeDeviceShadowResponse ¶
func NewDescribeDeviceShadowResponse() (response *DescribeDeviceShadowResponse)
func (*DescribeDeviceShadowResponse) FromJsonString ¶
func (r *DescribeDeviceShadowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceShadowResponse) ToJsonString ¶
func (r *DescribeDeviceShadowResponse) ToJsonString() string
type DescribeDeviceShadowResponseParams ¶ added in v1.0.426
type DescribeDeviceShadowResponseParams struct {
// 设备影子数据
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDevicesRequest ¶
type DescribeDevicesRequest struct {
*tchttp.BaseRequest
// 需要查看设备列表的产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 10-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 设备固件版本号,若不带此参数会返回所有固件版本的设备。传"None-FirmwareVersion"查询无版本号的设备
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 需要过滤的设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备是否启用,0禁用状态1启用状态,默认不区分
EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"`
}
func NewDescribeDevicesRequest ¶
func NewDescribeDevicesRequest() (request *DescribeDevicesRequest)
func (*DescribeDevicesRequest) FromJsonString ¶
func (r *DescribeDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDevicesRequest) ToJsonString ¶
func (r *DescribeDevicesRequest) ToJsonString() string
type DescribeDevicesRequestParams ¶ added in v1.0.426
type DescribeDevicesRequestParams struct {
// 需要查看设备列表的产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 10-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 设备固件版本号,若不带此参数会返回所有固件版本的设备。传"None-FirmwareVersion"查询无版本号的设备
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 需要过滤的设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备是否启用,0禁用状态1启用状态,默认不区分
EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"`
}
Predefined struct for user
type DescribeDevicesResponse ¶
type DescribeDevicesResponse struct {
*tchttp.BaseResponse
Response *DescribeDevicesResponseParams `json:"Response"`
}
func NewDescribeDevicesResponse ¶
func NewDescribeDevicesResponse() (response *DescribeDevicesResponse)
func (*DescribeDevicesResponse) FromJsonString ¶
func (r *DescribeDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDevicesResponse) ToJsonString ¶
func (r *DescribeDevicesResponse) ToJsonString() string
type DescribeDevicesResponseParams ¶ added in v1.0.426
type DescribeDevicesResponseParams struct {
// 设备总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 设备详细信息列表
Devices []*DeviceInfo `json:"Devices,omitempty" name:"Devices"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeFirmwareRequest ¶
type DescribeFirmwareRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
}
func NewDescribeFirmwareRequest ¶
func NewDescribeFirmwareRequest() (request *DescribeFirmwareRequest)
func (*DescribeFirmwareRequest) FromJsonString ¶
func (r *DescribeFirmwareRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareRequest) ToJsonString ¶
func (r *DescribeFirmwareRequest) ToJsonString() string
type DescribeFirmwareRequestParams ¶ added in v1.0.426
type DescribeFirmwareRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
}
Predefined struct for user
type DescribeFirmwareResponse ¶
type DescribeFirmwareResponse struct {
*tchttp.BaseResponse
Response *DescribeFirmwareResponseParams `json:"Response"`
}
func NewDescribeFirmwareResponse ¶
func NewDescribeFirmwareResponse() (response *DescribeFirmwareResponse)
func (*DescribeFirmwareResponse) FromJsonString ¶
func (r *DescribeFirmwareResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareResponse) ToJsonString ¶
func (r *DescribeFirmwareResponse) ToJsonString() string
type DescribeFirmwareResponseParams ¶ added in v1.0.426
type DescribeFirmwareResponseParams struct {
// 固件版本号
Version *string `json:"Version,omitempty" name:"Version"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 固件描述
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitempty" name:"Description"`
// 固件Md5值
// 注意:此字段可能返回 null,表示取不到有效值。
Md5sum *string `json:"Md5sum,omitempty" name:"Md5sum"`
// 固件上传的秒级时间戳
// 注意:此字段可能返回 null,表示取不到有效值。
Createtime *uint64 `json:"Createtime,omitempty" name:"Createtime"`
// 产品名称
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 固件类型。选项:mcu、module
FwType *string `json:"FwType,omitempty" name:"FwType"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeFirmwareTaskDevicesRequest ¶
type DescribeFirmwareTaskDevicesRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 筛选条件
Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters"`
// 查询偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 查询的数量
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeFirmwareTaskDevicesRequest ¶
func NewDescribeFirmwareTaskDevicesRequest() (request *DescribeFirmwareTaskDevicesRequest)
func (*DescribeFirmwareTaskDevicesRequest) FromJsonString ¶
func (r *DescribeFirmwareTaskDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskDevicesRequest) ToJsonString ¶
func (r *DescribeFirmwareTaskDevicesRequest) ToJsonString() string
type DescribeFirmwareTaskDevicesRequestParams ¶ added in v1.0.426
type DescribeFirmwareTaskDevicesRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 筛选条件
Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters"`
// 查询偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 查询的数量
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeFirmwareTaskDevicesResponse ¶
type DescribeFirmwareTaskDevicesResponse struct {
*tchttp.BaseResponse
Response *DescribeFirmwareTaskDevicesResponseParams `json:"Response"`
}
func NewDescribeFirmwareTaskDevicesResponse ¶
func NewDescribeFirmwareTaskDevicesResponse() (response *DescribeFirmwareTaskDevicesResponse)
func (*DescribeFirmwareTaskDevicesResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskDevicesResponse) ToJsonString ¶
func (r *DescribeFirmwareTaskDevicesResponse) ToJsonString() string
type DescribeFirmwareTaskDevicesResponseParams ¶ added in v1.0.426
type DescribeFirmwareTaskDevicesResponseParams struct {
// 固件升级任务的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
Total *uint64 `json:"Total,omitempty" name:"Total"`
// 固件升级任务的设备列表
// 注意:此字段可能返回 null,表示取不到有效值。
Devices []*DeviceUpdateStatus `json:"Devices,omitempty" name:"Devices"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeFirmwareTaskDistributionRequest ¶
type DescribeFirmwareTaskDistributionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件升级任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
func NewDescribeFirmwareTaskDistributionRequest ¶
func NewDescribeFirmwareTaskDistributionRequest() (request *DescribeFirmwareTaskDistributionRequest)
func (*DescribeFirmwareTaskDistributionRequest) FromJsonString ¶
func (r *DescribeFirmwareTaskDistributionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskDistributionRequest) ToJsonString ¶
func (r *DescribeFirmwareTaskDistributionRequest) ToJsonString() string
type DescribeFirmwareTaskDistributionRequestParams ¶ added in v1.0.426
type DescribeFirmwareTaskDistributionRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件升级任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
Predefined struct for user
type DescribeFirmwareTaskDistributionResponse ¶
type DescribeFirmwareTaskDistributionResponse struct {
*tchttp.BaseResponse
Response *DescribeFirmwareTaskDistributionResponseParams `json:"Response"`
}
func NewDescribeFirmwareTaskDistributionResponse ¶
func NewDescribeFirmwareTaskDistributionResponse() (response *DescribeFirmwareTaskDistributionResponse)
func (*DescribeFirmwareTaskDistributionResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskDistributionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskDistributionResponse) ToJsonString ¶
func (r *DescribeFirmwareTaskDistributionResponse) ToJsonString() string
type DescribeFirmwareTaskDistributionResponseParams ¶ added in v1.0.426
type DescribeFirmwareTaskDistributionResponseParams struct {
// 固件升级任务状态分布信息
StatusInfos []*StatusStatistic `json:"StatusInfos,omitempty" name:"StatusInfos"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeFirmwareTaskRequest ¶
type DescribeFirmwareTaskRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
func NewDescribeFirmwareTaskRequest ¶
func NewDescribeFirmwareTaskRequest() (request *DescribeFirmwareTaskRequest)
func (*DescribeFirmwareTaskRequest) FromJsonString ¶
func (r *DescribeFirmwareTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskRequest) ToJsonString ¶
func (r *DescribeFirmwareTaskRequest) ToJsonString() string
type DescribeFirmwareTaskRequestParams ¶ added in v1.0.426
type DescribeFirmwareTaskRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
Predefined struct for user
type DescribeFirmwareTaskResponse ¶
type DescribeFirmwareTaskResponse struct {
*tchttp.BaseResponse
Response *DescribeFirmwareTaskResponseParams `json:"Response"`
}
func NewDescribeFirmwareTaskResponse ¶
func NewDescribeFirmwareTaskResponse() (response *DescribeFirmwareTaskResponse)
func (*DescribeFirmwareTaskResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskResponse) ToJsonString ¶
func (r *DescribeFirmwareTaskResponse) ToJsonString() string
type DescribeFirmwareTaskResponseParams ¶ added in v1.0.426
type DescribeFirmwareTaskResponseParams struct {
// 固件任务ID
// 注意:此字段可能返回 null,表示取不到有效值。
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
// 固件任务状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 固件任务创建时间,单位:秒
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 固件任务升级类型
// 注意:此字段可能返回 null,表示取不到有效值。
Type *int64 `json:"Type,omitempty" name:"Type"`
// 产品名称
// 注意:此字段可能返回 null,表示取不到有效值。
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 固件任务升级模式。originalVersion(按版本号升级)、filename(提交文件升级)、devicenames(按设备名称升级)
// 注意:此字段可能返回 null,表示取不到有效值。
UpgradeMode *string `json:"UpgradeMode,omitempty" name:"UpgradeMode"`
// 产品ID
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeFirmwareTaskStatisticsRequest ¶
type DescribeFirmwareTaskStatisticsRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
}
func NewDescribeFirmwareTaskStatisticsRequest ¶
func NewDescribeFirmwareTaskStatisticsRequest() (request *DescribeFirmwareTaskStatisticsRequest)
func (*DescribeFirmwareTaskStatisticsRequest) FromJsonString ¶
func (r *DescribeFirmwareTaskStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskStatisticsRequest) ToJsonString ¶
func (r *DescribeFirmwareTaskStatisticsRequest) ToJsonString() string
type DescribeFirmwareTaskStatisticsRequestParams ¶ added in v1.0.426
type DescribeFirmwareTaskStatisticsRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
}
Predefined struct for user
type DescribeFirmwareTaskStatisticsResponse ¶
type DescribeFirmwareTaskStatisticsResponse struct {
*tchttp.BaseResponse
Response *DescribeFirmwareTaskStatisticsResponseParams `json:"Response"`
}
func NewDescribeFirmwareTaskStatisticsResponse ¶
func NewDescribeFirmwareTaskStatisticsResponse() (response *DescribeFirmwareTaskStatisticsResponse)
func (*DescribeFirmwareTaskStatisticsResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskStatisticsResponse) ToJsonString ¶
func (r *DescribeFirmwareTaskStatisticsResponse) ToJsonString() string
type DescribeFirmwareTaskStatisticsResponseParams ¶ added in v1.0.426
type DescribeFirmwareTaskStatisticsResponseParams struct {
// 升级成功的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
SuccessTotal *uint64 `json:"SuccessTotal,omitempty" name:"SuccessTotal"`
// 升级失败的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
FailureTotal *uint64 `json:"FailureTotal,omitempty" name:"FailureTotal"`
// 正在升级的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
UpgradingTotal *uint64 `json:"UpgradingTotal,omitempty" name:"UpgradingTotal"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeFirmwareTasksRequest ¶
type DescribeFirmwareTasksRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 查询偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回查询结果条数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 搜索过滤条件
Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters"`
}
func NewDescribeFirmwareTasksRequest ¶
func NewDescribeFirmwareTasksRequest() (request *DescribeFirmwareTasksRequest)
func (*DescribeFirmwareTasksRequest) FromJsonString ¶
func (r *DescribeFirmwareTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTasksRequest) ToJsonString ¶
func (r *DescribeFirmwareTasksRequest) ToJsonString() string
type DescribeFirmwareTasksRequestParams ¶ added in v1.0.426
type DescribeFirmwareTasksRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 查询偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回查询结果条数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 搜索过滤条件
Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeFirmwareTasksResponse ¶
type DescribeFirmwareTasksResponse struct {
*tchttp.BaseResponse
Response *DescribeFirmwareTasksResponseParams `json:"Response"`
}
func NewDescribeFirmwareTasksResponse ¶
func NewDescribeFirmwareTasksResponse() (response *DescribeFirmwareTasksResponse)
func (*DescribeFirmwareTasksResponse) FromJsonString ¶
func (r *DescribeFirmwareTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTasksResponse) ToJsonString ¶
func (r *DescribeFirmwareTasksResponse) ToJsonString() string
type DescribeFirmwareTasksResponseParams ¶ added in v1.0.426
type DescribeFirmwareTasksResponseParams struct {
// 固件升级任务列表
// 注意:此字段可能返回 null,表示取不到有效值。
TaskInfos []*FirmwareTaskInfo `json:"TaskInfos,omitempty" name:"TaskInfos"`
// 固件升级任务总数
// 注意:此字段可能返回 null,表示取不到有效值。
Total *uint64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeLoraDeviceRequest ¶
type DescribeLoraDeviceRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDescribeLoraDeviceRequest ¶
func NewDescribeLoraDeviceRequest() (request *DescribeLoraDeviceRequest)
func (*DescribeLoraDeviceRequest) FromJsonString ¶
func (r *DescribeLoraDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoraDeviceRequest) ToJsonString ¶
func (r *DescribeLoraDeviceRequest) ToJsonString() string
type DescribeLoraDeviceRequestParams ¶ added in v1.0.426
type DescribeLoraDeviceRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
Predefined struct for user
type DescribeLoraDeviceResponse ¶
type DescribeLoraDeviceResponse struct {
*tchttp.BaseResponse
Response *DescribeLoraDeviceResponseParams `json:"Response"`
}
func NewDescribeLoraDeviceResponse ¶
func NewDescribeLoraDeviceResponse() (response *DescribeLoraDeviceResponse)
func (*DescribeLoraDeviceResponse) FromJsonString ¶
func (r *DescribeLoraDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoraDeviceResponse) ToJsonString ¶
func (r *DescribeLoraDeviceResponse) ToJsonString() string
type DescribeLoraDeviceResponseParams ¶ added in v1.0.426
type DescribeLoraDeviceResponseParams struct {
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// LoRa应用UUID
AppEui *string `json:"AppEui,omitempty" name:"AppEui"`
// LoRa设备UUID
DeviceEui *string `json:"DeviceEui,omitempty" name:"DeviceEui"`
// LoRa应用密钥
AppKey *string `json:"AppKey,omitempty" name:"AppKey"`
// 设备类型,目前支持A、B、C三种
ClassType *string `json:"ClassType,omitempty" name:"ClassType"`
// 设备所属产品id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeMultiDevTaskRequest ¶
type DescribeMultiDevTaskRequest struct {
*tchttp.BaseRequest
// 任务 ID,由批量创建设备接口返回
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 产品 ID,创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDescribeMultiDevTaskRequest ¶
func NewDescribeMultiDevTaskRequest() (request *DescribeMultiDevTaskRequest)
func (*DescribeMultiDevTaskRequest) FromJsonString ¶
func (r *DescribeMultiDevTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMultiDevTaskRequest) ToJsonString ¶
func (r *DescribeMultiDevTaskRequest) ToJsonString() string
type DescribeMultiDevTaskRequestParams ¶ added in v1.0.426
type DescribeMultiDevTaskRequestParams struct {
// 任务 ID,由批量创建设备接口返回
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 产品 ID,创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
Predefined struct for user
type DescribeMultiDevTaskResponse ¶
type DescribeMultiDevTaskResponse struct {
*tchttp.BaseResponse
Response *DescribeMultiDevTaskResponseParams `json:"Response"`
}
func NewDescribeMultiDevTaskResponse ¶
func NewDescribeMultiDevTaskResponse() (response *DescribeMultiDevTaskResponse)
func (*DescribeMultiDevTaskResponse) FromJsonString ¶
func (r *DescribeMultiDevTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMultiDevTaskResponse) ToJsonString ¶
func (r *DescribeMultiDevTaskResponse) ToJsonString() string
type DescribeMultiDevTaskResponseParams ¶ added in v1.0.426
type DescribeMultiDevTaskResponseParams struct {
// 任务 ID
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 任务是否完成。0 代表任务未开始,1 代表任务正在执行,2 代表任务已完成
TaskStatus *uint64 `json:"TaskStatus,omitempty" name:"TaskStatus"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeMultiDevicesRequest ¶
type DescribeMultiDevicesRequest struct {
*tchttp.BaseRequest
// 产品 ID,创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 任务 ID,由批量创建设备接口返回
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 分页偏移
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页大小,每页返回的设备个数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeMultiDevicesRequest ¶
func NewDescribeMultiDevicesRequest() (request *DescribeMultiDevicesRequest)
func (*DescribeMultiDevicesRequest) FromJsonString ¶
func (r *DescribeMultiDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMultiDevicesRequest) ToJsonString ¶
func (r *DescribeMultiDevicesRequest) ToJsonString() string
type DescribeMultiDevicesRequestParams ¶ added in v1.0.426
type DescribeMultiDevicesRequestParams struct {
// 产品 ID,创建产品时腾讯云为用户分配全局唯一的 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 任务 ID,由批量创建设备接口返回
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 分页偏移
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页大小,每页返回的设备个数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeMultiDevicesResponse ¶
type DescribeMultiDevicesResponse struct {
*tchttp.BaseResponse
Response *DescribeMultiDevicesResponseParams `json:"Response"`
}
func NewDescribeMultiDevicesResponse ¶
func NewDescribeMultiDevicesResponse() (response *DescribeMultiDevicesResponse)
func (*DescribeMultiDevicesResponse) FromJsonString ¶
func (r *DescribeMultiDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMultiDevicesResponse) ToJsonString ¶
func (r *DescribeMultiDevicesResponse) ToJsonString() string
type DescribeMultiDevicesResponseParams ¶ added in v1.0.426
type DescribeMultiDevicesResponseParams struct {
// 任务 ID,由批量创建设备接口返回
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 设备详细信息列表
DevicesInfo []*MultiDevicesInfo `json:"DevicesInfo,omitempty" name:"DevicesInfo"`
// 该任务创建设备的总数
TotalDevNum *uint64 `json:"TotalDevNum,omitempty" name:"TotalDevNum"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeProductRequest ¶ added in v1.0.378
type DescribeProductRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDescribeProductRequest ¶ added in v1.0.378
func NewDescribeProductRequest() (request *DescribeProductRequest)
func (*DescribeProductRequest) FromJsonString ¶ added in v1.0.378
func (r *DescribeProductRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductRequest) ToJsonString ¶ added in v1.0.378
func (r *DescribeProductRequest) ToJsonString() string
type DescribeProductRequestParams ¶ added in v1.0.426
type DescribeProductRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
Predefined struct for user
type DescribeProductResourceRequest ¶
type DescribeProductResourceRequest struct {
*tchttp.BaseRequest
// 需要查看资源列表的产品 ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 需要过滤的资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDescribeProductResourceRequest ¶
func NewDescribeProductResourceRequest() (request *DescribeProductResourceRequest)
func (*DescribeProductResourceRequest) FromJsonString ¶
func (r *DescribeProductResourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductResourceRequest) ToJsonString ¶
func (r *DescribeProductResourceRequest) ToJsonString() string
type DescribeProductResourceRequestParams ¶ added in v1.0.426
type DescribeProductResourceRequestParams struct {
// 需要查看资源列表的产品 ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 需要过滤的资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DescribeProductResourceResponse ¶
type DescribeProductResourceResponse struct {
*tchttp.BaseResponse
Response *DescribeProductResourceResponseParams `json:"Response"`
}
func NewDescribeProductResourceResponse ¶
func NewDescribeProductResourceResponse() (response *DescribeProductResourceResponse)
func (*DescribeProductResourceResponse) FromJsonString ¶
func (r *DescribeProductResourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductResourceResponse) ToJsonString ¶
func (r *DescribeProductResourceResponse) ToJsonString() string
type DescribeProductResourceResponseParams ¶ added in v1.0.426
type DescribeProductResourceResponseParams struct {
// 资源详情
// 注意:此字段可能返回 null,表示取不到有效值。
Result *ProductResourceInfo `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeProductResourcesRequest ¶
type DescribeProductResourcesRequest struct {
*tchttp.BaseRequest
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 10-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 需要查看资源列表的产品 ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 需要过滤的资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDescribeProductResourcesRequest ¶
func NewDescribeProductResourcesRequest() (request *DescribeProductResourcesRequest)
func (*DescribeProductResourcesRequest) FromJsonString ¶
func (r *DescribeProductResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductResourcesRequest) ToJsonString ¶
func (r *DescribeProductResourcesRequest) ToJsonString() string
type DescribeProductResourcesRequestParams ¶ added in v1.0.426
type DescribeProductResourcesRequestParams struct {
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 10-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 需要查看资源列表的产品 ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 需要过滤的资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DescribeProductResourcesResponse ¶
type DescribeProductResourcesResponse struct {
*tchttp.BaseResponse
Response *DescribeProductResourcesResponseParams `json:"Response"`
}
func NewDescribeProductResourcesResponse ¶
func NewDescribeProductResourcesResponse() (response *DescribeProductResourcesResponse)
func (*DescribeProductResourcesResponse) FromJsonString ¶
func (r *DescribeProductResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductResourcesResponse) ToJsonString ¶
func (r *DescribeProductResourcesResponse) ToJsonString() string
type DescribeProductResourcesResponseParams ¶ added in v1.0.426
type DescribeProductResourcesResponseParams struct {
// 资源总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 资源详情
// 注意:此字段可能返回 null,表示取不到有效值。
Result []*ProductResourceInfo `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeProductResponse ¶ added in v1.0.378
type DescribeProductResponse struct {
*tchttp.BaseResponse
Response *DescribeProductResponseParams `json:"Response"`
}
func NewDescribeProductResponse ¶ added in v1.0.378
func NewDescribeProductResponse() (response *DescribeProductResponse)
func (*DescribeProductResponse) FromJsonString ¶ added in v1.0.378
func (r *DescribeProductResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductResponse) ToJsonString ¶ added in v1.0.378
func (r *DescribeProductResponse) ToJsonString() string
type DescribeProductResponseParams ¶ added in v1.0.426
type DescribeProductResponseParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品名
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品元数据
ProductMetadata *ProductMetadata `json:"ProductMetadata,omitempty" name:"ProductMetadata"`
// 产品属性
ProductProperties *ProductProperties `json:"ProductProperties,omitempty" name:"ProductProperties"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeProductTaskRequest ¶
type DescribeProductTaskRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
func NewDescribeProductTaskRequest ¶
func NewDescribeProductTaskRequest() (request *DescribeProductTaskRequest)
func (*DescribeProductTaskRequest) FromJsonString ¶
func (r *DescribeProductTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductTaskRequest) ToJsonString ¶
func (r *DescribeProductTaskRequest) ToJsonString() string
type DescribeProductTaskRequestParams ¶ added in v1.0.426
type DescribeProductTaskRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
Predefined struct for user
type DescribeProductTaskResponse ¶
type DescribeProductTaskResponse struct {
*tchttp.BaseResponse
Response *DescribeProductTaskResponseParams `json:"Response"`
}
func NewDescribeProductTaskResponse ¶
func NewDescribeProductTaskResponse() (response *DescribeProductTaskResponse)
func (*DescribeProductTaskResponse) FromJsonString ¶
func (r *DescribeProductTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductTaskResponse) ToJsonString ¶
func (r *DescribeProductTaskResponse) ToJsonString() string
type DescribeProductTaskResponseParams ¶ added in v1.0.426
type DescribeProductTaskResponseParams struct {
// 产品任务详细信息
TaskInfo *ProductTaskInfo `json:"TaskInfo,omitempty" name:"TaskInfo"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeProductTasksRequest ¶
type DescribeProductTasksRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品级别任务列表偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 产品级别任务列表拉取个数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeProductTasksRequest ¶
func NewDescribeProductTasksRequest() (request *DescribeProductTasksRequest)
func (*DescribeProductTasksRequest) FromJsonString ¶
func (r *DescribeProductTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductTasksRequest) ToJsonString ¶
func (r *DescribeProductTasksRequest) ToJsonString() string
type DescribeProductTasksRequestParams ¶ added in v1.0.426
type DescribeProductTasksRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品级别任务列表偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 产品级别任务列表拉取个数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeProductTasksResponse ¶
type DescribeProductTasksResponse struct {
*tchttp.BaseResponse
Response *DescribeProductTasksResponseParams `json:"Response"`
}
func NewDescribeProductTasksResponse ¶
func NewDescribeProductTasksResponse() (response *DescribeProductTasksResponse)
func (*DescribeProductTasksResponse) FromJsonString ¶
func (r *DescribeProductTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductTasksResponse) ToJsonString ¶
func (r *DescribeProductTasksResponse) ToJsonString() string
type DescribeProductTasksResponseParams ¶ added in v1.0.426
type DescribeProductTasksResponseParams struct {
// 符合条件的任务总个数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 任务详细信息列表
TaskInfos []*ProductTaskInfo `json:"TaskInfos,omitempty" name:"TaskInfos"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeProductsRequest ¶
type DescribeProductsRequest struct {
*tchttp.BaseRequest
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页大小,当前页面中显示的最大数量,值范围 10-250。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeProductsRequest ¶
func NewDescribeProductsRequest() (request *DescribeProductsRequest)
func (*DescribeProductsRequest) FromJsonString ¶
func (r *DescribeProductsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductsRequest) ToJsonString ¶
func (r *DescribeProductsRequest) ToJsonString() string
type DescribeProductsRequestParams ¶ added in v1.0.426
type DescribeProductsRequestParams struct {
// 偏移量,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页大小,当前页面中显示的最大数量,值范围 10-250。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeProductsResponse ¶
type DescribeProductsResponse struct {
*tchttp.BaseResponse
Response *DescribeProductsResponseParams `json:"Response"`
}
func NewDescribeProductsResponse ¶
func NewDescribeProductsResponse() (response *DescribeProductsResponse)
func (*DescribeProductsResponse) FromJsonString ¶
func (r *DescribeProductsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductsResponse) ToJsonString ¶
func (r *DescribeProductsResponse) ToJsonString() string
type DescribeProductsResponseParams ¶ added in v1.0.426
type DescribeProductsResponseParams struct {
// 产品总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 产品详细信息列表
Products []*ProductInfo `json:"Products,omitempty" name:"Products"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePushResourceTaskStatisticsRequest ¶
type DescribePushResourceTaskStatisticsRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDescribePushResourceTaskStatisticsRequest ¶
func NewDescribePushResourceTaskStatisticsRequest() (request *DescribePushResourceTaskStatisticsRequest)
func (*DescribePushResourceTaskStatisticsRequest) FromJsonString ¶
func (r *DescribePushResourceTaskStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePushResourceTaskStatisticsRequest) ToJsonString ¶
func (r *DescribePushResourceTaskStatisticsRequest) ToJsonString() string
type DescribePushResourceTaskStatisticsRequestParams ¶ added in v1.0.426
type DescribePushResourceTaskStatisticsRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DescribePushResourceTaskStatisticsResponse ¶
type DescribePushResourceTaskStatisticsResponse struct {
*tchttp.BaseResponse
Response *DescribePushResourceTaskStatisticsResponseParams `json:"Response"`
}
func NewDescribePushResourceTaskStatisticsResponse ¶
func NewDescribePushResourceTaskStatisticsResponse() (response *DescribePushResourceTaskStatisticsResponse)
func (*DescribePushResourceTaskStatisticsResponse) FromJsonString ¶
func (r *DescribePushResourceTaskStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePushResourceTaskStatisticsResponse) ToJsonString ¶
func (r *DescribePushResourceTaskStatisticsResponse) ToJsonString() string
type DescribePushResourceTaskStatisticsResponseParams ¶ added in v1.0.426
type DescribePushResourceTaskStatisticsResponseParams struct {
// 推送成功的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
SuccessTotal *uint64 `json:"SuccessTotal,omitempty" name:"SuccessTotal"`
// 推送失败的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
FailureTotal *uint64 `json:"FailureTotal,omitempty" name:"FailureTotal"`
// 正在推送的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
UpgradingTotal *uint64 `json:"UpgradingTotal,omitempty" name:"UpgradingTotal"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeResourceTasksRequest ¶
type DescribeResourceTasksRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 查询偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回查询结果条数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 搜索过滤条件
Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters"`
}
func NewDescribeResourceTasksRequest ¶
func NewDescribeResourceTasksRequest() (request *DescribeResourceTasksRequest)
func (*DescribeResourceTasksRequest) FromJsonString ¶
func (r *DescribeResourceTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTasksRequest) ToJsonString ¶
func (r *DescribeResourceTasksRequest) ToJsonString() string
type DescribeResourceTasksRequestParams ¶ added in v1.0.426
type DescribeResourceTasksRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 查询偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回查询结果条数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 搜索过滤条件
Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeResourceTasksResponse ¶
type DescribeResourceTasksResponse struct {
*tchttp.BaseResponse
Response *DescribeResourceTasksResponseParams `json:"Response"`
}
func NewDescribeResourceTasksResponse ¶
func NewDescribeResourceTasksResponse() (response *DescribeResourceTasksResponse)
func (*DescribeResourceTasksResponse) FromJsonString ¶
func (r *DescribeResourceTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTasksResponse) ToJsonString ¶
func (r *DescribeResourceTasksResponse) ToJsonString() string
type DescribeResourceTasksResponseParams ¶ added in v1.0.426
type DescribeResourceTasksResponseParams struct {
// 资源任务列表
// 注意:此字段可能返回 null,表示取不到有效值。
TaskInfos []*FirmwareTaskInfo `json:"TaskInfos,omitempty" name:"TaskInfos"`
// 资源任务总数
// 注意:此字段可能返回 null,表示取不到有效值。
Total *uint64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTaskRequest ¶
type DescribeTaskRequest struct {
*tchttp.BaseRequest
// 任务ID
Id *string `json:"Id,omitempty" name:"Id"`
}
func NewDescribeTaskRequest ¶
func NewDescribeTaskRequest() (request *DescribeTaskRequest)
func (*DescribeTaskRequest) FromJsonString ¶
func (r *DescribeTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskRequest) ToJsonString ¶
func (r *DescribeTaskRequest) ToJsonString() string
type DescribeTaskRequestParams ¶ added in v1.0.426
type DescribeTaskRequestParams struct {
// 任务ID
Id *string `json:"Id,omitempty" name:"Id"`
}
Predefined struct for user
type DescribeTaskResponse ¶
type DescribeTaskResponse struct {
*tchttp.BaseResponse
Response *DescribeTaskResponseParams `json:"Response"`
}
func NewDescribeTaskResponse ¶
func NewDescribeTaskResponse() (response *DescribeTaskResponse)
func (*DescribeTaskResponse) FromJsonString ¶
func (r *DescribeTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskResponse) ToJsonString ¶
func (r *DescribeTaskResponse) ToJsonString() string
type DescribeTaskResponseParams ¶ added in v1.0.426
type DescribeTaskResponseParams struct {
// 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”
Type *string `json:"Type,omitempty" name:"Type"`
// 任务 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 任务创建时间,Unix 时间戳
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 最后任务更新时间,Unix 时间戳
UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 任务完成时间,Unix 时间戳
DoneTime *uint64 `json:"DoneTime,omitempty" name:"DoneTime"`
// 被调度时间,Unix 时间戳
ScheduleTime *uint64 `json:"ScheduleTime,omitempty" name:"ScheduleTime"`
// 返回的错误码
RetCode *uint64 `json:"RetCode,omitempty" name:"RetCode"`
// 返回的错误信息
ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"`
// 完成任务的设备比例
Percent *uint64 `json:"Percent,omitempty" name:"Percent"`
// 匹配到的需执行任务的设备数目
AllDeviceCnt *uint64 `json:"AllDeviceCnt,omitempty" name:"AllDeviceCnt"`
// 已完成任务的设备数目
DoneDeviceCnt *uint64 `json:"DoneDeviceCnt,omitempty" name:"DoneDeviceCnt"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTasksRequest ¶
type DescribeTasksRequest struct {
*tchttp.BaseRequest
// 偏移量,从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 1-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶
func (r *DescribeTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksRequest) ToJsonString ¶
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksRequestParams ¶ added in v1.0.426
type DescribeTasksRequestParams struct {
// 偏移量,从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 1-250
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeTasksResponse ¶
type DescribeTasksResponse struct {
*tchttp.BaseResponse
Response *DescribeTasksResponseParams `json:"Response"`
}
func NewDescribeTasksResponse ¶
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶
func (r *DescribeTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksResponse) ToJsonString ¶
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeTasksResponseParams ¶ added in v1.0.426
type DescribeTasksResponseParams struct {
// 用户一个月内创建的任务总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 此页任务对象的数组,按创建时间排序
Tasks []*TaskInfo `json:"Tasks,omitempty" name:"Tasks"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeviceInfo ¶
type DeviceInfo struct {
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备是否在线,0不在线,1在线
Online *uint64 `json:"Online,omitempty" name:"Online"`
// 设备登录时间
LoginTime *uint64 `json:"LoginTime,omitempty" name:"LoginTime"`
// 设备版本
Version *string `json:"Version,omitempty" name:"Version"`
// 设备证书,证书加密的设备返回
DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"`
// 设备密钥,密钥加密的设备返回
DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"`
// 设备属性
Tags []*DeviceTag `json:"Tags,omitempty" name:"Tags"`
// 设备类型
DeviceType *uint64 `json:"DeviceType,omitempty" name:"DeviceType"`
// 国际移动设备识别码 IMEI
Imei *string `json:"Imei,omitempty" name:"Imei"`
// 运营商类型
Isp *uint64 `json:"Isp,omitempty" name:"Isp"`
// NB IOT运营商处的DeviceID
NbiotDeviceID *string `json:"NbiotDeviceID,omitempty" name:"NbiotDeviceID"`
// IP地址
ConnIP *uint64 `json:"ConnIP,omitempty" name:"ConnIP"`
// 设备最后更新时间
LastUpdateTime *uint64 `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`
// LoRa设备的dev eui
LoraDevEui *string `json:"LoraDevEui,omitempty" name:"LoraDevEui"`
// LoRa设备的Mote type
LoraMoteType *uint64 `json:"LoraMoteType,omitempty" name:"LoraMoteType"`
// 首次上线时间
// 注意:此字段可能返回 null,表示取不到有效值。
FirstOnlineTime *uint64 `json:"FirstOnlineTime,omitempty" name:"FirstOnlineTime"`
// 最近下线时间
// 注意:此字段可能返回 null,表示取不到有效值。
LastOfflineTime *uint64 `json:"LastOfflineTime,omitempty" name:"LastOfflineTime"`
// 设备创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 设备日志级别
// 注意:此字段可能返回 null,表示取不到有效值。
LogLevel *uint64 `json:"LogLevel,omitempty" name:"LogLevel"`
// 设备证书获取状态, 1 已获取过设备密钥,0 未获取过设备密钥
// 注意:此字段可能返回 null,表示取不到有效值。
CertState *uint64 `json:"CertState,omitempty" name:"CertState"`
// 设备可用状态,0禁用,1启用
// 注意:此字段可能返回 null,表示取不到有效值。
EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"`
// 设备标签
// 注意:此字段可能返回 null,表示取不到有效值。
Labels []*DeviceLabel `json:"Labels,omitempty" name:"Labels"`
// MQTT客户端IP地址
// 注意:此字段可能返回 null,表示取不到有效值。
ClientIP *string `json:"ClientIP,omitempty" name:"ClientIP"`
// ota最后更新时间
// 注意:此字段可能返回 null,表示取不到有效值。
FirmwareUpdateTime *uint64 `json:"FirmwareUpdateTime,omitempty" name:"FirmwareUpdateTime"`
}
type DeviceLabel ¶
type DeviceProperty ¶
type DeviceProperty struct {
// 产品ID。
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品名称。
// 注意:此字段可能返回 null,表示取不到有效值。
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 设备名称。
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备资源ID。
// 注意:此字段可能返回 null,表示取不到有效值。
ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
}
type DeviceResourceInfo ¶
type DeviceResourceInfo struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 产品名
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 资源文件md5
Md5 *string `json:"Md5,omitempty" name:"Md5"`
// 资源文件大小
Size *uint64 `json:"Size,omitempty" name:"Size"`
// 资源更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备资源上传状态
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 设备资源上传百分比
Percent *uint64 `json:"Percent,omitempty" name:"Percent"`
}
type DeviceTag ¶
type DeviceTag struct {
// 属性名称
Tag *string `json:"Tag,omitempty" name:"Tag"`
// 属性值的类型,1 int,2 string
Type *uint64 `json:"Type,omitempty" name:"Type"`
// 属性的值
Value *string `json:"Value,omitempty" name:"Value"`
// 属性描述名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
}
type DeviceUpdateStatus ¶
type DeviceUpdateStatus struct {
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 最后处理时间
LastProcessTime *uint64 `json:"LastProcessTime,omitempty" name:"LastProcessTime"`
// 状态
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 错误消息
ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"`
// 返回码
Retcode *int64 `json:"Retcode,omitempty" name:"Retcode"`
// 目标更新版本
DstVersion *string `json:"DstVersion,omitempty" name:"DstVersion"`
// 下载中状态时的下载进度
// 注意:此字段可能返回 null,表示取不到有效值。
Percent *uint64 `json:"Percent,omitempty" name:"Percent"`
// 原版本号
// 注意:此字段可能返回 null,表示取不到有效值。
OriVersion *string `json:"OriVersion,omitempty" name:"OriVersion"`
// 任务ID
// 注意:此字段可能返回 null,表示取不到有效值。
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
type DisableTopicRuleRequest ¶
type DisableTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewDisableTopicRuleRequest ¶
func NewDisableTopicRuleRequest() (request *DisableTopicRuleRequest)
func (*DisableTopicRuleRequest) FromJsonString ¶
func (r *DisableTopicRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableTopicRuleRequest) ToJsonString ¶
func (r *DisableTopicRuleRequest) ToJsonString() string
type DisableTopicRuleRequestParams ¶ added in v1.0.426
type DisableTopicRuleRequestParams struct {
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
Predefined struct for user
type DisableTopicRuleResponse ¶
type DisableTopicRuleResponse struct {
*tchttp.BaseResponse
Response *DisableTopicRuleResponseParams `json:"Response"`
}
func NewDisableTopicRuleResponse ¶
func NewDisableTopicRuleResponse() (response *DisableTopicRuleResponse)
func (*DisableTopicRuleResponse) FromJsonString ¶
func (r *DisableTopicRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableTopicRuleResponse) ToJsonString ¶
func (r *DisableTopicRuleResponse) ToJsonString() string
type DisableTopicRuleResponseParams ¶ added in v1.0.426
type DisableTopicRuleResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DownloadDeviceResourceRequest ¶ added in v1.0.352
type DownloadDeviceResourceRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDownloadDeviceResourceRequest ¶ added in v1.0.352
func NewDownloadDeviceResourceRequest() (request *DownloadDeviceResourceRequest)
func (*DownloadDeviceResourceRequest) FromJsonString ¶ added in v1.0.352
func (r *DownloadDeviceResourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadDeviceResourceRequest) ToJsonString ¶ added in v1.0.352
func (r *DownloadDeviceResourceRequest) ToJsonString() string
type DownloadDeviceResourceRequestParams ¶ added in v1.0.426
type DownloadDeviceResourceRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
Predefined struct for user
type DownloadDeviceResourceResponse ¶ added in v1.0.352
type DownloadDeviceResourceResponse struct {
*tchttp.BaseResponse
Response *DownloadDeviceResourceResponseParams `json:"Response"`
}
func NewDownloadDeviceResourceResponse ¶ added in v1.0.352
func NewDownloadDeviceResourceResponse() (response *DownloadDeviceResourceResponse)
func (*DownloadDeviceResourceResponse) FromJsonString ¶ added in v1.0.352
func (r *DownloadDeviceResourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadDeviceResourceResponse) ToJsonString ¶ added in v1.0.352
func (r *DownloadDeviceResourceResponse) ToJsonString() string
type DownloadDeviceResourceResponseParams ¶ added in v1.0.426
type DownloadDeviceResourceResponseParams struct {
// 设备资源的cos链接
Url *string `json:"Url,omitempty" name:"Url"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type EditFirmwareRequest ¶
type EditFirmwareRequest struct {
*tchttp.BaseRequest
// 产品ID。
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号。
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件名称。
FirmwareName *string `json:"FirmwareName,omitempty" name:"FirmwareName"`
// 固件描述
FirmwareDescription *string `json:"FirmwareDescription,omitempty" name:"FirmwareDescription"`
// 固件类型:选填 mcu、moudule。默认:mcu
FwType *string `json:"FwType,omitempty" name:"FwType"`
}
func NewEditFirmwareRequest ¶
func NewEditFirmwareRequest() (request *EditFirmwareRequest)
func (*EditFirmwareRequest) FromJsonString ¶
func (r *EditFirmwareRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EditFirmwareRequest) ToJsonString ¶
func (r *EditFirmwareRequest) ToJsonString() string
type EditFirmwareRequestParams ¶ added in v1.0.426
type EditFirmwareRequestParams struct {
// 产品ID。
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号。
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件名称。
FirmwareName *string `json:"FirmwareName,omitempty" name:"FirmwareName"`
// 固件描述
FirmwareDescription *string `json:"FirmwareDescription,omitempty" name:"FirmwareDescription"`
// 固件类型:选填 mcu、moudule。默认:mcu
FwType *string `json:"FwType,omitempty" name:"FwType"`
}
Predefined struct for user
type EditFirmwareResponse ¶
type EditFirmwareResponse struct {
*tchttp.BaseResponse
Response *EditFirmwareResponseParams `json:"Response"`
}
func NewEditFirmwareResponse ¶
func NewEditFirmwareResponse() (response *EditFirmwareResponse)
func (*EditFirmwareResponse) FromJsonString ¶
func (r *EditFirmwareResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EditFirmwareResponse) ToJsonString ¶
func (r *EditFirmwareResponse) ToJsonString() string
type EditFirmwareResponseParams ¶ added in v1.0.426
type EditFirmwareResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type EnableTopicRuleRequest ¶
type EnableTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewEnableTopicRuleRequest ¶
func NewEnableTopicRuleRequest() (request *EnableTopicRuleRequest)
func (*EnableTopicRuleRequest) FromJsonString ¶
func (r *EnableTopicRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableTopicRuleRequest) ToJsonString ¶
func (r *EnableTopicRuleRequest) ToJsonString() string
type EnableTopicRuleRequestParams ¶ added in v1.0.426
type EnableTopicRuleRequestParams struct {
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
Predefined struct for user
type EnableTopicRuleResponse ¶
type EnableTopicRuleResponse struct {
*tchttp.BaseResponse
Response *EnableTopicRuleResponseParams `json:"Response"`
}
func NewEnableTopicRuleResponse ¶
func NewEnableTopicRuleResponse() (response *EnableTopicRuleResponse)
func (*EnableTopicRuleResponse) FromJsonString ¶
func (r *EnableTopicRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableTopicRuleResponse) ToJsonString ¶
func (r *EnableTopicRuleResponse) ToJsonString() string
type EnableTopicRuleResponseParams ¶ added in v1.0.426
type EnableTopicRuleResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type FirmwareTaskInfo ¶
type FirmwareTaskInfo struct {
// 任务ID
// 注意:此字段可能返回 null,表示取不到有效值。
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
// 任务状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 任务类型
// 注意:此字段可能返回 null,表示取不到有效值。
Type *int64 `json:"Type,omitempty" name:"Type"`
// 任务创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
}
type GetCOSURLRequest ¶
type GetCOSURLRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
}
func NewGetCOSURLRequest ¶
func NewGetCOSURLRequest() (request *GetCOSURLRequest)
func (*GetCOSURLRequest) FromJsonString ¶
func (r *GetCOSURLRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCOSURLRequest) ToJsonString ¶
func (r *GetCOSURLRequest) ToJsonString() string
type GetCOSURLRequestParams ¶ added in v1.0.426
type GetCOSURLRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
}
Predefined struct for user
type GetCOSURLResponse ¶
type GetCOSURLResponse struct {
*tchttp.BaseResponse
Response *GetCOSURLResponseParams `json:"Response"`
}
func NewGetCOSURLResponse ¶
func NewGetCOSURLResponse() (response *GetCOSURLResponse)
func (*GetCOSURLResponse) FromJsonString ¶
func (r *GetCOSURLResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCOSURLResponse) ToJsonString ¶
func (r *GetCOSURLResponse) ToJsonString() string
type GetCOSURLResponseParams ¶ added in v1.0.426
type GetCOSURLResponseParams struct {
// 固件URL
Url *string `json:"Url,omitempty" name:"Url"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetUserResourceInfoRequest ¶
type GetUserResourceInfoRequest struct {
*tchttp.BaseRequest
}
func NewGetUserResourceInfoRequest ¶
func NewGetUserResourceInfoRequest() (request *GetUserResourceInfoRequest)
func (*GetUserResourceInfoRequest) FromJsonString ¶
func (r *GetUserResourceInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUserResourceInfoRequest) ToJsonString ¶
func (r *GetUserResourceInfoRequest) ToJsonString() string
type GetUserResourceInfoRequestParams ¶ added in v1.0.426
type GetUserResourceInfoRequestParams struct {
}
Predefined struct for user
type GetUserResourceInfoResponse ¶
type GetUserResourceInfoResponse struct {
*tchttp.BaseResponse
Response *GetUserResourceInfoResponseParams `json:"Response"`
}
func NewGetUserResourceInfoResponse ¶
func NewGetUserResourceInfoResponse() (response *GetUserResourceInfoResponse)
func (*GetUserResourceInfoResponse) FromJsonString ¶
func (r *GetUserResourceInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUserResourceInfoResponse) ToJsonString ¶
func (r *GetUserResourceInfoResponse) ToJsonString() string
type GetUserResourceInfoResponseParams ¶ added in v1.0.426
type GetUserResourceInfoResponseParams struct {
// 已使用的资源字节数
UsedSize *uint64 `json:"UsedSize,omitempty" name:"UsedSize"`
// 可以使用资源的总大小
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListLogPayloadRequest ¶ added in v1.0.329
type ListLogPayloadRequest struct {
*tchttp.BaseRequest
// 日志开始时间,毫秒级时间戳
MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"`
// 日志结束时间,毫秒级时间戳
MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"`
// 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key比如:RequestID、ProductID、DeviceName等。
// 一个典型的查询示例:ProductID:ABCDE12345 DeviceName:test publish
Keywords *string `json:"Keywords,omitempty" name:"Keywords"`
// 日志检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 日志最大条数
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
}
func NewListLogPayloadRequest ¶ added in v1.0.329
func NewListLogPayloadRequest() (request *ListLogPayloadRequest)
func (*ListLogPayloadRequest) FromJsonString ¶ added in v1.0.329
func (r *ListLogPayloadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListLogPayloadRequest) ToJsonString ¶ added in v1.0.329
func (r *ListLogPayloadRequest) ToJsonString() string
type ListLogPayloadRequestParams ¶ added in v1.0.426
type ListLogPayloadRequestParams struct {
// 日志开始时间,毫秒级时间戳
MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"`
// 日志结束时间,毫秒级时间戳
MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"`
// 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key比如:RequestID、ProductID、DeviceName等。
// 一个典型的查询示例:ProductID:ABCDE12345 DeviceName:test publish
Keywords *string `json:"Keywords,omitempty" name:"Keywords"`
// 日志检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 日志最大条数
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
}
Predefined struct for user
type ListLogPayloadResponse ¶ added in v1.0.329
type ListLogPayloadResponse struct {
*tchttp.BaseResponse
Response *ListLogPayloadResponseParams `json:"Response"`
}
func NewListLogPayloadResponse ¶ added in v1.0.329
func NewListLogPayloadResponse() (response *ListLogPayloadResponse)
func (*ListLogPayloadResponse) FromJsonString ¶ added in v1.0.329
func (r *ListLogPayloadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListLogPayloadResponse) ToJsonString ¶ added in v1.0.329
func (r *ListLogPayloadResponse) ToJsonString() string
type ListLogPayloadResponseParams ¶ added in v1.0.426
type ListLogPayloadResponseParams struct {
// 日志上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 是否还有日志,如有仍有日志,下次查询的请求带上当前请求返回的Context
Listover *bool `json:"Listover,omitempty" name:"Listover"`
// 日志列表
Results []*PayloadLogItem `json:"Results,omitempty" name:"Results"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListLogRequest ¶ added in v1.0.329
type ListLogRequest struct {
*tchttp.BaseRequest
// 日志开始时间,毫秒级时间戳
MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"`
// 日志结束时间,毫秒级时间戳
MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"`
// 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key包括:requestid、productid、devicename、scene、content。
// 一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW content:Device%20connect publish
Keywords *string `json:"Keywords,omitempty" name:"Keywords"`
// 日志检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 查询条数
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
}
func NewListLogRequest ¶ added in v1.0.329
func NewListLogRequest() (request *ListLogRequest)
func (*ListLogRequest) FromJsonString ¶ added in v1.0.329
func (r *ListLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListLogRequest) ToJsonString ¶ added in v1.0.329
func (r *ListLogRequest) ToJsonString() string
type ListLogRequestParams ¶ added in v1.0.426
type ListLogRequestParams struct {
// 日志开始时间,毫秒级时间戳
MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"`
// 日志结束时间,毫秒级时间戳
MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"`
// 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key包括:requestid、productid、devicename、scene、content。
// 一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW content:Device%20connect publish
Keywords *string `json:"Keywords,omitempty" name:"Keywords"`
// 日志检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 查询条数
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
}
Predefined struct for user
type ListLogResponse ¶ added in v1.0.329
type ListLogResponse struct {
*tchttp.BaseResponse
Response *ListLogResponseParams `json:"Response"`
}
func NewListLogResponse ¶ added in v1.0.329
func NewListLogResponse() (response *ListLogResponse)
func (*ListLogResponse) FromJsonString ¶ added in v1.0.329
func (r *ListLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListLogResponse) ToJsonString ¶ added in v1.0.329
func (r *ListLogResponse) ToJsonString() string
type ListLogResponseParams ¶ added in v1.0.426
type ListLogResponseParams struct {
// 日志上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 是否还有日志,如有仍有日志,下次查询的请求带上当前请求返回的Context
Listover *bool `json:"Listover,omitempty" name:"Listover"`
// 日志列表
Results []*CLSLogItem `json:"Results,omitempty" name:"Results"`
// 日志总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListSDKLogRequest ¶ added in v1.0.329
type ListSDKLogRequest struct {
*tchttp.BaseRequest
// 日志开始时间
MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"`
// 日志结束时间
MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"`
// 查询关键字,可以同时支持键值查询和文本查询,
// 例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。
// 键值或文本可以包含多个,以空格隔开。
// 其中可以索引的key包括:productid、devicename、loglevel
// 一个典型的查询示例:productid:7JK1G72JNE devicename:name publish loglevel:WARN一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW publish
Keywords *string `json:"Keywords,omitempty" name:"Keywords"`
// 日志检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 查询条数
MaxNum *uint64 `json:"MaxNum,omitempty" name:"MaxNum"`
}
func NewListSDKLogRequest ¶ added in v1.0.329
func NewListSDKLogRequest() (request *ListSDKLogRequest)
func (*ListSDKLogRequest) FromJsonString ¶ added in v1.0.329
func (r *ListSDKLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListSDKLogRequest) ToJsonString ¶ added in v1.0.329
func (r *ListSDKLogRequest) ToJsonString() string
type ListSDKLogRequestParams ¶ added in v1.0.426
type ListSDKLogRequestParams struct {
// 日志开始时间
MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"`
// 日志结束时间
MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"`
// 查询关键字,可以同时支持键值查询和文本查询,
// 例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。
// 键值或文本可以包含多个,以空格隔开。
// 其中可以索引的key包括:productid、devicename、loglevel
// 一个典型的查询示例:productid:7JK1G72JNE devicename:name publish loglevel:WARN一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW publish
Keywords *string `json:"Keywords,omitempty" name:"Keywords"`
// 日志检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 查询条数
MaxNum *uint64 `json:"MaxNum,omitempty" name:"MaxNum"`
}
Predefined struct for user
type ListSDKLogResponse ¶ added in v1.0.329
type ListSDKLogResponse struct {
*tchttp.BaseResponse
Response *ListSDKLogResponseParams `json:"Response"`
}
func NewListSDKLogResponse ¶ added in v1.0.329
func NewListSDKLogResponse() (response *ListSDKLogResponse)
func (*ListSDKLogResponse) FromJsonString ¶ added in v1.0.329
func (r *ListSDKLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListSDKLogResponse) ToJsonString ¶ added in v1.0.329
func (r *ListSDKLogResponse) ToJsonString() string
type ListSDKLogResponseParams ¶ added in v1.0.426
type ListSDKLogResponseParams struct {
// 日志检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
// 是否还有日志,如有仍有日志,下次查询的请求带上当前请求返回的Context
Listover *bool `json:"Listover,omitempty" name:"Listover"`
// 日志列表
Results []*SDKLogItem `json:"Results,omitempty" name:"Results"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type MultiDevicesInfo ¶
type MultiDevicesInfo struct {
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 对称加密密钥,base64 编码,采用对称加密时返回该参数
DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"`
// 设备证书,采用非对称加密时返回该参数
DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"`
// 设备私钥,采用非对称加密时返回该参数,腾讯云为用户缓存起来,其生命周期与任务生命周期一致
DevicePrivateKey *string `json:"DevicePrivateKey,omitempty" name:"DevicePrivateKey"`
// 错误码
Result *uint64 `json:"Result,omitempty" name:"Result"`
// 错误信息
ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"`
}
type PayloadLogItem ¶ added in v1.0.329
type PayloadLogItem struct {
// 账号id
Uin *string `json:"Uin,omitempty" name:"Uin"`
// 产品id
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 来源类型
SrcType *string `json:"SrcType,omitempty" name:"SrcType"`
// 来源名称
SrcName *string `json:"SrcName,omitempty" name:"SrcName"`
// 消息topic
Topic *string `json:"Topic,omitempty" name:"Topic"`
// 内容格式类型
PayloadFmtType *string `json:"PayloadFmtType,omitempty" name:"PayloadFmtType"`
// 内容信息
Payload *string `json:"Payload,omitempty" name:"Payload"`
// 请求ID
RequestID *string `json:"RequestID,omitempty" name:"RequestID"`
// 日期时间
DateTime *string `json:"DateTime,omitempty" name:"DateTime"`
}
type ProductInfo ¶
type ProductInfo struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品名
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品元数据
ProductMetadata *ProductMetadata `json:"ProductMetadata,omitempty" name:"ProductMetadata"`
// 产品属性
ProductProperties *ProductProperties `json:"ProductProperties,omitempty" name:"ProductProperties"`
}
type ProductMetadata ¶
type ProductMetadata struct {
// 产品创建时间
CreationDate *uint64 `json:"CreationDate,omitempty" name:"CreationDate"`
}
type ProductProperties ¶
type ProductProperties struct {
// 产品描述
ProductDescription *string `json:"ProductDescription,omitempty" name:"ProductDescription"`
// 加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1
EncryptionType *string `json:"EncryptionType,omitempty" name:"EncryptionType"`
// 产品所属区域,目前只支持广州(gz)
Region *string `json:"Region,omitempty" name:"Region"`
// 产品类型,各个类型值代表的节点-类型如下:
// 0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0
ProductType *uint64 `json:"ProductType,omitempty" name:"ProductType"`
// 数据格式,取值为json或者custom,默认值是json
Format *string `json:"Format,omitempty" name:"Format"`
// 产品所属平台,默认值是0
Platform *string `json:"Platform,omitempty" name:"Platform"`
// LoRa产品运营侧APPEUI,只有LoRa产品需要填写
Appeui *string `json:"Appeui,omitempty" name:"Appeui"`
// 产品绑定的物模型ID,-1表示不绑定
ModelId *string `json:"ModelId,omitempty" name:"ModelId"`
// 产品绑定的物模型名称
ModelName *string `json:"ModelName,omitempty" name:"ModelName"`
// 产品密钥,suite产品才会有
ProductKey *string `json:"ProductKey,omitempty" name:"ProductKey"`
// 动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名
RegisterType *uint64 `json:"RegisterType,omitempty" name:"RegisterType"`
// 动态注册产品秘钥
ProductSecret *string `json:"ProductSecret,omitempty" name:"ProductSecret"`
// RegisterType为2时,设备动态创建的限制数量
RegisterLimit *uint64 `json:"RegisterLimit,omitempty" name:"RegisterLimit"`
}
type ProductResourceInfo ¶
type ProductResourceInfo struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 产品名
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 资源名称
Name *string `json:"Name,omitempty" name:"Name"`
// 资源文件md5
Md5 *string `json:"Md5,omitempty" name:"Md5"`
// 资源文件大小
Size *uint64 `json:"Size,omitempty" name:"Size"`
// 资源文件描述
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitempty" name:"Description"`
// 资源创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}
type ProductTaskInfo ¶
type ProductTaskInfo struct {
// 任务ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 任务类型 0-批量创建设备类型
Type *uint64 `json:"Type,omitempty" name:"Type"`
// 任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功
State *uint64 `json:"State,omitempty" name:"State"`
// 任务参数类型 cosfile-文件输入 random-随机生成
ParametersType *string `json:"ParametersType,omitempty" name:"ParametersType"`
// 任务参数
Parameters *string `json:"Parameters,omitempty" name:"Parameters"`
// 任务执行结果类型 cosfile-文件输出 errmsg-错误信息
// 注意:此字段可能返回 null,表示取不到有效值。
ResultType *string `json:"ResultType,omitempty" name:"ResultType"`
// 任务执行结果
// 注意:此字段可能返回 null,表示取不到有效值。
Result *string `json:"Result,omitempty" name:"Result"`
// 子任务总个数
// 注意:此字段可能返回 null,表示取不到有效值。
BatchCount *uint64 `json:"BatchCount,omitempty" name:"BatchCount"`
// 子任务已执行个数
// 注意:此字段可能返回 null,表示取不到有效值。
BatchOffset *uint64 `json:"BatchOffset,omitempty" name:"BatchOffset"`
// 任务创建时间
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 任务更新时间
UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 任务完成时间
// 注意:此字段可能返回 null,表示取不到有效值。
CompleteTime *uint64 `json:"CompleteTime,omitempty" name:"CompleteTime"`
}
type PublishAsDeviceRequest ¶
type PublishAsDeviceRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// LoRa 设备端口
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
}
func NewPublishAsDeviceRequest ¶
func NewPublishAsDeviceRequest() (request *PublishAsDeviceRequest)
func (*PublishAsDeviceRequest) FromJsonString ¶
func (r *PublishAsDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishAsDeviceRequest) ToJsonString ¶
func (r *PublishAsDeviceRequest) ToJsonString() string
type PublishAsDeviceRequestParams ¶ added in v1.0.426
type PublishAsDeviceRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// LoRa 设备端口
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
}
Predefined struct for user
type PublishAsDeviceResponse ¶
type PublishAsDeviceResponse struct {
*tchttp.BaseResponse
Response *PublishAsDeviceResponseParams `json:"Response"`
}
func NewPublishAsDeviceResponse ¶
func NewPublishAsDeviceResponse() (response *PublishAsDeviceResponse)
func (*PublishAsDeviceResponse) FromJsonString ¶
func (r *PublishAsDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishAsDeviceResponse) ToJsonString ¶
func (r *PublishAsDeviceResponse) ToJsonString() string
type PublishAsDeviceResponseParams ¶ added in v1.0.426
type PublishAsDeviceResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type PublishBroadcastMessageRequest ¶
type PublishBroadcastMessageRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
// 消息质量等级
Qos *int64 `json:"Qos,omitempty" name:"Qos"`
// Payload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
PayloadEncoding *string `json:"PayloadEncoding,omitempty" name:"PayloadEncoding"`
}
func NewPublishBroadcastMessageRequest ¶
func NewPublishBroadcastMessageRequest() (request *PublishBroadcastMessageRequest)
func (*PublishBroadcastMessageRequest) FromJsonString ¶
func (r *PublishBroadcastMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishBroadcastMessageRequest) ToJsonString ¶
func (r *PublishBroadcastMessageRequest) ToJsonString() string
type PublishBroadcastMessageRequestParams ¶ added in v1.0.426
type PublishBroadcastMessageRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
// 消息质量等级
Qos *int64 `json:"Qos,omitempty" name:"Qos"`
// Payload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
PayloadEncoding *string `json:"PayloadEncoding,omitempty" name:"PayloadEncoding"`
}
Predefined struct for user
type PublishBroadcastMessageResponse ¶
type PublishBroadcastMessageResponse struct {
*tchttp.BaseResponse
Response *PublishBroadcastMessageResponseParams `json:"Response"`
}
func NewPublishBroadcastMessageResponse ¶
func NewPublishBroadcastMessageResponse() (response *PublishBroadcastMessageResponse)
func (*PublishBroadcastMessageResponse) FromJsonString ¶
func (r *PublishBroadcastMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishBroadcastMessageResponse) ToJsonString ¶
func (r *PublishBroadcastMessageResponse) ToJsonString() string
type PublishBroadcastMessageResponseParams ¶ added in v1.0.426
type PublishBroadcastMessageResponseParams struct {
// 广播消息任务ID
TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type PublishMessageRequest ¶
type PublishMessageRequest struct {
*tchttp.BaseRequest
// 消息发往的主题。命名规则:${ProductId}/${DeviceName}/[a-zA-Z0-9:_-]{1,128}
Topic *string `json:"Topic,omitempty" name:"Topic"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 服务质量等级,取值为0或1
Qos *uint64 `json:"Qos,omitempty" name:"Qos"`
// Payload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
PayloadEncoding *string `json:"PayloadEncoding,omitempty" name:"PayloadEncoding"`
}
func NewPublishMessageRequest ¶
func NewPublishMessageRequest() (request *PublishMessageRequest)
func (*PublishMessageRequest) FromJsonString ¶
func (r *PublishMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishMessageRequest) ToJsonString ¶
func (r *PublishMessageRequest) ToJsonString() string
type PublishMessageRequestParams ¶ added in v1.0.426
type PublishMessageRequestParams struct {
// 消息发往的主题。命名规则:${ProductId}/${DeviceName}/[a-zA-Z0-9:_-]{1,128}
Topic *string `json:"Topic,omitempty" name:"Topic"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 服务质量等级,取值为0或1
Qos *uint64 `json:"Qos,omitempty" name:"Qos"`
// Payload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
PayloadEncoding *string `json:"PayloadEncoding,omitempty" name:"PayloadEncoding"`
}
Predefined struct for user
type PublishMessageResponse ¶
type PublishMessageResponse struct {
*tchttp.BaseResponse
Response *PublishMessageResponseParams `json:"Response"`
}
func NewPublishMessageResponse ¶
func NewPublishMessageResponse() (response *PublishMessageResponse)
func (*PublishMessageResponse) FromJsonString ¶
func (r *PublishMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishMessageResponse) ToJsonString ¶
func (r *PublishMessageResponse) ToJsonString() string
type PublishMessageResponseParams ¶ added in v1.0.426
type PublishMessageResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type PublishRRPCMessageRequest ¶
type PublishRRPCMessageRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 消息内容,utf8编码
Payload *string `json:"Payload,omitempty" name:"Payload"`
}
func NewPublishRRPCMessageRequest ¶
func NewPublishRRPCMessageRequest() (request *PublishRRPCMessageRequest)
func (*PublishRRPCMessageRequest) FromJsonString ¶
func (r *PublishRRPCMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishRRPCMessageRequest) ToJsonString ¶
func (r *PublishRRPCMessageRequest) ToJsonString() string
type PublishRRPCMessageRequestParams ¶ added in v1.0.426
type PublishRRPCMessageRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 消息内容,utf8编码
Payload *string `json:"Payload,omitempty" name:"Payload"`
}
Predefined struct for user
type PublishRRPCMessageResponse ¶
type PublishRRPCMessageResponse struct {
*tchttp.BaseResponse
Response *PublishRRPCMessageResponseParams `json:"Response"`
}
func NewPublishRRPCMessageResponse ¶
func NewPublishRRPCMessageResponse() (response *PublishRRPCMessageResponse)
func (*PublishRRPCMessageResponse) FromJsonString ¶
func (r *PublishRRPCMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishRRPCMessageResponse) ToJsonString ¶
func (r *PublishRRPCMessageResponse) ToJsonString() string
type PublishRRPCMessageResponseParams ¶ added in v1.0.426
type PublishRRPCMessageResponseParams struct {
// RRPC消息ID
MessageId *int64 `json:"MessageId,omitempty" name:"MessageId"`
// 设备回复的消息内容,采用base64编码
PayloadBase64 *string `json:"PayloadBase64,omitempty" name:"PayloadBase64"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type PublishToDeviceRequest ¶
type PublishToDeviceRequest struct {
*tchttp.BaseRequest
// 产品id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// LoRa 端口
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
}
func NewPublishToDeviceRequest ¶
func NewPublishToDeviceRequest() (request *PublishToDeviceRequest)
func (*PublishToDeviceRequest) FromJsonString ¶
func (r *PublishToDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishToDeviceRequest) ToJsonString ¶
func (r *PublishToDeviceRequest) ToJsonString() string
type PublishToDeviceRequestParams ¶ added in v1.0.426
type PublishToDeviceRequestParams struct {
// 产品id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// LoRa 端口
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 消息内容
Payload *string `json:"Payload,omitempty" name:"Payload"`
}
Predefined struct for user
type PublishToDeviceResponse ¶
type PublishToDeviceResponse struct {
*tchttp.BaseResponse
Response *PublishToDeviceResponseParams `json:"Response"`
}
func NewPublishToDeviceResponse ¶
func NewPublishToDeviceResponse() (response *PublishToDeviceResponse)
func (*PublishToDeviceResponse) FromJsonString ¶
func (r *PublishToDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishToDeviceResponse) ToJsonString ¶
func (r *PublishToDeviceResponse) ToJsonString() string
type PublishToDeviceResponseParams ¶ added in v1.0.426
type PublishToDeviceResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ReplaceTopicRuleRequest ¶
type ReplaceTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 替换的规则包体
TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitempty" name:"TopicRulePayload"`
// 修改类型,0:其他,1:创建行为,2:更新行为,3:删除行为
ModifyType *uint64 `json:"ModifyType,omitempty" name:"ModifyType"`
// action增删改变更填对应topicRulePayload里面第几个action
ActionIndex *uint64 `json:"ActionIndex,omitempty" name:"ActionIndex"`
}
func NewReplaceTopicRuleRequest ¶
func NewReplaceTopicRuleRequest() (request *ReplaceTopicRuleRequest)
func (*ReplaceTopicRuleRequest) FromJsonString ¶
func (r *ReplaceTopicRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceTopicRuleRequest) ToJsonString ¶
func (r *ReplaceTopicRuleRequest) ToJsonString() string
type ReplaceTopicRuleRequestParams ¶ added in v1.0.426
type ReplaceTopicRuleRequestParams struct {
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 替换的规则包体
TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitempty" name:"TopicRulePayload"`
// 修改类型,0:其他,1:创建行为,2:更新行为,3:删除行为
ModifyType *uint64 `json:"ModifyType,omitempty" name:"ModifyType"`
// action增删改变更填对应topicRulePayload里面第几个action
ActionIndex *uint64 `json:"ActionIndex,omitempty" name:"ActionIndex"`
}
Predefined struct for user
type ReplaceTopicRuleResponse ¶
type ReplaceTopicRuleResponse struct {
*tchttp.BaseResponse
Response *ReplaceTopicRuleResponseParams `json:"Response"`
}
func NewReplaceTopicRuleResponse ¶
func NewReplaceTopicRuleResponse() (response *ReplaceTopicRuleResponse)
func (*ReplaceTopicRuleResponse) FromJsonString ¶
func (r *ReplaceTopicRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceTopicRuleResponse) ToJsonString ¶
func (r *ReplaceTopicRuleResponse) ToJsonString() string
type ReplaceTopicRuleResponseParams ¶ added in v1.0.426
type ReplaceTopicRuleResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ResetDeviceResult ¶
type ResetDeviceStateRequest ¶
type ResetDeviceStateRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
}
func NewResetDeviceStateRequest ¶
func NewResetDeviceStateRequest() (request *ResetDeviceStateRequest)
func (*ResetDeviceStateRequest) FromJsonString ¶
func (r *ResetDeviceStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetDeviceStateRequest) ToJsonString ¶
func (r *ResetDeviceStateRequest) ToJsonString() string
type ResetDeviceStateRequestParams ¶ added in v1.0.426
type ResetDeviceStateRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
}
Predefined struct for user
type ResetDeviceStateResponse ¶
type ResetDeviceStateResponse struct {
*tchttp.BaseResponse
Response *ResetDeviceStateResponseParams `json:"Response"`
}
func NewResetDeviceStateResponse ¶
func NewResetDeviceStateResponse() (response *ResetDeviceStateResponse)
func (*ResetDeviceStateResponse) FromJsonString ¶
func (r *ResetDeviceStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetDeviceStateResponse) ToJsonString ¶
func (r *ResetDeviceStateResponse) ToJsonString() string
type ResetDeviceStateResponseParams ¶ added in v1.0.426
type ResetDeviceStateResponseParams struct {
// 批量重置设备成功数
SuccessCount *uint64 `json:"SuccessCount,omitempty" name:"SuccessCount"`
// 批量重置设备结果
ResetDeviceResults []*ResetDeviceResult `json:"ResetDeviceResults,omitempty" name:"ResetDeviceResults"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type RetryDeviceFirmwareTaskRequest ¶
type RetryDeviceFirmwareTaskRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件升级任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
func NewRetryDeviceFirmwareTaskRequest ¶
func NewRetryDeviceFirmwareTaskRequest() (request *RetryDeviceFirmwareTaskRequest)
func (*RetryDeviceFirmwareTaskRequest) FromJsonString ¶
func (r *RetryDeviceFirmwareTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryDeviceFirmwareTaskRequest) ToJsonString ¶
func (r *RetryDeviceFirmwareTaskRequest) ToJsonString() string
type RetryDeviceFirmwareTaskRequestParams ¶ added in v1.0.426
type RetryDeviceFirmwareTaskRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件升级任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
Predefined struct for user
type RetryDeviceFirmwareTaskResponse ¶
type RetryDeviceFirmwareTaskResponse struct {
*tchttp.BaseResponse
Response *RetryDeviceFirmwareTaskResponseParams `json:"Response"`
}
func NewRetryDeviceFirmwareTaskResponse ¶
func NewRetryDeviceFirmwareTaskResponse() (response *RetryDeviceFirmwareTaskResponse)
func (*RetryDeviceFirmwareTaskResponse) FromJsonString ¶
func (r *RetryDeviceFirmwareTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryDeviceFirmwareTaskResponse) ToJsonString ¶
func (r *RetryDeviceFirmwareTaskResponse) ToJsonString() string
type RetryDeviceFirmwareTaskResponseParams ¶ added in v1.0.426
type RetryDeviceFirmwareTaskResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type SDKLogItem ¶ added in v1.0.329
type SDKLogItem struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 日志等级
Level *string `json:"Level,omitempty" name:"Level"`
// 日志时间
DateTime *string `json:"DateTime,omitempty" name:"DateTime"`
// 日志内容
Content *string `json:"Content,omitempty" name:"Content"`
}
type SearchKeyword ¶
type SetProductsForbiddenStatusRequest ¶ added in v1.0.259
type SetProductsForbiddenStatusRequest struct {
*tchttp.BaseRequest
// 要设置禁用状态的产品列表
ProductID []*string `json:"ProductID,omitempty" name:"ProductID"`
// 0启用,1禁用
Status *uint64 `json:"Status,omitempty" name:"Status"`
}
func NewSetProductsForbiddenStatusRequest ¶ added in v1.0.259
func NewSetProductsForbiddenStatusRequest() (request *SetProductsForbiddenStatusRequest)
func (*SetProductsForbiddenStatusRequest) FromJsonString ¶ added in v1.0.259
func (r *SetProductsForbiddenStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetProductsForbiddenStatusRequest) ToJsonString ¶ added in v1.0.259
func (r *SetProductsForbiddenStatusRequest) ToJsonString() string
type SetProductsForbiddenStatusRequestParams ¶ added in v1.0.426
type SetProductsForbiddenStatusRequestParams struct {
// 要设置禁用状态的产品列表
ProductID []*string `json:"ProductID,omitempty" name:"ProductID"`
// 0启用,1禁用
Status *uint64 `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type SetProductsForbiddenStatusResponse ¶ added in v1.0.259
type SetProductsForbiddenStatusResponse struct {
*tchttp.BaseResponse
Response *SetProductsForbiddenStatusResponseParams `json:"Response"`
}
func NewSetProductsForbiddenStatusResponse ¶ added in v1.0.259
func NewSetProductsForbiddenStatusResponse() (response *SetProductsForbiddenStatusResponse)
func (*SetProductsForbiddenStatusResponse) FromJsonString ¶ added in v1.0.259
func (r *SetProductsForbiddenStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetProductsForbiddenStatusResponse) ToJsonString ¶ added in v1.0.259
func (r *SetProductsForbiddenStatusResponse) ToJsonString() string
type SetProductsForbiddenStatusResponseParams ¶ added in v1.0.426
type SetProductsForbiddenStatusResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type StatusStatistic ¶
type Task ¶
type Task struct {
// 批量更新影子任务的描述细节,当 taskType 取值为 “UpdateShadow” 时,此字段必填。描述见下 BatchUpdateShadow
UpdateShadowTask *BatchUpdateShadow `json:"UpdateShadowTask,omitempty" name:"UpdateShadowTask"`
// 批量下发消息任务的描述细节,当 taskType 取值为 “PublishMessage” 时,此字段必填。描述见下 BatchPublishMessage
PublishMessageTask *BatchPublishMessage `json:"PublishMessageTask,omitempty" name:"PublishMessageTask"`
}
type TaskInfo ¶
type TaskInfo struct {
// 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”
Type *string `json:"Type,omitempty" name:"Type"`
// 任务 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 任务创建时间,Unix 时间戳
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 最后任务更新时间,Unix 时间戳
UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 返回的错误码
RetCode *uint64 `json:"RetCode,omitempty" name:"RetCode"`
// 返回的错误信息
ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"`
}
type TopicRulePayload ¶
type TopicRulePayload struct {
// 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
Sql *string `json:"Sql,omitempty" name:"Sql"`
// 行为的JSON字符串,大部分种类举例如下:
// [
// {
// "republish": {
// "topic": "TEST/test"
// }
// },
// {
// "forward": {
// "api": "http://127.0.0.1:8080",
// "token":"xxx"
// }
// },
// {
// "ckafka": {
// "instance": {
// "id": "ckafka-test",
// "name": ""
// },
// "topic": {
// "id": "topic-test",
// "name": "test"
// },
// "region": "gz"
// }
// },
// {
// "cmqqueue": {
// "queuename": "queue-test-TEST",
// "region": "gz"
// }
// },
// {
// "mysql": {
// "instanceid": "cdb-test",
// "region": "gz",
// "username": "test",
// "userpwd": "*****",
// "dbname": "d_mqtt",
// "tablename": "t_test",
// "fieldpairs": [
// {
// "field": "test",
// "value": "test"
// }
// ],
// "devicetype": "CUSTOM"
// }
// }
// ]
Actions *string `json:"Actions,omitempty" name:"Actions"`
// 规则描述
Description *string `json:"Description,omitempty" name:"Description"`
// 是否禁用规则
RuleDisabled *bool `json:"RuleDisabled,omitempty" name:"RuleDisabled"`
}
type UnbindDevicesRequest ¶
type UnbindDevicesRequest struct {
*tchttp.BaseRequest
// 网关设备的产品ID
GatewayProductId *string `json:"GatewayProductId,omitempty" name:"GatewayProductId"`
// 网关设备的设备名
GatewayDeviceName *string `json:"GatewayDeviceName,omitempty" name:"GatewayDeviceName"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 多个设备名
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 中兴CLAA设备的解绑需要Skey,普通设备不需要
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
func NewUnbindDevicesRequest ¶
func NewUnbindDevicesRequest() (request *UnbindDevicesRequest)
func (*UnbindDevicesRequest) FromJsonString ¶
func (r *UnbindDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindDevicesRequest) ToJsonString ¶
func (r *UnbindDevicesRequest) ToJsonString() string
type UnbindDevicesRequestParams ¶ added in v1.0.426
type UnbindDevicesRequestParams struct {
// 网关设备的产品ID
GatewayProductId *string `json:"GatewayProductId,omitempty" name:"GatewayProductId"`
// 网关设备的设备名
GatewayDeviceName *string `json:"GatewayDeviceName,omitempty" name:"GatewayDeviceName"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 多个设备名
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 中兴CLAA设备的解绑需要Skey,普通设备不需要
Skey *string `json:"Skey,omitempty" name:"Skey"`
}
Predefined struct for user
type UnbindDevicesResponse ¶
type UnbindDevicesResponse struct {
*tchttp.BaseResponse
Response *UnbindDevicesResponseParams `json:"Response"`
}
func NewUnbindDevicesResponse ¶
func NewUnbindDevicesResponse() (response *UnbindDevicesResponse)
func (*UnbindDevicesResponse) FromJsonString ¶
func (r *UnbindDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindDevicesResponse) ToJsonString ¶
func (r *UnbindDevicesResponse) ToJsonString() string
type UnbindDevicesResponseParams ¶ added in v1.0.426
type UnbindDevicesResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateDeviceAvailableStateRequest ¶
type UpdateDeviceAvailableStateRequest struct {
*tchttp.BaseRequest
// 设备所属产品id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 要设置的设备状态,1为启用,0为禁用
EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"`
}
func NewUpdateDeviceAvailableStateRequest ¶
func NewUpdateDeviceAvailableStateRequest() (request *UpdateDeviceAvailableStateRequest)
func (*UpdateDeviceAvailableStateRequest) FromJsonString ¶
func (r *UpdateDeviceAvailableStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDeviceAvailableStateRequest) ToJsonString ¶
func (r *UpdateDeviceAvailableStateRequest) ToJsonString() string
type UpdateDeviceAvailableStateRequestParams ¶ added in v1.0.426
type UpdateDeviceAvailableStateRequestParams struct {
// 设备所属产品id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 要设置的设备状态,1为启用,0为禁用
EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"`
}
Predefined struct for user
type UpdateDeviceAvailableStateResponse ¶
type UpdateDeviceAvailableStateResponse struct {
*tchttp.BaseResponse
Response *UpdateDeviceAvailableStateResponseParams `json:"Response"`
}
func NewUpdateDeviceAvailableStateResponse ¶
func NewUpdateDeviceAvailableStateResponse() (response *UpdateDeviceAvailableStateResponse)
func (*UpdateDeviceAvailableStateResponse) FromJsonString ¶
func (r *UpdateDeviceAvailableStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDeviceAvailableStateResponse) ToJsonString ¶
func (r *UpdateDeviceAvailableStateResponse) ToJsonString() string
type UpdateDeviceAvailableStateResponseParams ¶ added in v1.0.426
type UpdateDeviceAvailableStateResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateDeviceShadowRequest ¶
type UpdateDeviceShadowRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 虚拟设备的状态,JSON字符串格式,由desired结构组成
State *string `json:"State,omitempty" name:"State"`
// 当前版本号,需要和后台的version保持一致,才能更新成功
ShadowVersion *uint64 `json:"ShadowVersion,omitempty" name:"ShadowVersion"`
// 下发delta消息的topic前缀,可选类型: "$shadow","$template"。不填写默认"$shadow"。
Prefix *string `json:"Prefix,omitempty" name:"Prefix"`
}
func NewUpdateDeviceShadowRequest ¶
func NewUpdateDeviceShadowRequest() (request *UpdateDeviceShadowRequest)
func (*UpdateDeviceShadowRequest) FromJsonString ¶
func (r *UpdateDeviceShadowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDeviceShadowRequest) ToJsonString ¶
func (r *UpdateDeviceShadowRequest) ToJsonString() string
type UpdateDeviceShadowRequestParams ¶ added in v1.0.426
type UpdateDeviceShadowRequestParams struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 虚拟设备的状态,JSON字符串格式,由desired结构组成
State *string `json:"State,omitempty" name:"State"`
// 当前版本号,需要和后台的version保持一致,才能更新成功
ShadowVersion *uint64 `json:"ShadowVersion,omitempty" name:"ShadowVersion"`
// 下发delta消息的topic前缀,可选类型: "$shadow","$template"。不填写默认"$shadow"。
Prefix *string `json:"Prefix,omitempty" name:"Prefix"`
}
Predefined struct for user
type UpdateDeviceShadowResponse ¶
type UpdateDeviceShadowResponse struct {
*tchttp.BaseResponse
Response *UpdateDeviceShadowResponseParams `json:"Response"`
}
func NewUpdateDeviceShadowResponse ¶
func NewUpdateDeviceShadowResponse() (response *UpdateDeviceShadowResponse)
func (*UpdateDeviceShadowResponse) FromJsonString ¶
func (r *UpdateDeviceShadowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDeviceShadowResponse) ToJsonString ¶
func (r *UpdateDeviceShadowResponse) ToJsonString() string
type UpdateDeviceShadowResponseParams ¶ added in v1.0.426
type UpdateDeviceShadowResponseParams struct {
// 设备影子数据,JSON字符串格式
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateDevicesEnableStateRequest ¶ added in v1.0.259
type UpdateDevicesEnableStateRequest struct {
*tchttp.BaseRequest
// 设备所属产品id
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称集合
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 要设置的设备状态,1为启用,0为禁用
Status *uint64 `json:"Status,omitempty" name:"Status"`
}
func NewUpdateDevicesEnableStateRequest ¶ added in v1.0.259
func NewUpdateDevicesEnableStateRequest() (request *UpdateDevicesEnableStateRequest)
func (*UpdateDevicesEnableStateRequest) FromJsonString ¶ added in v1.0.259
func (r *UpdateDevicesEnableStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDevicesEnableStateRequest) ToJsonString ¶ added in v1.0.259
func (r *UpdateDevicesEnableStateRequest) ToJsonString() string
type UpdateDevicesEnableStateRequestParams ¶ added in v1.0.426
type UpdateDevicesEnableStateRequestParams struct {
// 设备所属产品id
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名称集合
DeviceNames []*string `json:"DeviceNames,omitempty" name:"DeviceNames"`
// 要设置的设备状态,1为启用,0为禁用
Status *uint64 `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type UpdateDevicesEnableStateResponse ¶ added in v1.0.259
type UpdateDevicesEnableStateResponse struct {
*tchttp.BaseResponse
Response *UpdateDevicesEnableStateResponseParams `json:"Response"`
}
func NewUpdateDevicesEnableStateResponse ¶ added in v1.0.259
func NewUpdateDevicesEnableStateResponse() (response *UpdateDevicesEnableStateResponse)
func (*UpdateDevicesEnableStateResponse) FromJsonString ¶ added in v1.0.259
func (r *UpdateDevicesEnableStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDevicesEnableStateResponse) ToJsonString ¶ added in v1.0.259
func (r *UpdateDevicesEnableStateResponse) ToJsonString() string
type UpdateDevicesEnableStateResponseParams ¶ added in v1.0.426
type UpdateDevicesEnableStateResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateProductDynamicRegisterRequest ¶ added in v1.0.378
type UpdateProductDynamicRegisterRequest struct {
*tchttp.BaseRequest
// 产品Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
RegisterType *uint64 `json:"RegisterType,omitempty" name:"RegisterType"`
// 动态注册设备上限
RegisterLimit *uint64 `json:"RegisterLimit,omitempty" name:"RegisterLimit"`
}
func NewUpdateProductDynamicRegisterRequest ¶ added in v1.0.378
func NewUpdateProductDynamicRegisterRequest() (request *UpdateProductDynamicRegisterRequest)
func (*UpdateProductDynamicRegisterRequest) FromJsonString ¶ added in v1.0.378
func (r *UpdateProductDynamicRegisterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateProductDynamicRegisterRequest) ToJsonString ¶ added in v1.0.378
func (r *UpdateProductDynamicRegisterRequest) ToJsonString() string
type UpdateProductDynamicRegisterRequestParams ¶ added in v1.0.426
type UpdateProductDynamicRegisterRequestParams struct {
// 产品Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
RegisterType *uint64 `json:"RegisterType,omitempty" name:"RegisterType"`
// 动态注册设备上限
RegisterLimit *uint64 `json:"RegisterLimit,omitempty" name:"RegisterLimit"`
}
Predefined struct for user
type UpdateProductDynamicRegisterResponse ¶ added in v1.0.378
type UpdateProductDynamicRegisterResponse struct {
*tchttp.BaseResponse
Response *UpdateProductDynamicRegisterResponseParams `json:"Response"`
}
func NewUpdateProductDynamicRegisterResponse ¶ added in v1.0.378
func NewUpdateProductDynamicRegisterResponse() (response *UpdateProductDynamicRegisterResponse)
func (*UpdateProductDynamicRegisterResponse) FromJsonString ¶ added in v1.0.378
func (r *UpdateProductDynamicRegisterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateProductDynamicRegisterResponse) ToJsonString ¶ added in v1.0.378
func (r *UpdateProductDynamicRegisterResponse) ToJsonString() string
type UpdateProductDynamicRegisterResponseParams ¶ added in v1.0.426
type UpdateProductDynamicRegisterResponseParams struct {
// 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
RegisterType *uint64 `json:"RegisterType,omitempty" name:"RegisterType"`
// 动态注册产品密钥
ProductSecret *string `json:"ProductSecret,omitempty" name:"ProductSecret"`
// 动态注册设备上限
RegisterLimit *uint64 `json:"RegisterLimit,omitempty" name:"RegisterLimit"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateTopicPolicyRequest ¶
type UpdateTopicPolicyRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 更新前Topic名
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// 更新后Topic名
NewTopicName *string `json:"NewTopicName,omitempty" name:"NewTopicName"`
// Topic权限
Privilege *uint64 `json:"Privilege,omitempty" name:"Privilege"`
// 代理订阅信息
BrokerSubscribe *BrokerSubscribe `json:"BrokerSubscribe,omitempty" name:"BrokerSubscribe"`
}
func NewUpdateTopicPolicyRequest ¶
func NewUpdateTopicPolicyRequest() (request *UpdateTopicPolicyRequest)
func (*UpdateTopicPolicyRequest) FromJsonString ¶
func (r *UpdateTopicPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateTopicPolicyRequest) ToJsonString ¶
func (r *UpdateTopicPolicyRequest) ToJsonString() string
type UpdateTopicPolicyRequestParams ¶ added in v1.0.426
type UpdateTopicPolicyRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 更新前Topic名
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// 更新后Topic名
NewTopicName *string `json:"NewTopicName,omitempty" name:"NewTopicName"`
// Topic权限
Privilege *uint64 `json:"Privilege,omitempty" name:"Privilege"`
// 代理订阅信息
BrokerSubscribe *BrokerSubscribe `json:"BrokerSubscribe,omitempty" name:"BrokerSubscribe"`
}
Predefined struct for user
type UpdateTopicPolicyResponse ¶
type UpdateTopicPolicyResponse struct {
*tchttp.BaseResponse
Response *UpdateTopicPolicyResponseParams `json:"Response"`
}
func NewUpdateTopicPolicyResponse ¶
func NewUpdateTopicPolicyResponse() (response *UpdateTopicPolicyResponse)
func (*UpdateTopicPolicyResponse) FromJsonString ¶
func (r *UpdateTopicPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateTopicPolicyResponse) ToJsonString ¶
func (r *UpdateTopicPolicyResponse) ToJsonString() string
type UpdateTopicPolicyResponseParams ¶ added in v1.0.426
type UpdateTopicPolicyResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UploadFirmwareRequest ¶
type UploadFirmwareRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件的MD5值
Md5sum *string `json:"Md5sum,omitempty" name:"Md5sum"`
// 固件的大小
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 固件名称
FirmwareName *string `json:"FirmwareName,omitempty" name:"FirmwareName"`
// 固件描述
FirmwareDescription *string `json:"FirmwareDescription,omitempty" name:"FirmwareDescription"`
// 固件类型:选填 mcu、moudule。默认:mcu
FwType *string `json:"FwType,omitempty" name:"FwType"`
}
func NewUploadFirmwareRequest ¶
func NewUploadFirmwareRequest() (request *UploadFirmwareRequest)
func (*UploadFirmwareRequest) FromJsonString ¶
func (r *UploadFirmwareRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadFirmwareRequest) ToJsonString ¶
func (r *UploadFirmwareRequest) ToJsonString() string
type UploadFirmwareRequestParams ¶ added in v1.0.426
type UploadFirmwareRequestParams struct {
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件的MD5值
Md5sum *string `json:"Md5sum,omitempty" name:"Md5sum"`
// 固件的大小
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 固件名称
FirmwareName *string `json:"FirmwareName,omitempty" name:"FirmwareName"`
// 固件描述
FirmwareDescription *string `json:"FirmwareDescription,omitempty" name:"FirmwareDescription"`
// 固件类型:选填 mcu、moudule。默认:mcu
FwType *string `json:"FwType,omitempty" name:"FwType"`
}
Predefined struct for user
type UploadFirmwareResponse ¶
type UploadFirmwareResponse struct {
*tchttp.BaseResponse
Response *UploadFirmwareResponseParams `json:"Response"`
}
func NewUploadFirmwareResponse ¶
func NewUploadFirmwareResponse() (response *UploadFirmwareResponse)
func (*UploadFirmwareResponse) FromJsonString ¶
func (r *UploadFirmwareResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadFirmwareResponse) ToJsonString ¶
func (r *UploadFirmwareResponse) ToJsonString() string
type UploadFirmwareResponseParams ¶ added in v1.0.426
type UploadFirmwareResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user