Class: TencentCloud::Gpm::V20200820::DescribeRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::DescribeRulesResponse
- Defined in:
- lib/v20200820/models.rb
Overview
DescribeRules返回参数结构体
Instance Attribute Summary collapse
-
#Keyword ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SearchType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleinfolist = nil, totalcount = nil, pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, requestid = nil) ⇒ DescribeRulesResponse
constructor
A new instance of DescribeRulesResponse.
Constructor Details
#initialize(ruleinfolist = nil, totalcount = nil, pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, requestid = nil) ⇒ DescribeRulesResponse
Returns a new instance of DescribeRulesResponse.
702 703 704 705 706 707 708 709 710 |
# File 'lib/v20200820/models.rb', line 702 def initialize(ruleinfolist=nil, totalcount=nil, pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, requestid=nil) @RuleInfoList = ruleinfolist @TotalCount = totalcount @PageNumber = pagenumber @PageSize = pagesize @SearchType = searchtype @Keyword = keyword @RequestId = requestid end |
Instance Attribute Details
#Keyword ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
700 701 702 |
# File 'lib/v20200820/models.rb', line 700 def Keyword @Keyword end |
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
700 701 702 |
# File 'lib/v20200820/models.rb', line 700 def PageNumber @PageNumber end |
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
700 701 702 |
# File 'lib/v20200820/models.rb', line 700 def PageSize @PageSize end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
700 701 702 |
# File 'lib/v20200820/models.rb', line 700 def RequestId @RequestId end |
#RuleInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
700 701 702 |
# File 'lib/v20200820/models.rb', line 700 def RuleInfoList @RuleInfoList end |
#SearchType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
700 701 702 |
# File 'lib/v20200820/models.rb', line 700 def SearchType @SearchType end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
700 701 702 |
# File 'lib/v20200820/models.rb', line 700 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 |
# File 'lib/v20200820/models.rb', line 712 def deserialize(params) unless params['RuleInfoList'].nil? @RuleInfoList = [] params['RuleInfoList'].each do |i| rulebriefinfo_tmp = RuleBriefInfo.new rulebriefinfo_tmp.deserialize(i) @RuleInfoList << rulebriefinfo_tmp end end @TotalCount = params['TotalCount'] @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @SearchType = params['SearchType'] @Keyword = params['Keyword'] @RequestId = params['RequestId'] end |