Class: TencentCloud::Mgobe::V20201014::DescribePlayerRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mgobe::V20201014::DescribePlayerRequest
- Defined in:
- lib/v20201014/models.rb
Overview
DescribePlayer请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gameid = nil, openid = nil, playerid = nil) ⇒ DescribePlayerRequest
constructor
A new instance of DescribePlayerRequest.
Constructor Details
#initialize(gameid = nil, openid = nil, playerid = nil) ⇒ DescribePlayerRequest
Returns a new instance of DescribePlayerRequest.
125 126 127 128 129 |
# File 'lib/v20201014/models.rb', line 125 def initialize(gameid=nil, openid=nil, playerid=nil) @GameId = gameid @OpenId = openid @PlayerId = playerid end |
Instance Attribute Details
#GameId ⇒ Object
123 124 125 |
# File 'lib/v20201014/models.rb', line 123 def GameId @GameId end |
#OpenId ⇒ Object
123 124 125 |
# File 'lib/v20201014/models.rb', line 123 def OpenId @OpenId end |
#PlayerId ⇒ Object
123 124 125 |
# File 'lib/v20201014/models.rb', line 123 def PlayerId @PlayerId end |
Instance Method Details
#deserialize(params) ⇒ Object
131 132 133 134 135 |
# File 'lib/v20201014/models.rb', line 131 def deserialize(params) @GameId = params['GameId'] @OpenId = params['OpenId'] @PlayerId = params['PlayerId'] end |