Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceEventRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceEventRequest
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeDeviceEvent请求参数结构体
Instance Attribute Summary collapse
- #DeviceId ⇒ Object
- #EndTime ⇒ Object
- #EventTypes ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(starttime = nil, endtime = nil, deviceid = nil, eventtypes = nil, offset = nil, limit = nil) ⇒ DescribeDeviceEventRequest
constructor
A new instance of DescribeDeviceEventRequest.
Constructor Details
#initialize(starttime = nil, endtime = nil, deviceid = nil, eventtypes = nil, offset = nil, limit = nil) ⇒ DescribeDeviceEventRequest
Returns a new instance of DescribeDeviceEventRequest.
2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/v20201201/models.rb', line 2086 def initialize(starttime=nil, endtime=nil, deviceid=nil, eventtypes=nil, offset=nil, limit=nil) @StartTime = starttime @EndTime = endtime @DeviceId = deviceid @EventTypes = eventtypes @Offset = offset @Limit = limit end |
Instance Attribute Details
#DeviceId ⇒ Object
2084 2085 2086 |
# File 'lib/v20201201/models.rb', line 2084 def DeviceId @DeviceId end |
#EndTime ⇒ Object
2084 2085 2086 |
# File 'lib/v20201201/models.rb', line 2084 def EndTime @EndTime end |
#EventTypes ⇒ Object
2084 2085 2086 |
# File 'lib/v20201201/models.rb', line 2084 def EventTypes @EventTypes end |
#Limit ⇒ Object
2084 2085 2086 |
# File 'lib/v20201201/models.rb', line 2084 def Limit @Limit end |
#Offset ⇒ Object
2084 2085 2086 |
# File 'lib/v20201201/models.rb', line 2084 def Offset @Offset end |
#StartTime ⇒ Object
2084 2085 2086 |
# File 'lib/v20201201/models.rb', line 2084 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2095 2096 2097 2098 2099 2100 2101 2102 |
# File 'lib/v20201201/models.rb', line 2095 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] @DeviceId = params['DeviceId'] @EventTypes = params['EventTypes'] @Offset = params['Offset'] @Limit = params['Limit'] end |