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.
2040 2041 2042 2043 2044 2045 2046 2047 |
# File 'lib/v20201201/models.rb', line 2040 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
2038 2039 2040 |
# File 'lib/v20201201/models.rb', line 2038 def DeviceId @DeviceId end |
#EndTime ⇒ Object
2038 2039 2040 |
# File 'lib/v20201201/models.rb', line 2038 def EndTime @EndTime end |
#EventTypes ⇒ Object
2038 2039 2040 |
# File 'lib/v20201201/models.rb', line 2038 def EventTypes @EventTypes end |
#Limit ⇒ Object
2038 2039 2040 |
# File 'lib/v20201201/models.rb', line 2038 def Limit @Limit end |
#Offset ⇒ Object
2038 2039 2040 |
# File 'lib/v20201201/models.rb', line 2038 def Offset @Offset end |
#StartTime ⇒ Object
2038 2039 2040 |
# File 'lib/v20201201/models.rb', line 2038 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2049 2050 2051 2052 2053 2054 2055 2056 |
# File 'lib/v20201201/models.rb', line 2049 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] @DeviceId = params['DeviceId'] @EventTypes = params['EventTypes'] @Offset = params['Offset'] @Limit = params['Limit'] end |