Class: TencentCloud::Mgobe::V20201014::ChangeRoomPlayerStatusRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mgobe::V20201014::ChangeRoomPlayerStatusRequest
- Defined in:
- lib/v20201014/models.rb
Overview
ChangeRoomPlayerStatus请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gameid = nil, customstatus = nil, playerid = nil) ⇒ ChangeRoomPlayerStatusRequest
constructor
A new instance of ChangeRoomPlayerStatusRequest.
Constructor Details
#initialize(gameid = nil, customstatus = nil, playerid = nil) ⇒ ChangeRoomPlayerStatusRequest
Returns a new instance of ChangeRoomPlayerStatusRequest.
78 79 80 81 82 |
# File 'lib/v20201014/models.rb', line 78 def initialize(gameid=nil, customstatus=nil, playerid=nil) @GameId = gameid @CustomStatus = customstatus @PlayerId = playerid end |
Instance Attribute Details
#CustomStatus ⇒ Object
76 77 78 |
# File 'lib/v20201014/models.rb', line 76 def CustomStatus @CustomStatus end |
#GameId ⇒ Object
76 77 78 |
# File 'lib/v20201014/models.rb', line 76 def GameId @GameId end |
#PlayerId ⇒ Object
76 77 78 |
# File 'lib/v20201014/models.rb', line 76 def PlayerId @PlayerId end |
Instance Method Details
#deserialize(params) ⇒ Object
84 85 86 87 88 |
# File 'lib/v20201014/models.rb', line 84 def deserialize(params) @GameId = params['GameId'] @CustomStatus = params['CustomStatus'] @PlayerId = params['PlayerId'] end |