Class: TencentCloud::Wedata::V20210820::DescribeRuleGroupsByPageRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::DescribeRuleGroupsByPageRequest
- Defined in:
- lib/v20210820/models.rb
Overview
DescribeRuleGroupsByPage请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, filters = nil, orderfields = nil, projectid = nil) ⇒ DescribeRuleGroupsByPageRequest
constructor
A new instance of DescribeRuleGroupsByPageRequest.
Constructor Details
#initialize(pagenumber = nil, pagesize = nil, filters = nil, orderfields = nil, projectid = nil) ⇒ DescribeRuleGroupsByPageRequest
Returns a new instance of DescribeRuleGroupsByPageRequest.
14483 14484 14485 14486 14487 14488 14489 |
# File 'lib/v20210820/models.rb', line 14483 def initialize(pagenumber=nil, pagesize=nil, filters=nil, orderfields=nil, projectid=nil) @PageNumber = pagenumber @PageSize = pagesize @Filters = filters @OrderFields = orderfields @ProjectId = projectid end |
Instance Attribute Details
#Filters ⇒ Object
14481 14482 14483 |
# File 'lib/v20210820/models.rb', line 14481 def Filters @Filters end |
#OrderFields ⇒ Object
14481 14482 14483 |
# File 'lib/v20210820/models.rb', line 14481 def OrderFields @OrderFields end |
#PageNumber ⇒ Object
14481 14482 14483 |
# File 'lib/v20210820/models.rb', line 14481 def PageNumber @PageNumber end |
#PageSize ⇒ Object
14481 14482 14483 |
# File 'lib/v20210820/models.rb', line 14481 def PageSize @PageSize end |
#ProjectId ⇒ Object
14481 14482 14483 |
# File 'lib/v20210820/models.rb', line 14481 def ProjectId @ProjectId end |
Instance Method Details
#deserialize(params) ⇒ Object
14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 |
# File 'lib/v20210820/models.rb', line 14491 def deserialize(params) @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] 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['OrderFields'].nil? @OrderFields = [] params['OrderFields'].each do |i| orderfield_tmp = OrderField.new orderfield_tmp.deserialize(i) @OrderFields << orderfield_tmp end end @ProjectId = params['ProjectId'] end |