Class: TencentCloud::Gpm::V20200820::DescribeMatchCodesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::DescribeMatchCodesResponse
- Defined in:
- lib/v20200820/models.rb
Overview
DescribeMatchCodes返回参数结构体
Instance Attribute Summary collapse
-
#MatchCodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(matchcodes = nil, totalcount = nil, requestid = nil) ⇒ DescribeMatchCodesResponse
constructor
A new instance of DescribeMatchCodesResponse.
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
#MatchCodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
398 399 400 |
# File 'lib/v20200820/models.rb', line 398 def MatchCodes @MatchCodes end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
398 399 400 |
# File 'lib/v20200820/models.rb', line 398 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
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 |