Class: TencentCloud::Gse::V20191112::DescribeGameServerSessionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::DescribeGameServerSessionsResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeGameServerSessions返回参数结构体
Instance Attribute Summary collapse
-
#GameServerSessions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NextToken ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gameserversessions = nil, nexttoken = nil, requestid = nil) ⇒ DescribeGameServerSessionsResponse
constructor
A new instance of DescribeGameServerSessionsResponse.
Constructor Details
#initialize(gameserversessions = nil, nexttoken = nil, requestid = nil) ⇒ DescribeGameServerSessionsResponse
Returns a new instance of DescribeGameServerSessionsResponse.
2172 2173 2174 2175 2176 |
# File 'lib/v20191112/models.rb', line 2172 def initialize(gameserversessions=nil, nexttoken=nil, requestid=nil) @GameServerSessions = gameserversessions @NextToken = nexttoken @RequestId = requestid end |
Instance Attribute Details
#GameServerSessions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2170 2171 2172 |
# File 'lib/v20191112/models.rb', line 2170 def GameServerSessions @GameServerSessions end |
#NextToken ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2170 2171 2172 |
# File 'lib/v20191112/models.rb', line 2170 def NextToken @NextToken end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2170 2171 2172 |
# File 'lib/v20191112/models.rb', line 2170 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 |
# File 'lib/v20191112/models.rb', line 2178 def deserialize(params) unless params['GameServerSessions'].nil? @GameServerSessions = [] params['GameServerSessions'].each do |i| gameserversession_tmp = GameServerSession.new gameserversession_tmp.deserialize(i) @GameServerSessions << gameserversession_tmp end end @NextToken = params['NextToken'] @RequestId = params['RequestId'] end |