Class: TencentCloud::Gse::V20191112::GameServerSessionDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::GameServerSessionDetail
- Defined in:
- lib/v20191112/models.rb
Overview
游戏服务器会话详情(GameServerSessionDetail)
Instance Attribute Summary collapse
-
#GameServerSession ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProtectionPolicy ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gameserversession = nil, protectionpolicy = nil) ⇒ GameServerSessionDetail
constructor
A new instance of GameServerSessionDetail.
Constructor Details
#initialize(gameserversession = nil, protectionpolicy = nil) ⇒ GameServerSessionDetail
Returns a new instance of GameServerSessionDetail.
3418 3419 3420 3421 |
# File 'lib/v20191112/models.rb', line 3418 def initialize(gameserversession=nil, protectionpolicy=nil) @GameServerSession = gameserversession @ProtectionPolicy = protectionpolicy end |
Instance Attribute Details
#GameServerSession ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3416 3417 3418 |
# File 'lib/v20191112/models.rb', line 3416 def GameServerSession @GameServerSession end |
#ProtectionPolicy ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3416 3417 3418 |
# File 'lib/v20191112/models.rb', line 3416 def ProtectionPolicy @ProtectionPolicy end |
Instance Method Details
#deserialize(params) ⇒ Object
3423 3424 3425 3426 3427 3428 3429 |
# File 'lib/v20191112/models.rb', line 3423 def deserialize(params) unless params['GameServerSession'].nil? @GameServerSession = GameServerSession.new @GameServerSession.deserialize(params['GameServerSession']) end @ProtectionPolicy = params['ProtectionPolicy'] end |