Documentation
¶
Index ¶
- Constants
- type ActionHistory
- type BatchUpdateFirmwareRequest
- type BatchUpdateFirmwareResponse
- type CancelDeviceFirmwareTaskRequest
- type CancelDeviceFirmwareTaskResponse
- type CheckForwardAuthRequest
- type CheckForwardAuthResponse
- type Client
- func (c *Client) BatchUpdateFirmware(request *BatchUpdateFirmwareRequest) (response *BatchUpdateFirmwareResponse, err error)
- func (c *Client) CancelDeviceFirmwareTask(request *CancelDeviceFirmwareTaskRequest) (response *CancelDeviceFirmwareTaskResponse, err error)
- func (c *Client) CheckForwardAuth(request *CheckForwardAuthRequest) (response *CheckForwardAuthResponse, err error)
- func (c *Client) CreateBatch(request *CreateBatchRequest) (response *CreateBatchResponse, err error)
- func (c *Client) CreateCloudStorage(request *CreateCloudStorageRequest) (response *CreateCloudStorageResponse, err error)
- func (c *Client) CreateForwardRule(request *CreateForwardRuleRequest) (response *CreateForwardRuleResponse, err error)
- func (c *Client) CreateProduct(request *CreateProductRequest) (response *CreateProductResponse, err error)
- func (c *Client) CreateTaskFileUrl(request *CreateTaskFileUrlRequest) (response *CreateTaskFileUrlResponse, err error)
- func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteFirmware(request *DeleteFirmwareRequest) (response *DeleteFirmwareResponse, err error)
- func (c *Client) DeleteForwardRule(request *DeleteForwardRuleRequest) (response *DeleteForwardRuleResponse, err error)
- func (c *Client) DeleteProduct(request *DeleteProductRequest) (response *DeleteProductResponse, err error)
- func (c *Client) DescribeBatch(request *DescribeBatchRequest) (response *DescribeBatchResponse, err error)
- func (c *Client) DescribeBatchs(request *DescribeBatchsRequest) (response *DescribeBatchsResponse, err error)
- func (c *Client) DescribeCategory(request *DescribeCategoryRequest) (response *DescribeCategoryResponse, err error)
- func (c *Client) DescribeCloudStorage(request *DescribeCloudStorageRequest) (response *DescribeCloudStorageResponse, err error)
- func (c *Client) DescribeCloudStorageDate(request *DescribeCloudStorageDateRequest) (response *DescribeCloudStorageDateResponse, err error)
- func (c *Client) DescribeCloudStorageEvents(request *DescribeCloudStorageEventsRequest) (response *DescribeCloudStorageEventsResponse, err error)
- func (c *Client) DescribeCloudStorageThumbnail(request *DescribeCloudStorageThumbnailRequest) (response *DescribeCloudStorageThumbnailResponse, err error)
- func (c *Client) DescribeCloudStorageTime(request *DescribeCloudStorageTimeRequest) (response *DescribeCloudStorageTimeResponse, err error)
- func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
- func (c *Client) DescribeDeviceActionHistory(request *DescribeDeviceActionHistoryRequest) (response *DescribeDeviceActionHistoryResponse, err error)
- func (c *Client) DescribeDeviceCommLog(request *DescribeDeviceCommLogRequest) (response *DescribeDeviceCommLogResponse, err error)
- func (c *Client) DescribeDeviceData(request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)
- func (c *Client) DescribeDeviceDataHistory(request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)
- func (c *Client) DescribeDeviceEventHistory(request *DescribeDeviceEventHistoryRequest) (response *DescribeDeviceEventHistoryResponse, err error)
- func (c *Client) DescribeDevices(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) DescribeFirmwareTaskDistribution(request *DescribeFirmwareTaskDistributionRequest) (response *DescribeFirmwareTaskDistributionResponse, err error)
- func (c *Client) DescribeFirmwareTaskStatistics(request *DescribeFirmwareTaskStatisticsRequest) (response *DescribeFirmwareTaskStatisticsResponse, err error)
- func (c *Client) DescribeFirmwareTasks(request *DescribeFirmwareTasksRequest) (response *DescribeFirmwareTasksResponse, err error)
- func (c *Client) DescribeForwardRule(request *DescribeForwardRuleRequest) (response *DescribeForwardRuleResponse, err error)
- func (c *Client) DescribeModelDefinition(request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)
- func (c *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)
- func (c *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
- func (c *Client) EditFirmware(request *EditFirmwareRequest) (response *EditFirmwareResponse, err error)
- func (c *Client) GenerateSignedVideoURL(request *GenerateSignedVideoURLRequest) (response *GenerateSignedVideoURLResponse, err error)
- func (c *Client) GetAllFirmwareVersion(request *GetAllFirmwareVersionRequest) (response *GetAllFirmwareVersionResponse, err error)
- func (c *Client) GetFirmwareURL(request *GetFirmwareURLRequest) (response *GetFirmwareURLResponse, err error)
- func (c *Client) ImportModelDefinition(request *ImportModelDefinitionRequest) (response *ImportModelDefinitionResponse, err error)
- func (c *Client) ListFirmwares(request *ListFirmwaresRequest) (response *ListFirmwaresResponse, err error)
- func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
- func (c *Client) ModifyForwardRule(request *ModifyForwardRuleRequest) (response *ModifyForwardRuleResponse, err error)
- func (c *Client) ModifyModelDefinition(request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)
- func (c *Client) ModifyProduct(request *ModifyProductRequest) (response *ModifyProductResponse, err error)
- func (c *Client) ResetCloudStorage(request *ResetCloudStorageRequest) (response *ResetCloudStorageResponse, err error)
- func (c *Client) RetryDeviceFirmwareTask(request *RetryDeviceFirmwareTaskRequest) (response *RetryDeviceFirmwareTaskResponse, err error)
- func (c *Client) SetForwardAuth(request *SetForwardAuthRequest) (response *SetForwardAuthResponse, err error)
- func (c *Client) TransferCloudStorage(request *TransferCloudStorageRequest) (response *TransferCloudStorageResponse, err error)
- func (c *Client) UploadFirmware(request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
- type CloudStorageEvent
- type CloudStorageTimeData
- type CloudStorageTimeInfo
- type CreateBatchRequest
- type CreateBatchResponse
- type CreateCloudStorageRequest
- type CreateCloudStorageResponse
- type CreateForwardRuleRequest
- type CreateForwardRuleResponse
- type CreateProductRequest
- type CreateProductResponse
- type CreateTaskFileUrlRequest
- type CreateTaskFileUrlResponse
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteFirmwareRequest
- type DeleteFirmwareResponse
- type DeleteForwardRuleRequest
- type DeleteForwardRuleResponse
- type DeleteProductRequest
- type DeleteProductResponse
- type DescribeBatchRequest
- type DescribeBatchResponse
- type DescribeBatchsRequest
- type DescribeBatchsResponse
- type DescribeCategoryRequest
- type DescribeCategoryResponse
- type DescribeCloudStorageDateRequest
- type DescribeCloudStorageDateResponse
- type DescribeCloudStorageEventsRequest
- type DescribeCloudStorageEventsResponse
- type DescribeCloudStorageRequest
- type DescribeCloudStorageResponse
- type DescribeCloudStorageThumbnailRequest
- type DescribeCloudStorageThumbnailResponse
- type DescribeCloudStorageTimeRequest
- type DescribeCloudStorageTimeResponse
- type DescribeDeviceActionHistoryRequest
- type DescribeDeviceActionHistoryResponse
- type DescribeDeviceCommLogRequest
- type DescribeDeviceCommLogResponse
- type DescribeDeviceDataHistoryRequest
- type DescribeDeviceDataHistoryResponse
- type DescribeDeviceDataRequest
- type DescribeDeviceDataResponse
- type DescribeDeviceEventHistoryRequest
- type DescribeDeviceEventHistoryResponse
- type DescribeDeviceRequest
- type DescribeDeviceResponse
- type DescribeDevicesRequest
- type DescribeDevicesResponse
- type DescribeFirmwareRequest
- type DescribeFirmwareResponse
- type DescribeFirmwareTaskDevicesRequest
- type DescribeFirmwareTaskDevicesResponse
- type DescribeFirmwareTaskDistributionRequest
- type DescribeFirmwareTaskDistributionResponse
- type DescribeFirmwareTaskRequest
- type DescribeFirmwareTaskResponse
- type DescribeFirmwareTaskStatisticsRequest
- type DescribeFirmwareTaskStatisticsResponse
- type DescribeFirmwareTasksRequest
- type DescribeFirmwareTasksResponse
- type DescribeForwardRuleRequest
- type DescribeForwardRuleResponse
- type DescribeModelDefinitionRequest
- type DescribeModelDefinitionResponse
- type DescribeProductRequest
- type DescribeProductResponse
- type DescribeProductsRequest
- type DescribeProductsResponse
- type DeviceCommLogItem
- type DeviceDataHistoryItem
- type DeviceInfo
- type DeviceUpdateStatus
- type EditFirmwareRequest
- type EditFirmwareResponse
- type EventHistoryItem
- type FirmwareInfo
- type FirmwareTaskInfo
- type GenerateSignedVideoURLRequest
- type GenerateSignedVideoURLResponse
- type GetAllFirmwareVersionRequest
- type GetAllFirmwareVersionResponse
- type GetFirmwareURLRequest
- type GetFirmwareURLResponse
- type ImportModelDefinitionRequest
- type ImportModelDefinitionResponse
- type ListFirmwaresRequest
- type ListFirmwaresResponse
- type ModifyDeviceRequest
- type ModifyDeviceResponse
- type ModifyForwardRuleRequest
- type ModifyForwardRuleResponse
- type ModifyModelDefinitionRequest
- type ModifyModelDefinitionResponse
- type ModifyProductRequest
- type ModifyProductResponse
- type ProductModelDefinition
- type ProductTemplate
- type ResetCloudStorageRequest
- type ResetCloudStorageResponse
- type RetryDeviceFirmwareTaskRequest
- type RetryDeviceFirmwareTaskResponse
- type SearchKeyword
- type SetForwardAuthRequest
- type SetForwardAuthResponse
- type StatusStatistic
- type TransferCloudStorageRequest
- type TransferCloudStorageResponse
- type UploadFirmwareRequest
- type UploadFirmwareResponse
- type VideoBatch
- type VideoProduct
Constants ¶
const APIVersion = "2020-12-15"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionHistory ¶
type ActionHistory struct { // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 动作Id ActionId *string `json:"ActionId,omitempty" name:"ActionId"` // 动作名称 ActionName *string `json:"ActionName,omitempty" name:"ActionName"` // 请求时间 ReqTime *uint64 `json:"ReqTime,omitempty" name:"ReqTime"` // 响应时间 RspTime *uint64 `json:"RspTime,omitempty" name:"RspTime"` // 输入参数 // 注意:此字段可能返回 null,表示取不到有效值。 InputParams *string `json:"InputParams,omitempty" name:"InputParams"` // 输出参数 // 注意:此字段可能返回 null,表示取不到有效值。 OutputParams *string `json:"OutputParams,omitempty" name:"OutputParams"` // 调用方式 Calling *string `json:"Calling,omitempty" name:"Calling"` // 调用Id ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // 调用状态 Status *string `json:"Status,omitempty" name:"Status"` }
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" list` }
func NewBatchUpdateFirmwareRequest ¶
func NewBatchUpdateFirmwareRequest() (request *BatchUpdateFirmwareRequest)
func (*BatchUpdateFirmwareRequest) FromJsonString ¶
func (r *BatchUpdateFirmwareRequest) FromJsonString(s string) error
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 BatchUpdateFirmwareResponse ¶
type BatchUpdateFirmwareResponse struct { *tchttp.BaseResponse Response *struct { // 任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewBatchUpdateFirmwareResponse ¶
func NewBatchUpdateFirmwareResponse() (response *BatchUpdateFirmwareResponse)
func (*BatchUpdateFirmwareResponse) FromJsonString ¶
func (r *BatchUpdateFirmwareResponse) FromJsonString(s string) error
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 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
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 CancelDeviceFirmwareTaskResponse ¶
type CancelDeviceFirmwareTaskResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCancelDeviceFirmwareTaskResponse ¶
func NewCancelDeviceFirmwareTaskResponse() (response *CancelDeviceFirmwareTaskResponse)
func (*CancelDeviceFirmwareTaskResponse) FromJsonString ¶
func (r *CancelDeviceFirmwareTaskResponse) FromJsonString(s string) error
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 CheckForwardAuthRequest ¶
type CheckForwardAuthRequest struct { *tchttp.BaseRequest // 控制台Skey Skey *string `json:"Skey,omitempty" name:"Skey"` // 队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` }
func NewCheckForwardAuthRequest ¶
func NewCheckForwardAuthRequest() (request *CheckForwardAuthRequest)
func (*CheckForwardAuthRequest) FromJsonString ¶
func (r *CheckForwardAuthRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckForwardAuthRequest) ToJsonString ¶
func (r *CheckForwardAuthRequest) ToJsonString() string
type CheckForwardAuthResponse ¶
type CheckForwardAuthResponse struct { *tchttp.BaseResponse Response *struct { // 腾讯云账号 Endpoint *string `json:"Endpoint,omitempty" name:"Endpoint"` // 结果 Result *uint64 `json:"Result,omitempty" name:"Result"` // 产品ID Productid *string `json:"Productid,omitempty" name:"Productid"` // 错误消息 ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // 队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCheckForwardAuthResponse ¶
func NewCheckForwardAuthResponse() (response *CheckForwardAuthResponse)
func (*CheckForwardAuthResponse) FromJsonString ¶
func (r *CheckForwardAuthResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckForwardAuthResponse) ToJsonString ¶
func (r *CheckForwardAuthResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, 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)用于批量更新设备固件
func (*Client) CancelDeviceFirmwareTask ¶
func (c *Client) CancelDeviceFirmwareTask(request *CancelDeviceFirmwareTaskRequest) (response *CancelDeviceFirmwareTaskResponse, err error)
本接口用于取消设备升级任务
func (*Client) CheckForwardAuth ¶
func (c *Client) CheckForwardAuth(request *CheckForwardAuthRequest) (response *CheckForwardAuthResponse, err error)
判断是否开启的转发的权限
func (*Client) CreateBatch ¶
func (c *Client) CreateBatch(request *CreateBatchRequest) (response *CreateBatchResponse, err error)
创建批次
func (*Client) CreateCloudStorage ¶
func (c *Client) CreateCloudStorage(request *CreateCloudStorageRequest) (response *CreateCloudStorageResponse, err error)
开通云存服务
func (*Client) CreateForwardRule ¶
func (c *Client) CreateForwardRule(request *CreateForwardRuleRequest) (response *CreateForwardRuleResponse, err error)
创建转发规则
func (*Client) CreateProduct ¶
func (c *Client) CreateProduct(request *CreateProductRequest) (response *CreateProductResponse, err error)
创建产品
func (*Client) CreateTaskFileUrl ¶
func (c *Client) CreateTaskFileUrl(request *CreateTaskFileUrlRequest) (response *CreateTaskFileUrlResponse, err error)
本接口(CreateTaskFileUrl)用于获取产品级任务文件上传链接
func (*Client) DeleteDevice ¶
func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
删除设备
func (*Client) DeleteFirmware ¶
func (c *Client) DeleteFirmware(request *DeleteFirmwareRequest) (response *DeleteFirmwareResponse, err error)
本接口(DeleteFirmware)用于删除固件
func (*Client) DeleteForwardRule ¶
func (c *Client) DeleteForwardRule(request *DeleteForwardRuleRequest) (response *DeleteForwardRuleResponse, err error)
删除转发规则
func (*Client) DeleteProduct ¶
func (c *Client) DeleteProduct(request *DeleteProductRequest) (response *DeleteProductResponse, err error)
删除产品
func (*Client) DescribeBatch ¶
func (c *Client) DescribeBatch(request *DescribeBatchRequest) (response *DescribeBatchResponse, err error)
获取批次详情
func (*Client) DescribeBatchs ¶
func (c *Client) DescribeBatchs(request *DescribeBatchsRequest) (response *DescribeBatchsResponse, err error)
获取批次列表
func (*Client) DescribeCategory ¶
func (c *Client) DescribeCategory(request *DescribeCategoryRequest) (response *DescribeCategoryResponse, err error)
获取Category详情
func (*Client) DescribeCloudStorage ¶
func (c *Client) DescribeCloudStorage(request *DescribeCloudStorageRequest) (response *DescribeCloudStorageResponse, err error)
获取设备云存服务详情
func (*Client) DescribeCloudStorageDate ¶
func (c *Client) DescribeCloudStorageDate(request *DescribeCloudStorageDateRequest) (response *DescribeCloudStorageDateResponse, err error)
获取具有云存的日期
func (*Client) DescribeCloudStorageEvents ¶
func (c *Client) DescribeCloudStorageEvents(request *DescribeCloudStorageEventsRequest) (response *DescribeCloudStorageEventsResponse, err error)
拉取云存事件列表
func (*Client) DescribeCloudStorageThumbnail ¶
func (c *Client) DescribeCloudStorageThumbnail(request *DescribeCloudStorageThumbnailRequest) (response *DescribeCloudStorageThumbnailResponse, err error)
拉取云存事件缩略图
func (*Client) DescribeCloudStorageTime ¶
func (c *Client) DescribeCloudStorageTime(request *DescribeCloudStorageTimeRequest) (response *DescribeCloudStorageTimeResponse, err error)
获取某一天云存时间轴
func (*Client) DescribeDevice ¶
func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
查看设备详情
func (*Client) DescribeDeviceActionHistory ¶
func (c *Client) DescribeDeviceActionHistory(request *DescribeDeviceActionHistoryRequest) (response *DescribeDeviceActionHistoryResponse, err error)
为用户提供获取动作历史的能力。
func (*Client) DescribeDeviceCommLog ¶
func (c *Client) DescribeDeviceCommLog(request *DescribeDeviceCommLogRequest) (response *DescribeDeviceCommLogResponse, err error)
获取设备在指定时间范围内的通讯日志
func (*Client) DescribeDeviceData ¶
func (c *Client) DescribeDeviceData(request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)
获取设备属性数据
func (*Client) DescribeDeviceDataHistory ¶
func (c *Client) DescribeDeviceDataHistory(request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)
获取设备在指定时间范围内上报的历史数据。
func (*Client) DescribeDeviceEventHistory ¶
func (c *Client) DescribeDeviceEventHistory(request *DescribeDeviceEventHistoryRequest) (response *DescribeDeviceEventHistoryResponse, err error)
获取设备的历史事件
func (*Client) DescribeDevices ¶
func (c *Client) DescribeDevices(request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)
获取设备列表
func (*Client) DescribeFirmware ¶
func (c *Client) DescribeFirmware(request *DescribeFirmwareRequest) (response *DescribeFirmwareResponse, err error)
本接口(DescribeFirmware)用于查询固件信息
func (*Client) DescribeFirmwareTask ¶
func (c *Client) DescribeFirmwareTask(request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)
此接口查询固件升级任务详情
func (*Client) DescribeFirmwareTaskDevices ¶
func (c *Client) DescribeFirmwareTaskDevices(request *DescribeFirmwareTaskDevicesRequest) (response *DescribeFirmwareTaskDevicesResponse, err error)
本接口用于查询固件升级任务的设备列表
func (*Client) DescribeFirmwareTaskDistribution ¶
func (c *Client) DescribeFirmwareTaskDistribution(request *DescribeFirmwareTaskDistributionRequest) (response *DescribeFirmwareTaskDistributionResponse, err error)
本接口用于查询固件升级任务状态分布
func (*Client) DescribeFirmwareTaskStatistics ¶
func (c *Client) DescribeFirmwareTaskStatistics(request *DescribeFirmwareTaskStatisticsRequest) (response *DescribeFirmwareTaskStatisticsResponse, err error)
本接口用于查询固件升级任务统计信息
func (*Client) DescribeFirmwareTasks ¶
func (c *Client) DescribeFirmwareTasks(request *DescribeFirmwareTasksRequest) (response *DescribeFirmwareTasksResponse, err error)
本接口用于查询固件升级任务列表
func (*Client) DescribeForwardRule ¶
func (c *Client) DescribeForwardRule(request *DescribeForwardRuleRequest) (response *DescribeForwardRuleResponse, err error)
获取产品转发规则
func (*Client) DescribeModelDefinition ¶
func (c *Client) DescribeModelDefinition(request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)
查询产品配置的数据模板信息
func (*Client) DescribeProduct ¶
func (c *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)
获取产品详情
func (*Client) DescribeProducts ¶
func (c *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
获取产品列表
func (*Client) EditFirmware ¶
func (c *Client) EditFirmware(request *EditFirmwareRequest) (response *EditFirmwareResponse, err error)
本接口用于编辑固件信息
func (*Client) GenerateSignedVideoURL ¶
func (c *Client) GenerateSignedVideoURL(request *GenerateSignedVideoURLRequest) (response *GenerateSignedVideoURLResponse, err error)
获取视频防盗链播放URL
func (*Client) GetAllFirmwareVersion ¶
func (c *Client) GetAllFirmwareVersion(request *GetAllFirmwareVersionRequest) (response *GetAllFirmwareVersionResponse, err error)
本接口(GetAllFirmwareVersion)用于获取所有的版本列表
func (*Client) GetFirmwareURL ¶
func (c *Client) GetFirmwareURL(request *GetFirmwareURLRequest) (response *GetFirmwareURLResponse, err error)
本接口(GetFirmwareURL)用于获取固件存储的URL
func (*Client) ImportModelDefinition ¶
func (c *Client) ImportModelDefinition(request *ImportModelDefinitionRequest) (response *ImportModelDefinitionResponse, err error)
导入其它产品的数据模板,覆盖现有数据模板的物模型和产品分类信息
func (*Client) ListFirmwares ¶
func (c *Client) ListFirmwares(request *ListFirmwaresRequest) (response *ListFirmwaresResponse, err error)
本接口(ListFirmwares)用于获取固件列表
func (*Client) ModifyDevice ¶
func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
修改设备信息
func (*Client) ModifyForwardRule ¶
func (c *Client) ModifyForwardRule(request *ModifyForwardRuleRequest) (response *ModifyForwardRuleResponse, err error)
修改转发规则
func (*Client) ModifyModelDefinition ¶
func (c *Client) ModifyModelDefinition(request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)
提供修改产品的数据模板的能力
func (*Client) ModifyProduct ¶
func (c *Client) ModifyProduct(request *ModifyProductRequest) (response *ModifyProductResponse, err error)
修改产品信息
func (*Client) ResetCloudStorage ¶
func (c *Client) ResetCloudStorage(request *ResetCloudStorageRequest) (response *ResetCloudStorageResponse, err error)
重置云存服务
func (*Client) RetryDeviceFirmwareTask ¶
func (c *Client) RetryDeviceFirmwareTask(request *RetryDeviceFirmwareTaskRequest) (response *RetryDeviceFirmwareTaskResponse, err error)
本接口用于重试设备升级任务
func (*Client) SetForwardAuth ¶
func (c *Client) SetForwardAuth(request *SetForwardAuthRequest) (response *SetForwardAuthResponse, err error)
设置转发权限
func (*Client) TransferCloudStorage ¶
func (c *Client) TransferCloudStorage(request *TransferCloudStorageRequest) (response *TransferCloudStorageResponse, err error)
转移云存服务
func (*Client) UploadFirmware ¶
func (c *Client) UploadFirmware(request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
本接口(UploadFirmware)用于上传设备固件信息
type CloudStorageEvent ¶
type CloudStorageEvent struct { // 事件起始时间(Unix 时间戳,秒级 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 事件结束时间(Unix 时间戳,秒级 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // 事件缩略图 Thumbnail *string `json:"Thumbnail,omitempty" name:"Thumbnail"` // 事件ID EventId *string `json:"EventId,omitempty" name:"EventId"` }
type CloudStorageTimeData ¶
type CloudStorageTimeData struct { // 云存时间轴信息列表 TimeList []*CloudStorageTimeInfo `json:"TimeList,omitempty" name:"TimeList" list` // 播放地址 VideoURL *string `json:"VideoURL,omitempty" name:"VideoURL"` }
type CloudStorageTimeInfo ¶
type CreateBatchRequest ¶
type CreateBatchRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 批次创建的设备数量 DevNum *uint64 `json:"DevNum,omitempty" name:"DevNum"` // 批次创建的设备前缀。不超过24个字符 DevPre *string `json:"DevPre,omitempty" name:"DevPre"` }
func NewCreateBatchRequest ¶
func NewCreateBatchRequest() (request *CreateBatchRequest)
func (*CreateBatchRequest) FromJsonString ¶
func (r *CreateBatchRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBatchRequest) ToJsonString ¶
func (r *CreateBatchRequest) ToJsonString() string
type CreateBatchResponse ¶
type CreateBatchResponse struct { *tchttp.BaseResponse Response *struct { // 批次ID BatchId *uint64 `json:"BatchId,omitempty" name:"BatchId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateBatchResponse ¶
func NewCreateBatchResponse() (response *CreateBatchResponse)
func (*CreateBatchResponse) FromJsonString ¶
func (r *CreateBatchResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBatchResponse) ToJsonString ¶
func (r *CreateBatchResponse) ToJsonString() string
type CreateCloudStorageRequest ¶
type CreateCloudStorageRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 云存套餐ID: // yc1m3d : 全时3天存储月套餐。 // yc1m7d : 全时7天存储月套餐。 // yc1m30d :全时30天存储月套餐。 // yc1y3d :全时3天存储年套餐。 // yc1y7d :全时7天存储年套餐。 // yc1y30d :全时30天存储年套餐。 // ye1m3d :事件3天存储月套餐。 // ye1m7d :事件7天存储月套餐。 // ye1m30d :事件30天存储月套餐 。 // ye1y3d :事件3天存储年套餐。 // ye1y7d :事件7天存储年套餐。 // ye1y30d :事件30天存储年套餐。 // yc1w7d : 全时7天存储周套餐。 // ye1w7d : 事件7天存储周套餐。 PackageId *string `json:"PackageId,omitempty" name:"PackageId"` }
func NewCreateCloudStorageRequest ¶
func NewCreateCloudStorageRequest() (request *CreateCloudStorageRequest)
func (*CreateCloudStorageRequest) FromJsonString ¶
func (r *CreateCloudStorageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCloudStorageRequest) ToJsonString ¶
func (r *CreateCloudStorageRequest) ToJsonString() string
type CreateCloudStorageResponse ¶
type CreateCloudStorageResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateCloudStorageResponse ¶
func NewCreateCloudStorageResponse() (response *CreateCloudStorageResponse)
func (*CreateCloudStorageResponse) FromJsonString ¶
func (r *CreateCloudStorageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCloudStorageResponse) ToJsonString ¶
func (r *CreateCloudStorageResponse) ToJsonString() string
type CreateForwardRuleRequest ¶
type CreateForwardRuleRequest struct { *tchttp.BaseRequest // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 消息类型 MsgType *uint64 `json:"MsgType,omitempty" name:"MsgType"` // 控制台Skey Skey *string `json:"Skey,omitempty" name:"Skey"` // 队列区域 QueueRegion *string `json:"QueueRegion,omitempty" name:"QueueRegion"` // 队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 临时密钥 Consecretid *string `json:"Consecretid,omitempty" name:"Consecretid"` // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 队列或主题ID QueueID *string `json:"QueueID,omitempty" name:"QueueID"` // 队列或主题名称 QueueName *string `json:"QueueName,omitempty" name:"QueueName"` }
func NewCreateForwardRuleRequest ¶
func NewCreateForwardRuleRequest() (request *CreateForwardRuleRequest)
func (*CreateForwardRuleRequest) FromJsonString ¶
func (r *CreateForwardRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateForwardRuleRequest) ToJsonString ¶
func (r *CreateForwardRuleRequest) ToJsonString() string
type CreateForwardRuleResponse ¶
type CreateForwardRuleResponse struct { *tchttp.BaseResponse Response *struct { // 腾讯云账号 Endpoint *string `json:"Endpoint,omitempty" name:"Endpoint"` // 队列名 QueueName *string `json:"QueueName,omitempty" name:"QueueName"` // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 消息类型 MsgType *uint64 `json:"MsgType,omitempty" name:"MsgType"` // 结果 Result *uint64 `json:"Result,omitempty" name:"Result"` // 角色名称 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` // 角色ID RoleID *uint64 `json:"RoleID,omitempty" name:"RoleID"` // 队列区 QueueRegion *string `json:"QueueRegion,omitempty" name:"QueueRegion"` // 消息队列的类型。 0:CMQ,1:CKafaka QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 实例id, 目前只有Ckafaka会用到 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例名称,目前只有Ckafaka会用到 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 错误消息 ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateForwardRuleResponse ¶
func NewCreateForwardRuleResponse() (response *CreateForwardRuleResponse)
func (*CreateForwardRuleResponse) FromJsonString ¶
func (r *CreateForwardRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateForwardRuleResponse) ToJsonString ¶
func (r *CreateForwardRuleResponse) ToJsonString() string
type CreateProductRequest ¶
type CreateProductRequest struct { *tchttp.BaseRequest // 产品名称 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 产品设备类型 DeviceType *uint64 `json:"DeviceType,omitempty" name:"DeviceType"` // 产品有效期 ProductVaildYears *uint64 `json:"ProductVaildYears,omitempty" name:"ProductVaildYears"` // 设备功能码 Features []*string `json:"Features,omitempty" name:"Features" list` // 设备操作系统 ChipOs *string `json:"ChipOs,omitempty" name:"ChipOs"` // 芯片厂商id ChipManufactureId *string `json:"ChipManufactureId,omitempty" name:"ChipManufactureId"` // 芯片id ChipId *string `json:"ChipId,omitempty" name:"ChipId"` // 产品描述信息 ProductDescription *string `json:"ProductDescription,omitempty" name:"ProductDescription"` // 认证方式。2 PSK EncryptionType *uint64 `json:"EncryptionType,omitempty" name:"EncryptionType"` }
func NewCreateProductRequest ¶
func NewCreateProductRequest() (request *CreateProductRequest)
func (*CreateProductRequest) FromJsonString ¶
func (r *CreateProductRequest) FromJsonString(s string) error
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 CreateProductResponse ¶
type CreateProductResponse struct { *tchttp.BaseResponse Response *struct { // 产品详情 Data *VideoProduct `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateProductResponse ¶
func NewCreateProductResponse() (response *CreateProductResponse)
func (*CreateProductResponse) FromJsonString ¶
func (r *CreateProductResponse) FromJsonString(s string) error
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 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
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 CreateTaskFileUrlResponse ¶
type CreateTaskFileUrlResponse struct { *tchttp.BaseResponse Response *struct { // 任务文件上传链接 Url *string `json:"Url,omitempty" name:"Url"` // 任务文件名 FileName *string `json:"FileName,omitempty" name:"FileName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTaskFileUrlResponse ¶
func NewCreateTaskFileUrlResponse() (response *CreateTaskFileUrlResponse)
func (*CreateTaskFileUrlResponse) FromJsonString ¶
func (r *CreateTaskFileUrlResponse) FromJsonString(s string) error
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 DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { *tchttp.BaseRequest // 产品ID。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称。 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` }
func NewDeleteDeviceRequest ¶
func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)
func (*DeleteDeviceRequest) FromJsonString ¶
func (r *DeleteDeviceRequest) FromJsonString(s string) error
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 DeleteDeviceResponse ¶
type DeleteDeviceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDeviceResponse ¶
func NewDeleteDeviceResponse() (response *DeleteDeviceResponse)
func (*DeleteDeviceResponse) FromJsonString ¶
func (r *DeleteDeviceResponse) FromJsonString(s string) error
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 DeleteFirmwareRequest ¶
type DeleteFirmwareRequest struct { *tchttp.BaseRequest // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 固件版本 FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"` }
func NewDeleteFirmwareRequest ¶
func NewDeleteFirmwareRequest() (request *DeleteFirmwareRequest)
func (*DeleteFirmwareRequest) FromJsonString ¶
func (r *DeleteFirmwareRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirmwareRequest) ToJsonString ¶
func (r *DeleteFirmwareRequest) ToJsonString() string
type DeleteFirmwareResponse ¶
type DeleteFirmwareResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteFirmwareResponse ¶
func NewDeleteFirmwareResponse() (response *DeleteFirmwareResponse)
func (*DeleteFirmwareResponse) FromJsonString ¶
func (r *DeleteFirmwareResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirmwareResponse) ToJsonString ¶
func (r *DeleteFirmwareResponse) ToJsonString() string
type DeleteForwardRuleRequest ¶
type DeleteForwardRuleRequest struct { *tchttp.BaseRequest // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 控制台Skey Skey *string `json:"Skey,omitempty" name:"Skey"` // 队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 队列名称 QueueName *string `json:"QueueName,omitempty" name:"QueueName"` }
func NewDeleteForwardRuleRequest ¶
func NewDeleteForwardRuleRequest() (request *DeleteForwardRuleRequest)
func (*DeleteForwardRuleRequest) FromJsonString ¶
func (r *DeleteForwardRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteForwardRuleRequest) ToJsonString ¶
func (r *DeleteForwardRuleRequest) ToJsonString() string
type DeleteForwardRuleResponse ¶
type DeleteForwardRuleResponse struct { *tchttp.BaseResponse Response *struct { // 腾讯云账号 Endpoint *string `json:"Endpoint,omitempty" name:"Endpoint"` // 队列名称 QueueName *string `json:"QueueName,omitempty" name:"QueueName"` // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 删除结果 Result *uint64 `json:"Result,omitempty" name:"Result"` // 错误消息 ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteForwardRuleResponse ¶
func NewDeleteForwardRuleResponse() (response *DeleteForwardRuleResponse)
func (*DeleteForwardRuleResponse) FromJsonString ¶
func (r *DeleteForwardRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteForwardRuleResponse) ToJsonString ¶
func (r *DeleteForwardRuleResponse) ToJsonString() string
type DeleteProductRequest ¶
type DeleteProductRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
func NewDeleteProductRequest ¶
func NewDeleteProductRequest() (request *DeleteProductRequest)
func (*DeleteProductRequest) FromJsonString ¶
func (r *DeleteProductRequest) FromJsonString(s string) error
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 DeleteProductResponse ¶
type DeleteProductResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteProductResponse ¶
func NewDeleteProductResponse() (response *DeleteProductResponse)
func (*DeleteProductResponse) FromJsonString ¶
func (r *DeleteProductResponse) FromJsonString(s string) error
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 DescribeBatchRequest ¶
type DescribeBatchRequest struct { *tchttp.BaseRequest // 批次ID BatchId *uint64 `json:"BatchId,omitempty" name:"BatchId"` }
func NewDescribeBatchRequest ¶
func NewDescribeBatchRequest() (request *DescribeBatchRequest)
func (*DescribeBatchRequest) FromJsonString ¶
func (r *DescribeBatchRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBatchRequest) ToJsonString ¶
func (r *DescribeBatchRequest) ToJsonString() string
type DescribeBatchResponse ¶
type DescribeBatchResponse struct { *tchttp.BaseResponse Response *struct { // 批次详情 Data *VideoBatch `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBatchResponse ¶
func NewDescribeBatchResponse() (response *DescribeBatchResponse)
func (*DescribeBatchResponse) FromJsonString ¶
func (r *DescribeBatchResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBatchResponse) ToJsonString ¶
func (r *DescribeBatchResponse) ToJsonString() string
type DescribeBatchsRequest ¶
type DescribeBatchsRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 分页的大小,最大100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,Offset从0开始 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeBatchsRequest ¶
func NewDescribeBatchsRequest() (request *DescribeBatchsRequest)
func (*DescribeBatchsRequest) FromJsonString ¶
func (r *DescribeBatchsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBatchsRequest) ToJsonString ¶
func (r *DescribeBatchsRequest) ToJsonString() string
type DescribeBatchsResponse ¶
type DescribeBatchsResponse struct { *tchttp.BaseResponse Response *struct { // 批次数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 批次列表详情 Data []*VideoBatch `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBatchsResponse ¶
func NewDescribeBatchsResponse() (response *DescribeBatchsResponse)
func (*DescribeBatchsResponse) FromJsonString ¶
func (r *DescribeBatchsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBatchsResponse) ToJsonString ¶
func (r *DescribeBatchsResponse) ToJsonString() string
type DescribeCategoryRequest ¶
type DescribeCategoryRequest struct { *tchttp.BaseRequest // Category ID。 Id *int64 `json:"Id,omitempty" name:"Id"` }
func NewDescribeCategoryRequest ¶
func NewDescribeCategoryRequest() (request *DescribeCategoryRequest)
func (*DescribeCategoryRequest) FromJsonString ¶
func (r *DescribeCategoryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCategoryRequest) ToJsonString ¶
func (r *DescribeCategoryRequest) ToJsonString() string
type DescribeCategoryResponse ¶
type DescribeCategoryResponse struct { *tchttp.BaseResponse Response *struct { // Category详情 Data *ProductTemplate `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCategoryResponse ¶
func NewDescribeCategoryResponse() (response *DescribeCategoryResponse)
func (*DescribeCategoryResponse) FromJsonString ¶
func (r *DescribeCategoryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCategoryResponse) ToJsonString ¶
func (r *DescribeCategoryResponse) ToJsonString() string
type DescribeCloudStorageDateRequest ¶
type DescribeCloudStorageDateRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` }
func NewDescribeCloudStorageDateRequest ¶
func NewDescribeCloudStorageDateRequest() (request *DescribeCloudStorageDateRequest)
func (*DescribeCloudStorageDateRequest) FromJsonString ¶
func (r *DescribeCloudStorageDateRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageDateRequest) ToJsonString ¶
func (r *DescribeCloudStorageDateRequest) ToJsonString() string
type DescribeCloudStorageDateResponse ¶
type DescribeCloudStorageDateResponse struct { *tchttp.BaseResponse Response *struct { // 云存日期数组,["2021-01-05","2021-01-06"] Data []*string `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCloudStorageDateResponse ¶
func NewDescribeCloudStorageDateResponse() (response *DescribeCloudStorageDateResponse)
func (*DescribeCloudStorageDateResponse) FromJsonString ¶
func (r *DescribeCloudStorageDateResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageDateResponse) ToJsonString ¶
func (r *DescribeCloudStorageDateResponse) ToJsonString() string
type DescribeCloudStorageEventsRequest ¶
type DescribeCloudStorageEventsRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间(Unix 时间戳,秒级), 为0 表示当前时间 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // 请求上下文, 用作查询游标 Context *string `json:"Context,omitempty" name:"Context"` // 单次获取的历史数据项目的最大数量, 缺省10 Size *uint64 `json:"Size,omitempty" name:"Size"` // 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。 EventId *string `json:"EventId,omitempty" name:"EventId"` }
func NewDescribeCloudStorageEventsRequest ¶
func NewDescribeCloudStorageEventsRequest() (request *DescribeCloudStorageEventsRequest)
func (*DescribeCloudStorageEventsRequest) FromJsonString ¶
func (r *DescribeCloudStorageEventsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageEventsRequest) ToJsonString ¶
func (r *DescribeCloudStorageEventsRequest) ToJsonString() string
type DescribeCloudStorageEventsResponse ¶
type DescribeCloudStorageEventsResponse struct { *tchttp.BaseResponse Response *struct { // 云存事件列表 Events []*CloudStorageEvent `json:"Events,omitempty" name:"Events" list` // 请求上下文, 用作查询游标 Context *string `json:"Context,omitempty" name:"Context"` // 拉取结果是否已经结束 Listover *bool `json:"Listover,omitempty" name:"Listover"` // 拉取结果数量 Total *uint64 `json:"Total,omitempty" name:"Total"` // 视频播放URL VideoURL *string `json:"VideoURL,omitempty" name:"VideoURL"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCloudStorageEventsResponse ¶
func NewDescribeCloudStorageEventsResponse() (response *DescribeCloudStorageEventsResponse)
func (*DescribeCloudStorageEventsResponse) FromJsonString ¶
func (r *DescribeCloudStorageEventsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageEventsResponse) ToJsonString ¶
func (r *DescribeCloudStorageEventsResponse) ToJsonString() string
type DescribeCloudStorageRequest ¶
type DescribeCloudStorageRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` }
func NewDescribeCloudStorageRequest ¶
func NewDescribeCloudStorageRequest() (request *DescribeCloudStorageRequest)
func (*DescribeCloudStorageRequest) FromJsonString ¶
func (r *DescribeCloudStorageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageRequest) ToJsonString ¶
func (r *DescribeCloudStorageRequest) ToJsonString() string
type DescribeCloudStorageResponse ¶
type DescribeCloudStorageResponse struct { *tchttp.BaseResponse Response *struct { // 云存开启状态,1为开启,0为未开启或已过期 Status *uint64 `json:"Status,omitempty" name:"Status"` // 云存类型,1为全时云存,2为事件云存 Type *uint64 `json:"Type,omitempty" name:"Type"` // 云存套餐过期时间 ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"` // 云存回看时长 ShiftDuration *uint64 `json:"ShiftDuration,omitempty" name:"ShiftDuration"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCloudStorageResponse ¶
func NewDescribeCloudStorageResponse() (response *DescribeCloudStorageResponse)
func (*DescribeCloudStorageResponse) FromJsonString ¶
func (r *DescribeCloudStorageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageResponse) ToJsonString ¶
func (r *DescribeCloudStorageResponse) ToJsonString() string
type DescribeCloudStorageThumbnailRequest ¶
type DescribeCloudStorageThumbnailRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 缩略图文件名 Thumbnail *string `json:"Thumbnail,omitempty" name:"Thumbnail"` }
func NewDescribeCloudStorageThumbnailRequest ¶
func NewDescribeCloudStorageThumbnailRequest() (request *DescribeCloudStorageThumbnailRequest)
func (*DescribeCloudStorageThumbnailRequest) FromJsonString ¶
func (r *DescribeCloudStorageThumbnailRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageThumbnailRequest) ToJsonString ¶
func (r *DescribeCloudStorageThumbnailRequest) ToJsonString() string
type DescribeCloudStorageThumbnailResponse ¶
type DescribeCloudStorageThumbnailResponse struct { *tchttp.BaseResponse Response *struct { // 缩略图访问地址 ThumbnailURL *string `json:"ThumbnailURL,omitempty" name:"ThumbnailURL"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCloudStorageThumbnailResponse ¶
func NewDescribeCloudStorageThumbnailResponse() (response *DescribeCloudStorageThumbnailResponse)
func (*DescribeCloudStorageThumbnailResponse) FromJsonString ¶
func (r *DescribeCloudStorageThumbnailResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageThumbnailResponse) ToJsonString ¶
func (r *DescribeCloudStorageThumbnailResponse) ToJsonString() string
type DescribeCloudStorageTimeRequest ¶
type DescribeCloudStorageTimeRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 云存日期,例如"2020-01-05" Date *string `json:"Date,omitempty" name:"Date"` }
func NewDescribeCloudStorageTimeRequest ¶
func NewDescribeCloudStorageTimeRequest() (request *DescribeCloudStorageTimeRequest)
func (*DescribeCloudStorageTimeRequest) FromJsonString ¶
func (r *DescribeCloudStorageTimeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageTimeRequest) ToJsonString ¶
func (r *DescribeCloudStorageTimeRequest) ToJsonString() string
type DescribeCloudStorageTimeResponse ¶
type DescribeCloudStorageTimeResponse struct { *tchttp.BaseResponse Response *struct { // 接口返回数据 Data *CloudStorageTimeData `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCloudStorageTimeResponse ¶
func NewDescribeCloudStorageTimeResponse() (response *DescribeCloudStorageTimeResponse)
func (*DescribeCloudStorageTimeResponse) FromJsonString ¶
func (r *DescribeCloudStorageTimeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudStorageTimeResponse) ToJsonString ¶
func (r *DescribeCloudStorageTimeResponse) ToJsonString() string
type DescribeDeviceActionHistoryRequest ¶
type DescribeDeviceActionHistoryRequest struct { *tchttp.BaseRequest // 产品Id ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 开始范围的 unix 毫秒时间戳 MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"` // 结束范围的 unix 毫秒时间戳 MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"` // 动作Id ActionId *string `json:"ActionId,omitempty" name:"ActionId"` // 查询条数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 游标,标识查询位置。 Context *string `json:"Context,omitempty" name:"Context"` }
func NewDescribeDeviceActionHistoryRequest ¶
func NewDescribeDeviceActionHistoryRequest() (request *DescribeDeviceActionHistoryRequest)
func (*DescribeDeviceActionHistoryRequest) FromJsonString ¶
func (r *DescribeDeviceActionHistoryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceActionHistoryRequest) ToJsonString ¶
func (r *DescribeDeviceActionHistoryRequest) ToJsonString() string
type DescribeDeviceActionHistoryResponse ¶
type DescribeDeviceActionHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 总条数 TotalCounts *uint64 `json:"TotalCounts,omitempty" name:"TotalCounts"` // 动作历史 // 注意:此字段可能返回 null,表示取不到有效值。 ActionHistories []*ActionHistory `json:"ActionHistories,omitempty" name:"ActionHistories" list` // 用于标识查询结果的上下文,翻页用。 // 注意:此字段可能返回 null,表示取不到有效值。 Context *string `json:"Context,omitempty" name:"Context"` // 搜索结果是否已经结束。 // 注意:此字段可能返回 null,表示取不到有效值。 Listover *bool `json:"Listover,omitempty" name:"Listover"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceActionHistoryResponse ¶
func NewDescribeDeviceActionHistoryResponse() (response *DescribeDeviceActionHistoryResponse)
func (*DescribeDeviceActionHistoryResponse) FromJsonString ¶
func (r *DescribeDeviceActionHistoryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceActionHistoryResponse) ToJsonString ¶
func (r *DescribeDeviceActionHistoryResponse) ToJsonString() string
type DescribeDeviceCommLogRequest ¶
type DescribeDeviceCommLogRequest struct { *tchttp.BaseRequest // 开始时间 MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"` // 结束时间 MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"` // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 返回条数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 检索上下文 Context *string `json:"Context,omitempty" name:"Context"` // 类型:shadow 下行,device 上行 Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeDeviceCommLogRequest ¶
func NewDescribeDeviceCommLogRequest() (request *DescribeDeviceCommLogRequest)
func (*DescribeDeviceCommLogRequest) FromJsonString ¶
func (r *DescribeDeviceCommLogRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceCommLogRequest) ToJsonString ¶
func (r *DescribeDeviceCommLogRequest) ToJsonString() string
type DescribeDeviceCommLogResponse ¶
type DescribeDeviceCommLogResponse struct { *tchttp.BaseResponse Response *struct { // 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。 Listover *bool `json:"Listover,omitempty" name:"Listover"` // 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据 Context *string `json:"Context,omitempty" name:"Context"` // 日志数据结果数组,返回对应时间点及取值。 Results []*DeviceCommLogItem `json:"Results,omitempty" name:"Results" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceCommLogResponse ¶
func NewDescribeDeviceCommLogResponse() (response *DescribeDeviceCommLogResponse)
func (*DescribeDeviceCommLogResponse) FromJsonString ¶
func (r *DescribeDeviceCommLogResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceCommLogResponse) ToJsonString ¶
func (r *DescribeDeviceCommLogResponse) ToJsonString() string
type DescribeDeviceDataHistoryRequest ¶
type DescribeDeviceDataHistoryRequest struct { *tchttp.BaseRequest // 区间开始时间(Unix 时间戳,毫秒级) MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"` // 区间结束时间(Unix 时间戳,毫秒级) MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"` // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 属性字段名称,对应数据模板中功能属性的标识符 FieldName *string `json:"FieldName,omitempty" name:"FieldName"` // 返回条数 Limit []*uint64 `json:"Limit,omitempty" name:"Limit" list` // 检索上下文 Context *string `json:"Context,omitempty" name:"Context"` }
func NewDescribeDeviceDataHistoryRequest ¶
func NewDescribeDeviceDataHistoryRequest() (request *DescribeDeviceDataHistoryRequest)
func (*DescribeDeviceDataHistoryRequest) FromJsonString ¶
func (r *DescribeDeviceDataHistoryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataHistoryRequest) ToJsonString ¶
func (r *DescribeDeviceDataHistoryRequest) ToJsonString() string
type DescribeDeviceDataHistoryResponse ¶
type DescribeDeviceDataHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 属性字段名称,对应数据模板中功能属性的标识符 // 注意:此字段可能返回 null,表示取不到有效值。 FieldName *string `json:"FieldName,omitempty" name:"FieldName"` // 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。 // 注意:此字段可能返回 null,表示取不到有效值。 Listover *bool `json:"Listover,omitempty" name:"Listover"` // 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据 // 注意:此字段可能返回 null,表示取不到有效值。 Context *string `json:"Context,omitempty" name:"Context"` // 历史数据结果数组,返回对应时间点及取值。 // 注意:此字段可能返回 null,表示取不到有效值。 Results []*DeviceDataHistoryItem `json:"Results,omitempty" name:"Results" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceDataHistoryResponse ¶
func NewDescribeDeviceDataHistoryResponse() (response *DescribeDeviceDataHistoryResponse)
func (*DescribeDeviceDataHistoryResponse) FromJsonString ¶
func (r *DescribeDeviceDataHistoryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataHistoryResponse) ToJsonString ¶
func (r *DescribeDeviceDataHistoryResponse) ToJsonString() string
type DescribeDeviceDataRequest ¶
type DescribeDeviceDataRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` }
func NewDescribeDeviceDataRequest ¶
func NewDescribeDeviceDataRequest() (request *DescribeDeviceDataRequest)
func (*DescribeDeviceDataRequest) FromJsonString ¶
func (r *DescribeDeviceDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataRequest) ToJsonString ¶
func (r *DescribeDeviceDataRequest) ToJsonString() string
type DescribeDeviceDataResponse ¶
type DescribeDeviceDataResponse struct { *tchttp.BaseResponse Response *struct { // 设备数据 Data *string `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceDataResponse ¶
func NewDescribeDeviceDataResponse() (response *DescribeDeviceDataResponse)
func (*DescribeDeviceDataResponse) FromJsonString ¶
func (r *DescribeDeviceDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataResponse) ToJsonString ¶
func (r *DescribeDeviceDataResponse) ToJsonString() string
type DescribeDeviceEventHistoryRequest ¶
type DescribeDeviceEventHistoryRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件 Type *string `json:"Type,omitempty" name:"Type"` // 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间(Unix 时间戳,秒级), 为0 表示当前时间 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // 搜索上下文, 用作查询游标 Context *string `json:"Context,omitempty" name:"Context"` // 单次获取的历史数据项目的最大数量, 缺省10 Size *uint64 `json:"Size,omitempty" name:"Size"` // 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。 EventId *string `json:"EventId,omitempty" name:"EventId"` }
func NewDescribeDeviceEventHistoryRequest ¶
func NewDescribeDeviceEventHistoryRequest() (request *DescribeDeviceEventHistoryRequest)
func (*DescribeDeviceEventHistoryRequest) FromJsonString ¶
func (r *DescribeDeviceEventHistoryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceEventHistoryRequest) ToJsonString ¶
func (r *DescribeDeviceEventHistoryRequest) ToJsonString() string
type DescribeDeviceEventHistoryResponse ¶
type DescribeDeviceEventHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 搜索上下文, 用作查询游标 // 注意:此字段可能返回 null,表示取不到有效值。 Context *string `json:"Context,omitempty" name:"Context"` // 搜索结果数量 // 注意:此字段可能返回 null,表示取不到有效值。 Total *uint64 `json:"Total,omitempty" name:"Total"` // 搜索结果是否已经结束 // 注意:此字段可能返回 null,表示取不到有效值。 Listover *bool `json:"Listover,omitempty" name:"Listover"` // 搜集结果集 // 注意:此字段可能返回 null,表示取不到有效值。 EventHistory []*EventHistoryItem `json:"EventHistory,omitempty" name:"EventHistory" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceEventHistoryResponse ¶
func NewDescribeDeviceEventHistoryResponse() (response *DescribeDeviceEventHistoryResponse)
func (*DescribeDeviceEventHistoryResponse) FromJsonString ¶
func (r *DescribeDeviceEventHistoryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceEventHistoryResponse) ToJsonString ¶
func (r *DescribeDeviceEventHistoryResponse) ToJsonString() string
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
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 DescribeDeviceResponse ¶
type DescribeDeviceResponse struct { *tchttp.BaseResponse Response *struct { // 设备名 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备是否在线,0不在线,1在线,2获取失败,3未激活 Online *uint64 `json:"Online,omitempty" name:"Online"` // 设备最后上线时间 LoginTime *uint64 `json:"LoginTime,omitempty" name:"LoginTime"` // 设备密钥 DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"` // 设备启用状态 EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"` // 设备过期时间 ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceResponse ¶
func NewDescribeDeviceResponse() (response *DescribeDeviceResponse)
func (*DescribeDeviceResponse) FromJsonString ¶
func (r *DescribeDeviceResponse) FromJsonString(s string) error
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 DescribeDevicesRequest ¶
type DescribeDevicesRequest struct { *tchttp.BaseRequest // 需要查看设备列表的产品 ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 偏移量,Offset从0开始 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 分页的大小,最大100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 需要过滤的设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` }
func NewDescribeDevicesRequest ¶
func NewDescribeDevicesRequest() (request *DescribeDevicesRequest)
func (*DescribeDevicesRequest) FromJsonString ¶
func (r *DescribeDevicesRequest) FromJsonString(s string) error
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 DescribeDevicesResponse ¶
type DescribeDevicesResponse struct { *tchttp.BaseResponse Response *struct { // 设备总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 设备详细信息列表 Devices []*DeviceInfo `json:"Devices,omitempty" name:"Devices" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDevicesResponse ¶
func NewDescribeDevicesResponse() (response *DescribeDevicesResponse)
func (*DescribeDevicesResponse) FromJsonString ¶
func (r *DescribeDevicesResponse) FromJsonString(s string) error
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 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
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 DescribeFirmwareResponse ¶
type DescribeFirmwareResponse struct { *tchttp.BaseResponse Response *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"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFirmwareResponse ¶
func NewDescribeFirmwareResponse() (response *DescribeFirmwareResponse)
func (*DescribeFirmwareResponse) FromJsonString ¶
func (r *DescribeFirmwareResponse) FromJsonString(s string) error
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 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" list` // 查询偏移量 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
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 DescribeFirmwareTaskDevicesResponse ¶
type DescribeFirmwareTaskDevicesResponse struct { *tchttp.BaseResponse Response *struct { // 固件升级任务的设备总数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *uint64 `json:"Total,omitempty" name:"Total"` // 固件升级任务的设备列表 Devices []*DeviceUpdateStatus `json:"Devices,omitempty" name:"Devices" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFirmwareTaskDevicesResponse ¶
func NewDescribeFirmwareTaskDevicesResponse() (response *DescribeFirmwareTaskDevicesResponse)
func (*DescribeFirmwareTaskDevicesResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskDevicesResponse) FromJsonString(s string) error
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 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
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 DescribeFirmwareTaskDistributionResponse ¶
type DescribeFirmwareTaskDistributionResponse struct { *tchttp.BaseResponse Response *struct { // 固件升级任务状态分布信息 StatusInfos []*StatusStatistic `json:"StatusInfos,omitempty" name:"StatusInfos" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFirmwareTaskDistributionResponse ¶
func NewDescribeFirmwareTaskDistributionResponse() (response *DescribeFirmwareTaskDistributionResponse)
func (*DescribeFirmwareTaskDistributionResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskDistributionResponse) FromJsonString(s string) error
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 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
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 DescribeFirmwareTaskResponse ¶
type DescribeFirmwareTaskResponse struct { *tchttp.BaseResponse Response *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"` // 原始固件版本号,在UpgradeMode是originalVersion升级模式下会返回 // 注意:此字段可能返回 null,表示取不到有效值。 OriginalVersion *string `json:"OriginalVersion,omitempty" name:"OriginalVersion"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFirmwareTaskResponse ¶
func NewDescribeFirmwareTaskResponse() (response *DescribeFirmwareTaskResponse)
func (*DescribeFirmwareTaskResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskResponse) FromJsonString(s string) error
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 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
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 DescribeFirmwareTaskStatisticsResponse ¶
type DescribeFirmwareTaskStatisticsResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewDescribeFirmwareTaskStatisticsResponse ¶
func NewDescribeFirmwareTaskStatisticsResponse() (response *DescribeFirmwareTaskStatisticsResponse)
func (*DescribeFirmwareTaskStatisticsResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskStatisticsResponse) FromJsonString(s string) error
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 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" list` }
func NewDescribeFirmwareTasksRequest ¶
func NewDescribeFirmwareTasksRequest() (request *DescribeFirmwareTasksRequest)
func (*DescribeFirmwareTasksRequest) FromJsonString ¶
func (r *DescribeFirmwareTasksRequest) FromJsonString(s string) error
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 DescribeFirmwareTasksResponse ¶
type DescribeFirmwareTasksResponse struct { *tchttp.BaseResponse Response *struct { // 固件升级任务列表 // 注意:此字段可能返回 null,表示取不到有效值。 TaskInfos []*FirmwareTaskInfo `json:"TaskInfos,omitempty" name:"TaskInfos" list` // 固件升级任务总数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFirmwareTasksResponse ¶
func NewDescribeFirmwareTasksResponse() (response *DescribeFirmwareTasksResponse)
func (*DescribeFirmwareTasksResponse) FromJsonString ¶
func (r *DescribeFirmwareTasksResponse) FromJsonString(s string) error
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 DescribeForwardRuleRequest ¶
type DescribeForwardRuleRequest struct { *tchttp.BaseRequest // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 控制台Skey Skey *string `json:"Skey,omitempty" name:"Skey"` // 队列类型,0:CMQ,1:Ckafka QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 临时密钥 Consecretid *string `json:"Consecretid,omitempty" name:"Consecretid"` }
func NewDescribeForwardRuleRequest ¶
func NewDescribeForwardRuleRequest() (request *DescribeForwardRuleRequest)
func (*DescribeForwardRuleRequest) FromJsonString ¶
func (r *DescribeForwardRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeForwardRuleRequest) ToJsonString ¶
func (r *DescribeForwardRuleRequest) ToJsonString() string
type DescribeForwardRuleResponse ¶
type DescribeForwardRuleResponse struct { *tchttp.BaseResponse Response *struct { // 腾讯云账号 Endpoint *string `json:"Endpoint,omitempty" name:"Endpoint"` // 队列名称 QueueName *string `json:"QueueName,omitempty" name:"QueueName"` // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 消息类型 MsgType *uint64 `json:"MsgType,omitempty" name:"MsgType"` // 结果 Result *uint64 `json:"Result,omitempty" name:"Result"` // 角色名 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` // 角色ID RoleID *uint64 `json:"RoleID,omitempty" name:"RoleID"` // 队列区域 QueueRegion *string `json:"QueueRegion,omitempty" name:"QueueRegion"` // 队列类型,0:CMQ,1:Ckafka QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 实例id, 目前只有Ckafaka会用到 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例名称,目前只有Ckafaka会用到 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 错误消息 ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeForwardRuleResponse ¶
func NewDescribeForwardRuleResponse() (response *DescribeForwardRuleResponse)
func (*DescribeForwardRuleResponse) FromJsonString ¶
func (r *DescribeForwardRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeForwardRuleResponse) ToJsonString ¶
func (r *DescribeForwardRuleResponse) ToJsonString() string
type DescribeModelDefinitionRequest ¶
type DescribeModelDefinitionRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
func NewDescribeModelDefinitionRequest ¶
func NewDescribeModelDefinitionRequest() (request *DescribeModelDefinitionRequest)
func (*DescribeModelDefinitionRequest) FromJsonString ¶
func (r *DescribeModelDefinitionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelDefinitionRequest) ToJsonString ¶
func (r *DescribeModelDefinitionRequest) ToJsonString() string
type DescribeModelDefinitionResponse ¶
type DescribeModelDefinitionResponse struct { *tchttp.BaseResponse Response *struct { // 产品数据模板 Model *ProductModelDefinition `json:"Model,omitempty" name:"Model"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeModelDefinitionResponse ¶
func NewDescribeModelDefinitionResponse() (response *DescribeModelDefinitionResponse)
func (*DescribeModelDefinitionResponse) FromJsonString ¶
func (r *DescribeModelDefinitionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelDefinitionResponse) ToJsonString ¶
func (r *DescribeModelDefinitionResponse) ToJsonString() string
type DescribeProductRequest ¶
type DescribeProductRequest struct { *tchttp.BaseRequest // 产品id ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
func NewDescribeProductRequest ¶
func NewDescribeProductRequest() (request *DescribeProductRequest)
func (*DescribeProductRequest) FromJsonString ¶
func (r *DescribeProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductRequest) ToJsonString ¶
func (r *DescribeProductRequest) ToJsonString() string
type DescribeProductResponse ¶
type DescribeProductResponse struct { *tchttp.BaseResponse Response *struct { // 产品详情 Data *VideoProduct `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProductResponse ¶
func NewDescribeProductResponse() (response *DescribeProductResponse)
func (*DescribeProductResponse) FromJsonString ¶
func (r *DescribeProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductResponse) ToJsonString ¶
func (r *DescribeProductResponse) ToJsonString() string
type DescribeProductsRequest ¶
type DescribeProductsRequest struct { *tchttp.BaseRequest // 分页的大小,最大100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,Offset从0开始 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeProductsRequest ¶
func NewDescribeProductsRequest() (request *DescribeProductsRequest)
func (*DescribeProductsRequest) FromJsonString ¶
func (r *DescribeProductsRequest) FromJsonString(s string) error
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 DescribeProductsResponse ¶
type DescribeProductsResponse struct { *tchttp.BaseResponse Response *struct { // 总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 产品详情列表 Data []*VideoProduct `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProductsResponse ¶
func NewDescribeProductsResponse() (response *DescribeProductsResponse)
func (*DescribeProductsResponse) FromJsonString ¶
func (r *DescribeProductsResponse) FromJsonString(s string) error
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 DeviceCommLogItem ¶
type DeviceDataHistoryItem ¶
type DeviceInfo ¶
type DeviceInfo struct { // 设备名 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备是否在线,0不在线,1在线,2获取失败,3未激活 Online *uint64 `json:"Online,omitempty" name:"Online"` // 设备最后上线时间 LoginTime *uint64 `json:"LoginTime,omitempty" name:"LoginTime"` // 设备密钥 DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"` // 设备启用状态 EnableState *uint64 `json:"EnableState,omitempty" name:"EnableState"` // 设备过期时间 ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"` }
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 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"` }
func NewEditFirmwareRequest ¶
func NewEditFirmwareRequest() (request *EditFirmwareRequest)
func (*EditFirmwareRequest) FromJsonString ¶
func (r *EditFirmwareRequest) FromJsonString(s string) error
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 EditFirmwareResponse ¶
type EditFirmwareResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewEditFirmwareResponse ¶
func NewEditFirmwareResponse() (response *EditFirmwareResponse)
func (*EditFirmwareResponse) FromJsonString ¶
func (r *EditFirmwareResponse) FromJsonString(s string) error
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 EventHistoryItem ¶
type EventHistoryItem struct { // 事件的时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 TimeStamp *int64 `json:"TimeStamp,omitempty" name:"TimeStamp"` // 事件的产品ID // 注意:此字段可能返回 null,表示取不到有效值。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 事件的设备名称 // 注意:此字段可能返回 null,表示取不到有效值。 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 事件的标识符ID // 注意:此字段可能返回 null,表示取不到有效值。 EventId *string `json:"EventId,omitempty" name:"EventId"` // 事件的类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 事件的数据 // 注意:此字段可能返回 null,表示取不到有效值。 Data *string `json:"Data,omitempty" name:"Data"` }
type FirmwareInfo ¶
type FirmwareInfo struct { // 固件版本 Version *string `json:"Version,omitempty" name:"Version"` // 固件MD5值 Md5sum *string `json:"Md5sum,omitempty" name:"Md5sum"` // 固件创建时间 CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"` // 产品名称 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 固件名称 Name *string `json:"Name,omitempty" name:"Name"` // 固件描述 Description *string `json:"Description,omitempty" name:"Description"` // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
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 GenerateSignedVideoURLRequest ¶
type GenerateSignedVideoURLRequest struct { *tchttp.BaseRequest // 视频播放原始URL地址 VideoURL *string `json:"VideoURL,omitempty" name:"VideoURL"` // 播放链接过期时间 ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"` }
func NewGenerateSignedVideoURLRequest ¶
func NewGenerateSignedVideoURLRequest() (request *GenerateSignedVideoURLRequest)
func (*GenerateSignedVideoURLRequest) FromJsonString ¶
func (r *GenerateSignedVideoURLRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateSignedVideoURLRequest) ToJsonString ¶
func (r *GenerateSignedVideoURLRequest) ToJsonString() string
type GenerateSignedVideoURLResponse ¶
type GenerateSignedVideoURLResponse struct { *tchttp.BaseResponse Response *struct { // 视频防盗链播放URL SignedVideoURL *string `json:"SignedVideoURL,omitempty" name:"SignedVideoURL"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGenerateSignedVideoURLResponse ¶
func NewGenerateSignedVideoURLResponse() (response *GenerateSignedVideoURLResponse)
func (*GenerateSignedVideoURLResponse) FromJsonString ¶
func (r *GenerateSignedVideoURLResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateSignedVideoURLResponse) ToJsonString ¶
func (r *GenerateSignedVideoURLResponse) ToJsonString() string
type GetAllFirmwareVersionRequest ¶
type GetAllFirmwareVersionRequest struct { *tchttp.BaseRequest // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` }
func NewGetAllFirmwareVersionRequest ¶
func NewGetAllFirmwareVersionRequest() (request *GetAllFirmwareVersionRequest)
func (*GetAllFirmwareVersionRequest) FromJsonString ¶
func (r *GetAllFirmwareVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAllFirmwareVersionRequest) ToJsonString ¶
func (r *GetAllFirmwareVersionRequest) ToJsonString() string
type GetAllFirmwareVersionResponse ¶
type GetAllFirmwareVersionResponse struct { *tchttp.BaseResponse Response *struct { // 无 Version []*string `json:"Version,omitempty" name:"Version" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetAllFirmwareVersionResponse ¶
func NewGetAllFirmwareVersionResponse() (response *GetAllFirmwareVersionResponse)
func (*GetAllFirmwareVersionResponse) FromJsonString ¶
func (r *GetAllFirmwareVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAllFirmwareVersionResponse) ToJsonString ¶
func (r *GetAllFirmwareVersionResponse) ToJsonString() string
type GetFirmwareURLRequest ¶
type GetFirmwareURLRequest struct { *tchttp.BaseRequest // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 固件版本 FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"` }
func NewGetFirmwareURLRequest ¶
func NewGetFirmwareURLRequest() (request *GetFirmwareURLRequest)
func (*GetFirmwareURLRequest) FromJsonString ¶
func (r *GetFirmwareURLRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetFirmwareURLRequest) ToJsonString ¶
func (r *GetFirmwareURLRequest) ToJsonString() string
type GetFirmwareURLResponse ¶
type GetFirmwareURLResponse struct { *tchttp.BaseResponse Response *struct { // 固件URL Url *string `json:"Url,omitempty" name:"Url"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetFirmwareURLResponse ¶
func NewGetFirmwareURLResponse() (response *GetFirmwareURLResponse)
func (*GetFirmwareURLResponse) FromJsonString ¶
func (r *GetFirmwareURLResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetFirmwareURLResponse) ToJsonString ¶
func (r *GetFirmwareURLResponse) ToJsonString() string
type ImportModelDefinitionRequest ¶
type ImportModelDefinitionRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 数据模板定义 ModelSchema *string `json:"ModelSchema,omitempty" name:"ModelSchema"` }
func NewImportModelDefinitionRequest ¶
func NewImportModelDefinitionRequest() (request *ImportModelDefinitionRequest)
func (*ImportModelDefinitionRequest) FromJsonString ¶
func (r *ImportModelDefinitionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportModelDefinitionRequest) ToJsonString ¶
func (r *ImportModelDefinitionRequest) ToJsonString() string
type ImportModelDefinitionResponse ¶
type ImportModelDefinitionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewImportModelDefinitionResponse ¶
func NewImportModelDefinitionResponse() (response *ImportModelDefinitionResponse)
func (*ImportModelDefinitionResponse) FromJsonString ¶
func (r *ImportModelDefinitionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportModelDefinitionResponse) ToJsonString ¶
func (r *ImportModelDefinitionResponse) ToJsonString() string
type ListFirmwaresRequest ¶
type ListFirmwaresRequest struct { *tchttp.BaseRequest // 获取的页数 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 分页的大小 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 搜索过滤条件 Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters" list` }
func NewListFirmwaresRequest ¶
func NewListFirmwaresRequest() (request *ListFirmwaresRequest)
func (*ListFirmwaresRequest) FromJsonString ¶
func (r *ListFirmwaresRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListFirmwaresRequest) ToJsonString ¶
func (r *ListFirmwaresRequest) ToJsonString() string
type ListFirmwaresResponse ¶
type ListFirmwaresResponse struct { *tchttp.BaseResponse Response *struct { // 固件总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 固件列表 Firmwares []*FirmwareInfo `json:"Firmwares,omitempty" name:"Firmwares" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewListFirmwaresResponse ¶
func NewListFirmwaresResponse() (response *ListFirmwaresResponse)
func (*ListFirmwaresResponse) FromJsonString ¶
func (r *ListFirmwaresResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListFirmwaresResponse) ToJsonString ¶
func (r *ListFirmwaresResponse) ToJsonString() string
type ModifyDeviceRequest ¶
type ModifyDeviceRequest 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 NewModifyDeviceRequest ¶
func NewModifyDeviceRequest() (request *ModifyDeviceRequest)
func (*ModifyDeviceRequest) FromJsonString ¶
func (r *ModifyDeviceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceRequest) ToJsonString ¶
func (r *ModifyDeviceRequest) ToJsonString() string
type ModifyDeviceResponse ¶
type ModifyDeviceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDeviceResponse ¶
func NewModifyDeviceResponse() (response *ModifyDeviceResponse)
func (*ModifyDeviceResponse) FromJsonString ¶
func (r *ModifyDeviceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceResponse) ToJsonString ¶
func (r *ModifyDeviceResponse) ToJsonString() string
type ModifyForwardRuleRequest ¶
type ModifyForwardRuleRequest struct { *tchttp.BaseRequest // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 消息类型 MsgType *uint64 `json:"MsgType,omitempty" name:"MsgType"` // 控制台Skey Skey *string `json:"Skey,omitempty" name:"Skey"` // 队列区域 QueueRegion *string `json:"QueueRegion,omitempty" name:"QueueRegion"` // 队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 临时密钥 Consecretid *string `json:"Consecretid,omitempty" name:"Consecretid"` // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 队列或主题ID QueueID *string `json:"QueueID,omitempty" name:"QueueID"` // 队列或主题名称 QueueName *string `json:"QueueName,omitempty" name:"QueueName"` }
func NewModifyForwardRuleRequest ¶
func NewModifyForwardRuleRequest() (request *ModifyForwardRuleRequest)
func (*ModifyForwardRuleRequest) FromJsonString ¶
func (r *ModifyForwardRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyForwardRuleRequest) ToJsonString ¶
func (r *ModifyForwardRuleRequest) ToJsonString() string
type ModifyForwardRuleResponse ¶
type ModifyForwardRuleResponse struct { *tchttp.BaseResponse Response *struct { // 腾讯云账号 Endpoint *string `json:"Endpoint,omitempty" name:"Endpoint"` // 产品ID ProductID *string `json:"ProductID,omitempty" name:"ProductID"` // 结果 Result *uint64 `json:"Result,omitempty" name:"Result"` // 错误信息 ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // 队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyForwardRuleResponse ¶
func NewModifyForwardRuleResponse() (response *ModifyForwardRuleResponse)
func (*ModifyForwardRuleResponse) FromJsonString ¶
func (r *ModifyForwardRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyForwardRuleResponse) ToJsonString ¶
func (r *ModifyForwardRuleResponse) ToJsonString() string
type ModifyModelDefinitionRequest ¶
type ModifyModelDefinitionRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 数据模板定义 ModelSchema *string `json:"ModelSchema,omitempty" name:"ModelSchema"` }
func NewModifyModelDefinitionRequest ¶
func NewModifyModelDefinitionRequest() (request *ModifyModelDefinitionRequest)
func (*ModifyModelDefinitionRequest) FromJsonString ¶
func (r *ModifyModelDefinitionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModelDefinitionRequest) ToJsonString ¶
func (r *ModifyModelDefinitionRequest) ToJsonString() string
type ModifyModelDefinitionResponse ¶
type ModifyModelDefinitionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyModelDefinitionResponse ¶
func NewModifyModelDefinitionResponse() (response *ModifyModelDefinitionResponse)
func (*ModifyModelDefinitionResponse) FromJsonString ¶
func (r *ModifyModelDefinitionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModelDefinitionResponse) ToJsonString ¶
func (r *ModifyModelDefinitionResponse) ToJsonString() string
type ModifyProductRequest ¶
type ModifyProductRequest struct { *tchttp.BaseRequest // 产品id ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 修改的产品名称 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 修改的产品描述 ProductDescription *string `json:"ProductDescription,omitempty" name:"ProductDescription"` }
func NewModifyProductRequest ¶
func NewModifyProductRequest() (request *ModifyProductRequest)
func (*ModifyProductRequest) FromJsonString ¶
func (r *ModifyProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProductRequest) ToJsonString ¶
func (r *ModifyProductRequest) ToJsonString() string
type ModifyProductResponse ¶
type ModifyProductResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyProductResponse ¶
func NewModifyProductResponse() (response *ModifyProductResponse)
func (*ModifyProductResponse) FromJsonString ¶
func (r *ModifyProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProductResponse) ToJsonString ¶
func (r *ModifyProductResponse) ToJsonString() string
type ProductModelDefinition ¶
type ProductModelDefinition struct { // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 模型定义 ModelDefine *string `json:"ModelDefine,omitempty" name:"ModelDefine"` // 更新时间,秒级时间戳 UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // 创建时间,秒级时间戳 CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` // 产品所属分类的模型快照(产品创建时刻的) // 注意:此字段可能返回 null,表示取不到有效值。 CategoryModel *string `json:"CategoryModel,omitempty" name:"CategoryModel"` // 产品的连接类型的模型 // 注意:此字段可能返回 null,表示取不到有效值。 NetTypeModel *string `json:"NetTypeModel,omitempty" name:"NetTypeModel"` }
type ProductTemplate ¶
type ProductTemplate struct { // 实体ID Id *int64 `json:"Id,omitempty" name:"Id"` // 分类字段 CategoryKey *string `json:"CategoryKey,omitempty" name:"CategoryKey"` // 分类名称 CategoryName *string `json:"CategoryName,omitempty" name:"CategoryName"` // 上层实体ID ParentId *int64 `json:"ParentId,omitempty" name:"ParentId"` // 物模型 ModelTemplate *string `json:"ModelTemplate,omitempty" name:"ModelTemplate"` // 排列顺序 // 注意:此字段可能返回 null,表示取不到有效值。 ListOrder *int64 `json:"ListOrder,omitempty" name:"ListOrder"` // 分类图标地址 // 注意:此字段可能返回 null,表示取不到有效值。 IconUrl *string `json:"IconUrl,omitempty" name:"IconUrl"` // 九宫格图片地址 // 注意:此字段可能返回 null,表示取不到有效值。 IconUrlGrid *string `json:"IconUrlGrid,omitempty" name:"IconUrlGrid"` }
type ResetCloudStorageRequest ¶
type ResetCloudStorageRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` }
func NewResetCloudStorageRequest ¶
func NewResetCloudStorageRequest() (request *ResetCloudStorageRequest)
func (*ResetCloudStorageRequest) FromJsonString ¶
func (r *ResetCloudStorageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetCloudStorageRequest) ToJsonString ¶
func (r *ResetCloudStorageRequest) ToJsonString() string
type ResetCloudStorageResponse ¶
type ResetCloudStorageResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetCloudStorageResponse ¶
func NewResetCloudStorageResponse() (response *ResetCloudStorageResponse)
func (*ResetCloudStorageResponse) FromJsonString ¶
func (r *ResetCloudStorageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetCloudStorageResponse) ToJsonString ¶
func (r *ResetCloudStorageResponse) ToJsonString() string
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
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 RetryDeviceFirmwareTaskResponse ¶
type RetryDeviceFirmwareTaskResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRetryDeviceFirmwareTaskResponse ¶
func NewRetryDeviceFirmwareTaskResponse() (response *RetryDeviceFirmwareTaskResponse)
func (*RetryDeviceFirmwareTaskResponse) FromJsonString ¶
func (r *RetryDeviceFirmwareTaskResponse) FromJsonString(s string) error
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 SearchKeyword ¶
type SetForwardAuthRequest ¶
type SetForwardAuthRequest struct { *tchttp.BaseRequest // 控制台Skey Skey *string `json:"Skey,omitempty" name:"Skey"` // 消息队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` }
func NewSetForwardAuthRequest ¶
func NewSetForwardAuthRequest() (request *SetForwardAuthRequest)
func (*SetForwardAuthRequest) FromJsonString ¶
func (r *SetForwardAuthRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetForwardAuthRequest) ToJsonString ¶
func (r *SetForwardAuthRequest) ToJsonString() string
type SetForwardAuthResponse ¶
type SetForwardAuthResponse struct { *tchttp.BaseResponse Response *struct { // 腾讯云账号 Endpoint *string `json:"Endpoint,omitempty" name:"Endpoint"` // 结果 Result *uint64 `json:"Result,omitempty" name:"Result"` // 角色名 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` // 角色ID RoleID *uint64 `json:"RoleID,omitempty" name:"RoleID"` // 消息队列类型 QueueType *uint64 `json:"QueueType,omitempty" name:"QueueType"` // 错误消息 ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSetForwardAuthResponse ¶
func NewSetForwardAuthResponse() (response *SetForwardAuthResponse)
func (*SetForwardAuthResponse) FromJsonString ¶
func (r *SetForwardAuthResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetForwardAuthResponse) ToJsonString ¶
func (r *SetForwardAuthResponse) ToJsonString() string
type StatusStatistic ¶
type TransferCloudStorageRequest ¶
type TransferCloudStorageRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 已开通云存的设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 未开通云存的设备名称 ToDeviceName *string `json:"ToDeviceName,omitempty" name:"ToDeviceName"` }
func NewTransferCloudStorageRequest ¶
func NewTransferCloudStorageRequest() (request *TransferCloudStorageRequest)
func (*TransferCloudStorageRequest) FromJsonString ¶
func (r *TransferCloudStorageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TransferCloudStorageRequest) ToJsonString ¶
func (r *TransferCloudStorageRequest) ToJsonString() string
type TransferCloudStorageResponse ¶
type TransferCloudStorageResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewTransferCloudStorageResponse ¶
func NewTransferCloudStorageResponse() (response *TransferCloudStorageResponse)
func (*TransferCloudStorageResponse) FromJsonString ¶
func (r *TransferCloudStorageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TransferCloudStorageResponse) ToJsonString ¶
func (r *TransferCloudStorageResponse) ToJsonString() string
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"` }
func NewUploadFirmwareRequest ¶
func NewUploadFirmwareRequest() (request *UploadFirmwareRequest)
func (*UploadFirmwareRequest) FromJsonString ¶
func (r *UploadFirmwareRequest) FromJsonString(s string) error
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 UploadFirmwareResponse ¶
type UploadFirmwareResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUploadFirmwareResponse ¶
func NewUploadFirmwareResponse() (response *UploadFirmwareResponse)
func (*UploadFirmwareResponse) FromJsonString ¶
func (r *UploadFirmwareResponse) FromJsonString(s string) error
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 VideoBatch ¶
type VideoBatch struct { // 批次ID Id *uint64 `json:"Id,omitempty" name:"Id"` // 用户ID UserId *string `json:"UserId,omitempty" name:"UserId"` // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 状态:1:待创建设备 2:创建中 3:已完成 Status *uint64 `json:"Status,omitempty" name:"Status"` // 设备前缀 DevPre *string `json:"DevPre,omitempty" name:"DevPre"` // 设备数量 DevNum *uint64 `json:"DevNum,omitempty" name:"DevNum"` // 已创建设备数量 DevNumCreated *uint64 `json:"DevNumCreated,omitempty" name:"DevNumCreated"` // 批次下载地址 BatchURL *string `json:"BatchURL,omitempty" name:"BatchURL"` // 创建时间。unix时间戳 CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"` // 修改时间。unix时间戳 UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type VideoProduct ¶
type VideoProduct struct { // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 产品名称 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 产品设备类型(普通设备) 1.普通设备 DeviceType *uint64 `json:"DeviceType,omitempty" name:"DeviceType"` // 认证方式:2:PSK EncryptionType *uint64 `json:"EncryptionType,omitempty" name:"EncryptionType"` // 设备功能码 Features []*string `json:"Features,omitempty" name:"Features" list` // 操作系统 ChipOs *string `json:"ChipOs,omitempty" name:"ChipOs"` // 芯片厂商id ChipManufactureId *string `json:"ChipManufactureId,omitempty" name:"ChipManufactureId"` // 芯片id ChipId *string `json:"ChipId,omitempty" name:"ChipId"` // 产品描述信息 ProductDescription *string `json:"ProductDescription,omitempty" name:"ProductDescription"` // 创建时间unix时间戳 CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"` // 修改时间unix时间戳 UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"` }