Class: TencentCloud::Wedata::V20210820::DescribeRuleTemplatesByPageRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

DescribeRuleTemplatesByPage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil, projectid = nil, orderfields = nil, filters = nil) ⇒ DescribeRuleTemplatesByPageRequest

Returns a new instance of DescribeRuleTemplatesByPageRequest.



14641
14642
14643
14644
14645
14646
14647
# File 'lib/v20210820/models.rb', line 14641

def initialize(pagenumber=nil, pagesize=nil, projectid=nil, orderfields=nil, filters=nil)
  @PageNumber = pagenumber
  @PageSize = pagesize
  @ProjectId = projectid
  @OrderFields = orderfields
  @Filters = filters
end

Instance Attribute Details

#FiltersObject

Parameters:

  • PageNumber:

    当前页

  • PageSize:

    每页记录数

  • ProjectId:

    工作空间ID

  • OrderFields:

    通用排序字段

  • Filters:

    通用过滤条件



14639
14640
14641
# File 'lib/v20210820/models.rb', line 14639

def Filters
  @Filters
end

#OrderFieldsObject

Parameters:

  • PageNumber:

    当前页

  • PageSize:

    每页记录数

  • ProjectId:

    工作空间ID

  • OrderFields:

    通用排序字段

  • Filters:

    通用过滤条件



14639
14640
14641
# File 'lib/v20210820/models.rb', line 14639

def OrderFields
  @OrderFields
end

#PageNumberObject

Parameters:

  • PageNumber:

    当前页

  • PageSize:

    每页记录数

  • ProjectId:

    工作空间ID

  • OrderFields:

    通用排序字段

  • Filters:

    通用过滤条件



14639
14640
14641
# File 'lib/v20210820/models.rb', line 14639

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • PageNumber:

    当前页

  • PageSize:

    每页记录数

  • ProjectId:

    工作空间ID

  • OrderFields:

    通用排序字段

  • Filters:

    通用过滤条件



14639
14640
14641
# File 'lib/v20210820/models.rb', line 14639

def PageSize
  @PageSize
end

#ProjectIdObject

Parameters:

  • PageNumber:

    当前页

  • PageSize:

    每页记录数

  • ProjectId:

    工作空间ID

  • OrderFields:

    通用排序字段

  • Filters:

    通用过滤条件



14639
14640
14641
# File 'lib/v20210820/models.rb', line 14639

def ProjectId
  @ProjectId
end

Instance Method Details

#deserialize(params) ⇒ Object



14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
# File 'lib/v20210820/models.rb', line 14649

def deserialize(params)
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  @ProjectId = params['ProjectId']
  unless params['OrderFields'].nil?
    @OrderFields = []
    params['OrderFields'].each do |i|
      orderfield_tmp = OrderField.new
      orderfield_tmp.deserialize(i)
      @OrderFields << orderfield_tmp
    end
  end
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
end