Class: TencentCloud::Gpm::V20200820::StartMatchingBackfillRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::StartMatchingBackfillRequest
- Defined in:
- lib/v20200820/models.rb
Overview
StartMatchingBackfill请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(matchcode = nil, players = nil, gameserversessionid = nil, matchticketid = nil) ⇒ StartMatchingBackfillRequest
constructor
A new instance of StartMatchingBackfillRequest.
Constructor Details
#initialize(matchcode = nil, players = nil, gameserversessionid = nil, matchticketid = nil) ⇒ StartMatchingBackfillRequest
Returns a new instance of StartMatchingBackfillRequest.
1553 1554 1555 1556 1557 1558 |
# File 'lib/v20200820/models.rb', line 1553 def initialize(matchcode=nil, players=nil, gameserversessionid=nil, matchticketid=nil) @MatchCode = matchcode @Players = players @GameServerSessionId = gameserversessionid @MatchTicketId = matchticketid end |
Instance Attribute Details
#GameServerSessionId ⇒ Object
1551 1552 1553 |
# File 'lib/v20200820/models.rb', line 1551 def GameServerSessionId @GameServerSessionId end |
#MatchCode ⇒ Object
1551 1552 1553 |
# File 'lib/v20200820/models.rb', line 1551 def MatchCode @MatchCode end |
#MatchTicketId ⇒ Object
1551 1552 1553 |
# File 'lib/v20200820/models.rb', line 1551 def MatchTicketId @MatchTicketId end |
#Players ⇒ Object
1551 1552 1553 |
# File 'lib/v20200820/models.rb', line 1551 def Players @Players end |
Instance Method Details
#deserialize(params) ⇒ Object
1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 |
# File 'lib/v20200820/models.rb', line 1560 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 @GameServerSessionId = params['GameServerSessionId'] @MatchTicketId = params['MatchTicketId'] end |