Class: TencentCloud::Mgobe::V20201014::ChangeRoomPlayerStatusResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201014/models.rb

Overview

ChangeRoomPlayerStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject



98
99
100
# File 'lib/v20201014/models.rb', line 98

def RequestId
  @RequestId
end

#RoomObject



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