Class: TencentCloud::Mgobe::V20201014::Team
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mgobe::V20201014::Team
- Defined in:
- lib/v20201014/models.rb
Overview
团队属性
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, minplayers = nil, maxplayers = nil) ⇒ Team
constructor
A new instance of Team.
Constructor Details
#initialize(id = nil, name = nil, minplayers = nil, maxplayers = nil) ⇒ Team
Returns a new instance of Team.
513 514 515 516 517 518 |
# File 'lib/v20201014/models.rb', line 513 def initialize(id=nil, name=nil, minplayers=nil, maxplayers=nil) @Id = id @Name = name @MinPlayers = minplayers @MaxPlayers = maxplayers end |
Instance Attribute Details
#Id ⇒ Object
511 512 513 |
# File 'lib/v20201014/models.rb', line 511 def Id @Id end |
#MaxPlayers ⇒ Object
511 512 513 |
# File 'lib/v20201014/models.rb', line 511 def MaxPlayers @MaxPlayers end |
#MinPlayers ⇒ Object
511 512 513 |
# File 'lib/v20201014/models.rb', line 511 def MinPlayers @MinPlayers end |
#Name ⇒ Object
511 512 513 |
# File 'lib/v20201014/models.rb', line 511 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
520 521 522 523 524 525 |
# File 'lib/v20201014/models.rb', line 520 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @MinPlayers = params['MinPlayers'] @MaxPlayers = params['MaxPlayers'] end |