Class: TencentCloud::Gse::V20191112::DescribePlayerSessionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::DescribePlayerSessionsResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribePlayerSessions返回参数结构体
Instance Attribute Summary collapse
-
#NextToken ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PlayerSessions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(playersessions = nil, nexttoken = nil, requestid = nil) ⇒ DescribePlayerSessionsResponse
constructor
A new instance of DescribePlayerSessionsResponse.
Constructor Details
#initialize(playersessions = nil, nexttoken = nil, requestid = nil) ⇒ DescribePlayerSessionsResponse
Returns a new instance of DescribePlayerSessionsResponse.
2447 2448 2449 2450 2451 |
# File 'lib/v20191112/models.rb', line 2447 def initialize(playersessions=nil, nexttoken=nil, requestid=nil) @PlayerSessions = playersessions @NextToken = nexttoken @RequestId = requestid end |
Instance Attribute Details
#NextToken ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2445 2446 2447 |
# File 'lib/v20191112/models.rb', line 2445 def NextToken @NextToken end |
#PlayerSessions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2445 2446 2447 |
# File 'lib/v20191112/models.rb', line 2445 def PlayerSessions @PlayerSessions end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2445 2446 2447 |
# File 'lib/v20191112/models.rb', line 2445 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 |
# File 'lib/v20191112/models.rb', line 2453 def deserialize(params) unless params['PlayerSessions'].nil? @PlayerSessions = [] params['PlayerSessions'].each do |i| playersession_tmp = PlayerSession.new playersession_tmp.deserialize(i) @PlayerSessions << playersession_tmp end end @NextToken = params['NextToken'] @RequestId = params['RequestId'] end |