lib/v20190423/models.rb in tencentcloud-sdk-iotexplorer-3.0.815 vs lib/v20190423/models.rb in tencentcloud-sdk-iotexplorer-3.0.833
- old
+ new
@@ -15,10 +15,57 @@
# limitations under the License.
module TencentCloud
module Iotexplorer
module V20190423
+ # ActivateTWeCallLicense请求参数结构体
+ class ActivateTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
+ # @param PkgType: voip类型
+ # @type PkgType: Integer
+ # @param MiniProgramAppId: appId
+ # @type MiniProgramAppId: String
+ # @param DeviceList: 设备列表
+ # @type DeviceList: Array
+
+ attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
+
+ def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
+ @PkgType = pkgtype
+ @MiniProgramAppId = miniprogramappid
+ @DeviceList = devicelist
+ end
+
+ def deserialize(params)
+ @PkgType = params['PkgType']
+ @MiniProgramAppId = params['MiniProgramAppId']
+ unless params['DeviceList'].nil?
+ @DeviceList = []
+ params['DeviceList'].each do |i|
+ twecallinfo_tmp = TWeCallInfo.new
+ twecallinfo_tmp.deserialize(i)
+ @DeviceList << twecallinfo_tmp
+ end
+ end
+ end
+ end
+
+ # ActivateTWeCallLicense返回参数结构体
+ class ActivateTWeCallLicenseResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @RequestId = params['RequestId']
+ end
+ end
+
# 云api直接绑定设备出参
class AppDeviceInfo < TencentCloud::Common::AbstractModel
# @param DeviceId: 产品ID/设备名
# @type DeviceId: String
# @param ProductId: 产品ID
@@ -67,10 +114,92 @@
@CreateTime = params['CreateTime']
@UpdateTime = params['UpdateTime']
end
end
+ # AssignTWeCallLicense请求参数结构体
+ class AssignTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
+ # @param PkgType: voip类型
+ # @type PkgType: Integer
+ # @param MiniProgramAppId: appId
+ # @type MiniProgramAppId: String
+ # @param DeductNum: License数
+ # @type DeductNum: Integer
+
+ attr_accessor :PkgType, :MiniProgramAppId, :DeductNum
+
+ def initialize(pkgtype=nil, miniprogramappid=nil, deductnum=nil)
+ @PkgType = pkgtype
+ @MiniProgramAppId = miniprogramappid
+ @DeductNum = deductnum
+ end
+
+ def deserialize(params)
+ @PkgType = params['PkgType']
+ @MiniProgramAppId = params['MiniProgramAppId']
+ @DeductNum = params['DeductNum']
+ end
+ end
+
+ # AssignTWeCallLicense返回参数结构体
+ class AssignTWeCallLicenseResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @RequestId = params['RequestId']
+ end
+ end
+
+ # 授权小程序信息
+ class AuthMiniProgramAppInfo < TencentCloud::Common::AbstractModel
+ # @param MiniProgramAppId: 小程序APPID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type MiniProgramAppId: String
+ # @param CreateTime: 创建时间
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type CreateTime: Integer
+ # @param MiniProgramName: 小程序名称
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type MiniProgramName: String
+ # @param LicenseNum: 激活码数
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type LicenseNum: Integer
+ # @param IotAppId: 应用ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type IotAppId: String
+ # @param IotAppName: 应用名称
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type IotAppName: String
+
+ attr_accessor :MiniProgramAppId, :CreateTime, :MiniProgramName, :LicenseNum, :IotAppId, :IotAppName
+
+ def initialize(miniprogramappid=nil, createtime=nil, miniprogramname=nil, licensenum=nil, iotappid=nil, iotappname=nil)
+ @MiniProgramAppId = miniprogramappid
+ @CreateTime = createtime
+ @MiniProgramName = miniprogramname
+ @LicenseNum = licensenum
+ @IotAppId = iotappid
+ @IotAppName = iotappname
+ end
+
+ def deserialize(params)
+ @MiniProgramAppId = params['MiniProgramAppId']
+ @CreateTime = params['CreateTime']
+ @MiniProgramName = params['MiniProgramName']
+ @LicenseNum = params['LicenseNum']
+ @IotAppId = params['IotAppId']
+ @IotAppName = params['IotAppName']
+ end
+ end
+
# 获取返回列表的详情。
class BatchProductionInfo < TencentCloud::Common::AbstractModel
# @param BatchProductionId: 量产ID
# @type BatchProductionId: String
# @param ProductId: 产品ID
@@ -403,64 +532,100 @@
@Status = params['Status']
@RequestId = params['RequestId']
end
end
+ # CancelAssignTWeCallLicense请求参数结构体
+ class CancelAssignTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
+ # @param PkgId: 订单号
+ # @type PkgId: String
+
+ attr_accessor :PkgId
+
+ def initialize(pkgid=nil)
+ @PkgId = pkgid
+ end
+
+ def deserialize(params)
+ @PkgId = params['PkgId']
+ end
+ end
+
+ # CancelAssignTWeCallLicense返回参数结构体
+ class CancelAssignTWeCallLicenseResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @RequestId = params['RequestId']
+ end
+ end
+
# 云存 AI 服务任务信息
class CloudStorageAIServiceTask < TencentCloud::Common::AbstractModel
# @param TaskId: 云存 AI 服务任务 ID
# @type TaskId: String
# @param ProductId: 产品 ID
# @type ProductId: String
# @param DeviceName: 设备名称
# @type DeviceName: String
# @param ChannelId: 通道 ID
# @type ChannelId: Integer
+ # @param ServiceType: 云存 AI 服务类型。可能取值:
+
+ # - `PackageDetect`:包裹检测
+ # - `Highlight`:视频浓缩
+ # @type ServiceType: String
# @param StartTime: 对应云存视频的起始时间
# @type StartTime: Integer
# @param EndTime: 对应云存视频的结束时间
# @type EndTime: Integer
- # @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空)
+ # @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;4:执行中)
# @type Status: Integer
# @param Result: 任务结果
# @type Result: String
- # @param ServiceType: 云存 AI 服务类型
- # 注意:此字段可能返回 null,表示取不到有效值。
- # @type ServiceType: String
+ # @param Files: 任务输出文件列表
+ # @type Files: Array
# @param CreateTime: 创建时间
- # 注意:此字段可能返回 null,表示取不到有效值。
# @type CreateTime: Integer
# @param UpdateTime: 最后更新时间
- # 注意:此字段可能返回 null,表示取不到有效值。
# @type UpdateTime: Integer
- attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :StartTime, :EndTime, :Status, :Result, :ServiceType, :CreateTime, :UpdateTime
+ attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :ServiceType, :StartTime, :EndTime, :Status, :Result, :Files, :CreateTime, :UpdateTime
- def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, starttime=nil, endtime=nil, status=nil, result=nil, servicetype=nil, createtime=nil, updatetime=nil)
+ def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, servicetype=nil, starttime=nil, endtime=nil, status=nil, result=nil, files=nil, createtime=nil, updatetime=nil)
@TaskId = taskid
@ProductId = productid
@DeviceName = devicename
@ChannelId = channelid
+ @ServiceType = servicetype
@StartTime = starttime
@EndTime = endtime
@Status = status
@Result = result
- @ServiceType = servicetype
+ @Files = files
@CreateTime = createtime
@UpdateTime = updatetime
end
def deserialize(params)
@TaskId = params['TaskId']
@ProductId = params['ProductId']
@DeviceName = params['DeviceName']
@ChannelId = params['ChannelId']
+ @ServiceType = params['ServiceType']
@StartTime = params['StartTime']
@EndTime = params['EndTime']
@Status = params['Status']
@Result = params['Result']
- @ServiceType = params['ServiceType']
+ @Files = params['Files']
@CreateTime = params['CreateTime']
@UpdateTime = params['UpdateTime']
end
end
@@ -1178,22 +1343,28 @@
# @type DataProtocol: Integer
# @param ProductDesc: 产品描述
# @type ProductDesc: String
# @param ProjectId: 产品的项目ID
# @type ProjectId: String
+ # @param Rate: 平均传输速率
+ # @type Rate: String
+ # @param Period: 期限
+ # @type Period: String
- attr_accessor :ProductName, :CategoryId, :ProductType, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :ProjectId
+ attr_accessor :ProductName, :CategoryId, :ProductType, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :ProjectId, :Rate, :Period
- def initialize(productname=nil, categoryid=nil, producttype=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, projectid=nil)
+ def initialize(productname=nil, categoryid=nil, producttype=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, projectid=nil, rate=nil, period=nil)
@ProductName = productname
@CategoryId = categoryid
@ProductType = producttype
@EncryptionType = encryptiontype
@NetType = nettype
@DataProtocol = dataprotocol
@ProductDesc = productdesc
@ProjectId = projectid
+ @Rate = rate
+ @Period = period
end
def deserialize(params)
@ProductName = params['ProductName']
@CategoryId = params['CategoryId']
@@ -1201,10 +1372,12 @@
@EncryptionType = params['EncryptionType']
@NetType = params['NetType']
@DataProtocol = params['DataProtocol']
@ProductDesc = params['ProductDesc']
@ProjectId = params['ProjectId']
+ @Rate = params['Rate']
+ @Period = params['Period']
end
end
# CreateStudioProduct返回参数结构体
class CreateStudioProductResponse < TencentCloud::Common::AbstractModel
@@ -1227,10 +1400,58 @@
end
@RequestId = params['RequestId']
end
end
+ # CreateTRTCSignaturesWithRoomId请求参数结构体
+ class CreateTRTCSignaturesWithRoomIdRequest < TencentCloud::Common::AbstractModel
+ # @param TRTCUserIds: TRTC进房间的用户名称数组,数组元素不可重复,最长不超过 10 个。
+ # @type TRTCUserIds: Array
+ # @param RoomId: 房间id
+ # @type RoomId: String
+
+ attr_accessor :TRTCUserIds, :RoomId
+
+ def initialize(trtcuserids=nil, roomid=nil)
+ @TRTCUserIds = trtcuserids
+ @RoomId = roomid
+ end
+
+ def deserialize(params)
+ @TRTCUserIds = params['TRTCUserIds']
+ @RoomId = params['RoomId']
+ end
+ end
+
+ # CreateTRTCSignaturesWithRoomId返回参数结构体
+ class CreateTRTCSignaturesWithRoomIdResponse < TencentCloud::Common::AbstractModel
+ # @param TRTCParamList: 返回参数数组
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type TRTCParamList: Array
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :TRTCParamList, :RequestId
+
+ def initialize(trtcparamlist=nil, requestid=nil)
+ @TRTCParamList = trtcparamlist
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ unless params['TRTCParamList'].nil?
+ @TRTCParamList = []
+ params['TRTCParamList'].each do |i|
+ trtcparams_tmp = TRTCParams.new
+ trtcparams_tmp.deserialize(i)
+ @TRTCParamList << trtcparams_tmp
+ end
+ end
+ @RequestId = params['RequestId']
+ end
+ end
+
# CreateTopicPolicy请求参数结构体
class CreateTopicPolicyRequest < TencentCloud::Common::AbstractModel
# @param ProductId: 产品ID
# @type ProductId: String
# @param TopicName: Topic名称
@@ -1939,11 +2160,14 @@
class DescribeCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
# @param ProductId: 产品ID
# @type ProductId: String
# @param DeviceName: 设备名称
# @type DeviceName: String
- # @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
+ # @param ServiceType: 云存 AI 服务类型。可选值:
+
+ # - `PackageDetect`:包裹检测
+ # - `Highlight`:视频浓缩
# @type ServiceType: String
attr_accessor :ProductId, :DeviceName, :ServiceType
def initialize(productid=nil, devicename=nil, servicetype=nil)
@@ -1985,43 +2209,97 @@
@Config = params['Config']
@RequestId = params['RequestId']
end
end
+ # DescribeCloudStorageAIServiceTask请求参数结构体
+ class DescribeCloudStorageAIServiceTaskRequest < TencentCloud::Common::AbstractModel
+ # @param TaskId: 任务 ID
+ # @type TaskId: String
+
+ attr_accessor :TaskId
+
+ def initialize(taskid=nil)
+ @TaskId = taskid
+ end
+
+ def deserialize(params)
+ @TaskId = params['TaskId']
+ end
+ end
+
+ # DescribeCloudStorageAIServiceTask返回参数结构体
+ class DescribeCloudStorageAIServiceTaskResponse < TencentCloud::Common::AbstractModel
+ # @param TaskInfo: 任务信息
+ # @type TaskInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.CloudStorageAIServiceTask`
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :TaskInfo, :RequestId
+
+ def initialize(taskinfo=nil, requestid=nil)
+ @TaskInfo = taskinfo
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ unless params['TaskInfo'].nil?
+ @TaskInfo = CloudStorageAIServiceTask.new
+ @TaskInfo.deserialize(params['TaskInfo'])
+ end
+ @RequestId = params['RequestId']
+ end
+ end
+
# DescribeCloudStorageAIServiceTasks请求参数结构体
class DescribeCloudStorageAIServiceTasksRequest < TencentCloud::Common::AbstractModel
# @param ProductId: 产品 ID
# @type ProductId: String
# @param DeviceName: 设备名称
# @type DeviceName: String
- # @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
+ # @param ServiceType: 云存 AI 服务类型。可选值:
+ # - `PackageDetect`:包裹检测
+ # - `Highlight`:视频浓缩
# @type ServiceType: String
# @param Limit: 分页拉取数量
# @type Limit: Integer
# @param Offset: 分页拉取偏移
# @type Offset: Integer
- # @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;不传则查询全部状态的任务)
+ # @param Status: 任务状态。可选值:
+ # - (不传):查询全部状态的任务
+ # - `1`:失败
+ # - `2`:成功但结果为空
+ # - `3`:成功且结果非空
+ # - `4`:执行中
# @type Status: Integer
+ # @param UserId: 用户ID
+ # @type UserId: String
+ # @param ChannelId: 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
+ # @type ChannelId: Integer
- attr_accessor :ProductId, :DeviceName, :ServiceType, :Limit, :Offset, :Status
+ attr_accessor :ProductId, :DeviceName, :ServiceType, :Limit, :Offset, :Status, :UserId, :ChannelId
- def initialize(productid=nil, devicename=nil, servicetype=nil, limit=nil, offset=nil, status=nil)
+ def initialize(productid=nil, devicename=nil, servicetype=nil, limit=nil, offset=nil, status=nil, userid=nil, channelid=nil)
@ProductId = productid
@DeviceName = devicename
@ServiceType = servicetype
@Limit = limit
@Offset = offset
@Status = status
+ @UserId = userid
+ @ChannelId = channelid
end
def deserialize(params)
@ProductId = params['ProductId']
@DeviceName = params['DeviceName']
@ServiceType = params['ServiceType']
@Limit = params['Limit']
@Offset = params['Offset']
@Status = params['Status']
+ @UserId = params['UserId']
+ @ChannelId = params['ChannelId']
end
end
# DescribeCloudStorageAIServiceTasks返回参数结构体
class DescribeCloudStorageAIServiceTasksResponse < TencentCloud::Common::AbstractModel
@@ -4571,10 +4849,42 @@
def deserialize(params)
@RequestId = params['RequestId']
end
end
+ # DismissRoomByStrRoomIdFromTRTC请求参数结构体
+ class DismissRoomByStrRoomIdFromTRTCRequest < TencentCloud::Common::AbstractModel
+ # @param RoomId: 房间id
+ # @type RoomId: String
+
+ attr_accessor :RoomId
+
+ def initialize(roomid=nil)
+ @RoomId = roomid
+ end
+
+ def deserialize(params)
+ @RoomId = params['RoomId']
+ end
+ end
+
+ # DismissRoomByStrRoomIdFromTRTC返回参数结构体
+ class DismissRoomByStrRoomIdFromTRTCResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @RequestId = params['RequestId']
+ end
+ end
+
# EnableTopicRule请求参数结构体
class EnableTopicRuleRequest < TencentCloud::Common::AbstractModel
# @param RuleName: 规则名称
# @type RuleName: String
@@ -4921,10 +5231,58 @@
end
@RequestId = params['RequestId']
end
end
+ # GenerateCloudStorageAIServiceTaskFileURL请求参数结构体
+ class GenerateCloudStorageAIServiceTaskFileURLRequest < TencentCloud::Common::AbstractModel
+ # @param TaskId: 产品 ID
+ # @type TaskId: String
+ # @param FileName: 文件名
+ # @type FileName: String
+ # @param ExpireTime: 过期时间 UNIX 时间戳(默认值为当前时间 1 小时后,最大不超过文件所属任务的过期时间)
+ # @type ExpireTime: Integer
+
+ attr_accessor :TaskId, :FileName, :ExpireTime
+
+ def initialize(taskid=nil, filename=nil, expiretime=nil)
+ @TaskId = taskid
+ @FileName = filename
+ @ExpireTime = expiretime
+ end
+
+ def deserialize(params)
+ @TaskId = params['TaskId']
+ @FileName = params['FileName']
+ @ExpireTime = params['ExpireTime']
+ end
+ end
+
+ # GenerateCloudStorageAIServiceTaskFileURL返回参数结构体
+ class GenerateCloudStorageAIServiceTaskFileURLResponse < TencentCloud::Common::AbstractModel
+ # @param FileURL: 文件下载 URL
+ # @type FileURL: String
+ # @param ExpireTime: 过期时间 UNIX 时间戳(最大不超过文件所属任务的过期时间)
+ # @type ExpireTime: Integer
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :FileURL, :ExpireTime, :RequestId
+
+ def initialize(fileurl=nil, expiretime=nil, requestid=nil)
+ @FileURL = fileurl
+ @ExpireTime = expiretime
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @FileURL = params['FileURL']
+ @ExpireTime = params['ExpireTime']
+ @RequestId = params['RequestId']
+ end
+ end
+
# GenerateSignedVideoURL请求参数结构体
class GenerateSignedVideoURLRequest < TencentCloud::Common::AbstractModel
# @param VideoURL: 视频播放原始URL地址
# @type VideoURL: String
# @param ExpireTime: 播放链接过期时间
@@ -4965,10 +5323,65 @@
@SignedVideoURL = params['SignedVideoURL']
@RequestId = params['RequestId']
end
end
+ # GetAuthMiniProgramAppList请求参数结构体
+ class GetAuthMiniProgramAppListRequest < TencentCloud::Common::AbstractModel
+ # @param MiniProgramAppId: appId
+ # @type MiniProgramAppId: String
+ # @param Offset: 页码
+ # @type Offset: Integer
+ # @param Limit: 每页大小
+ # @type Limit: Integer
+
+ attr_accessor :MiniProgramAppId, :Offset, :Limit
+
+ def initialize(miniprogramappid=nil, offset=nil, limit=nil)
+ @MiniProgramAppId = miniprogramappid
+ @Offset = offset
+ @Limit = limit
+ end
+
+ def deserialize(params)
+ @MiniProgramAppId = params['MiniProgramAppId']
+ @Offset = params['Offset']
+ @Limit = params['Limit']
+ end
+ end
+
+ # GetAuthMiniProgramAppList返回参数结构体
+ class GetAuthMiniProgramAppListResponse < TencentCloud::Common::AbstractModel
+ # @param MiniProgramList: 小程序列表
+ # @type MiniProgramList: Array
+ # @param Total: 总数
+ # @type Total: Integer
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :MiniProgramList, :Total, :RequestId
+
+ def initialize(miniprogramlist=nil, total=nil, requestid=nil)
+ @MiniProgramList = miniprogramlist
+ @Total = total
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ unless params['MiniProgramList'].nil?
+ @MiniProgramList = []
+ params['MiniProgramList'].each do |i|
+ authminiprogramappinfo_tmp = AuthMiniProgramAppInfo.new
+ authminiprogramappinfo_tmp.deserialize(i)
+ @MiniProgramList << authminiprogramappinfo_tmp
+ end
+ end
+ @Total = params['Total']
+ @RequestId = params['RequestId']
+ end
+ end
+
# GetBatchProductionsList请求参数结构体
class GetBatchProductionsListRequest < TencentCloud::Common::AbstractModel
# @param ProjectId: 项目ID
# @type ProjectId: String
# @param Offset: 偏移量
@@ -5611,10 +6024,127 @@
@Total = params['Total']
@RequestId = params['RequestId']
end
end
+ # GetTWeCallActiveStatus请求参数结构体
+ class GetTWeCallActiveStatusRequest < TencentCloud::Common::AbstractModel
+ # @param MiniProgramAppId: appId
+ # @type MiniProgramAppId: String
+ # @param DeviceList: 设备列表
+ # @type DeviceList: Array
+
+ attr_accessor :MiniProgramAppId, :DeviceList
+
+ def initialize(miniprogramappid=nil, devicelist=nil)
+ @MiniProgramAppId = miniprogramappid
+ @DeviceList = devicelist
+ end
+
+ def deserialize(params)
+ @MiniProgramAppId = params['MiniProgramAppId']
+ unless params['DeviceList'].nil?
+ @DeviceList = []
+ params['DeviceList'].each do |i|
+ twecallinfo_tmp = TWeCallInfo.new
+ twecallinfo_tmp.deserialize(i)
+ @DeviceList << twecallinfo_tmp
+ end
+ end
+ end
+ end
+
+ # GetTWeCallActiveStatus返回参数结构体
+ class GetTWeCallActiveStatusResponse < TencentCloud::Common::AbstractModel
+ # @param TWeCallActiveInfos: 激活状态
+ # @type TWeCallActiveInfos: Array
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :TWeCallActiveInfos, :RequestId
+
+ def initialize(twecallactiveinfos=nil, requestid=nil)
+ @TWeCallActiveInfos = twecallactiveinfos
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ unless params['TWeCallActiveInfos'].nil?
+ @TWeCallActiveInfos = []
+ params['TWeCallActiveInfos'].each do |i|
+ twecallactiveinfo_tmp = TWeCallActiveInfo.new
+ twecallactiveinfo_tmp.deserialize(i)
+ @TWeCallActiveInfos << twecallactiveinfo_tmp
+ end
+ end
+ @RequestId = params['RequestId']
+ end
+ end
+
+ # GetTWeCallPkgList请求参数结构体
+ class GetTWeCallPkgListRequest < TencentCloud::Common::AbstractModel
+ # @param MiniProgramAppId: appId
+ # @type MiniProgramAppId: String
+ # @param PkgType: 类型
+ # @type PkgType: Array
+ # @param Status: 状态
+ # @type Status: Array
+ # @param Offset: 偏移量
+ # @type Offset: Integer
+ # @param Limit: 每页数据大小
+ # @type Limit: Integer
+
+ attr_accessor :MiniProgramAppId, :PkgType, :Status, :Offset, :Limit
+
+ def initialize(miniprogramappid=nil, pkgtype=nil, status=nil, offset=nil, limit=nil)
+ @MiniProgramAppId = miniprogramappid
+ @PkgType = pkgtype
+ @Status = status
+ @Offset = offset
+ @Limit = limit
+ end
+
+ def deserialize(params)
+ @MiniProgramAppId = params['MiniProgramAppId']
+ @PkgType = params['PkgType']
+ @Status = params['Status']
+ @Offset = params['Offset']
+ @Limit = params['Limit']
+ end
+ end
+
+ # GetTWeCallPkgList返回参数结构体
+ class GetTWeCallPkgListResponse < TencentCloud::Common::AbstractModel
+ # @param TWeCallPkgList: 激活状态
+ # @type TWeCallPkgList: Array
+ # @param Total: 总数
+ # @type Total: Integer
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :TWeCallPkgList, :Total, :RequestId
+
+ def initialize(twecallpkglist=nil, total=nil, requestid=nil)
+ @TWeCallPkgList = twecallpkglist
+ @Total = total
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ unless params['TWeCallPkgList'].nil?
+ @TWeCallPkgList = []
+ params['TWeCallPkgList'].each do |i|
+ twecallpkginfo_tmp = TWeCallPkgInfo.new
+ twecallpkginfo_tmp.deserialize(i)
+ @TWeCallPkgList << twecallpkginfo_tmp
+ end
+ end
+ @Total = params['Total']
+ @RequestId = params['RequestId']
+ end
+ end
+
# GetTopicRuleList请求参数结构体
class GetTopicRuleListRequest < TencentCloud::Common::AbstractModel
# @param PageNum: 请求的页数
# @type PageNum: Integer
# @param PageSize: 分页的大小
@@ -6162,11 +6692,12 @@
# ModifyCloudStorageAIServiceCallback请求参数结构体
class ModifyCloudStorageAIServiceCallbackRequest < TencentCloud::Common::AbstractModel
# @param ProductId: 产品ID
# @type ProductId: String
- # @param Type: 推送类型。http:HTTP 回调
+ # @param Type: 推送类型。可选值:
+ # - `http`:HTTP 回调
# @type Type: String
# @param CallbackUrl: HTTP 回调 URL
# @type CallbackUrl: String
# @param CallbackToken: HTTP 回调鉴权 Token
# @type CallbackToken: String
@@ -6208,33 +6739,39 @@
class ModifyCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
# @param ProductId: 产品ID
# @type ProductId: String
# @param DeviceName: 设备名称
# @type DeviceName: String
- # @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
+ # @param ServiceType: 云存 AI 服务类型。可选值:
+ # - `PackageDetect`:包裹检测
+ # - `Highlight`:视频浓缩
# @type ServiceType: String
# @param Enabled: 启用状态
# @type Enabled: Boolean
# @param ROI: 视频分析区域
# @type ROI: String
+ # @param Config: 云存 AI 服务的配置参数
+ # @type Config: String
- attr_accessor :ProductId, :DeviceName, :ServiceType, :Enabled, :ROI
+ attr_accessor :ProductId, :DeviceName, :ServiceType, :Enabled, :ROI, :Config
- def initialize(productid=nil, devicename=nil, servicetype=nil, enabled=nil, roi=nil)
+ def initialize(productid=nil, devicename=nil, servicetype=nil, enabled=nil, roi=nil, config=nil)
@ProductId = productid
@DeviceName = devicename
@ServiceType = servicetype
@Enabled = enabled
@ROI = roi
+ @Config = config
end
def deserialize(params)
@ProductId = params['ProductId']
@DeviceName = params['DeviceName']
@ServiceType = params['ServiceType']
@Enabled = params['Enabled']
@ROI = params['ROI']
+ @Config = params['Config']
end
end
# ModifyCloudStorageAIService返回参数结构体
class ModifyCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
@@ -7151,14 +7688,20 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type BindStrategy: Integer
# @param DeviceCount: 设备数量
# 注意:此字段可能返回 null,表示取不到有效值。
# @type DeviceCount: Integer
+ # @param Rate: 平均传输速率
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Rate: String
+ # @param Period: 有效期
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Period: String
- attr_accessor :ProductId, :ProductName, :CategoryId, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :DevStatus, :CreateTime, :UpdateTime, :Region, :ProductType, :ProjectId, :ModuleId, :EnableProductScript, :CreateUserId, :CreatorNickName, :BindStrategy, :DeviceCount
+ attr_accessor :ProductId, :ProductName, :CategoryId, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :DevStatus, :CreateTime, :UpdateTime, :Region, :ProductType, :ProjectId, :ModuleId, :EnableProductScript, :CreateUserId, :CreatorNickName, :BindStrategy, :DeviceCount, :Rate, :Period
- def initialize(productid=nil, productname=nil, categoryid=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, devstatus=nil, createtime=nil, updatetime=nil, region=nil, producttype=nil, projectid=nil, moduleid=nil, enableproductscript=nil, createuserid=nil, creatornickname=nil, bindstrategy=nil, devicecount=nil)
+ def initialize(productid=nil, productname=nil, categoryid=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, devstatus=nil, createtime=nil, updatetime=nil, region=nil, producttype=nil, projectid=nil, moduleid=nil, enableproductscript=nil, createuserid=nil, creatornickname=nil, bindstrategy=nil, devicecount=nil, rate=nil, period=nil)
@ProductId = productid
@ProductName = productname
@CategoryId = categoryid
@EncryptionType = encryptiontype
@NetType = nettype
@@ -7174,10 +7717,12 @@
@EnableProductScript = enableproductscript
@CreateUserId = createuserid
@CreatorNickName = creatornickname
@BindStrategy = bindstrategy
@DeviceCount = devicecount
+ @Rate = rate
+ @Period = period
end
def deserialize(params)
@ProductId = params['ProductId']
@ProductName = params['ProductName']
@@ -7196,10 +7741,12 @@
@EnableProductScript = params['EnableProductScript']
@CreateUserId = params['CreateUserId']
@CreatorNickName = params['CreatorNickName']
@BindStrategy = params['BindStrategy']
@DeviceCount = params['DeviceCount']
+ @Rate = params['Rate']
+ @Period = params['Period']
end
end
# 产品模型定义
class ProductModelDefinition < TencentCloud::Common::AbstractModel
@@ -7519,10 +8066,46 @@
def deserialize(params)
@RequestId = params['RequestId']
end
end
+ # RemoveUserByRoomIdFromTRTC请求参数结构体
+ class RemoveUserByRoomIdFromTRTCRequest < TencentCloud::Common::AbstractModel
+ # @param RoomId: 房间id
+ # @type RoomId: String
+ # @param TRTCUserIds: 用户名称数组,数组元素不可重复,最长不超过 10 个。
+ # @type TRTCUserIds: Array
+
+ attr_accessor :RoomId, :TRTCUserIds
+
+ def initialize(roomid=nil, trtcuserids=nil)
+ @RoomId = roomid
+ @TRTCUserIds = trtcuserids
+ end
+
+ def deserialize(params)
+ @RoomId = params['RoomId']
+ @TRTCUserIds = params['TRTCUserIds']
+ end
+ end
+
+ # RemoveUserByRoomIdFromTRTC返回参数结构体
+ class RemoveUserByRoomIdFromTRTCResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @RequestId = params['RequestId']
+ end
+ end
+
# ResetCloudStorageEvent请求参数结构体
class ResetCloudStorageEventRequest < TencentCloud::Common::AbstractModel
# @param ProductId: 产品ID
# @type ProductId: String
# @param DeviceName: 设备名称
@@ -7802,10 +8385,143 @@
end
@RequestId = params['RequestId']
end
end
+ # TRTC 的参数 可以用来加入房间
+ class TRTCParams < TencentCloud::Common::AbstractModel
+ # @param SdkAppId: TRTC入参: TRTC的实例ID
+ # @type SdkAppId: Integer
+ # @param UserId: TRTC入参: 用户加入房间的ID
+ # @type UserId: String
+ # @param UserSig: TRTC入参: 用户的签名用来鉴权
+ # @type UserSig: String
+ # @param StrRoomId: TRTC入参: 加入的TRTC房间名称
+ # @type StrRoomId: String
+ # @param PrivateKey: TRTC入参: 校验TRTC的KEY
+ # @type PrivateKey: String
+
+ attr_accessor :SdkAppId, :UserId, :UserSig, :StrRoomId, :PrivateKey
+
+ def initialize(sdkappid=nil, userid=nil, usersig=nil, strroomid=nil, privatekey=nil)
+ @SdkAppId = sdkappid
+ @UserId = userid
+ @UserSig = usersig
+ @StrRoomId = strroomid
+ @PrivateKey = privatekey
+ end
+
+ def deserialize(params)
+ @SdkAppId = params['SdkAppId']
+ @UserId = params['UserId']
+ @UserSig = params['UserSig']
+ @StrRoomId = params['StrRoomId']
+ @PrivateKey = params['PrivateKey']
+ end
+ end
+
+ # TWeCall设备激活信息
+ class TWeCallActiveInfo < TencentCloud::Common::AbstractModel
+ # @param ModelId: 小程序ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ModelId: String
+ # @param Sn: Sn信息
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Sn: String
+ # @param ExpireTime: 过期时间
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ExpireTime: Integer
+
+ attr_accessor :ModelId, :Sn, :ExpireTime
+
+ def initialize(modelid=nil, sn=nil, expiretime=nil)
+ @ModelId = modelid
+ @Sn = sn
+ @ExpireTime = expiretime
+ end
+
+ def deserialize(params)
+ @ModelId = params['ModelId']
+ @Sn = params['Sn']
+ @ExpireTime = params['ExpireTime']
+ end
+ end
+
+ # TWeCall信息
+ class TWeCallInfo < TencentCloud::Common::AbstractModel
+ # @param ModelId: 小程序ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ModelId: String
+ # @param Sn: Sn信息
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Sn: String
+ # @param ActiveNum: 激活数
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ActiveNum: Integer
+
+ attr_accessor :ModelId, :Sn, :ActiveNum
+
+ def initialize(modelid=nil, sn=nil, activenum=nil)
+ @ModelId = modelid
+ @Sn = sn
+ @ActiveNum = activenum
+ end
+
+ def deserialize(params)
+ @ModelId = params['ModelId']
+ @Sn = params['Sn']
+ @ActiveNum = params['ActiveNum']
+ end
+ end
+
+ # TWeCall设备信息
+ class TWeCallPkgInfo < TencentCloud::Common::AbstractModel
+ # @param PkgId: 包ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type PkgId: String
+ # @param PkgType: 包类型
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type PkgType: Integer
+ # @param CreateTime: 生效时间
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type CreateTime: Integer
+ # @param ExpireTime: 过期时间
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ExpireTime: Integer
+ # @param Status: 状态
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Status: Integer
+ # @param LicenseUsedNum: 已使用
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type LicenseUsedNum: Integer
+ # @param LicenseTotalNum: 总量
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type LicenseTotalNum: Integer
+
+ attr_accessor :PkgId, :PkgType, :CreateTime, :ExpireTime, :Status, :LicenseUsedNum, :LicenseTotalNum
+
+ def initialize(pkgid=nil, pkgtype=nil, createtime=nil, expiretime=nil, status=nil, licenseusednum=nil, licensetotalnum=nil)
+ @PkgId = pkgid
+ @PkgType = pkgtype
+ @CreateTime = createtime
+ @ExpireTime = expiretime
+ @Status = status
+ @LicenseUsedNum = licenseusednum
+ @LicenseTotalNum = licensetotalnum
+ end
+
+ def deserialize(params)
+ @PkgId = params['PkgId']
+ @PkgType = params['PkgType']
+ @CreateTime = params['CreateTime']
+ @ExpireTime = params['ExpireTime']
+ @Status = params['Status']
+ @LicenseUsedNum = params['LicenseUsedNum']
+ @LicenseTotalNum = params['LicenseTotalNum']
+ end
+ end
+
# 缩略图信息
class ThumbnailURLInfoList < TencentCloud::Common::AbstractModel
# @param ThumbnailURL: 缩略图访问地址
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ThumbnailURL: String
@@ -8107,9 +8823,53 @@
@RequestId = requestid
end
def deserialize(params)
@GatewayDeviceNames = params['GatewayDeviceNames']
+ @RequestId = params['RequestId']
+ end
+ end
+
+ # UpdateDeviceTWeCallAuthorizeStatus请求参数结构体
+ class UpdateDeviceTWeCallAuthorizeStatusRequest < TencentCloud::Common::AbstractModel
+ # @param Status: TweCall授权状态:0未授权,1已授权
+ # @type Status: Integer
+ # @param ProductId: 产品ID
+ # @type ProductId: String
+ # @param DeviceName: 设备名
+ # @type DeviceName: String
+ # @param WechatOpenId: 微信用户的openId
+ # @type WechatOpenId: String
+
+ attr_accessor :Status, :ProductId, :DeviceName, :WechatOpenId
+
+ def initialize(status=nil, productid=nil, devicename=nil, wechatopenid=nil)
+ @Status = status
+ @ProductId = productid
+ @DeviceName = devicename
+ @WechatOpenId = wechatopenid
+ end
+
+ def deserialize(params)
+ @Status = params['Status']
+ @ProductId = params['ProductId']
+ @DeviceName = params['DeviceName']
+ @WechatOpenId = params['WechatOpenId']
+ end
+ end
+
+ # UpdateDeviceTWeCallAuthorizeStatus返回参数结构体
+ class UpdateDeviceTWeCallAuthorizeStatusResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
@RequestId = params['RequestId']
end
end
# UpdateDevicesEnableState请求参数结构体