lib/v20191118/models.rb in tencentcloud-sdk-gs-3.0.590 vs lib/v20191118/models.rb in tencentcloud-sdk-gs-3.0.591

- old
+ new

@@ -57,11 +57,11 @@ # RunWithoutClient:允许无客户端连接的情况下仍保持云端 App 运行 # 默认值(空):要求必须有客户端连接才会保持云端 App 运行。 # @type RunMode: String attr_accessor :UserId, :GameId, :GameRegion, :GameParas, :ClientSession, :Resolution, :ImageUrl, :SetNo, :Bitrate, :MaxBitrate, :MinBitrate, :Fps, :UserIp, :Optimization, :HostUserId, :Role, :GameContext, :RunMode - + def initialize(userid=nil, gameid=nil, gameregion=nil, gameparas=nil, clientsession=nil, resolution=nil, imageurl=nil, setno=nil, bitrate=nil, maxbitrate=nil, minbitrate=nil, fps=nil, userip=nil, optimization=nil, hostuserid=nil, role=nil, gamecontext=nil, runmode=nil) @UserId = userid @GameId = gameid @GameRegion = gameregion @GameParas = gameparas @@ -113,11 +113,11 @@ # @type Role: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ServerSession, :RoleNumber, :Role, :RequestId - + def initialize(serversession=nil, rolenumber=nil, role=nil, requestid=nil) @ServerSession = serversession @RoleNumber = rolenumber @Role = role @RequestId = requestid @@ -143,11 +143,11 @@ # MOBILE:手游 # PC:默认值,端游 # @type GameType: String attr_accessor :GameId, :GroupId, :GameRegion, :GameType - + def initialize(gameid=nil, groupid=nil, gameregion=nil, gametype=nil) @GameId = gameid @GroupId = groupid @GameRegion = gameregion @GameType = gametype @@ -169,11 +169,11 @@ # @type Running: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :Running, :RequestId - + def initialize(total=nil, running=nil, requestid=nil) @Total = total @Running = running @RequestId = requestid end @@ -191,11 +191,11 @@ # @type UserId: String # @param GameId: 游戏ID # @type GameId: String attr_accessor :UserId, :GameId - + def initialize(userid=nil, gameid=nil) @UserId = userid @GameId = gameid end @@ -209,11 +209,11 @@ class SaveGameArchiveResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -227,11 +227,11 @@ # @type UserId: String # @param PublishUrl: 推流地址,仅支持rtmp协议 # @type PublishUrl: String attr_accessor :UserId, :PublishUrl - + def initialize(userid=nil, publishurl=nil) @UserId = userid @PublishUrl = publishurl end @@ -245,11 +245,11 @@ class StartPublishStreamResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -263,11 +263,11 @@ # @type UserId: String # @param HostUserId: 【多人游戏】游戏主机用户ID # @type HostUserId: String attr_accessor :UserId, :HostUserId - + def initialize(userid=nil, hostuserid=nil) @UserId = userid @HostUserId = hostuserid end @@ -281,11 +281,11 @@ class StopGameResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -297,11 +297,11 @@ class StopPublishStreamRequest < TencentCloud::Common::AbstractModel # @param UserId: 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变) # @type UserId: String attr_accessor :UserId - + def initialize(userid=nil) @UserId = userid end def deserialize(params) @@ -313,11 +313,11 @@ class StopPublishStreamResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -335,11 +335,11 @@ # @type GameArchiveUrl: String # @param GameContext: 游戏相关参数 # @type GameContext: String attr_accessor :UserId, :GameId, :GameArchiveUrl, :GameContext - + def initialize(userid=nil, gameid=nil, gamearchiveurl=nil, gamecontext=nil) @UserId = userid @GameId = gameid @GameArchiveUrl = gamearchiveurl @GameContext = gamecontext @@ -357,11 +357,11 @@ class SwitchGameArchiveResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -383,11 +383,11 @@ # @type UserIp: String # @param GroupId: 分组ID # @type GroupId: String attr_accessor :UserId, :GameId, :GameRegion, :SetNo, :UserIp, :GroupId - + def initialize(userid=nil, gameid=nil, gameregion=nil, setno=nil, userip=nil, groupid=nil) @UserId = userid @GameId = gameid @GameRegion = gameregion @SetNo = setno @@ -409,10 +409,10 @@ class TrylockWorkerResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params)