lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.683 vs lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.684

- old
+ new

@@ -4685,24 +4685,35 @@ # @type Limit: Integer # @param Name: 任务名称 # @type Name: String # @param TaskId: 任务id # @type TaskId: String + # @param Filters: <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配,类型:String必选:否<br><li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配,类型:String必选:否<br><li>srcTopicId按照【源日志主题ID】进行过滤。类型:String必选:否<br><li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String必选:否<br><li>bizType按照【主题类型】进行过滤,0日志主题1指标主题,,。类型:String必选:否<br><li>status按照【任务状态】进行过滤。类型:String必选:否<br><li>taskName按照【任务名称】进行过滤,模糊匹配,。类型:String必选:否<br><li>taskId按照【任务ID】进行过滤,模糊匹配,。类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。 + # @type Filters: Array - attr_accessor :Offset, :Limit, :Name, :TaskId + attr_accessor :Offset, :Limit, :Name, :TaskId, :Filters - def initialize(offset=nil, limit=nil, name=nil, taskid=nil) + def initialize(offset=nil, limit=nil, name=nil, taskid=nil, filters=nil) @Offset = offset @Limit = limit @Name = name @TaskId = taskid + @Filters = filters end def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @Name = params['Name'] @TaskId = params['TaskId'] + unless params['Filters'].nil? + @Filters = [] + params['Filters'].each do |i| + filter_tmp = Filter.new + filter_tmp.deserialize(i) + @Filters << filter_tmp + end + end end end # DescribeScheduledSqlInfo返回参数结构体 class DescribeScheduledSqlInfoResponse < TencentCloud::Common::AbstractModel