Class: TencentCloud::Cloudaudit::V20190319::DescribeEventsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudaudit::V20190319::DescribeEventsResponse
- Defined in:
- lib/v20190319/models.rb
Overview
DescribeEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listover = nil, nexttoken = nil, events = nil, totalcount = nil, requestid = nil) ⇒ DescribeEventsResponse
constructor
A new instance of DescribeEventsResponse.
Constructor Details
#initialize(listover = nil, nexttoken = nil, events = nil, totalcount = nil, requestid = nil) ⇒ DescribeEventsResponse
Returns a new instance of DescribeEventsResponse.
544 545 546 547 548 549 550 |
# File 'lib/v20190319/models.rb', line 544 def initialize(listover=nil, nexttoken=nil, events=nil, totalcount=nil, requestid=nil) @ListOver = listover @NextToken = nexttoken @Events = events @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
542 543 544 |
# File 'lib/v20190319/models.rb', line 542 def Events @Events end |
#ListOver ⇒ Object
542 543 544 |
# File 'lib/v20190319/models.rb', line 542 def ListOver @ListOver end |
#NextToken ⇒ Object
542 543 544 |
# File 'lib/v20190319/models.rb', line 542 def NextToken @NextToken end |
#RequestId ⇒ Object
542 543 544 |
# File 'lib/v20190319/models.rb', line 542 def RequestId @RequestId end |
#TotalCount ⇒ Object
542 543 544 |
# File 'lib/v20190319/models.rb', line 542 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
552 553 554 555 556 557 558 559 560 561 562 563 564 565 |
# File 'lib/v20190319/models.rb', line 552 def deserialize(params) @ListOver = params['ListOver'] @NextToken = params['NextToken'] 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 |