Class: TencentCloud::Eb::V20210416::ListConnectionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::ListConnectionsResponse
- Defined in:
- lib/v20210416/models.rb
Overview
ListConnections返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(connections = nil, totalcount = nil, requestid = nil) ⇒ ListConnectionsResponse
constructor
A new instance of ListConnectionsResponse.
Constructor Details
#initialize(connections = nil, totalcount = nil, requestid = nil) ⇒ ListConnectionsResponse
1417 1418 1419 1420 1421 |
# File 'lib/v20210416/models.rb', line 1417 def initialize(connections=nil, totalcount=nil, requestid=nil) @Connections = connections @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Connections ⇒ Object
1415 1416 1417 |
# File 'lib/v20210416/models.rb', line 1415 def Connections @Connections end |
#RequestId ⇒ Object
1415 1416 1417 |
# File 'lib/v20210416/models.rb', line 1415 def RequestId @RequestId end |
#TotalCount ⇒ Object
1415 1416 1417 |
# File 'lib/v20210416/models.rb', line 1415 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 |
# File 'lib/v20210416/models.rb', line 1423 def deserialize(params) unless params['Connections'].nil? @Connections = [] params['Connections'].each do |i| connection_tmp = Connection.new connection_tmp.deserialize(i) @Connections << connection_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |