Class: TencentCloud::Mgobe::V20201014::ModifyRoomRequest

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

Overview

ModifyRoom请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ChangeRoomOptionListObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def ChangeRoomOptionList
  @ChangeRoomOptionList
end

#CustomPropertiesObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def CustomProperties
  @CustomProperties
end

#GameIdObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def GameId
  @GameId
end

#IsForbidJoinObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def IsForbidJoin
  @IsForbidJoin
end

#IsInvitedObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def IsInvited
  @IsInvited
end

#IsPrivateObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def IsPrivate
  @IsPrivate
end

#IsViewedObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def IsViewed
  @IsViewed
end

#OwnerObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def Owner
  @Owner
end

#PlayerIdObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def PlayerId
  @PlayerId
end

#RoomIdObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



269
270
271
# File 'lib/v20201014/models.rb', line 269

def RoomId
  @RoomId
end

#RoomNameObject

Parameters:

  • GameId:

    游戏资源Id。

  • RoomId:

    房间ID。

  • PlayerId:

    发起者的PlayerId。

  • ChangeRoomOptionList:

    需要修改的房间选项,0表示房间名称,1表示房主,2表示是否允许观战,3表示是否支持邀请码/密码,4表示是否私有,5表示是否自定义房间属性,6表示是否禁止加人。

  • RoomName:

    房间名称。

  • Owner:

    变更房主。

  • IsViewed:

    是否支持观战。

  • IsInvited:

    是否支持邀请码/密码。

  • IsPrivate:

    是否私有。

  • CustomProperties:

    自定义房间属性。

  • IsForbidJoin:

    房间是否禁止加人。



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