Class: TencentCloud::Gse::V20191112::DescribeFleetEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::DescribeFleetEventsResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeFleetEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(events = nil, totalcount = nil, requestid = nil) ⇒ DescribeFleetEventsResponse
constructor
A new instance of DescribeFleetEventsResponse.
Constructor Details
#initialize(events = nil, totalcount = nil, requestid = nil) ⇒ DescribeFleetEventsResponse
Returns a new instance of DescribeFleetEventsResponse.
1590 1591 1592 1593 1594 |
# File 'lib/v20191112/models.rb', line 1590 def initialize(events=nil, totalcount=nil, requestid=nil) @Events = events @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
1588 1589 1590 |
# File 'lib/v20191112/models.rb', line 1588 def Events @Events end |
#RequestId ⇒ Object
1588 1589 1590 |
# File 'lib/v20191112/models.rb', line 1588 def RequestId @RequestId end |
#TotalCount ⇒ Object
1588 1589 1590 |
# File 'lib/v20191112/models.rb', line 1588 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 |
# File 'lib/v20191112/models.rb', line 1596 def deserialize(params) unless params['Events'].nil? @Events = [] params['Events'].each do |i| event_tmp = Event.new event_tmp.deserialize(i) @Events << event_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |