Class: TencentCloud::Mgobe::V20201014::ChangeRoomPlayerProfileRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mgobe::V20201014::ChangeRoomPlayerProfileRequest
- Defined in:
- lib/v20201014/models.rb
Overview
ChangeRoomPlayerProfile请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gameid = nil, playerid = nil, customprofile = nil) ⇒ ChangeRoomPlayerProfileRequest
constructor
A new instance of ChangeRoomPlayerProfileRequest.
Constructor Details
#initialize(gameid = nil, playerid = nil, customprofile = nil) ⇒ ChangeRoomPlayerProfileRequest
Returns a new instance of ChangeRoomPlayerProfileRequest.
31 32 33 34 35 |
# File 'lib/v20201014/models.rb', line 31 def initialize(gameid=nil, playerid=nil, customprofile=nil) @GameId = gameid @PlayerId = playerid @CustomProfile = customprofile end |
Instance Attribute Details
#CustomProfile ⇒ Object
29 30 31 |
# File 'lib/v20201014/models.rb', line 29 def CustomProfile @CustomProfile end |
#GameId ⇒ Object
29 30 31 |
# File 'lib/v20201014/models.rb', line 29 def GameId @GameId end |
#PlayerId ⇒ Object
29 30 31 |
# File 'lib/v20201014/models.rb', line 29 def PlayerId @PlayerId end |
Instance Method Details
#deserialize(params) ⇒ Object
37 38 39 40 41 |
# File 'lib/v20201014/models.rb', line 37 def deserialize(params) @GameId = params['GameId'] @PlayerId = params['PlayerId'] @CustomProfile = params['CustomProfile'] end |