Class: TencentCloud::Mgobe::V20201014::DescribePlayerResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mgobe::V20201014::DescribePlayerResponse
- Defined in:
- lib/v20201014/models.rb
Overview
DescribePlayer返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(player = nil, requestid = nil) ⇒ DescribePlayerResponse
constructor
A new instance of DescribePlayerResponse.
Constructor Details
#initialize(player = nil, requestid = nil) ⇒ DescribePlayerResponse
Returns a new instance of DescribePlayerResponse.
147 148 149 150 |
# File 'lib/v20201014/models.rb', line 147 def initialize(player=nil, requestid=nil) @Player = player @RequestId = requestid end |
Instance Attribute Details
#Player ⇒ Object
145 146 147 |
# File 'lib/v20201014/models.rb', line 145 def Player @Player end |
#RequestId ⇒ Object
145 146 147 |
# File 'lib/v20201014/models.rb', line 145 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
152 153 154 155 156 157 158 |
# File 'lib/v20201014/models.rb', line 152 def deserialize(params) unless params['Player'].nil? @Player = Player.new @Player.deserialize(params['Player']) end @RequestId = params['RequestId'] end |