Class: TencentCloud::Gpm::V20200820::DescribeRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::DescribeRulesRequest
- Defined in:
- lib/v20200820/models.rb
Overview
DescribeRules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, tags = nil) ⇒ DescribeRulesRequest
constructor
A new instance of DescribeRulesRequest.
Constructor Details
#initialize(pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, tags = nil) ⇒ DescribeRulesRequest
Returns a new instance of DescribeRulesRequest.
658 659 660 661 662 663 664 |
# File 'lib/v20200820/models.rb', line 658 def initialize(pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, =nil) @PageNumber = pagenumber @PageSize = pagesize @SearchType = searchtype @Keyword = keyword @Tags = end |
Instance Attribute Details
#Keyword ⇒ Object
656 657 658 |
# File 'lib/v20200820/models.rb', line 656 def Keyword @Keyword end |
#PageNumber ⇒ Object
656 657 658 |
# File 'lib/v20200820/models.rb', line 656 def PageNumber @PageNumber end |
#PageSize ⇒ Object
656 657 658 |
# File 'lib/v20200820/models.rb', line 656 def PageSize @PageSize end |
#SearchType ⇒ Object
656 657 658 |
# File 'lib/v20200820/models.rb', line 656 def SearchType @SearchType end |
#Tags ⇒ Object
656 657 658 |
# File 'lib/v20200820/models.rb', line 656 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
666 667 668 669 670 671 672 673 674 675 676 677 678 679 |
# File 'lib/v20200820/models.rb', line 666 def deserialize(params) @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @SearchType = params['SearchType'] @Keyword = params['Keyword'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |