Class: TencentCloud::Mgobe::V20201014::ChangeRoomPlayerStatusResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mgobe::V20201014::ChangeRoomPlayerStatusResponse
- Defined in:
- lib/v20201014/models.rb
Overview
ChangeRoomPlayerStatus返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(room = nil, requestid = nil) ⇒ ChangeRoomPlayerStatusResponse
constructor
A new instance of ChangeRoomPlayerStatusResponse.
Constructor Details
#initialize(room = nil, requestid = nil) ⇒ ChangeRoomPlayerStatusResponse
100 101 102 103 |
# File 'lib/v20201014/models.rb', line 100 def initialize(room=nil, requestid=nil) @Room = room @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
98 99 100 |
# File 'lib/v20201014/models.rb', line 98 def RequestId @RequestId end |
#Room ⇒ Object
98 99 100 |
# File 'lib/v20201014/models.rb', line 98 def Room @Room end |
Instance Method Details
#deserialize(params) ⇒ Object
105 106 107 108 109 110 111 |
# File 'lib/v20201014/models.rb', line 105 def deserialize(params) unless params['Room'].nil? @Room = Room.new @Room.deserialize(params['Room']) end @RequestId = params['RequestId'] end |