class TencentCloud::Ioa::V20220601::Condition
这是一个多接口的公共数据结构,用于接口根据条件进行过滤和分页。具体支持哪些过滤条件,参考具体使用该结构的接口字段描述
def deserialize(params)
def deserialize(params) unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end unless params['FilterGroups'].nil? @FilterGroups = [] params['FilterGroups'].each do |i| filtergroup_tmp = FilterGroup.new filtergroup_tmp.deserialize(i) @FilterGroups << filtergroup_tmp end end unless params['Sort'].nil? @Sort = Sort.new @Sort.deserialize(params['Sort']) end @PageSize = params['PageSize'] @PageNum = params['PageNum'] end
def initialize(filters=nil, filtergroups=nil, sort=nil, pagesize=nil, pagenum=nil)
def initialize(filters=nil, filtergroups=nil, sort=nil, pagesize=nil, pagenum=nil) @Filters = filters @FilterGroups = filtergroups @Sort = sort @PageSize = pagesize @PageNum = pagenum end