Class: TencentCloud::Bizlive::V20190313::CreateSessionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bizlive::V20190313::CreateSessionRequest
- Defined in:
- lib/v20190313/models.rb
Overview
CreateSession请求参数结构体
Instance Attribute Summary collapse
- #ClientSession ⇒ Object
- #GameId ⇒ Object
- #GameParas ⇒ Object
- #GameRegion ⇒ Object
- #ImageUrl ⇒ Object
- #Resolution ⇒ Object
- #UserId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clientsession = nil, gameid = nil, userid = nil, gameparas = nil, gameregion = nil, imageurl = nil, resolution = nil) ⇒ CreateSessionRequest
constructor
A new instance of CreateSessionRequest.
Constructor Details
#initialize(clientsession = nil, gameid = nil, userid = nil, gameparas = nil, gameregion = nil, imageurl = nil, resolution = nil) ⇒ CreateSessionRequest
Returns a new instance of CreateSessionRequest.
39 40 41 42 43 44 45 46 47 |
# File 'lib/v20190313/models.rb', line 39 def initialize(clientsession=nil, gameid=nil, userid=nil, gameparas=nil, gameregion=nil, imageurl=nil, resolution=nil) @ClientSession = clientsession @GameId = gameid @UserId = userid @GameParas = gameparas @GameRegion = gameregion @ImageUrl = imageurl @Resolution = resolution end |
Instance Attribute Details
#ClientSession ⇒ Object
37 38 39 |
# File 'lib/v20190313/models.rb', line 37 def ClientSession @ClientSession end |
#GameId ⇒ Object
37 38 39 |
# File 'lib/v20190313/models.rb', line 37 def GameId @GameId end |
#GameParas ⇒ Object
37 38 39 |
# File 'lib/v20190313/models.rb', line 37 def GameParas @GameParas end |
#GameRegion ⇒ Object
37 38 39 |
# File 'lib/v20190313/models.rb', line 37 def GameRegion @GameRegion end |
#ImageUrl ⇒ Object
37 38 39 |
# File 'lib/v20190313/models.rb', line 37 def ImageUrl @ImageUrl end |
#Resolution ⇒ Object
37 38 39 |
# File 'lib/v20190313/models.rb', line 37 def Resolution @Resolution end |
#UserId ⇒ Object
37 38 39 |
# File 'lib/v20190313/models.rb', line 37 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
49 50 51 52 53 54 55 56 57 |
# File 'lib/v20190313/models.rb', line 49 def deserialize(params) @ClientSession = params['ClientSession'] @GameId = params['GameId'] @UserId = params['UserId'] @GameParas = params['GameParas'] @GameRegion = params['GameRegion'] @ImageUrl = params['ImageUrl'] @Resolution = params['Resolution'] end |