Class: TencentCloud::Cloudaudit::V20190319::DescribeEventsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudaudit::V20190319::DescribeEventsRequest
- Defined in:
- lib/v20190319/models.rb
Overview
DescribeEvents请求参数结构体
Instance Attribute Summary collapse
- #EndTime ⇒ Object
- #IsReturnLocation ⇒ Object
- #LookupAttributes ⇒ Object
- #MaxResults ⇒ Object
- #NextToken ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(starttime = nil, endtime = nil, nexttoken = nil, maxresults = nil, lookupattributes = nil, isreturnlocation = nil) ⇒ DescribeEventsRequest
constructor
A new instance of DescribeEventsRequest.
Constructor Details
#initialize(starttime = nil, endtime = nil, nexttoken = nil, maxresults = nil, lookupattributes = nil, isreturnlocation = nil) ⇒ DescribeEventsRequest
Returns a new instance of DescribeEventsRequest.
505 506 507 508 509 510 511 512 |
# File 'lib/v20190319/models.rb', line 505 def initialize(starttime=nil, endtime=nil, nexttoken=nil, maxresults=nil, lookupattributes=nil, isreturnlocation=nil) @StartTime = starttime @EndTime = endtime @NextToken = nexttoken @MaxResults = maxresults @LookupAttributes = lookupattributes @IsReturnLocation = isreturnlocation end |
Instance Attribute Details
#EndTime ⇒ Object
503 504 505 |
# File 'lib/v20190319/models.rb', line 503 def EndTime @EndTime end |
#IsReturnLocation ⇒ Object
503 504 505 |
# File 'lib/v20190319/models.rb', line 503 def IsReturnLocation @IsReturnLocation end |
#LookupAttributes ⇒ Object
503 504 505 |
# File 'lib/v20190319/models.rb', line 503 def LookupAttributes @LookupAttributes end |
#MaxResults ⇒ Object
503 504 505 |
# File 'lib/v20190319/models.rb', line 503 def MaxResults @MaxResults end |
#NextToken ⇒ Object
503 504 505 |
# File 'lib/v20190319/models.rb', line 503 def NextToken @NextToken end |
#StartTime ⇒ Object
503 504 505 |
# File 'lib/v20190319/models.rb', line 503 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
# File 'lib/v20190319/models.rb', line 514 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] @NextToken = params['NextToken'] @MaxResults = params['MaxResults'] unless params['LookupAttributes'].nil? @LookupAttributes = [] params['LookupAttributes'].each do |i| lookupattribute_tmp = LookupAttribute.new lookupattribute_tmp.deserialize(i) @LookupAttributes << lookupattribute_tmp end end @IsReturnLocation = params['IsReturnLocation'] end |