Class: TencentCloud::Gpm::V20200820::DescribeMatchesResponse

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

Overview

DescribeMatches返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeywordObject

注意:此字段可能返回 null,表示取不到有效值。



517
518
519
# File 'lib/v20200820/models.rb', line 517

def Keyword
  @Keyword
end

#MatchInfoListObject

注意:此字段可能返回 null,表示取不到有效值。



517
518
519
# File 'lib/v20200820/models.rb', line 517

def MatchInfoList
  @MatchInfoList
end

#PageNumberObject

注意:此字段可能返回 null,表示取不到有效值。



517
518
519
# File 'lib/v20200820/models.rb', line 517

def PageNumber
  @PageNumber
end

#PageSizeObject

注意:此字段可能返回 null,表示取不到有效值。



517
518
519
# File 'lib/v20200820/models.rb', line 517

def PageSize
  @PageSize
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。



517
518
519
# File 'lib/v20200820/models.rb', line 517

def RequestId
  @RequestId
end

#SearchTypeObject

注意:此字段可能返回 null,表示取不到有效值。



517
518
519
# File 'lib/v20200820/models.rb', line 517

def SearchType
  @SearchType
end

#TotalCountObject

注意:此字段可能返回 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