Class: TencentCloud::Mgobe::V20201014::ModifyRoomRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mgobe::V20201014::ModifyRoomRequest
- Defined in:
- lib/v20201014/models.rb
Overview
ModifyRoom请求参数结构体
Instance Attribute Summary collapse
- #ChangeRoomOptionList ⇒ Object
- #CustomProperties ⇒ Object
- #GameId ⇒ Object
- #IsForbidJoin ⇒ Object
- #IsInvited ⇒ Object
- #IsPrivate ⇒ Object
- #IsViewed ⇒ Object
- #Owner ⇒ Object
- #PlayerId ⇒ Object
- #RoomId ⇒ Object
- #RoomName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gameid = nil, roomid = nil, playerid = nil, changeroomoptionlist = nil, roomname = nil, owner = nil, isviewed = nil, isinvited = nil, isprivate = nil, customproperties = nil, isforbidjoin = nil) ⇒ ModifyRoomRequest
constructor
A new instance of ModifyRoomRequest.
Constructor Details
#initialize(gameid = nil, roomid = nil, playerid = nil, changeroomoptionlist = nil, roomname = nil, owner = nil, isviewed = nil, isinvited = nil, isprivate = nil, customproperties = nil, isforbidjoin = nil) ⇒ ModifyRoomRequest
Returns a new instance of ModifyRoomRequest.
271 272 273 274 275 276 277 278 279 280 281 282 283 |
# File 'lib/v20201014/models.rb', line 271 def initialize(gameid=nil, roomid=nil, playerid=nil, changeroomoptionlist=nil, roomname=nil, owner=nil, isviewed=nil, isinvited=nil, isprivate=nil, customproperties=nil, isforbidjoin=nil) @GameId = gameid @RoomId = roomid @PlayerId = playerid @ChangeRoomOptionList = changeroomoptionlist @RoomName = roomname @Owner = owner @IsViewed = isviewed @IsInvited = isinvited @IsPrivate = isprivate @CustomProperties = customproperties @IsForbidJoin = isforbidjoin end |
Instance Attribute Details
#ChangeRoomOptionList ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def ChangeRoomOptionList @ChangeRoomOptionList end |
#CustomProperties ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def CustomProperties @CustomProperties end |
#GameId ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def GameId @GameId end |
#IsForbidJoin ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def IsForbidJoin @IsForbidJoin end |
#IsInvited ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def IsInvited @IsInvited end |
#IsPrivate ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def IsPrivate @IsPrivate end |
#IsViewed ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def IsViewed @IsViewed end |
#Owner ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def Owner @Owner end |
#PlayerId ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def PlayerId @PlayerId end |
#RoomId ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def RoomId @RoomId end |
#RoomName ⇒ Object
269 270 271 |
# File 'lib/v20201014/models.rb', line 269 def RoomName @RoomName end |
Instance Method Details
#deserialize(params) ⇒ Object
285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'lib/v20201014/models.rb', line 285 def deserialize(params) @GameId = params['GameId'] @RoomId = params['RoomId'] @PlayerId = params['PlayerId'] @ChangeRoomOptionList = params['ChangeRoomOptionList'] @RoomName = params['RoomName'] @Owner = params['Owner'] @IsViewed = params['IsViewed'] @IsInvited = params['IsInvited'] @IsPrivate = params['IsPrivate'] @CustomProperties = params['CustomProperties'] @IsForbidJoin = params['IsForbidJoin'] end |