Class: TencentCloud::Gpm::V20200820::DescribeMatchesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::DescribeMatchesResponse
- Defined in:
- lib/v20200820/models.rb
Overview
DescribeMatches返回参数结构体
Instance Attribute Summary collapse
-
#Keyword ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MatchInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SearchType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(matchinfolist = nil, totalcount = nil, pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, requestid = nil) ⇒ DescribeMatchesResponse
constructor
A new instance of DescribeMatchesResponse.
Constructor Details
#initialize(matchinfolist = nil, totalcount = nil, pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, requestid = nil) ⇒ DescribeMatchesResponse
519 520 521 522 523 524 525 526 527 |
# File 'lib/v20200820/models.rb', line 519 def initialize(matchinfolist=nil, totalcount=nil, pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, requestid=nil) @MatchInfoList = matchinfolist @TotalCount = totalcount @PageNumber = pagenumber @PageSize = pagesize @SearchType = searchtype @Keyword = keyword @RequestId = requestid end |
Instance Attribute Details
#Keyword ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
517 518 519 |
# File 'lib/v20200820/models.rb', line 517 def Keyword @Keyword end |
#MatchInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
517 518 519 |
# File 'lib/v20200820/models.rb', line 517 def MatchInfoList @MatchInfoList end |
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
517 518 519 |
# File 'lib/v20200820/models.rb', line 517 def PageNumber @PageNumber end |
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
517 518 519 |
# File 'lib/v20200820/models.rb', line 517 def PageSize @PageSize end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
517 518 519 |
# File 'lib/v20200820/models.rb', line 517 def RequestId @RequestId end |
#SearchType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
517 518 519 |
# File 'lib/v20200820/models.rb', line 517 def SearchType @SearchType end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
517 518 519 |
# File 'lib/v20200820/models.rb', line 517 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 |
# File 'lib/v20200820/models.rb', line 529 def deserialize(params) unless params['MatchInfoList'].nil? @MatchInfoList = [] params['MatchInfoList'].each do |i| matchinfo_tmp = MatchInfo.new matchinfo_tmp.deserialize(i) @MatchInfoList << matchinfo_tmp end end @TotalCount = params['TotalCount'] @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @SearchType = params['SearchType'] @Keyword = params['Keyword'] @RequestId = params['RequestId'] end |