Class: TencentCloud::Gse::V20191112::SearchGameServerSessionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::SearchGameServerSessionsResponse
- Defined in:
- lib/v20191112/models.rb
Overview
SearchGameServerSessions返回参数结构体
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) ⇒ SearchGameServerSessionsResponse
constructor
A new instance of SearchGameServerSessionsResponse.
Constructor Details
#initialize(gameserversessions = nil, nexttoken = nil, requestid = nil) ⇒ SearchGameServerSessionsResponse
Returns a new instance of SearchGameServerSessionsResponse.
5009 5010 5011 5012 5013 |
# File 'lib/v20191112/models.rb', line 5009 def initialize(gameserversessions=nil, nexttoken=nil, requestid=nil) @GameServerSessions = gameserversessions @NextToken = nexttoken @RequestId = requestid end |
Instance Attribute Details
#GameServerSessions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5007 5008 5009 |
# File 'lib/v20191112/models.rb', line 5007 def GameServerSessions @GameServerSessions end |
#NextToken ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5007 5008 5009 |
# File 'lib/v20191112/models.rb', line 5007 def NextToken @NextToken end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5007 5008 5009 |
# File 'lib/v20191112/models.rb', line 5007 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 |
# File 'lib/v20191112/models.rb', line 5015 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 |