Class: TencentCloud::Eb::V20210416::ListEventBusesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::ListEventBusesResponse
- Defined in:
- lib/v20210416/models.rb
Overview
ListEventBuses返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventbuses = nil, totalcount = nil, requestid = nil) ⇒ ListEventBusesResponse
constructor
A new instance of ListEventBusesResponse.
Constructor Details
#initialize(eventbuses = nil, totalcount = nil, requestid = nil) ⇒ ListEventBusesResponse
1487 1488 1489 1490 1491 |
# File 'lib/v20210416/models.rb', line 1487 def initialize(eventbuses=nil, totalcount=nil, requestid=nil) @EventBuses = eventbuses @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#EventBuses ⇒ Object
1485 1486 1487 |
# File 'lib/v20210416/models.rb', line 1485 def EventBuses @EventBuses end |
#RequestId ⇒ Object
1485 1486 1487 |
# File 'lib/v20210416/models.rb', line 1485 def RequestId @RequestId end |
#TotalCount ⇒ Object
1485 1486 1487 |
# File 'lib/v20210416/models.rb', line 1485 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 |
# File 'lib/v20210416/models.rb', line 1493 def deserialize(params) unless params['EventBuses'].nil? @EventBuses = [] params['EventBuses'].each do |i| eventbus_tmp = EventBus.new eventbus_tmp.deserialize(i) @EventBuses << eventbus_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |