Class: TencentCloud::Cloudaudit::V20190319::LookUpEventsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudaudit::V20190319::LookUpEventsResponse
- Defined in:
- lib/v20190319/models.rb
Overview
LookUpEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nexttoken = nil, events = nil, listover = nil, totalcount = nil, requestid = nil) ⇒ LookUpEventsResponse
constructor
A new instance of LookUpEventsResponse.
Constructor Details
#initialize(nexttoken = nil, events = nil, listover = nil, totalcount = nil, requestid = nil) ⇒ LookUpEventsResponse
Returns a new instance of LookUpEventsResponse.
1005 1006 1007 1008 1009 1010 1011 |
# File 'lib/v20190319/models.rb', line 1005 def initialize(nexttoken=nil, events=nil, listover=nil, totalcount=nil, requestid=nil) @NextToken = nexttoken @Events = events @ListOver = listover @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
1003 1004 1005 |
# File 'lib/v20190319/models.rb', line 1003 def Events @Events end |
#ListOver ⇒ Object
1003 1004 1005 |
# File 'lib/v20190319/models.rb', line 1003 def ListOver @ListOver end |
#NextToken ⇒ Object
1003 1004 1005 |
# File 'lib/v20190319/models.rb', line 1003 def NextToken @NextToken end |
#RequestId ⇒ Object
1003 1004 1005 |
# File 'lib/v20190319/models.rb', line 1003 def RequestId @RequestId end |
#TotalCount ⇒ Object
1003 1004 1005 |
# File 'lib/v20190319/models.rb', line 1003 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/v20190319/models.rb', line 1013 def deserialize(params) @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 @ListOver = params['ListOver'] @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |