Class: TencentCloud::Cloudaudit::V20190319::LookUpEventsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudaudit::V20190319::LookUpEventsRequest
- Defined in:
- lib/v20190319/models.rb
Overview
LookUpEvents请求参数结构体
Instance Attribute Summary collapse
- #EndTime ⇒ Object
- #LookupAttributes ⇒ Object
- #MaxResults ⇒ Object
- #Mode ⇒ Object
- #NextToken ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(starttime = nil, endtime = nil, lookupattributes = nil, nexttoken = nil, maxresults = nil, mode = nil) ⇒ LookUpEventsRequest
constructor
A new instance of LookUpEventsRequest.
Constructor Details
#initialize(starttime = nil, endtime = nil, lookupattributes = nil, nexttoken = nil, maxresults = nil, mode = nil) ⇒ LookUpEventsRequest
Returns a new instance of LookUpEventsRequest.
972 973 974 975 976 977 978 979 |
# File 'lib/v20190319/models.rb', line 972 def initialize(starttime=nil, endtime=nil, lookupattributes=nil, nexttoken=nil, maxresults=nil, mode=nil) @StartTime = starttime @EndTime = endtime @LookupAttributes = lookupattributes @NextToken = nexttoken @MaxResults = maxresults @Mode = mode end |
Instance Attribute Details
#EndTime ⇒ Object
970 971 972 |
# File 'lib/v20190319/models.rb', line 970 def EndTime @EndTime end |
#LookupAttributes ⇒ Object
970 971 972 |
# File 'lib/v20190319/models.rb', line 970 def LookupAttributes @LookupAttributes end |
#MaxResults ⇒ Object
970 971 972 |
# File 'lib/v20190319/models.rb', line 970 def MaxResults @MaxResults end |
#Mode ⇒ Object
970 971 972 |
# File 'lib/v20190319/models.rb', line 970 def Mode @Mode end |
#NextToken ⇒ Object
970 971 972 |
# File 'lib/v20190319/models.rb', line 970 def NextToken @NextToken end |
#StartTime ⇒ Object
970 971 972 |
# File 'lib/v20190319/models.rb', line 970 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 |
# File 'lib/v20190319/models.rb', line 981 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] unless params['LookupAttributes'].nil? @LookupAttributes = [] params['LookupAttributes'].each do |i| lookupattribute_tmp = LookupAttribute.new lookupattribute_tmp.deserialize(i) @LookupAttributes << lookupattribute_tmp end end @NextToken = params['NextToken'] @MaxResults = params['MaxResults'] @Mode = params['Mode'] end |