lib/v20230517/models.rb in tencentcloud-sdk-iss-3.0.660 vs lib/v20230517/models.rb in tencentcloud-sdk-iss-3.0.661
- old
+ new
@@ -6769,15 +6769,15 @@
# @param Describe: 录像计划描述(仅支持中文、英文、数字、_、-,长度不超过128个字符, 不修改描述时,不需要该字段)
# @type Describe: String
# @param LifeCycle: 生命周期(录像文件生命周期设置,管理文件冷、热存储的时间,不修改生命周期时,不需要该字段)
# @type LifeCycle: :class:`Tencentcloud::Iss.v20230517.models.LifeCycleData`
# @param Add: 要新增的设备通道(Json数组,没有新增时,不需要该字段,一次添加通道总数不超过5000个,包括组织目录下的通道数量)
- # @type Add: String
+ # @type Add: Array
# @param Del: 要删除的设备通道(Json数组,内容为要删除的设备通道id,没有删除设备通道时,不需要该字段)
- # @type Del: String
+ # @type Del: Array
# @param OrganizationId: 添加组织目录下所有设备通道(Json数组,可以为空,并且通道总数量不超过5000个(包括Add字段通道数量))
- # @type OrganizationId: String
+ # @type OrganizationId: Array
attr_accessor :PlanName, :TemplateId, :Describe, :LifeCycle, :Add, :Del, :OrganizationId
def initialize(planname=nil, templateid=nil, describe=nil, lifecycle=nil, add=nil, del=nil, organizationid=nil)
@PlanName = planname
@@ -6795,10 +6795,17 @@
@Describe = params['Describe']
unless params['LifeCycle'].nil?
@LifeCycle = LifeCycleData.new
@LifeCycle.deserialize(params['LifeCycle'])
end
- @Add = params['Add']
+ unless params['Add'].nil?
+ @Add = []
+ params['Add'].each do |i|
+ channelinfo_tmp = ChannelInfo.new
+ channelinfo_tmp.deserialize(i)
+ @Add << channelinfo_tmp
+ end
+ end
@Del = params['Del']
@OrganizationId = params['OrganizationId']
end
end