Documentation
¶
Index ¶
- Constants
- type BindDevInfo
- type BindUsrInfo
- type ClearDeviceActiveCodeRequest
- type ClearDeviceActiveCodeResponse
- type Client
- func (c *Client) ClearDeviceActiveCode(request *ClearDeviceActiveCodeRequest) (response *ClearDeviceActiveCodeResponse, err error)
- func (c *Client) CreateAnonymousAccessToken(request *CreateAnonymousAccessTokenRequest) (response *CreateAnonymousAccessTokenResponse, err error)
- func (c *Client) CreateAppUsr(request *CreateAppUsrRequest) (response *CreateAppUsrResponse, err error)
- func (c *Client) CreateBinding(request *CreateBindingRequest) (response *CreateBindingResponse, err error)
- func (c *Client) CreateDevToken(request *CreateDevTokenRequest) (response *CreateDevTokenResponse, err error)
- func (c *Client) CreateDevices(request *CreateDevicesRequest) (response *CreateDevicesResponse, err error)
- func (c *Client) CreateGencode(request *CreateGencodeRequest) (response *CreateGencodeResponse, err error)
- func (c *Client) CreateIotDataType(request *CreateIotDataTypeRequest) (response *CreateIotDataTypeResponse, err error)
- func (c *Client) CreateIotModel(request *CreateIotModelRequest) (response *CreateIotModelResponse, err error)
- func (c *Client) CreateProduct(request *CreateProductRequest) (response *CreateProductResponse, err error)
- func (c *Client) CreateStorage(request *CreateStorageRequest) (response *CreateStorageResponse, err error)
- func (c *Client) CreateStorageService(request *CreateStorageServiceRequest) (response *CreateStorageServiceResponse, err error)
- func (c *Client) CreateTraceIds(request *CreateTraceIdsRequest) (response *CreateTraceIdsResponse, err error)
- func (c *Client) CreateUploadPath(request *CreateUploadPathRequest) (response *CreateUploadPathResponse, err error)
- func (c *Client) CreateUsrToken(request *CreateUsrTokenRequest) (response *CreateUsrTokenResponse, err error)
- func (c *Client) DeleteAppUsr(request *DeleteAppUsrRequest) (response *DeleteAppUsrResponse, err error)
- func (c *Client) DeleteBinding(request *DeleteBindingRequest) (response *DeleteBindingResponse, err error)
- func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteIotDataType(request *DeleteIotDataTypeRequest) (response *DeleteIotDataTypeResponse, err error)
- func (c *Client) DeleteMessageQueue(request *DeleteMessageQueueRequest) (response *DeleteMessageQueueResponse, err error)
- func (c *Client) DeleteOtaVersion(request *DeleteOtaVersionRequest) (response *DeleteOtaVersionResponse, err error)
- func (c *Client) DeleteProduct(request *DeleteProductRequest) (response *DeleteProductResponse, err error)
- func (c *Client) DeleteTraceIds(request *DeleteTraceIdsRequest) (response *DeleteTraceIdsResponse, err error)
- func (c *Client) DeliverStorageService(request *DeliverStorageServiceRequest) (response *DeliverStorageServiceResponse, err error)
- func (c *Client) DescribeAccountBalance(request *DescribeAccountBalanceRequest) (response *DescribeAccountBalanceResponse, err error)
- func (c *Client) DescribeBindDev(request *DescribeBindDevRequest) (response *DescribeBindDevResponse, err error)
- func (c *Client) DescribeBindUsr(request *DescribeBindUsrRequest) (response *DescribeBindUsrResponse, err error)
- func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
- func (c *Client) DescribeDeviceModel(request *DescribeDeviceModelRequest) (response *DescribeDeviceModelResponse, err error)
- func (c *Client) DescribeDevices(request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)
- func (c *Client) DescribeIotDataType(request *DescribeIotDataTypeRequest) (response *DescribeIotDataTypeResponse, err error)
- func (c *Client) DescribeIotModel(request *DescribeIotModelRequest) (response *DescribeIotModelResponse, err error)
- func (c *Client) DescribeIotModels(request *DescribeIotModelsRequest) (response *DescribeIotModelsResponse, err error)
- func (c *Client) DescribeLogs(request *DescribeLogsRequest) (response *DescribeLogsResponse, err error)
- func (c *Client) DescribeMessageQueue(request *DescribeMessageQueueRequest) (response *DescribeMessageQueueResponse, err error)
- func (c *Client) DescribeModelDataRet(request *DescribeModelDataRetRequest) (response *DescribeModelDataRetResponse, err error)
- func (c *Client) DescribeOsList(request *DescribeOsListRequest) (response *DescribeOsListResponse, err error)
- func (c *Client) DescribeOtaVersions(request *DescribeOtaVersionsRequest) (response *DescribeOtaVersionsResponse, 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) DescribePubVersions(request *DescribePubVersionsRequest) (response *DescribePubVersionsResponse, err error)
- func (c *Client) DescribeRechargeRecords(request *DescribeRechargeRecordsRequest) (response *DescribeRechargeRecordsResponse, err error)
- func (c *Client) DescribeRegistrationStatus(request *DescribeRegistrationStatusRequest) (response *DescribeRegistrationStatusResponse, err error)
- func (c *Client) DescribeRunLog(request *DescribeRunLogRequest) (response *DescribeRunLogResponse, err error)
- func (c *Client) DescribeStorageService(request *DescribeStorageServiceRequest) (response *DescribeStorageServiceResponse, err error)
- func (c *Client) DescribeStream(request *DescribeStreamRequest) (response *DescribeStreamResponse, err error)
- func (c *Client) DescribeTraceIds(request *DescribeTraceIdsRequest) (response *DescribeTraceIdsResponse, err error)
- func (c *Client) DescribeTraceStatus(request *DescribeTraceStatusRequest) (response *DescribeTraceStatusResponse, err error)
- func (c *Client) DisableDevice(request *DisableDeviceRequest) (response *DisableDeviceResponse, err error)
- func (c *Client) DisableDeviceStream(request *DisableDeviceStreamRequest) (response *DisableDeviceStreamResponse, err error)
- func (c *Client) DisableOtaVersion(request *DisableOtaVersionRequest) (response *DisableOtaVersionResponse, err error)
- func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
- func (c *Client) ModifyDeviceAction(request *ModifyDeviceActionRequest) (response *ModifyDeviceActionResponse, err error)
- func (c *Client) ModifyDeviceProperty(request *ModifyDevicePropertyRequest) (response *ModifyDevicePropertyResponse, err error)
- func (c *Client) ModifyProduct(request *ModifyProductRequest) (response *ModifyProductResponse, err error)
- func (c *Client) ModifyVerContent(request *ModifyVerContentRequest) (response *ModifyVerContentResponse, err error)
- func (c *Client) RefundStorageService(request *RefundStorageServiceRequest) (response *RefundStorageServiceResponse, err error)
- func (c *Client) RunDevice(request *RunDeviceRequest) (response *RunDeviceResponse, err error)
- func (c *Client) RunDeviceStream(request *RunDeviceStreamRequest) (response *RunDeviceStreamResponse, err error)
- func (c *Client) RunIotModel(request *RunIotModelRequest) (response *RunIotModelResponse, err error)
- func (c *Client) RunOtaVersion(request *RunOtaVersionRequest) (response *RunOtaVersionResponse, err error)
- func (c *Client) RunTestOtaVersion(request *RunTestOtaVersionRequest) (response *RunTestOtaVersionResponse, err error)
- func (c *Client) SendOnlineMsg(request *SendOnlineMsgRequest) (response *SendOnlineMsgResponse, err error)
- func (c *Client) SetMessageQueue(request *SetMessageQueueRequest) (response *SetMessageQueueResponse, err error)
- func (c *Client) UpgradeDevice(request *UpgradeDeviceRequest) (response *UpgradeDeviceResponse, err error)
- func (c *Client) UploadOtaVersion(request *UploadOtaVersionRequest) (response *UploadOtaVersionResponse, err error)
- type Contents
- type CreateAnonymousAccessTokenRequest
- type CreateAnonymousAccessTokenResponse
- type CreateAppUsrRequest
- type CreateAppUsrResponse
- type CreateBindingRequest
- type CreateBindingResponse
- type CreateDevTokenRequest
- type CreateDevTokenResponse
- type CreateDevicesRequest
- type CreateDevicesResponse
- type CreateGencodeRequest
- type CreateGencodeResponse
- type CreateIotDataTypeRequest
- type CreateIotDataTypeResponse
- type CreateIotModelRequest
- type CreateIotModelResponse
- type CreateProductRequest
- type CreateProductResponse
- type CreateStorageRequest
- type CreateStorageResponse
- type CreateStorageServiceRequest
- type CreateStorageServiceResponse
- type CreateTraceIdsRequest
- type CreateTraceIdsResponse
- type CreateUploadPathRequest
- type CreateUploadPathResponse
- type CreateUsrTokenRequest
- type CreateUsrTokenResponse
- type Data
- type DeleteAppUsrRequest
- type DeleteAppUsrResponse
- type DeleteBindingRequest
- type DeleteBindingResponse
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteIotDataTypeRequest
- type DeleteIotDataTypeResponse
- type DeleteMessageQueueRequest
- type DeleteMessageQueueResponse
- type DeleteOtaVersionRequest
- type DeleteOtaVersionResponse
- type DeleteProductRequest
- type DeleteProductResponse
- type DeleteTraceIdsRequest
- type DeleteTraceIdsResponse
- type DeliverStorageServiceRequest
- type DeliverStorageServiceResponse
- type DescribeAccountBalanceRequest
- type DescribeAccountBalanceResponse
- type DescribeBindDevRequest
- type DescribeBindDevResponse
- type DescribeBindUsrRequest
- type DescribeBindUsrResponse
- type DescribeDeviceModelRequest
- type DescribeDeviceModelResponse
- type DescribeDeviceRequest
- type DescribeDeviceResponse
- type DescribeDevicesRequest
- type DescribeDevicesResponse
- type DescribeIotDataTypeRequest
- type DescribeIotDataTypeResponse
- type DescribeIotModelRequest
- type DescribeIotModelResponse
- type DescribeIotModelsRequest
- type DescribeIotModelsResponse
- type DescribeLogsRequest
- type DescribeLogsResponse
- type DescribeMessageQueueRequest
- type DescribeMessageQueueResponse
- type DescribeModelDataRetRequest
- type DescribeModelDataRetResponse
- type DescribeOsListRequest
- type DescribeOsListResponse
- type DescribeOtaVersionsRequest
- type DescribeOtaVersionsResponse
- type DescribeProductRequest
- type DescribeProductResponse
- type DescribeProductsRequest
- type DescribeProductsResponse
- type DescribePubVersionsRequest
- type DescribePubVersionsResponse
- type DescribeRechargeRecordsRequest
- type DescribeRechargeRecordsResponse
- type DescribeRegistrationStatusRequest
- type DescribeRegistrationStatusResponse
- type DescribeRunLogRequest
- type DescribeRunLogResponse
- type DescribeStorageServiceRequest
- type DescribeStorageServiceResponse
- type DescribeStreamRequest
- type DescribeStreamResponse
- type DescribeTraceIdsRequest
- type DescribeTraceIdsResponse
- type DescribeTraceStatusRequest
- type DescribeTraceStatusResponse
- type DevTokenInfo
- type DeviceCertificate
- type DeviceData
- type DeviceModelData
- type DevicesData
- type DisableDeviceRequest
- type DisableDeviceResponse
- type DisableDeviceStreamRequest
- type DisableDeviceStreamResponse
- type DisableOtaVersionRequest
- type DisableOtaVersionResponse
- type IotModelData
- type LogData
- type ModifyDeviceActionRequest
- type ModifyDeviceActionResponse
- type ModifyDevicePropertyRequest
- type ModifyDevicePropertyResponse
- type ModifyDeviceRequest
- type ModifyDeviceResponse
- type ModifyProductRequest
- type ModifyProductResponse
- type ModifyVerContentRequest
- type ModifyVerContentResponse
- type MsgQueueData
- type OsData
- type OtaPubHistory
- type ProductBase
- type ProductData
- type RechargeRecord
- type RefundStorageServiceRequest
- type RefundStorageServiceResponse
- type RegisteredStatus
- type RunDeviceRequest
- type RunDeviceResponse
- type RunDeviceStreamRequest
- type RunDeviceStreamResponse
- type RunIotModelRequest
- type RunIotModelResponse
- type RunOtaVersionRequest
- type RunOtaVersionResponse
- type RunTestOtaVersionRequest
- type RunTestOtaVersionResponse
- type SendOnlineMsgRequest
- type SendOnlineMsgResponse
- type SetMessageQueueRequest
- type SetMessageQueueResponse
- type StorageOrder
- type SystemType
- type TraceStatus
- type UpgradeDeviceRequest
- type UpgradeDeviceResponse
- type UploadOtaVersionRequest
- type UploadOtaVersionResponse
- type VersionData
Constants ¶
const APIVersion = "2019-11-26"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindDevInfo ¶
type BindDevInfo struct {
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备型号
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceModel *string `json:"DeviceModel,omitempty" name:"DeviceModel"`
// 用户角色,owner:主人,guest:访客
Role *string `json:"Role,omitempty" name:"Role"`
}
type BindUsrInfo ¶
type ClearDeviceActiveCodeRequest ¶
type ClearDeviceActiveCodeRequest struct {
*tchttp.BaseRequest
// 设备TID列表,0<元素数量<=100
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewClearDeviceActiveCodeRequest ¶
func NewClearDeviceActiveCodeRequest() (request *ClearDeviceActiveCodeRequest)
func (*ClearDeviceActiveCodeRequest) FromJsonString ¶
func (r *ClearDeviceActiveCodeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ClearDeviceActiveCodeRequest) ToJsonString ¶
func (r *ClearDeviceActiveCodeRequest) ToJsonString() string
type ClearDeviceActiveCodeResponse ¶
type ClearDeviceActiveCodeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewClearDeviceActiveCodeResponse ¶
func NewClearDeviceActiveCodeResponse() (response *ClearDeviceActiveCodeResponse)
func (*ClearDeviceActiveCodeResponse) FromJsonString ¶
func (r *ClearDeviceActiveCodeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ClearDeviceActiveCodeResponse) ToJsonString ¶
func (r *ClearDeviceActiveCodeResponse) 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) ClearDeviceActiveCode ¶
func (c *Client) ClearDeviceActiveCode(request *ClearDeviceActiveCodeRequest) (response *ClearDeviceActiveCodeResponse, err error)
清除设备激活码
func (*Client) CreateAnonymousAccessToken ¶
func (c *Client) CreateAnonymousAccessToken(request *CreateAnonymousAccessTokenRequest) (response *CreateAnonymousAccessTokenResponse, err error)
创建匿名访问Token
func (*Client) CreateAppUsr ¶
func (c *Client) CreateAppUsr(request *CreateAppUsrRequest) (response *CreateAppUsrResponse, err error)
本接口(CreateAppUsr)用于接收由厂商云发送过来的注册请求,建立厂商云终端用户与IoT Video终端用户的映射关系。
func (*Client) CreateBinding ¶
func (c *Client) CreateBinding(request *CreateBindingRequest) (response *CreateBindingResponse, err error)
本接口(CreateBinding)用于终端用户和设备进行绑定,具体的应用场景如下:
终端用户与设备具有“强关联”关系。用户与设备绑定之后,用户终端即具备了该设备的访问权限,访问或操作设备时,无需获取设备访问Token。
func (*Client) CreateDevToken ¶
func (c *Client) CreateDevToken(request *CreateDevTokenRequest) (response *CreateDevTokenResponse, err error)
本接口(CreateDevToken)用于以下场景: 终端用户与设备没有强绑定关联关系; 允许终端用户短时或一次性临时访问设备; 当终端用户与设备有强绑定关系时,可以不用调用此接口
func (*Client) CreateDevices ¶
func (c *Client) CreateDevices(request *CreateDevicesRequest) (response *CreateDevicesResponse, err error)
本接口(CreateDevices)用于批量创建新的物联网视频通信设备。 注意:腾讯云不会对设备私钥进行保存,请自行保管好您的设备私钥。
func (*Client) CreateGencode ¶
func (c *Client) CreateGencode(request *CreateGencodeRequest) (response *CreateGencodeResponse, err error)
本接口(CreateGencode)用于生成设备物模型源代码
func (*Client) CreateIotDataType ¶
func (c *Client) CreateIotDataType(request *CreateIotDataTypeRequest) (response *CreateIotDataTypeResponse, err error)
本接口(CreateIotDataType)用于创建自定义物模型数据类型。
func (*Client) CreateIotModel ¶
func (c *Client) CreateIotModel(request *CreateIotModelRequest) (response *CreateIotModelResponse, err error)
本接口(CreateIotModel)用于定义的物模型提交。 该接口实现了物模型草稿箱的功能,保存用户最后一次编辑的物模型数据。
func (*Client) CreateProduct ¶
func (c *Client) CreateProduct(request *CreateProductRequest) (response *CreateProductResponse, err error)
本接口(CreateProduct)用于创建一个新的物联网智能视频产品。
func (*Client) CreateStorage ¶
func (c *Client) CreateStorage(request *CreateStorageRequest) (response *CreateStorageResponse, err error)
该接口已经停止维护,请勿使用
func (*Client) CreateStorageService ¶
func (c *Client) CreateStorageService(request *CreateStorageServiceRequest) (response *CreateStorageServiceResponse, err error)
购买云存服务
func (*Client) CreateTraceIds ¶
func (c *Client) CreateTraceIds(request *CreateTraceIdsRequest) (response *CreateTraceIdsResponse, err error)
本接口(CreateTraceIds)用于将设备加到日志跟踪白名单。
func (*Client) CreateUploadPath ¶
func (c *Client) CreateUploadPath(request *CreateUploadPathRequest) (response *CreateUploadPathResponse, err error)
本接口(CreateUploadPath)用于获取固件上传路径。
func (*Client) CreateUsrToken ¶
func (c *Client) CreateUsrToken(request *CreateUsrTokenRequest) (response *CreateUsrTokenResponse, err error)
本接口(CreateUsrToken)用于终端用户获取IoT Video平台的accessToken,初始化SDK,连接到IoT Video接入服务器。
func (*Client) DeleteAppUsr ¶
func (c *Client) DeleteAppUsr(request *DeleteAppUsrRequest) (response *DeleteAppUsrResponse, err error)
本接口(DeleteAppUsr)用于删除终端用户。
func (*Client) DeleteBinding ¶
func (c *Client) DeleteBinding(request *DeleteBindingRequest) (response *DeleteBindingResponse, err error)
本接口(DeleteBinding)用于终端用户和设备进行解绑定。
func (*Client) DeleteDevice ¶
func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
本接口(DeleteDevice)用于删除设备,可进行批量操作,每次操作最多100台设备。
func (*Client) DeleteIotDataType ¶
func (c *Client) DeleteIotDataType(request *DeleteIotDataTypeRequest) (response *DeleteIotDataTypeResponse, err error)
本接口(DeleteIotDataType)用于删除自定义物模型数据类型。
func (*Client) DeleteMessageQueue ¶
func (c *Client) DeleteMessageQueue(request *DeleteMessageQueueRequest) (response *DeleteMessageQueueResponse, err error)
本接口(DeleteMessageQueue)用于删除物联网智能视频产品的转发消息配置信息。
func (*Client) DeleteOtaVersion ¶
func (c *Client) DeleteOtaVersion(request *DeleteOtaVersionRequest) (response *DeleteOtaVersionResponse, err error)
本接口(DeleteOtaVersion)用于删除固件版本信息。
func (*Client) DeleteProduct ¶
func (c *Client) DeleteProduct(request *DeleteProductRequest) (response *DeleteProductResponse, err error)
本接口(DeleteProduct)用于删除一个物联网智能视频产品。
func (*Client) DeleteTraceIds ¶
func (c *Client) DeleteTraceIds(request *DeleteTraceIdsRequest) (response *DeleteTraceIdsResponse, err error)
本接口(DeleteTraceIds)用于将设备从日志跟踪白名单中删除,该接口可批量操作,最多支持同时操作100台设备。
func (*Client) DeliverStorageService ¶
func (c *Client) DeliverStorageService(request *DeliverStorageServiceRequest) (response *DeliverStorageServiceResponse, err error)
将已购买的云存服务转移到另一设备
func (*Client) DescribeAccountBalance ¶
func (c *Client) DescribeAccountBalance(request *DescribeAccountBalanceRequest) (response *DescribeAccountBalanceResponse, err error)
客户可通过本接口获取账户余额信息, 默认接口请求频率限制:1次/秒
func (*Client) DescribeBindDev ¶
func (c *Client) DescribeBindDev(request *DescribeBindDevRequest) (response *DescribeBindDevResponse, err error)
本接口(DescribeBindDev)用于查询终端用户绑定的设备列表。
func (*Client) DescribeBindUsr ¶
func (c *Client) DescribeBindUsr(request *DescribeBindUsrRequest) (response *DescribeBindUsrResponse, err error)
本接口(DescribeBindUsr)用于查询设备被分享的所有用户列表。
func (*Client) DescribeDevice ¶
func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
本接口(DescribeDevice)获取设备信息。
func (*Client) DescribeDeviceModel ¶
func (c *Client) DescribeDeviceModel(request *DescribeDeviceModelRequest) (response *DescribeDeviceModelResponse, err error)
本接口(DescribeDeviceModel)用于获取设备物模型。
func (*Client) DescribeDevices ¶
func (c *Client) DescribeDevices(request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)
本接口(DescribeDevices)用于获取设备信息列表。
func (*Client) DescribeIotDataType ¶
func (c *Client) DescribeIotDataType(request *DescribeIotDataTypeRequest) (response *DescribeIotDataTypeResponse, err error)
本接口(DescribeIotDataType)用于查询自定义的物模型数据类型。
func (*Client) DescribeIotModel ¶
func (c *Client) DescribeIotModel(request *DescribeIotModelRequest) (response *DescribeIotModelResponse, err error)
本接口(DescribeIotModel)用于获取物模型定义详情。
func (*Client) DescribeIotModels ¶
func (c *Client) DescribeIotModels(request *DescribeIotModelsRequest) (response *DescribeIotModelsResponse, err error)
本接口(DescribeIotModels)用于列出物模型历史版本列表。
func (*Client) DescribeLogs ¶
func (c *Client) DescribeLogs(request *DescribeLogsRequest) (response *DescribeLogsResponse, err error)
本接口(DescribeLogs)用于查询设备日志列表。 设备日志最长保留时长为15天,超期自动清除。
func (*Client) DescribeMessageQueue ¶
func (c *Client) DescribeMessageQueue(request *DescribeMessageQueueRequest) (response *DescribeMessageQueueResponse, err error)
本接口(DescribeMessageQueue)用于查询物联网智能视频产品转发消息配置。
func (*Client) DescribeModelDataRet ¶
func (c *Client) DescribeModelDataRet(request *DescribeModelDataRetRequest) (response *DescribeModelDataRetResponse, err error)
本接口(DescribeModelDataRet)用于根据TaskId获取对设备物模型操作最终响应的结果。
func (*Client) DescribeOsList ¶
func (c *Client) DescribeOsList(request *DescribeOsListRequest) (response *DescribeOsListResponse, err error)
查看操作系统支持的芯片列表
func (*Client) DescribeOtaVersions ¶
func (c *Client) DescribeOtaVersions(request *DescribeOtaVersionsRequest) (response *DescribeOtaVersionsResponse, err error)
本接口(DescribeOtaVersions)用于查询固件版本信息列表。
func (*Client) DescribeProduct ¶
func (c *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)
本接口(DescribeProduct)用于获取单个产品的详细信息。
func (*Client) DescribeProducts ¶
func (c *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
本接口(DescribeProducts)用于列出用户账号下的物联网智能视频产品列表。
func (*Client) DescribePubVersions ¶
func (c *Client) DescribePubVersions(request *DescribePubVersionsRequest) (response *DescribePubVersionsResponse, err error)
本接口(DescribePubVersions)用于获取某一产品发布过的全部固件版本。
func (*Client) DescribeRechargeRecords ¶
func (c *Client) DescribeRechargeRecords(request *DescribeRechargeRecordsRequest) (response *DescribeRechargeRecordsResponse, err error)
客户可通过本接口获取充值记录信息, 一次最多返回50条记录。
func (*Client) DescribeRegistrationStatus ¶
func (c *Client) DescribeRegistrationStatus(request *DescribeRegistrationStatusRequest) (response *DescribeRegistrationStatusResponse, err error)
本接口(DescribeRegistrationStatus)用于查询终端用户的注册状态。
func (*Client) DescribeRunLog ¶
func (c *Client) DescribeRunLog(request *DescribeRunLogRequest) (response *DescribeRunLogResponse, err error)
本接口(DescribeRunLog)用于获取设备运行日志。
func (*Client) DescribeStorageService ¶
func (c *Client) DescribeStorageService(request *DescribeStorageServiceRequest) (response *DescribeStorageServiceResponse, err error)
查询云存服务
func (*Client) DescribeStream ¶
func (c *Client) DescribeStream(request *DescribeStreamRequest) (response *DescribeStreamResponse, err error)
请求设备直播流地址
func (*Client) DescribeTraceIds ¶
func (c *Client) DescribeTraceIds(request *DescribeTraceIdsRequest) (response *DescribeTraceIdsResponse, err error)
本接口(DescribeTraceIds)用于查询设备日志跟踪白名单。
func (*Client) DescribeTraceStatus ¶
func (c *Client) DescribeTraceStatus(request *DescribeTraceStatusRequest) (response *DescribeTraceStatusResponse, err error)
本接口(DescribeTraceStatus)用于查询指定设备是否在白名单中。
func (*Client) DisableDevice ¶
func (c *Client) DisableDevice(request *DisableDeviceRequest) (response *DisableDeviceResponse, err error)
本接口(DisableDevice)用于禁用设备,可进行批量操作,每次操作最多100台设备。
func (*Client) DisableDeviceStream ¶
func (c *Client) DisableDeviceStream(request *DisableDeviceStreamRequest) (response *DisableDeviceStreamResponse, err error)
本接口(DisableDeviceStream)用于停止设备推流,可进行批量操作,每次操作最多100台设备。
func (*Client) DisableOtaVersion ¶
func (c *Client) DisableOtaVersion(request *DisableOtaVersionRequest) (response *DisableOtaVersionResponse, err error)
本接口(DisableOtaVersion)用于禁用固件版本。
func (*Client) ModifyDevice ¶
func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
修改设备信息
func (*Client) ModifyDeviceAction ¶
func (c *Client) ModifyDeviceAction(request *ModifyDeviceActionRequest) (response *ModifyDeviceActionResponse, err error)
本接口(ModifyDeviceAction)用于修改设备物模型的行为(Action)。
可对ctlVal数据属性进行写入,如:Action.takePhoto.ctlVal,设备在线且成功发送到设备才返回,物模型写入数据时,不需要传入时标信息,平台以当前时标作为数据的时标更新物模型中的时标信息。 注意:
1.若设备当前不在线,会直接返回错误 2.若设备网络出现异常时,消息发送可能超时,超时等待最长时间为3秒 3.value的内容必须与实际物模型的定义一致
func (*Client) ModifyDeviceProperty ¶
func (c *Client) ModifyDeviceProperty(request *ModifyDevicePropertyRequest) (response *ModifyDevicePropertyResponse, err error)
本接口(ModifyDeviceProperty)用于修改设备物模型的属性(ProWritable)。 可对setVal数据属性进行写入,如: ProWritable.Pos.setVal 对于嵌套类型的可写属性,可以仅对其部分数据内容进行写入,如: ProWritable.Pos.setVal.x; 可写属性云端写入成功即返回;云端向设备端发布属性变更参数;若当前设备不在线,在设备下次上线时会自动更新这些属性参数; 物模型写入数据时,不需要传入时标信息,平台以当前时标作为数据的时标更新物模型中的时标信息。
func (*Client) ModifyProduct ¶
func (c *Client) ModifyProduct(request *ModifyProductRequest) (response *ModifyProductResponse, err error)
本接口(ModifyProduct)用于编辑物联网智能视频产品的相关信息。
func (*Client) ModifyVerContent ¶
func (c *Client) ModifyVerContent(request *ModifyVerContentRequest) (response *ModifyVerContentResponse, err error)
编辑版本描述信息
func (*Client) RefundStorageService ¶
func (c *Client) RefundStorageService(request *RefundStorageServiceRequest) (response *RefundStorageServiceResponse, err error)
本接口(RefundStorageService)用于退订已购买的云存服务。 退订时,云存服务对应订单的处理方式 : 1. 未开始的订单自动回到已付费订单池 2. 已开始的订单自动失效 3. 购买云存接口,优先从已付费订单池中分配订单
func (*Client) RunDevice ¶
func (c *Client) RunDevice(request *RunDeviceRequest) (response *RunDeviceResponse, err error)
本接口(RunDevice)用于启用设备,可进行批量操作,每次操作最多100台设备。
func (*Client) RunDeviceStream ¶
func (c *Client) RunDeviceStream(request *RunDeviceStreamRequest) (response *RunDeviceStreamResponse, err error)
本接口(RunDeviceStream)用于开启设备推流,可进行批量操作,每次操作最多100台设备。
func (*Client) RunIotModel ¶
func (c *Client) RunIotModel(request *RunIotModelRequest) (response *RunIotModelResponse, err error)
本接口(RunIotModel)用于对定义的物模型进行发布。
func (*Client) RunOtaVersion ¶
func (c *Client) RunOtaVersion(request *RunOtaVersionRequest) (response *RunOtaVersionResponse, err error)
本接口(RunOtaVersion)用于固件版本正式发布。
func (*Client) RunTestOtaVersion ¶
func (c *Client) RunTestOtaVersion(request *RunTestOtaVersionRequest) (response *RunTestOtaVersionResponse, err error)
本接口(RunTestOtaVersion)用于固件版本测试发布。
func (*Client) SendOnlineMsg ¶
func (c *Client) SendOnlineMsg(request *SendOnlineMsgRequest) (response *SendOnlineMsgResponse, err error)
本接口(SendOnlineMsg)用于向设备发送在线消息。 注意: 若设备当前不在线,会直接返回错误; 若设备网络出现异常时,消息发送可能超时,超时等待最长时间为3秒.waitresp非0情况下,会导致本接口阻塞3秒。
func (*Client) SetMessageQueue ¶
func (c *Client) SetMessageQueue(request *SetMessageQueueRequest) (response *SetMessageQueueResponse, err error)
本接口(SetMessageQueue)用于配置物联网智能视频产品的转发消息队列。
func (*Client) UpgradeDevice ¶
func (c *Client) UpgradeDevice(request *UpgradeDeviceRequest) (response *UpgradeDeviceResponse, err error)
本接口(UpgradeDevice)用于对设备进行固件升级。 该接口向指定的设备下发固件更新指令,可将固件升级到任意版本(可实现固件降级)。 警告:使能UpgradeNow参数存在一定的风险性!建议仅在debug场景下使用!
func (*Client) UploadOtaVersion ¶
func (c *Client) UploadOtaVersion(request *UploadOtaVersionRequest) (response *UploadOtaVersionResponse, err error)
本接口(UploadOtaVersion)接收上传到控制台的固件版本信息。
type Contents ¶
type Contents struct {
// 英文,长度不超过300个字符
// 注意:此字段可能返回 null,表示取不到有效值。
En *string `json:"En,omitempty" name:"En"`
// 中文简体,长度不超过300个字符
// 注意:此字段可能返回 null,表示取不到有效值。
Cn *string `json:"Cn,omitempty" name:"Cn"`
// 中文繁体(Traditional Chinese),长度不超过300个字符
// 注意:此字段可能返回 null,表示取不到有效值。
Tc *string `json:"Tc,omitempty" name:"Tc"`
// 默认语言,最多不超过300个字符
// 注意:此字段可能返回 null,表示取不到有效值。
Default *string `json:"Default,omitempty" name:"Default"`
}
type CreateAnonymousAccessTokenRequest ¶
type CreateAnonymousAccessTokenRequest struct {
*tchttp.BaseRequest
// Token的TTL(time to alive)分钟数,最大值1440(即24小时)
TtlMinutes *int64 `json:"TtlMinutes,omitempty" name:"TtlMinutes"`
// 设备ID。创建Token时, 此参数为必须项
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 旧的AccessToken。续期Token时,此参数为必须
OldAccessToken *string `json:"OldAccessToken,omitempty" name:"OldAccessToken"`
}
func NewCreateAnonymousAccessTokenRequest ¶
func NewCreateAnonymousAccessTokenRequest() (request *CreateAnonymousAccessTokenRequest)
func (*CreateAnonymousAccessTokenRequest) FromJsonString ¶
func (r *CreateAnonymousAccessTokenRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAnonymousAccessTokenRequest) ToJsonString ¶
func (r *CreateAnonymousAccessTokenRequest) ToJsonString() string
type CreateAnonymousAccessTokenResponse ¶
type CreateAnonymousAccessTokenResponse struct {
*tchttp.BaseResponse
Response *struct {
// 终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// IoT Video平台的AccessToken
AccessToken *string `json:"AccessToken,omitempty" name:"AccessToken"`
// Token的过期时间,单位秒(UTC时间)
ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateAnonymousAccessTokenResponse ¶
func NewCreateAnonymousAccessTokenResponse() (response *CreateAnonymousAccessTokenResponse)
func (*CreateAnonymousAccessTokenResponse) FromJsonString ¶
func (r *CreateAnonymousAccessTokenResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAnonymousAccessTokenResponse) ToJsonString ¶
func (r *CreateAnonymousAccessTokenResponse) ToJsonString() string
type CreateAppUsrRequest ¶
type CreateAppUsrRequest struct {
*tchttp.BaseRequest
// 标识用户的唯一ID,防止同一个用户多次注册
CunionId *string `json:"CunionId,omitempty" name:"CunionId"`
// 用于小程序关联手机号
Mobile *string `json:"Mobile,omitempty" name:"Mobile"`
}
func NewCreateAppUsrRequest ¶
func NewCreateAppUsrRequest() (request *CreateAppUsrRequest)
func (*CreateAppUsrRequest) FromJsonString ¶
func (r *CreateAppUsrRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAppUsrRequest) ToJsonString ¶
func (r *CreateAppUsrRequest) ToJsonString() string
type CreateAppUsrResponse ¶
type CreateAppUsrResponse struct {
*tchttp.BaseResponse
Response *struct {
// 厂商云标识用户的唯一ID
CunionId *string `json:"CunionId,omitempty" name:"CunionId"`
// 客户的终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 用户是否为新创建
NewRegist *bool `json:"NewRegist,omitempty" name:"NewRegist"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateAppUsrResponse ¶
func NewCreateAppUsrResponse() (response *CreateAppUsrResponse)
func (*CreateAppUsrResponse) FromJsonString ¶
func (r *CreateAppUsrResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAppUsrResponse) ToJsonString ¶
func (r *CreateAppUsrResponse) ToJsonString() string
type CreateBindingRequest ¶
type CreateBindingRequest struct {
*tchttp.BaseRequest
// 终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 用户角色,owner:主人,guest:访客
Role *string `json:"Role,omitempty" name:"Role"`
// 是否踢掉之前的主人,true:踢掉;false:不踢掉。当role为guest时,可以不填
ForceBind *bool `json:"ForceBind,omitempty" name:"ForceBind"`
// 设备昵称,最多不超过64个字符
Nick *string `json:"Nick,omitempty" name:"Nick"`
}
func NewCreateBindingRequest ¶
func NewCreateBindingRequest() (request *CreateBindingRequest)
func (*CreateBindingRequest) FromJsonString ¶
func (r *CreateBindingRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBindingRequest) ToJsonString ¶
func (r *CreateBindingRequest) ToJsonString() string
type CreateBindingResponse ¶
type CreateBindingResponse struct {
*tchttp.BaseResponse
Response *struct {
// 访问设备的AccessToken
AccessToken *string `json:"AccessToken,omitempty" name:"AccessToken"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateBindingResponse ¶
func NewCreateBindingResponse() (response *CreateBindingResponse)
func (*CreateBindingResponse) FromJsonString ¶
func (r *CreateBindingResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBindingResponse) ToJsonString ¶
func (r *CreateBindingResponse) ToJsonString() string
type CreateDevTokenRequest ¶
type CreateDevTokenRequest struct {
*tchttp.BaseRequest
// 客户的终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 设备TID列表,0<元素数量<=100
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
// Token的TTL(time to alive)分钟数
TtlMinutes *uint64 `json:"TtlMinutes,omitempty" name:"TtlMinutes"`
}
func NewCreateDevTokenRequest ¶
func NewCreateDevTokenRequest() (request *CreateDevTokenRequest)
func (*CreateDevTokenRequest) FromJsonString ¶
func (r *CreateDevTokenRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDevTokenRequest) ToJsonString ¶
func (r *CreateDevTokenRequest) ToJsonString() string
type CreateDevTokenResponse ¶
type CreateDevTokenResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回的用户token列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DevTokenInfo `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateDevTokenResponse ¶
func NewCreateDevTokenResponse() (response *CreateDevTokenResponse)
func (*CreateDevTokenResponse) FromJsonString ¶
func (r *CreateDevTokenResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDevTokenResponse) ToJsonString ¶
func (r *CreateDevTokenResponse) ToJsonString() string
type CreateDevicesRequest ¶
type CreateDevicesRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 创建设备的数量,数量范围1-100
Number *uint64 `json:"Number,omitempty" name:"Number"`
// 设备名称前缀,支持英文、数字,不超过10字符
NamePrefix *string `json:"NamePrefix,omitempty" name:"NamePrefix"`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
}
func NewCreateDevicesRequest ¶
func NewCreateDevicesRequest() (request *CreateDevicesRequest)
func (*CreateDevicesRequest) FromJsonString ¶
func (r *CreateDevicesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDevicesRequest) ToJsonString ¶
func (r *CreateDevicesRequest) ToJsonString() string
type CreateDevicesResponse ¶
type CreateDevicesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 新创建设备的认证信息
Data []*DeviceCertificate `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateDevicesResponse ¶
func NewCreateDevicesResponse() (response *CreateDevicesResponse)
func (*CreateDevicesResponse) FromJsonString ¶
func (r *CreateDevicesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDevicesResponse) ToJsonString ¶
func (r *CreateDevicesResponse) ToJsonString() string
type CreateGencodeRequest ¶
type CreateGencodeRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 物模型发布版本号,-1代表未发布的,保存的是草稿箱的版本。1代表已发布的物模型。
Revision *int64 `json:"Revision,omitempty" name:"Revision"`
}
func NewCreateGencodeRequest ¶
func NewCreateGencodeRequest() (request *CreateGencodeRequest)
func (*CreateGencodeRequest) FromJsonString ¶
func (r *CreateGencodeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGencodeRequest) ToJsonString ¶
func (r *CreateGencodeRequest) ToJsonString() string
type CreateGencodeResponse ¶
type CreateGencodeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 生成的源代码(zip压缩后的base64编码)
// 注意:此字段可能返回 null,表示取不到有效值。
ZipCode *string `json:"ZipCode,omitempty" name:"ZipCode"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateGencodeResponse ¶
func NewCreateGencodeResponse() (response *CreateGencodeResponse)
func (*CreateGencodeResponse) FromJsonString ¶
func (r *CreateGencodeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGencodeResponse) ToJsonString ¶
func (r *CreateGencodeResponse) ToJsonString() string
type CreateIotDataTypeRequest ¶
type CreateIotDataTypeRequest struct {
*tchttp.BaseRequest
// 用户自定义数据类型,json格式的字符串
IotDataType *string `json:"IotDataType,omitempty" name:"IotDataType"`
}
func NewCreateIotDataTypeRequest ¶
func NewCreateIotDataTypeRequest() (request *CreateIotDataTypeRequest)
func (*CreateIotDataTypeRequest) FromJsonString ¶
func (r *CreateIotDataTypeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIotDataTypeRequest) ToJsonString ¶
func (r *CreateIotDataTypeRequest) ToJsonString() string
type CreateIotDataTypeResponse ¶
type CreateIotDataTypeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateIotDataTypeResponse ¶
func NewCreateIotDataTypeResponse() (response *CreateIotDataTypeResponse)
func (*CreateIotDataTypeResponse) FromJsonString ¶
func (r *CreateIotDataTypeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIotDataTypeResponse) ToJsonString ¶
func (r *CreateIotDataTypeResponse) ToJsonString() string
type CreateIotModelRequest ¶
type CreateIotModelRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 物模型json串
IotModel *string `json:"IotModel,omitempty" name:"IotModel"`
}
func NewCreateIotModelRequest ¶
func NewCreateIotModelRequest() (request *CreateIotModelRequest)
func (*CreateIotModelRequest) FromJsonString ¶
func (r *CreateIotModelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIotModelRequest) ToJsonString ¶
func (r *CreateIotModelRequest) ToJsonString() string
type CreateIotModelResponse ¶
type CreateIotModelResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateIotModelResponse ¶
func NewCreateIotModelResponse() (response *CreateIotModelResponse)
func (*CreateIotModelResponse) FromJsonString ¶
func (r *CreateIotModelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIotModelResponse) ToJsonString ¶
func (r *CreateIotModelResponse) ToJsonString() string
type CreateProductRequest ¶
type CreateProductRequest struct {
*tchttp.BaseRequest
// 产器型号(APP产品,为APP包名)
ProductModel *string `json:"ProductModel,omitempty" name:"ProductModel"`
// 产品名称
// 仅支持中文、英文、数字、下划线,不超过32个字符
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品描述信息
// 不支持单引号、双引号、退格符、回车符、换行符、制表符、反斜杠、下划线、“%”、“#”、“$”,不超过128字符
ProductDescription *string `json:"ProductDescription,omitempty" name:"ProductDescription"`
// 设备功能码(ypsxth:音频双向通话 ,spdxth:视频单向通话)
Features []*string `json:"Features,omitempty" name:"Features" list`
// 主芯片产商ID
ChipManufactureId *string `json:"ChipManufactureId,omitempty" name:"ChipManufactureId"`
// 主芯片ID
ChipId *string `json:"ChipId,omitempty" name:"ChipId"`
// 地域:
// China-Mainland(中国大陆)
// China-Hong Kong, Macao and Taiwan(港澳台地区)
// America(美国)
// Europe(欧洲)
// India(印度)
// Other-Overseas(其他境外地区)
ProductRegion *string `json:"ProductRegion,omitempty" name:"ProductRegion"`
// 设备类型, 0-普通视频设备,1-NVR设备
ProductCate *uint64 `json:"ProductCate,omitempty" name:"ProductCate"`
// 接入模型,bit0是0:公版小程序未接入,bit0是1:公版小程序已接入
AccessMode *int64 `json:"AccessMode,omitempty" name:"AccessMode"`
// Linux,Android,Liteos等系统
Os *string `json:"Os,omitempty" name:"Os"`
// 芯片架构,只是针对操作系统为android的
ChipArch *string `json:"ChipArch,omitempty" name:"ChipArch"`
}
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 *ProductBase `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 CreateStorageRequest ¶
type CreateStorageRequest struct {
*tchttp.BaseRequest
// 云存套餐ID
PkgId *string `json:"PkgId,omitempty" name:"PkgId"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 用户唯一标识,由厂商保证内部唯一性
UserTag *string `json:"UserTag,omitempty" name:"UserTag"`
}
func NewCreateStorageRequest ¶
func NewCreateStorageRequest() (request *CreateStorageRequest)
func (*CreateStorageRequest) FromJsonString ¶
func (r *CreateStorageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStorageRequest) ToJsonString ¶
func (r *CreateStorageRequest) ToJsonString() string
type CreateStorageResponse ¶
type CreateStorageResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateStorageResponse ¶
func NewCreateStorageResponse() (response *CreateStorageResponse)
func (*CreateStorageResponse) FromJsonString ¶
func (r *CreateStorageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStorageResponse) ToJsonString ¶
func (r *CreateStorageResponse) ToJsonString() string
type CreateStorageServiceRequest ¶
type CreateStorageServiceRequest struct {
*tchttp.BaseRequest
// 云存套餐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天存储周套餐。
PkgId *string `json:"PkgId,omitempty" name:"PkgId"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 订单数量,可一次性创建多个订单
OrderCount *int64 `json:"OrderCount,omitempty" name:"OrderCount"`
// 云存服务所在的区域,如ap-guangzhou,ap-singapore, na-siliconvalley, eu-frankfurt
StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`
// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
ChnNum *int64 `json:"ChnNum,omitempty" name:"ChnNum"`
// 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 服务生效时间,若不指定此参数,服务立即生效
EnableTime *int64 `json:"EnableTime,omitempty" name:"EnableTime"`
}
func NewCreateStorageServiceRequest ¶
func NewCreateStorageServiceRequest() (request *CreateStorageServiceRequest)
func (*CreateStorageServiceRequest) FromJsonString ¶
func (r *CreateStorageServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStorageServiceRequest) ToJsonString ¶
func (r *CreateStorageServiceRequest) ToJsonString() string
type CreateStorageServiceResponse ¶
type CreateStorageServiceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 标志是否为续订
IsRenew *bool `json:"IsRenew,omitempty" name:"IsRenew"`
// 云存服务ID
ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
// 云存服务所在的区域
StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
ChnNum *int64 `json:"ChnNum,omitempty" name:"ChnNum"`
// 终端用户在IoT Video平台的注册ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 服务开始时间
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 服务失效时间
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// 服务状态
// 1:正常使用中
// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
// 3:已过期。查询不到设备保存在云端的数据。
// 4:等待服务生效。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 新增的云存定单列表
Data []*StorageOrder `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateStorageServiceResponse ¶
func NewCreateStorageServiceResponse() (response *CreateStorageServiceResponse)
func (*CreateStorageServiceResponse) FromJsonString ¶
func (r *CreateStorageServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStorageServiceResponse) ToJsonString ¶
func (r *CreateStorageServiceResponse) ToJsonString() string
type CreateTraceIdsRequest ¶
type CreateTraceIdsRequest struct {
*tchttp.BaseRequest
// 设备TID列表
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewCreateTraceIdsRequest ¶
func NewCreateTraceIdsRequest() (request *CreateTraceIdsRequest)
func (*CreateTraceIdsRequest) FromJsonString ¶
func (r *CreateTraceIdsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTraceIdsRequest) ToJsonString ¶
func (r *CreateTraceIdsRequest) ToJsonString() string
type CreateTraceIdsResponse ¶
type CreateTraceIdsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateTraceIdsResponse ¶
func NewCreateTraceIdsResponse() (response *CreateTraceIdsResponse)
func (*CreateTraceIdsResponse) FromJsonString ¶
func (r *CreateTraceIdsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTraceIdsResponse) ToJsonString ¶
func (r *CreateTraceIdsResponse) ToJsonString() string
type CreateUploadPathRequest ¶
type CreateUploadPathRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件文件名
FileName *string `json:"FileName,omitempty" name:"FileName"`
}
func NewCreateUploadPathRequest ¶
func NewCreateUploadPathRequest() (request *CreateUploadPathRequest)
func (*CreateUploadPathRequest) FromJsonString ¶
func (r *CreateUploadPathRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUploadPathRequest) ToJsonString ¶
func (r *CreateUploadPathRequest) ToJsonString() string
type CreateUploadPathResponse ¶
type CreateUploadPathResponse struct {
*tchttp.BaseResponse
Response *struct {
// 固件上传地址URL,用户可将本地的固件文件通过该URL以PUT的请求方式上传。
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateUploadPathResponse ¶
func NewCreateUploadPathResponse() (response *CreateUploadPathResponse)
func (*CreateUploadPathResponse) FromJsonString ¶
func (r *CreateUploadPathResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUploadPathResponse) ToJsonString ¶
func (r *CreateUploadPathResponse) ToJsonString() string
type CreateUsrTokenRequest ¶
type CreateUsrTokenRequest struct {
*tchttp.BaseRequest
// 终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 终端唯一ID,用于区分同一个用户的多个终端
UniqueId *string `json:"UniqueId,omitempty" name:"UniqueId"`
// Token的TTL(time to alive)分钟数
TtlMinutes *uint64 `json:"TtlMinutes,omitempty" name:"TtlMinutes"`
// 旧的AccessToken。续期Token时,此参数为必须。
OldAccessToken *string `json:"OldAccessToken,omitempty" name:"OldAccessToken"`
}
func NewCreateUsrTokenRequest ¶
func NewCreateUsrTokenRequest() (request *CreateUsrTokenRequest)
func (*CreateUsrTokenRequest) FromJsonString ¶
func (r *CreateUsrTokenRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUsrTokenRequest) ToJsonString ¶
func (r *CreateUsrTokenRequest) ToJsonString() string
type CreateUsrTokenResponse ¶
type CreateUsrTokenResponse struct {
*tchttp.BaseResponse
Response *struct {
// 终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// IoT Video平台的AccessToken
AccessToken *string `json:"AccessToken,omitempty" name:"AccessToken"`
// Token的过期时间,单位秒(UTC时间)
ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 终端ID
TerminalId *string `json:"TerminalId,omitempty" name:"TerminalId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateUsrTokenResponse ¶
func NewCreateUsrTokenResponse() (response *CreateUsrTokenResponse)
func (*CreateUsrTokenResponse) FromJsonString ¶
func (r *CreateUsrTokenResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUsrTokenResponse) ToJsonString ¶
func (r *CreateUsrTokenResponse) ToJsonString() string
type Data ¶
type Data struct {
// 直播协议
// 注意:此字段可能返回 null,表示取不到有效值。
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 流媒体播放地址
// 注意:此字段可能返回 null,表示取不到有效值。
URI *string `json:"URI,omitempty" name:"URI"`
// 流媒体地址过期时间
// 注意:此字段可能返回 null,表示取不到有效值。
ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 视频编码
// 注意:此字段可能返回 null,表示取不到有效值。
VideoCodec *string `json:"VideoCodec,omitempty" name:"VideoCodec"`
// 音频编码
// 注意:此字段可能返回 null,表示取不到有效值。
AudioCodec *string `json:"AudioCodec,omitempty" name:"AudioCodec"`
}
type DeleteAppUsrRequest ¶
type DeleteAppUsrRequest struct {
*tchttp.BaseRequest
// 客户的终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
}
func NewDeleteAppUsrRequest ¶
func NewDeleteAppUsrRequest() (request *DeleteAppUsrRequest)
func (*DeleteAppUsrRequest) FromJsonString ¶
func (r *DeleteAppUsrRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAppUsrRequest) ToJsonString ¶
func (r *DeleteAppUsrRequest) ToJsonString() string
type DeleteAppUsrResponse ¶
type DeleteAppUsrResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteAppUsrResponse ¶
func NewDeleteAppUsrResponse() (response *DeleteAppUsrResponse)
func (*DeleteAppUsrResponse) FromJsonString ¶
func (r *DeleteAppUsrResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAppUsrResponse) ToJsonString ¶
func (r *DeleteAppUsrResponse) ToJsonString() string
type DeleteBindingRequest ¶
type DeleteBindingRequest struct {
*tchttp.BaseRequest
// 终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 用户角色,owner:主人,guest:访客
Role *string `json:"Role,omitempty" name:"Role"`
}
func NewDeleteBindingRequest ¶
func NewDeleteBindingRequest() (request *DeleteBindingRequest)
func (*DeleteBindingRequest) FromJsonString ¶
func (r *DeleteBindingRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBindingRequest) ToJsonString ¶
func (r *DeleteBindingRequest) ToJsonString() string
type DeleteBindingResponse ¶
type DeleteBindingResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteBindingResponse ¶
func NewDeleteBindingResponse() (response *DeleteBindingResponse)
func (*DeleteBindingResponse) FromJsonString ¶
func (r *DeleteBindingResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBindingResponse) ToJsonString ¶
func (r *DeleteBindingResponse) ToJsonString() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct {
*tchttp.BaseRequest
// 设备TID列表
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
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 DeleteIotDataTypeRequest ¶
type DeleteIotDataTypeRequest struct {
*tchttp.BaseRequest
// 自定义数据类型的标识符
TypeId *string `json:"TypeId,omitempty" name:"TypeId"`
}
func NewDeleteIotDataTypeRequest ¶
func NewDeleteIotDataTypeRequest() (request *DeleteIotDataTypeRequest)
func (*DeleteIotDataTypeRequest) FromJsonString ¶
func (r *DeleteIotDataTypeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIotDataTypeRequest) ToJsonString ¶
func (r *DeleteIotDataTypeRequest) ToJsonString() string
type DeleteIotDataTypeResponse ¶
type DeleteIotDataTypeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteIotDataTypeResponse ¶
func NewDeleteIotDataTypeResponse() (response *DeleteIotDataTypeResponse)
func (*DeleteIotDataTypeResponse) FromJsonString ¶
func (r *DeleteIotDataTypeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIotDataTypeResponse) ToJsonString ¶
func (r *DeleteIotDataTypeResponse) ToJsonString() string
type DeleteMessageQueueRequest ¶
type DeleteMessageQueueRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDeleteMessageQueueRequest ¶
func NewDeleteMessageQueueRequest() (request *DeleteMessageQueueRequest)
func (*DeleteMessageQueueRequest) FromJsonString ¶
func (r *DeleteMessageQueueRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMessageQueueRequest) ToJsonString ¶
func (r *DeleteMessageQueueRequest) ToJsonString() string
type DeleteMessageQueueResponse ¶
type DeleteMessageQueueResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMessageQueueResponse ¶
func NewDeleteMessageQueueResponse() (response *DeleteMessageQueueResponse)
func (*DeleteMessageQueueResponse) FromJsonString ¶
func (r *DeleteMessageQueueResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMessageQueueResponse) ToJsonString ¶
func (r *DeleteMessageQueueResponse) ToJsonString() string
type DeleteOtaVersionRequest ¶
type DeleteOtaVersionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
}
func NewDeleteOtaVersionRequest ¶
func NewDeleteOtaVersionRequest() (request *DeleteOtaVersionRequest)
func (*DeleteOtaVersionRequest) FromJsonString ¶
func (r *DeleteOtaVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOtaVersionRequest) ToJsonString ¶
func (r *DeleteOtaVersionRequest) ToJsonString() string
type DeleteOtaVersionResponse ¶
type DeleteOtaVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteOtaVersionResponse ¶
func NewDeleteOtaVersionResponse() (response *DeleteOtaVersionResponse)
func (*DeleteOtaVersionResponse) FromJsonString ¶
func (r *DeleteOtaVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOtaVersionResponse) ToJsonString ¶
func (r *DeleteOtaVersionResponse) 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 DeleteTraceIdsRequest ¶
type DeleteTraceIdsRequest struct {
*tchttp.BaseRequest
// 设备TID列表
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewDeleteTraceIdsRequest ¶
func NewDeleteTraceIdsRequest() (request *DeleteTraceIdsRequest)
func (*DeleteTraceIdsRequest) FromJsonString ¶
func (r *DeleteTraceIdsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTraceIdsRequest) ToJsonString ¶
func (r *DeleteTraceIdsRequest) ToJsonString() string
type DeleteTraceIdsResponse ¶
type DeleteTraceIdsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteTraceIdsResponse ¶
func NewDeleteTraceIdsResponse() (response *DeleteTraceIdsResponse)
func (*DeleteTraceIdsResponse) FromJsonString ¶
func (r *DeleteTraceIdsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTraceIdsResponse) ToJsonString ¶
func (r *DeleteTraceIdsResponse) ToJsonString() string
type DeliverStorageServiceRequest ¶
type DeliverStorageServiceRequest struct {
*tchttp.BaseRequest
// 待转移的源云存服务ID
SrcServiceId *string `json:"SrcServiceId,omitempty" name:"SrcServiceId"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
ChnNum *int64 `json:"ChnNum,omitempty" name:"ChnNum"`
// 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
}
func NewDeliverStorageServiceRequest ¶
func NewDeliverStorageServiceRequest() (request *DeliverStorageServiceRequest)
func (*DeliverStorageServiceRequest) FromJsonString ¶
func (r *DeliverStorageServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeliverStorageServiceRequest) ToJsonString ¶
func (r *DeliverStorageServiceRequest) ToJsonString() string
type DeliverStorageServiceResponse ¶
type DeliverStorageServiceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 被转出的云存服务ID
SrcServiceId *string `json:"SrcServiceId,omitempty" name:"SrcServiceId"`
// 被转入的云存服务ID
ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
// 云存服务所在的区域
StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
ChnNum *int64 `json:"ChnNum,omitempty" name:"ChnNum"`
// 终端用户在IoT Video平台的注册ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 服务开始时间
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 服务失效时间
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// 服务状态
// 1:正常使用中
// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
// 3:已过期。查询不到设备保存在云端的数据。
// 4:等待服务生效。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 新增的云存定单列表
Data []*StorageOrder `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeliverStorageServiceResponse ¶
func NewDeliverStorageServiceResponse() (response *DeliverStorageServiceResponse)
func (*DeliverStorageServiceResponse) FromJsonString ¶
func (r *DeliverStorageServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeliverStorageServiceResponse) ToJsonString ¶
func (r *DeliverStorageServiceResponse) ToJsonString() string
type DescribeAccountBalanceRequest ¶
type DescribeAccountBalanceRequest struct {
*tchttp.BaseRequest
// 账户类型 1:设备接入 2:云存
AccountType *int64 `json:"AccountType,omitempty" name:"AccountType"`
}
func NewDescribeAccountBalanceRequest ¶
func NewDescribeAccountBalanceRequest() (request *DescribeAccountBalanceRequest)
func (*DescribeAccountBalanceRequest) FromJsonString ¶
func (r *DescribeAccountBalanceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountBalanceRequest) ToJsonString ¶
func (r *DescribeAccountBalanceRequest) ToJsonString() string
type DescribeAccountBalanceResponse ¶
type DescribeAccountBalanceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 账户类型 1=设备接入;2=云存。
// 注意:此字段可能返回 null,表示取不到有效值。
AccountType *int64 `json:"AccountType,omitempty" name:"AccountType"`
// 余额, 单位 : 分(人民币)。
// 注意:此字段可能返回 null,表示取不到有效值。
Balance *int64 `json:"Balance,omitempty" name:"Balance"`
// 账户状态,1=正常;8=冻结;9=销户。
// 注意:此字段可能返回 null,表示取不到有效值。
State *int64 `json:"State,omitempty" name:"State"`
// 最后修改时间,UTC值。
// 注意:此字段可能返回 null,表示取不到有效值。
LastUpdateTime *int64 `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAccountBalanceResponse ¶
func NewDescribeAccountBalanceResponse() (response *DescribeAccountBalanceResponse)
func (*DescribeAccountBalanceResponse) FromJsonString ¶
func (r *DescribeAccountBalanceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountBalanceResponse) ToJsonString ¶
func (r *DescribeAccountBalanceResponse) ToJsonString() string
type DescribeBindDevRequest ¶
type DescribeBindDevRequest struct {
*tchttp.BaseRequest
// 终端用户在IoT Video上的唯一标识ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
}
func NewDescribeBindDevRequest ¶
func NewDescribeBindDevRequest() (request *DescribeBindDevRequest)
func (*DescribeBindDevRequest) FromJsonString ¶
func (r *DescribeBindDevRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindDevRequest) ToJsonString ¶
func (r *DescribeBindDevRequest) ToJsonString() string
type DescribeBindDevResponse ¶
type DescribeBindDevResponse struct {
*tchttp.BaseResponse
Response *struct {
// 绑定的设备列表信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*BindDevInfo `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeBindDevResponse ¶
func NewDescribeBindDevResponse() (response *DescribeBindDevResponse)
func (*DescribeBindDevResponse) FromJsonString ¶
func (r *DescribeBindDevResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindDevResponse) ToJsonString ¶
func (r *DescribeBindDevResponse) ToJsonString() string
type DescribeBindUsrRequest ¶
type DescribeBindUsrRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 设备主人的AccessId
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
}
func NewDescribeBindUsrRequest ¶
func NewDescribeBindUsrRequest() (request *DescribeBindUsrRequest)
func (*DescribeBindUsrRequest) FromJsonString ¶
func (r *DescribeBindUsrRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindUsrRequest) ToJsonString ¶
func (r *DescribeBindUsrRequest) ToJsonString() string
type DescribeBindUsrResponse ¶
type DescribeBindUsrResponse struct {
*tchttp.BaseResponse
Response *struct {
// 具有绑定关系的终端用户信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*BindUsrInfo `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeBindUsrResponse ¶
func NewDescribeBindUsrResponse() (response *DescribeBindUsrResponse)
func (*DescribeBindUsrResponse) FromJsonString ¶
func (r *DescribeBindUsrResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindUsrResponse) ToJsonString ¶
func (r *DescribeBindUsrResponse) ToJsonString() string
type DescribeDeviceModelRequest ¶
type DescribeDeviceModelRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 物模型的分支路径
Branch *string `json:"Branch,omitempty" name:"Branch"`
}
func NewDescribeDeviceModelRequest ¶
func NewDescribeDeviceModelRequest() (request *DescribeDeviceModelRequest)
func (*DescribeDeviceModelRequest) FromJsonString ¶
func (r *DescribeDeviceModelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceModelRequest) ToJsonString ¶
func (r *DescribeDeviceModelRequest) ToJsonString() string
type DescribeDeviceModelResponse ¶
type DescribeDeviceModelResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备物模型信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data *DeviceModelData `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDeviceModelResponse ¶
func NewDescribeDeviceModelResponse() (response *DescribeDeviceModelResponse)
func (*DescribeDeviceModelResponse) FromJsonString ¶
func (r *DescribeDeviceModelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceModelResponse) ToJsonString ¶
func (r *DescribeDeviceModelResponse) ToJsonString() string
type DescribeDeviceRequest ¶
type DescribeDeviceRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
}
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 {
// 设备信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data *DeviceData `json:"Data,omitempty" name:"Data"`
// 唯一请求 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"`
// 是否返回全量数据
// 当该值为false时,返回值中的设备物模型、固件版本、在线状态、最后在线时间字段等字段,都将返回数据类型的零值。
ReturnModel *bool `json:"ReturnModel,omitempty" name:"ReturnModel"`
// 分页数量,0<取值范围<=100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页偏移,取值>0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 指定固件版本号,为空查询此产品下所有设备
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 设备名称,支持左前缀模糊匹配
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 {
// 设备信息 列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DevicesData `json:"Data,omitempty" name:"Data" list`
// 设备总数
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 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 DescribeIotDataTypeRequest ¶
type DescribeIotDataTypeRequest struct {
*tchttp.BaseRequest
// 自定义数据类型的标识符,为空则返回全量自定义类型的列表
TypeId *string `json:"TypeId,omitempty" name:"TypeId"`
}
func NewDescribeIotDataTypeRequest ¶
func NewDescribeIotDataTypeRequest() (request *DescribeIotDataTypeRequest)
func (*DescribeIotDataTypeRequest) FromJsonString ¶
func (r *DescribeIotDataTypeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIotDataTypeRequest) ToJsonString ¶
func (r *DescribeIotDataTypeRequest) ToJsonString() string
type DescribeIotDataTypeResponse ¶
type DescribeIotDataTypeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 自定义数据类型,json格式的字符串
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*string `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeIotDataTypeResponse ¶
func NewDescribeIotDataTypeResponse() (response *DescribeIotDataTypeResponse)
func (*DescribeIotDataTypeResponse) FromJsonString ¶
func (r *DescribeIotDataTypeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIotDataTypeResponse) ToJsonString ¶
func (r *DescribeIotDataTypeResponse) ToJsonString() string
type DescribeIotModelRequest ¶
type DescribeIotModelRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 物模型版本号, -1表示最新编辑的(未发布)
Revision *int64 `json:"Revision,omitempty" name:"Revision"`
}
func NewDescribeIotModelRequest ¶
func NewDescribeIotModelRequest() (request *DescribeIotModelRequest)
func (*DescribeIotModelRequest) FromJsonString ¶
func (r *DescribeIotModelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIotModelRequest) ToJsonString ¶
func (r *DescribeIotModelRequest) ToJsonString() string
type DescribeIotModelResponse ¶
type DescribeIotModelResponse struct {
*tchttp.BaseResponse
Response *struct {
// 物模型定义,json格式的字符串
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeIotModelResponse ¶
func NewDescribeIotModelResponse() (response *DescribeIotModelResponse)
func (*DescribeIotModelResponse) FromJsonString ¶
func (r *DescribeIotModelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIotModelResponse) ToJsonString ¶
func (r *DescribeIotModelResponse) ToJsonString() string
type DescribeIotModelsRequest ¶
type DescribeIotModelsRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDescribeIotModelsRequest ¶
func NewDescribeIotModelsRequest() (request *DescribeIotModelsRequest)
func (*DescribeIotModelsRequest) FromJsonString ¶
func (r *DescribeIotModelsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIotModelsRequest) ToJsonString ¶
func (r *DescribeIotModelsRequest) ToJsonString() string
type DescribeIotModelsResponse ¶
type DescribeIotModelsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 历史版本列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*IotModelData `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeIotModelsResponse ¶
func NewDescribeIotModelsResponse() (response *DescribeIotModelsResponse)
func (*DescribeIotModelsResponse) FromJsonString ¶
func (r *DescribeIotModelsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIotModelsResponse) ToJsonString ¶
func (r *DescribeIotModelsResponse) ToJsonString() string
type DescribeLogsRequest ¶
type DescribeLogsRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 当前分页的最大条数,0<取值范围<=100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页偏移量,取值范围>0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 日志类型 1.在线状态变更 2.ProConst变更 3.ProWritable变更 4.Action控制 5.ProReadonly变更 6.Event事件
LogType *uint64 `json:"LogType,omitempty" name:"LogType"`
// 查询的起始时间 UNIX时间戳,单位秒
StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"`
// 物模型对象索引,用于模糊查询,字符长度<=255,每层节点的字符长度<=16
DataObject *string `json:"DataObject,omitempty" name:"DataObject"`
// 查询的结束时间 UNIX时间戳,单位秒
EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribeLogsRequest ¶
func NewDescribeLogsRequest() (request *DescribeLogsRequest)
func (*DescribeLogsRequest) FromJsonString ¶
func (r *DescribeLogsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogsRequest) ToJsonString ¶
func (r *DescribeLogsRequest) ToJsonString() string
type DescribeLogsResponse ¶
type DescribeLogsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备日志信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*LogData `json:"Data,omitempty" name:"Data" list`
// Data数组所包含的信息条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeLogsResponse ¶
func NewDescribeLogsResponse() (response *DescribeLogsResponse)
func (*DescribeLogsResponse) FromJsonString ¶
func (r *DescribeLogsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogsResponse) ToJsonString ¶
func (r *DescribeLogsResponse) ToJsonString() string
type DescribeMessageQueueRequest ¶
type DescribeMessageQueueRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDescribeMessageQueueRequest ¶
func NewDescribeMessageQueueRequest() (request *DescribeMessageQueueRequest)
func (*DescribeMessageQueueRequest) FromJsonString ¶
func (r *DescribeMessageQueueRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMessageQueueRequest) ToJsonString ¶
func (r *DescribeMessageQueueRequest) ToJsonString() string
type DescribeMessageQueueResponse ¶
type DescribeMessageQueueResponse struct {
*tchttp.BaseResponse
Response *struct {
// 消息队列配置
// 注意:此字段可能返回 null,表示取不到有效值。
Data *MsgQueueData `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeMessageQueueResponse ¶
func NewDescribeMessageQueueResponse() (response *DescribeMessageQueueResponse)
func (*DescribeMessageQueueResponse) FromJsonString ¶
func (r *DescribeMessageQueueResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMessageQueueResponse) ToJsonString ¶
func (r *DescribeMessageQueueResponse) ToJsonString() string
type DescribeModelDataRetRequest ¶
type DescribeModelDataRetRequest struct {
*tchttp.BaseRequest
// 任务ID
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}
func NewDescribeModelDataRetRequest ¶
func NewDescribeModelDataRetRequest() (request *DescribeModelDataRetRequest)
func (*DescribeModelDataRetRequest) FromJsonString ¶
func (r *DescribeModelDataRetRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelDataRetRequest) ToJsonString ¶
func (r *DescribeModelDataRetRequest) ToJsonString() string
type DescribeModelDataRetResponse ¶
type DescribeModelDataRetResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备响应结果
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeModelDataRetResponse ¶
func NewDescribeModelDataRetResponse() (response *DescribeModelDataRetResponse)
func (*DescribeModelDataRetResponse) FromJsonString ¶
func (r *DescribeModelDataRetResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelDataRetResponse) ToJsonString ¶
func (r *DescribeModelDataRetResponse) ToJsonString() string
type DescribeOsListRequest ¶
type DescribeOsListRequest struct {
*tchttp.BaseRequest
}
func NewDescribeOsListRequest ¶
func NewDescribeOsListRequest() (request *DescribeOsListRequest)
func (*DescribeOsListRequest) FromJsonString ¶
func (r *DescribeOsListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOsListRequest) ToJsonString ¶
func (r *DescribeOsListRequest) ToJsonString() string
type DescribeOsListResponse ¶
type DescribeOsListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 系统类型
// 注意:此字段可能返回 null,表示取不到有效值。
Data *SystemType `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeOsListResponse ¶
func NewDescribeOsListResponse() (response *DescribeOsListResponse)
func (*DescribeOsListResponse) FromJsonString ¶
func (r *DescribeOsListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOsListResponse) ToJsonString ¶
func (r *DescribeOsListResponse) ToJsonString() string
type DescribeOtaVersionsRequest ¶
type DescribeOtaVersionsRequest struct {
*tchttp.BaseRequest
// 分页偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 每页数量,0<取值范围<=100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 产品ID,为空时查询客户所有产品的版本信息
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 版本号,支持模糊匹配
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 版本类型 1未发布 2测试发布 3正式发布 4禁用
PubStatus *uint64 `json:"PubStatus,omitempty" name:"PubStatus"`
}
func NewDescribeOtaVersionsRequest ¶
func NewDescribeOtaVersionsRequest() (request *DescribeOtaVersionsRequest)
func (*DescribeOtaVersionsRequest) FromJsonString ¶
func (r *DescribeOtaVersionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOtaVersionsRequest) ToJsonString ¶
func (r *DescribeOtaVersionsRequest) ToJsonString() string
type DescribeOtaVersionsResponse ¶
type DescribeOtaVersionsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 版本数量
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 版本详细信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*VersionData `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeOtaVersionsResponse ¶
func NewDescribeOtaVersionsResponse() (response *DescribeOtaVersionsResponse)
func (*DescribeOtaVersionsResponse) FromJsonString ¶
func (r *DescribeOtaVersionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOtaVersionsResponse) ToJsonString ¶
func (r *DescribeOtaVersionsResponse) 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 {
// 产品详情
// 注意:此字段可能返回 null,表示取不到有效值。
Data *ProductData `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
// 分页大小,当前页面中显示的最大数量,值范围 1-100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页偏移,Offset从0开始
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 产器型号(APP产品,为APP包名)
ProductModel *string `json:"ProductModel,omitempty" name:"ProductModel"`
// 开始时间 ,UNIX 时间戳,单位秒
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间 ,UNIX 时间戳,单位秒
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
}
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 {
// 产品详细信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*ProductData `json:"Data,omitempty" name:"Data" list`
// 产品总数
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 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 DescribePubVersionsRequest ¶
type DescribePubVersionsRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDescribePubVersionsRequest ¶
func NewDescribePubVersionsRequest() (request *DescribePubVersionsRequest)
func (*DescribePubVersionsRequest) FromJsonString ¶
func (r *DescribePubVersionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePubVersionsRequest) ToJsonString ¶
func (r *DescribePubVersionsRequest) ToJsonString() string
type DescribePubVersionsResponse ¶
type DescribePubVersionsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 历史发布的版本列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*OtaPubHistory `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePubVersionsResponse ¶
func NewDescribePubVersionsResponse() (response *DescribePubVersionsResponse)
func (*DescribePubVersionsResponse) FromJsonString ¶
func (r *DescribePubVersionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePubVersionsResponse) ToJsonString ¶
func (r *DescribePubVersionsResponse) ToJsonString() string
type DescribeRechargeRecordsRequest ¶
type DescribeRechargeRecordsRequest struct {
*tchttp.BaseRequest
// 账户类型 1:设备接入 2:云存。
AccountType *int64 `json:"AccountType,omitempty" name:"AccountType"`
// 从第几条记录开始显示, 默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 总共查询多少条记录,默认为值50。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeRechargeRecordsRequest ¶
func NewDescribeRechargeRecordsRequest() (request *DescribeRechargeRecordsRequest)
func (*DescribeRechargeRecordsRequest) FromJsonString ¶
func (r *DescribeRechargeRecordsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRechargeRecordsRequest) ToJsonString ¶
func (r *DescribeRechargeRecordsRequest) ToJsonString() string
type DescribeRechargeRecordsResponse ¶
type DescribeRechargeRecordsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 账户类型 1:设备接入 2:云存
// 注意:此字段可能返回 null,表示取不到有效值。
AccountType *int64 `json:"AccountType,omitempty" name:"AccountType"`
// 充值记录列表
// 注意:此字段可能返回 null,表示取不到有效值。
Records []*RechargeRecord `json:"Records,omitempty" name:"Records" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeRechargeRecordsResponse ¶
func NewDescribeRechargeRecordsResponse() (response *DescribeRechargeRecordsResponse)
func (*DescribeRechargeRecordsResponse) FromJsonString ¶
func (r *DescribeRechargeRecordsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRechargeRecordsResponse) ToJsonString ¶
func (r *DescribeRechargeRecordsResponse) ToJsonString() string
type DescribeRegistrationStatusRequest ¶
type DescribeRegistrationStatusRequest struct {
*tchttp.BaseRequest
// 终端用户的唯一ID列表,0<元素数量<=100
CunionIds []*string `json:"CunionIds,omitempty" name:"CunionIds" list`
}
func NewDescribeRegistrationStatusRequest ¶
func NewDescribeRegistrationStatusRequest() (request *DescribeRegistrationStatusRequest)
func (*DescribeRegistrationStatusRequest) FromJsonString ¶
func (r *DescribeRegistrationStatusRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegistrationStatusRequest) ToJsonString ¶
func (r *DescribeRegistrationStatusRequest) ToJsonString() string
type DescribeRegistrationStatusResponse ¶
type DescribeRegistrationStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// 终端用户注册状态列表
Data []*RegisteredStatus `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeRegistrationStatusResponse ¶
func NewDescribeRegistrationStatusResponse() (response *DescribeRegistrationStatusResponse)
func (*DescribeRegistrationStatusResponse) FromJsonString ¶
func (r *DescribeRegistrationStatusResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegistrationStatusResponse) ToJsonString ¶
func (r *DescribeRegistrationStatusResponse) ToJsonString() string
type DescribeRunLogRequest ¶
type DescribeRunLogRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
}
func NewDescribeRunLogRequest ¶
func NewDescribeRunLogRequest() (request *DescribeRunLogRequest)
func (*DescribeRunLogRequest) FromJsonString ¶
func (r *DescribeRunLogRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRunLogRequest) ToJsonString ¶
func (r *DescribeRunLogRequest) ToJsonString() string
type DescribeRunLogResponse ¶
type DescribeRunLogResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备运行日志文本信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeRunLogResponse ¶
func NewDescribeRunLogResponse() (response *DescribeRunLogResponse)
func (*DescribeRunLogResponse) FromJsonString ¶
func (r *DescribeRunLogResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRunLogResponse) ToJsonString ¶
func (r *DescribeRunLogResponse) ToJsonString() string
type DescribeStorageServiceRequest ¶
type DescribeStorageServiceRequest struct {
*tchttp.BaseRequest
// 云存服务ID
ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
// 是否返回已结束的订单信息(已过期/已退订/已转移)
GetFinishedOrder *bool `json:"GetFinishedOrder,omitempty" name:"GetFinishedOrder"`
}
func NewDescribeStorageServiceRequest ¶
func NewDescribeStorageServiceRequest() (request *DescribeStorageServiceRequest)
func (*DescribeStorageServiceRequest) FromJsonString ¶
func (r *DescribeStorageServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageServiceRequest) ToJsonString ¶
func (r *DescribeStorageServiceRequest) ToJsonString() string
type DescribeStorageServiceResponse ¶
type DescribeStorageServiceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 云存服务ID
ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
// 云存服务所在的区域
StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
ChnNum *int64 `json:"ChnNum,omitempty" name:"ChnNum"`
// 终端用户在IoT Video平台的注册ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 服务开始时间
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 服务失效时间
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// 服务状态
// 1:正常使用中
// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
// 3:已过期。查询不到设备保存在云端的数据。
// 4:等待服务生效。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 云存定单列表
Data []*StorageOrder `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStorageServiceResponse ¶
func NewDescribeStorageServiceResponse() (response *DescribeStorageServiceResponse)
func (*DescribeStorageServiceResponse) FromJsonString ¶
func (r *DescribeStorageServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageServiceResponse) ToJsonString ¶
func (r *DescribeStorageServiceResponse) ToJsonString() string
type DescribeStreamRequest ¶
type DescribeStreamRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 终端用户ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 直播协议, 可选值:RTSP、RTMP、HLS、HLS-fmp4
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 音视频流地址
Address *string `json:"Address,omitempty" name:"Address"`
// 设备访问token,访问用户未绑定的设备时,需提供该参数
AccessToken *string `json:"AccessToken,omitempty" name:"AccessToken"`
}
func NewDescribeStreamRequest ¶
func NewDescribeStreamRequest() (request *DescribeStreamRequest)
func (*DescribeStreamRequest) FromJsonString ¶
func (r *DescribeStreamRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamRequest) ToJsonString ¶
func (r *DescribeStreamRequest) ToJsonString() string
type DescribeStreamResponse ¶
type DescribeStreamResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回参数结构
// 注意:此字段可能返回 null,表示取不到有效值。
Data *Data `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStreamResponse ¶
func NewDescribeStreamResponse() (response *DescribeStreamResponse)
func (*DescribeStreamResponse) FromJsonString ¶
func (r *DescribeStreamResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamResponse) ToJsonString ¶
func (r *DescribeStreamResponse) ToJsonString() string
type DescribeTraceIdsRequest ¶
type DescribeTraceIdsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeTraceIdsRequest ¶
func NewDescribeTraceIdsRequest() (request *DescribeTraceIdsRequest)
func (*DescribeTraceIdsRequest) FromJsonString ¶
func (r *DescribeTraceIdsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTraceIdsRequest) ToJsonString ¶
func (r *DescribeTraceIdsRequest) ToJsonString() string
type DescribeTraceIdsResponse ¶
type DescribeTraceIdsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备TID列表,列表元素之间以“,”分隔
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTraceIdsResponse ¶
func NewDescribeTraceIdsResponse() (response *DescribeTraceIdsResponse)
func (*DescribeTraceIdsResponse) FromJsonString ¶
func (r *DescribeTraceIdsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTraceIdsResponse) ToJsonString ¶
func (r *DescribeTraceIdsResponse) ToJsonString() string
type DescribeTraceStatusRequest ¶
type DescribeTraceStatusRequest struct {
*tchttp.BaseRequest
// 设备TID列表
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewDescribeTraceStatusRequest ¶
func NewDescribeTraceStatusRequest() (request *DescribeTraceStatusRequest)
func (*DescribeTraceStatusRequest) FromJsonString ¶
func (r *DescribeTraceStatusRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTraceStatusRequest) ToJsonString ¶
func (r *DescribeTraceStatusRequest) ToJsonString() string
type DescribeTraceStatusResponse ¶
type DescribeTraceStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备追踪状态列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TraceStatus `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTraceStatusResponse ¶
func NewDescribeTraceStatusResponse() (response *DescribeTraceStatusResponse)
func (*DescribeTraceStatusResponse) FromJsonString ¶
func (r *DescribeTraceStatusResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTraceStatusResponse) ToJsonString ¶
func (r *DescribeTraceStatusResponse) ToJsonString() string
type DevTokenInfo ¶
type DevTokenInfo struct {
// 客户的终端用户在IotVideo上的唯一标识id
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// IotVideo平台的accessToken
AccessToken *string `json:"AccessToken,omitempty" name:"AccessToken"`
// Token的过期时间,单位秒(UTC时间)
ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"`
}
type DeviceCertificate ¶
type DeviceData ¶
type DeviceData struct {
// 设备TID
// 注意:此字段可能返回 null,表示取不到有效值。
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 激活时间 0代表未激活
// 注意:此字段可能返回 null,表示取不到有效值。
ActiveTime *uint64 `json:"ActiveTime,omitempty" name:"ActiveTime"`
// 设备是否被禁用
// 注意:此字段可能返回 null,表示取不到有效值。
Disabled *bool `json:"Disabled,omitempty" name:"Disabled"`
// 固件版本
// 注意:此字段可能返回 null,表示取不到有效值。
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 设备在线状态
// 注意:此字段可能返回 null,表示取不到有效值。
Online *uint64 `json:"Online,omitempty" name:"Online"`
// 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
// 注意:此字段可能返回 null,表示取不到有效值。
LastOnlineTime *uint64 `json:"LastOnlineTime,omitempty" name:"LastOnlineTime"`
// 物模型json数据
// 注意:此字段可能返回 null,表示取不到有效值。
IotModel *string `json:"IotModel,omitempty" name:"IotModel"`
// 设备名称
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 产品ID
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备初始证书信息,base64编码
// 注意:此字段可能返回 null,表示取不到有效值。
Certificate *string `json:"Certificate,omitempty" name:"Certificate"`
// 设备私钥下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
WhiteBoxSoUrl *string `json:"WhiteBoxSoUrl,omitempty" name:"WhiteBoxSoUrl"`
// 设备推流状态
// 注意:此字段可能返回 null,表示取不到有效值。
StreamStatus *bool `json:"StreamStatus,omitempty" name:"StreamStatus"`
}
type DeviceModelData ¶
type DevicesData ¶
type DevicesData struct {
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 激活时间 0代表未激活
ActiveTime *uint64 `json:"ActiveTime,omitempty" name:"ActiveTime"`
// 设备是否被禁用
Disabled *bool `json:"Disabled,omitempty" name:"Disabled"`
// 设备推流状态
StreamStatus *bool `json:"StreamStatus,omitempty" name:"StreamStatus"`
// 固件版本
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 设备在线状态
Online *uint64 `json:"Online,omitempty" name:"Online"`
// 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
LastOnlineTime *uint64 `json:"LastOnlineTime,omitempty" name:"LastOnlineTime"`
// 物模型json数据
IotModel *string `json:"IotModel,omitempty" name:"IotModel"`
// 设备固件最新更新时间,UNIX时间戳,单位秒
LastUpdateTime *uint64 `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`
}
type DisableDeviceRequest ¶
type DisableDeviceRequest struct {
*tchttp.BaseRequest
// 设备TID ≤100
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewDisableDeviceRequest ¶
func NewDisableDeviceRequest() (request *DisableDeviceRequest)
func (*DisableDeviceRequest) FromJsonString ¶
func (r *DisableDeviceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableDeviceRequest) ToJsonString ¶
func (r *DisableDeviceRequest) ToJsonString() string
type DisableDeviceResponse ¶
type DisableDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDisableDeviceResponse ¶
func NewDisableDeviceResponse() (response *DisableDeviceResponse)
func (*DisableDeviceResponse) FromJsonString ¶
func (r *DisableDeviceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableDeviceResponse) ToJsonString ¶
func (r *DisableDeviceResponse) ToJsonString() string
type DisableDeviceStreamRequest ¶
type DisableDeviceStreamRequest struct {
*tchttp.BaseRequest
// 设备TID列表
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewDisableDeviceStreamRequest ¶
func NewDisableDeviceStreamRequest() (request *DisableDeviceStreamRequest)
func (*DisableDeviceStreamRequest) FromJsonString ¶
func (r *DisableDeviceStreamRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableDeviceStreamRequest) ToJsonString ¶
func (r *DisableDeviceStreamRequest) ToJsonString() string
type DisableDeviceStreamResponse ¶
type DisableDeviceStreamResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDisableDeviceStreamResponse ¶
func NewDisableDeviceStreamResponse() (response *DisableDeviceStreamResponse)
func (*DisableDeviceStreamResponse) FromJsonString ¶
func (r *DisableDeviceStreamResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableDeviceStreamResponse) ToJsonString ¶
func (r *DisableDeviceStreamResponse) ToJsonString() string
type DisableOtaVersionRequest ¶
type DisableOtaVersionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
}
func NewDisableOtaVersionRequest ¶
func NewDisableOtaVersionRequest() (request *DisableOtaVersionRequest)
func (*DisableOtaVersionRequest) FromJsonString ¶
func (r *DisableOtaVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableOtaVersionRequest) ToJsonString ¶
func (r *DisableOtaVersionRequest) ToJsonString() string
type DisableOtaVersionResponse ¶
type DisableOtaVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDisableOtaVersionResponse ¶
func NewDisableOtaVersionResponse() (response *DisableOtaVersionResponse)
func (*DisableOtaVersionResponse) FromJsonString ¶
func (r *DisableOtaVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableOtaVersionResponse) ToJsonString ¶
func (r *DisableOtaVersionResponse) ToJsonString() string
type IotModelData ¶
type LogData ¶
type LogData struct {
// 发生时间 UNIX时间戳,单位秒
Occurtime *uint64 `json:"Occurtime,omitempty" name:"Occurtime"`
// 日志类型 1在线状态变更 2FP变更 3SP变更 4CO控制 5ST变更 6EV事件
LogType *uint64 `json:"LogType,omitempty" name:"LogType"`
// 物模型对象索引
// 注意:此字段可能返回 null,表示取不到有效值。
DataObject *string `json:"DataObject,omitempty" name:"DataObject"`
// 物模型旧值 json串
// 注意:此字段可能返回 null,表示取不到有效值。
OldValue *string `json:"OldValue,omitempty" name:"OldValue"`
// 物模型新值 json串
// 注意:此字段可能返回 null,表示取不到有效值。
NewValue *string `json:"NewValue,omitempty" name:"NewValue"`
}
type ModifyDeviceActionRequest ¶
type ModifyDeviceActionRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 如果设备处于休眠状态,是否唤醒设备
Wakeup *bool `json:"Wakeup,omitempty" name:"Wakeup"`
// 物模型的分支路径
Branch *string `json:"Branch,omitempty" name:"Branch"`
// 写入的物模型数据,如果是json需要转义成字符串
Value *string `json:"Value,omitempty" name:"Value"`
// Value字段的类型是否为数值(float、int)
IsNum *bool `json:"IsNum,omitempty" name:"IsNum"`
}
func NewModifyDeviceActionRequest ¶
func NewModifyDeviceActionRequest() (request *ModifyDeviceActionRequest)
func (*ModifyDeviceActionRequest) FromJsonString ¶
func (r *ModifyDeviceActionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceActionRequest) ToJsonString ¶
func (r *ModifyDeviceActionRequest) ToJsonString() string
type ModifyDeviceActionResponse ¶
type ModifyDeviceActionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备端的响应结果
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 任务ID
// 若设备端未能及时响应时,会返回此字段,用户可以通过DescribeModelDataRet获取设备的最终响应结果。
// 注意:此字段可能返回 null,表示取不到有效值。
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyDeviceActionResponse ¶
func NewModifyDeviceActionResponse() (response *ModifyDeviceActionResponse)
func (*ModifyDeviceActionResponse) FromJsonString ¶
func (r *ModifyDeviceActionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceActionResponse) ToJsonString ¶
func (r *ModifyDeviceActionResponse) ToJsonString() string
type ModifyDevicePropertyRequest ¶
type ModifyDevicePropertyRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 如果设备处于休眠状态,是否唤醒设备
Wakeup *bool `json:"Wakeup,omitempty" name:"Wakeup"`
// 物模型的分支路径
Branch *string `json:"Branch,omitempty" name:"Branch"`
// 写入的物模型数据,如果是json需要转义成字符串
Value *string `json:"Value,omitempty" name:"Value"`
// Value字段是否为数值(float、int)
IsNum *bool `json:"IsNum,omitempty" name:"IsNum"`
}
func NewModifyDevicePropertyRequest ¶
func NewModifyDevicePropertyRequest() (request *ModifyDevicePropertyRequest)
func (*ModifyDevicePropertyRequest) FromJsonString ¶
func (r *ModifyDevicePropertyRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDevicePropertyRequest) ToJsonString ¶
func (r *ModifyDevicePropertyRequest) ToJsonString() string
type ModifyDevicePropertyResponse ¶
type ModifyDevicePropertyResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyDevicePropertyResponse ¶
func NewModifyDevicePropertyResponse() (response *ModifyDevicePropertyResponse)
func (*ModifyDevicePropertyResponse) FromJsonString ¶
func (r *ModifyDevicePropertyResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDevicePropertyResponse) ToJsonString ¶
func (r *ModifyDevicePropertyResponse) ToJsonString() string
type ModifyDeviceRequest ¶
type ModifyDeviceRequest struct {
*tchttp.BaseRequest
// 设备ID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 用户ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 设备昵称,最多不超过64个字符
Nick *string `json:"Nick,omitempty" name:"Nick"`
}
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 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"`
// 主芯片产商ID
ChipManufactureId *string `json:"ChipManufactureId,omitempty" name:"ChipManufactureId"`
// 主芯片ID
ChipId *string `json:"ChipId,omitempty" name:"ChipId"`
}
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 ModifyVerContentRequest ¶
type ModifyVerContentRequest struct {
*tchttp.BaseRequest
// 产品id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 需要修改的版本号
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 操作人,字符长度<=64
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 备注信息
Remark *string `json:"Remark,omitempty" name:"Remark"`
// 版本发布的描述信息,需要国际化,可以为空
Contents *Contents `json:"Contents,omitempty" name:"Contents"`
}
func NewModifyVerContentRequest ¶
func NewModifyVerContentRequest() (request *ModifyVerContentRequest)
func (*ModifyVerContentRequest) FromJsonString ¶
func (r *ModifyVerContentRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVerContentRequest) ToJsonString ¶
func (r *ModifyVerContentRequest) ToJsonString() string
type ModifyVerContentResponse ¶
type ModifyVerContentResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyVerContentResponse ¶
func NewModifyVerContentResponse() (response *ModifyVerContentResponse)
func (*ModifyVerContentResponse) FromJsonString ¶
func (r *ModifyVerContentResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVerContentResponse) ToJsonString ¶
func (r *ModifyVerContentResponse) ToJsonString() string
type MsgQueueData ¶
type MsgQueueData struct {
// 消息队列类型 1:CMQ 2:kafka
MsgQueueType *uint64 `json:"MsgQueueType,omitempty" name:"MsgQueueType"`
// 消息类型列表,整型值(0-31)之间以“,”分隔
MsgType *string `json:"MsgType,omitempty" name:"MsgType"`
// 主题名称
Topic *string `json:"Topic,omitempty" name:"Topic"`
// 实例名称
Instance *string `json:"Instance,omitempty" name:"Instance"`
// 消息地域
MsgRegion *string `json:"MsgRegion,omitempty" name:"MsgRegion"`
}
type OtaPubHistory ¶
type ProductBase ¶
type ProductBase struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产器型号(APP产品,为APP包名)
ProductModel *string `json:"ProductModel,omitempty" name:"ProductModel"`
// 产品名称
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品描述信息
ProductDescription *string `json:"ProductDescription,omitempty" name:"ProductDescription"`
// 创建时间,UNIX 时间戳,单位秒
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 物模型发布版本号,0代表物模型尚未发布
IotModelRevision *uint64 `json:"IotModelRevision,omitempty" name:"IotModelRevision"`
// 产品密钥
SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"`
// 设备功能码
// ypsxth : 音频双向通话;
// spdxth : 视频单向通话(监控);
// NVR0824 : NVR设备,大于8路,小于等于24路;
// WifiKeepalive : Wifi保活(低功耗产品);
// Alexa : Alexa接入;
// Google : Google接入;
// 注意:此字段可能返回 null,表示取不到有效值。
FuncCode []*string `json:"FuncCode,omitempty" name:"FuncCode" list`
// 产品类别,0 : 普通视频设备;1 : NVR设备
// 注意:此字段可能返回 null,表示取不到有效值。
ProductCate *int64 `json:"ProductCate,omitempty" name:"ProductCate"`
// 产品地域
// China-Mainland(中国大陆)
// China-Hong Kong, Macao and Taiwan(港澳台地区)
// America(美国)
// Europe(欧洲)
// India(印度)
// Other-Overseas(其他境外地区)
// 注意:此字段可能返回 null,表示取不到有效值。
ProductRegion *string `json:"ProductRegion,omitempty" name:"ProductRegion"`
}
type ProductData ¶
type ProductData struct {
// 产品ID
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品名称
// 注意:此字段可能返回 null,表示取不到有效值。
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品描述信息
// 注意:此字段可能返回 null,表示取不到有效值。
ProductDescription *string `json:"ProductDescription,omitempty" name:"ProductDescription"`
// 创建时间,UNIX 时间戳,单位秒
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 物模型发布版本号,0代表物模型尚未发布
// 注意:此字段可能返回 null,表示取不到有效值。
IotModelRevision *int64 `json:"IotModelRevision,omitempty" name:"IotModelRevision"`
// 产品密钥
// 注意:此字段可能返回 null,表示取不到有效值。
SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"`
// 设备功能码
// 注意:此字段可能返回 null,表示取不到有效值。
Features []*string `json:"Features,omitempty" name:"Features" list`
// 产器型号(APP产品,为APP包名)
// 注意:此字段可能返回 null,表示取不到有效值。
ProductModel *string `json:"ProductModel,omitempty" name:"ProductModel"`
// 主芯片厂商id
// 注意:此字段可能返回 null,表示取不到有效值。
ChipManufactureId *string `json:"ChipManufactureId,omitempty" name:"ChipManufactureId"`
// 主芯片型号
// 注意:此字段可能返回 null,表示取不到有效值。
ChipId *string `json:"ChipId,omitempty" name:"ChipId"`
// 产品类别,0:普通视频设备;1:NVR设备
// 注意:此字段可能返回 null,表示取不到有效值。
ProductCate *int64 `json:"ProductCate,omitempty" name:"ProductCate"`
// 产品地区
// China-Mainland(中国大陆)
// China-Hong Kong, Macao and Taiwan(港澳台地区)
// America(美国)
// Europe(欧洲)
// India(印度)
// Other-Overseas(其他境外地区)
// 注意:此字段可能返回 null,表示取不到有效值。
ProductRegion *string `json:"ProductRegion,omitempty" name:"ProductRegion"`
// 接入模型,bit0是0:公版小程序未接入,bit0是1:公版小程序已接入
// 注意:此字段可能返回 null,表示取不到有效值。
AccessMode *int64 `json:"AccessMode,omitempty" name:"AccessMode"`
// linux,android,liteos
// 注意:此字段可能返回 null,表示取不到有效值。
Os *string `json:"Os,omitempty" name:"Os"`
}
type RechargeRecord ¶
type RechargeRecord struct {
// 流水记录号。
// 注意:此字段可能返回 null,表示取不到有效值。
WaterId *int64 `json:"WaterId,omitempty" name:"WaterId"`
// 充值前的余额,单位0.01元。
// 注意:此字段可能返回 null,表示取不到有效值。
BalanceBeforeRecharge *int64 `json:"BalanceBeforeRecharge,omitempty" name:"BalanceBeforeRecharge"`
// 充值金额,单位0.01元。
// 注意:此字段可能返回 null,表示取不到有效值。
Money *int64 `json:"Money,omitempty" name:"Money"`
// 充值时间, UTC值。
// 注意:此字段可能返回 null,表示取不到有效值。
OperateTime *int64 `json:"OperateTime,omitempty" name:"OperateTime"`
}
type RefundStorageServiceRequest ¶
type RefundStorageServiceRequest struct {
*tchttp.BaseRequest
// 云存服务ID
ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
// 云存子订单ID。如果指定子订单ID,则仅退订该子订单,如果未指定子定单ID,则退订所有子订单
OrderId *string `json:"OrderId,omitempty" name:"OrderId"`
}
func NewRefundStorageServiceRequest ¶
func NewRefundStorageServiceRequest() (request *RefundStorageServiceRequest)
func (*RefundStorageServiceRequest) FromJsonString ¶
func (r *RefundStorageServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RefundStorageServiceRequest) ToJsonString ¶
func (r *RefundStorageServiceRequest) ToJsonString() string
type RefundStorageServiceResponse ¶
type RefundStorageServiceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 云存服务ID
ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
// 云存服务所在的区域
StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
ChnNum *int64 `json:"ChnNum,omitempty" name:"ChnNum"`
// 终端用户在IoT Video平台的注册ID
AccessId *string `json:"AccessId,omitempty" name:"AccessId"`
// 服务开始时间
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 服务失效时间
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// 服务状态
// 1:正常使用中
// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
// 3:已过期。查询不到设备保存在云端的数据。
// 4:等待服务生效。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 有效云存定单列表
Data []*StorageOrder `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRefundStorageServiceResponse ¶
func NewRefundStorageServiceResponse() (response *RefundStorageServiceResponse)
func (*RefundStorageServiceResponse) FromJsonString ¶
func (r *RefundStorageServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RefundStorageServiceResponse) ToJsonString ¶
func (r *RefundStorageServiceResponse) ToJsonString() string
type RegisteredStatus ¶
type RunDeviceRequest ¶
type RunDeviceRequest struct {
*tchttp.BaseRequest
// TID列表 ≤100
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewRunDeviceRequest ¶
func NewRunDeviceRequest() (request *RunDeviceRequest)
func (*RunDeviceRequest) FromJsonString ¶
func (r *RunDeviceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunDeviceRequest) ToJsonString ¶
func (r *RunDeviceRequest) ToJsonString() string
type RunDeviceResponse ¶
type RunDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRunDeviceResponse ¶
func NewRunDeviceResponse() (response *RunDeviceResponse)
func (*RunDeviceResponse) FromJsonString ¶
func (r *RunDeviceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunDeviceResponse) ToJsonString ¶
func (r *RunDeviceResponse) ToJsonString() string
type RunDeviceStreamRequest ¶
type RunDeviceStreamRequest struct {
*tchttp.BaseRequest
// 设备TID 列表
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
}
func NewRunDeviceStreamRequest ¶
func NewRunDeviceStreamRequest() (request *RunDeviceStreamRequest)
func (*RunDeviceStreamRequest) FromJsonString ¶
func (r *RunDeviceStreamRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunDeviceStreamRequest) ToJsonString ¶
func (r *RunDeviceStreamRequest) ToJsonString() string
type RunDeviceStreamResponse ¶
type RunDeviceStreamResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRunDeviceStreamResponse ¶
func NewRunDeviceStreamResponse() (response *RunDeviceStreamResponse)
func (*RunDeviceStreamResponse) FromJsonString ¶
func (r *RunDeviceStreamResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunDeviceStreamResponse) ToJsonString ¶
func (r *RunDeviceStreamResponse) ToJsonString() string
type RunIotModelRequest ¶
type RunIotModelRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 物模型定义,json格式的字符串
IotModel *string `json:"IotModel,omitempty" name:"IotModel"`
}
func NewRunIotModelRequest ¶
func NewRunIotModelRequest() (request *RunIotModelRequest)
func (*RunIotModelRequest) FromJsonString ¶
func (r *RunIotModelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunIotModelRequest) ToJsonString ¶
func (r *RunIotModelRequest) ToJsonString() string
type RunIotModelResponse ¶
type RunIotModelResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRunIotModelResponse ¶
func NewRunIotModelResponse() (response *RunIotModelResponse)
func (*RunIotModelResponse) FromJsonString ¶
func (r *RunIotModelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunIotModelResponse) ToJsonString ¶
func (r *RunIotModelResponse) ToJsonString() string
type RunOtaVersionRequest ¶
type RunOtaVersionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 灰度值,取值范围0-100,为0时相当于暂停发布
GrayValue *uint64 `json:"GrayValue,omitempty" name:"GrayValue"`
// 指定的旧版本
OldVersions []*string `json:"OldVersions,omitempty" name:"OldVersions" list`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 备注信息
Remark *string `json:"Remark,omitempty" name:"Remark"`
// 版本发布的描述信息,需要国际化,可以为空
Contents *Contents `json:"Contents,omitempty" name:"Contents"`
}
func NewRunOtaVersionRequest ¶
func NewRunOtaVersionRequest() (request *RunOtaVersionRequest)
func (*RunOtaVersionRequest) FromJsonString ¶
func (r *RunOtaVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunOtaVersionRequest) ToJsonString ¶
func (r *RunOtaVersionRequest) ToJsonString() string
type RunOtaVersionResponse ¶
type RunOtaVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRunOtaVersionResponse ¶
func NewRunOtaVersionResponse() (response *RunOtaVersionResponse)
func (*RunOtaVersionResponse) FromJsonString ¶
func (r *RunOtaVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunOtaVersionResponse) ToJsonString ¶
func (r *RunOtaVersionResponse) ToJsonString() string
type RunTestOtaVersionRequest ¶
type RunTestOtaVersionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 指定可升级的设备TID
Tids []*string `json:"Tids,omitempty" name:"Tids" list`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 备注信息
Remark *string `json:"Remark,omitempty" name:"Remark"`
}
func NewRunTestOtaVersionRequest ¶
func NewRunTestOtaVersionRequest() (request *RunTestOtaVersionRequest)
func (*RunTestOtaVersionRequest) FromJsonString ¶
func (r *RunTestOtaVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunTestOtaVersionRequest) ToJsonString ¶
func (r *RunTestOtaVersionRequest) ToJsonString() string
type RunTestOtaVersionResponse ¶
type RunTestOtaVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRunTestOtaVersionResponse ¶
func NewRunTestOtaVersionResponse() (response *RunTestOtaVersionResponse)
func (*RunTestOtaVersionResponse) FromJsonString ¶
func (r *RunTestOtaVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunTestOtaVersionResponse) ToJsonString ¶
func (r *RunTestOtaVersionResponse) ToJsonString() string
type SendOnlineMsgRequest ¶
type SendOnlineMsgRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 如果设备处于休眠状态,是否唤醒设备
Wakeup *bool `json:"Wakeup,omitempty" name:"Wakeup"`
// 等待回应类型
// 0:不等待设备回应直接响应请求;
// 1:要求设备确认消息已接收,或等待超时后返回;
// 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;
WaitResp *uint64 `json:"WaitResp,omitempty" name:"WaitResp"`
// 消息主题
MsgTopic *string `json:"MsgTopic,omitempty" name:"MsgTopic"`
// 消息内容,最大长度不超过8k字节
MsgContent *string `json:"MsgContent,omitempty" name:"MsgContent"`
}
func NewSendOnlineMsgRequest ¶
func NewSendOnlineMsgRequest() (request *SendOnlineMsgRequest)
func (*SendOnlineMsgRequest) FromJsonString ¶
func (r *SendOnlineMsgRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendOnlineMsgRequest) ToJsonString ¶
func (r *SendOnlineMsgRequest) ToJsonString() string
type SendOnlineMsgResponse ¶
type SendOnlineMsgResponse struct {
*tchttp.BaseResponse
Response *struct {
// 若返回此项则表明需要用户用此taskID进行查询请求是否成功(只有waitresp不等于0的情况下才可能会返回该taskID项)
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 设备响应信息
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSendOnlineMsgResponse ¶
func NewSendOnlineMsgResponse() (response *SendOnlineMsgResponse)
func (*SendOnlineMsgResponse) FromJsonString ¶
func (r *SendOnlineMsgResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendOnlineMsgResponse) ToJsonString ¶
func (r *SendOnlineMsgResponse) ToJsonString() string
type SetMessageQueueRequest ¶
type SetMessageQueueRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 消息队列类型 1-CMQ; 2-Ckafka
MsgQueueType *uint64 `json:"MsgQueueType,omitempty" name:"MsgQueueType"`
// 消息类型,整型值(0-31)之间以“,”分隔
// 0:在线状态变更
// 1.固件版本变更
// 2.设置参数变更
// 3.控制状态变更
// 4.状态信息变更
// 5.事件发布
// 6.系统事件
MsgType *string `json:"MsgType,omitempty" name:"MsgType"`
// 消息队列主题,不超过32字符
Topic *string `json:"Topic,omitempty" name:"Topic"`
// kafka消息队列的实例名,不超过64字符
Instance *string `json:"Instance,omitempty" name:"Instance"`
// 消息地域,不超过32字符
MsgRegion *string `json:"MsgRegion,omitempty" name:"MsgRegion"`
}
func NewSetMessageQueueRequest ¶
func NewSetMessageQueueRequest() (request *SetMessageQueueRequest)
func (*SetMessageQueueRequest) FromJsonString ¶
func (r *SetMessageQueueRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetMessageQueueRequest) ToJsonString ¶
func (r *SetMessageQueueRequest) ToJsonString() string
type SetMessageQueueResponse ¶
type SetMessageQueueResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSetMessageQueueResponse ¶
func NewSetMessageQueueResponse() (response *SetMessageQueueResponse)
func (*SetMessageQueueResponse) FromJsonString ¶
func (r *SetMessageQueueResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetMessageQueueResponse) ToJsonString ¶
func (r *SetMessageQueueResponse) ToJsonString() string
type StorageOrder ¶
type StorageOrder struct {
// 定单唯一性ID
OrderId *string `json:"OrderId,omitempty" name:"OrderId"`
// 云存套餐ID
PkgId *string `json:"PkgId,omitempty" name:"PkgId"`
// 定单服务状态
// 1;订单正在使用。
// 2:订单未开始。
// 3:订单已经使用过,现在暂时未开始使用(该订单从其他服务转移而来)。
// 4:订单已过期。
// 5:订单已被退订。
// 6:定单已被转移到其他云存服务。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 定单服务生效时间
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 定单服务失效时间
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
}
type SystemType ¶
type SystemType struct {
// 安卓系统
// 注意:此字段可能返回 null,表示取不到有效值。
Android []*OsData `json:"Android,omitempty" name:"Android" list`
// linux系统
// 注意:此字段可能返回 null,表示取不到有效值。
Linux []*OsData `json:"Linux,omitempty" name:"Linux" list`
// LiteOs系统
// 注意:此字段可能返回 null,表示取不到有效值。
LiteOs []*OsData `json:"LiteOs,omitempty" name:"LiteOs" list`
}
type TraceStatus ¶
type UpgradeDeviceRequest ¶
type UpgradeDeviceRequest struct {
*tchttp.BaseRequest
// 设备TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 固件版本号
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 是否立即升级
UpgradeNow *bool `json:"UpgradeNow,omitempty" name:"UpgradeNow"`
}
func NewUpgradeDeviceRequest ¶
func NewUpgradeDeviceRequest() (request *UpgradeDeviceRequest)
func (*UpgradeDeviceRequest) FromJsonString ¶
func (r *UpgradeDeviceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDeviceRequest) ToJsonString ¶
func (r *UpgradeDeviceRequest) ToJsonString() string
type UpgradeDeviceResponse ¶
type UpgradeDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备端返回的数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpgradeDeviceResponse ¶
func NewUpgradeDeviceResponse() (response *UpgradeDeviceResponse)
func (*UpgradeDeviceResponse) FromJsonString ¶
func (r *UpgradeDeviceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDeviceResponse) ToJsonString ¶
func (r *UpgradeDeviceResponse) ToJsonString() string
type UploadOtaVersionRequest ¶
type UploadOtaVersionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 固件版本URL
VersionUrl *string `json:"VersionUrl,omitempty" name:"VersionUrl"`
// 文件大小,单位:byte
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 文件md5校验码(32字符)
Md5 *string `json:"Md5,omitempty" name:"Md5"`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 备注信息
Remark *string `json:"Remark,omitempty" name:"Remark"`
// 版本发布的描述信息,需要国际化,可以为空
Contents *Contents `json:"Contents,omitempty" name:"Contents"`
}
func NewUploadOtaVersionRequest ¶
func NewUploadOtaVersionRequest() (request *UploadOtaVersionRequest)
func (*UploadOtaVersionRequest) FromJsonString ¶
func (r *UploadOtaVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadOtaVersionRequest) ToJsonString ¶
func (r *UploadOtaVersionRequest) ToJsonString() string
type UploadOtaVersionResponse ¶
type UploadOtaVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUploadOtaVersionResponse ¶
func NewUploadOtaVersionResponse() (response *UploadOtaVersionResponse)
func (*UploadOtaVersionResponse) FromJsonString ¶
func (r *UploadOtaVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadOtaVersionResponse) ToJsonString ¶
func (r *UploadOtaVersionResponse) ToJsonString() string
type VersionData ¶
type VersionData struct {
// 产品ID
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 固件版本号
// 注意:此字段可能返回 null,表示取不到有效值。
OtaVersion *string `json:"OtaVersion,omitempty" name:"OtaVersion"`
// 版本类型 1未发布 2测试发布 3正式发布 4禁用
// 注意:此字段可能返回 null,表示取不到有效值。
PubStatus *uint64 `json:"PubStatus,omitempty" name:"PubStatus"`
// 固件版本存储路径URL
// 注意:此字段可能返回 null,表示取不到有效值。
VersionUrl *string `json:"VersionUrl,omitempty" name:"VersionUrl"`
// 文件大小,byte
// 注意:此字段可能返回 null,表示取不到有效值。
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 文件校验码
// 注意:此字段可能返回 null,表示取不到有效值。
Md5 *string `json:"Md5,omitempty" name:"Md5"`
// 指定的允许升级的旧版本,PubStatus=3时有效
// 注意:此字段可能返回 null,表示取不到有效值。
OldVersions *string `json:"OldVersions,omitempty" name:"OldVersions"`
// 指定的允许升级的旧设备id,PubStatus=2时有效
// 注意:此字段可能返回 null,表示取不到有效值。
Tids *string `json:"Tids,omitempty" name:"Tids"`
// 灰度值(0-100),PubStatus=3时有效,表示n%的升级总量
// 注意:此字段可能返回 null,表示取不到有效值。
GrayValue *uint64 `json:"GrayValue,omitempty" name:"GrayValue"`
// 最近一次发布时间,UNIX时间戳,单位秒
// 注意:此字段可能返回 null,表示取不到有效值。
PublishTime *uint64 `json:"PublishTime,omitempty" name:"PublishTime"`
// 此版本激活的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
ActiveCount *int64 `json:"ActiveCount,omitempty" name:"ActiveCount"`
// 此版本在线的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
OnlineCount *int64 `json:"OnlineCount,omitempty" name:"OnlineCount"`
// 上传固件文件的时间,UNIX时间戳,单位秒
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 发布记录的最后变更时间,UNIX时间戳,单位秒
// 注意:此字段可能返回 null,表示取不到有效值。
UploadTime *uint64 `json:"UploadTime,omitempty" name:"UploadTime"`
// 该固件版本发布的变更次数
// 注意:此字段可能返回 null,表示取不到有效值。
ModifyTimes *uint64 `json:"ModifyTimes,omitempty" name:"ModifyTimes"`
// 备注信息
// 注意:此字段可能返回 null,表示取不到有效值。
Remark *string `json:"Remark,omitempty" name:"Remark"`
// 版本发布的描述信息,需要国际化,可以为空
// 注意:此字段可能返回 null,表示取不到有效值。
Contents *Contents `json:"Contents,omitempty" name:"Contents"`
// 月活设备数,当月第一天开始有上线的设备数量。
// 注意:此字段可能返回 null,表示取不到有效值。
AliveInMonthCnt *uint64 `json:"AliveInMonthCnt,omitempty" name:"AliveInMonthCnt"`
}