Class: TencentCloud::Gpm::V20200820::DescribeMatchCodesResponse

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

Overview

DescribeMatchCodes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(matchcodes = nil, totalcount = nil, requestid = nil) ⇒ DescribeMatchCodesResponse

Returns a new instance of DescribeMatchCodesResponse.



400
401
402
403
404
# File 'lib/v20200820/models.rb', line 400

def initialize(matchcodes=nil, totalcount=nil, requestid=nil)
  @MatchCodes = matchcodes
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#MatchCodesObject

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

Parameters:

  • MatchCodes:

    匹配Code

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



398
399
400
# File 'lib/v20200820/models.rb', line 398

def MatchCodes
  @MatchCodes
end

#RequestIdObject

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

Parameters:

  • MatchCodes:

    匹配Code

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



398
399
400
# File 'lib/v20200820/models.rb', line 398

def RequestId
  @RequestId
end

#TotalCountObject

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

Parameters:

  • MatchCodes:

    匹配Code

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



398
399
400
# File 'lib/v20200820/models.rb', line 398

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



406
407
408
409
410
411
412
413
414
415
416
417
# File 'lib/v20200820/models.rb', line 406

def deserialize(params)
  unless params['MatchCodes'].nil?
    @MatchCodes = []
    params['MatchCodes'].each do |i|
      matchcodeattr_tmp = MatchCodeAttr.new
      matchcodeattr_tmp.deserialize(i)
      @MatchCodes << matchcodeattr_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end