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.
1019 1020 1021 1022 1023 1024 1025 |
# File 'lib/v20190319/models.rb', line 1019 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
1017 1018 1019 |
# File 'lib/v20190319/models.rb', line 1017 def Events @Events end |
#ListOver ⇒ Object
1017 1018 1019 |
# File 'lib/v20190319/models.rb', line 1017 def ListOver @ListOver end |
#NextToken ⇒ Object
1017 1018 1019 |
# File 'lib/v20190319/models.rb', line 1017 def NextToken @NextToken end |
#RequestId ⇒ Object
1017 1018 1019 |
# File 'lib/v20190319/models.rb', line 1017 def RequestId @RequestId end |
#TotalCount ⇒ Object
1017 1018 1019 |
# File 'lib/v20190319/models.rb', line 1017 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'lib/v20190319/models.rb', line 1027 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 |