Class: TencentCloud::Gpm::V20200820::StartMatchingRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::StartMatchingRequest
- Defined in:
- lib/v20200820/models.rb
Overview
StartMatching请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(matchcode = nil, players = nil, matchticketid = nil) ⇒ StartMatchingRequest
constructor
A new instance of StartMatchingRequest.
Constructor Details
#initialize(matchcode = nil, players = nil, matchticketid = nil) ⇒ StartMatchingRequest
Returns a new instance of StartMatchingRequest.
1610 1611 1612 1613 1614 |
# File 'lib/v20200820/models.rb', line 1610 def initialize(matchcode=nil, players=nil, matchticketid=nil) @MatchCode = matchcode @Players = players @MatchTicketId = matchticketid end |
Instance Attribute Details
#MatchCode ⇒ Object
1608 1609 1610 |
# File 'lib/v20200820/models.rb', line 1608 def MatchCode @MatchCode end |
#MatchTicketId ⇒ Object
1608 1609 1610 |
# File 'lib/v20200820/models.rb', line 1608 def MatchTicketId @MatchTicketId end |
#Players ⇒ Object
1608 1609 1610 |
# File 'lib/v20200820/models.rb', line 1608 def Players @Players end |
Instance Method Details
#deserialize(params) ⇒ Object
1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 |
# File 'lib/v20200820/models.rb', line 1616 def deserialize(params) @MatchCode = params['MatchCode'] unless params['Players'].nil? @Players = [] params['Players'].each do |i| player_tmp = Player.new player_tmp.deserialize(i) @Players << player_tmp end end @MatchTicketId = params['MatchTicketId'] end |