Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceEventResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceEventResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeDeviceEvent返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, events = nil, requestid = nil) ⇒ DescribeDeviceEventResponse
constructor
A new instance of DescribeDeviceEventResponse.
Constructor Details
#initialize(totalcount = nil, events = nil, requestid = nil) ⇒ DescribeDeviceEventResponse
Returns a new instance of DescribeDeviceEventResponse.
2070 2071 2072 2073 2074 |
# File 'lib/v20201201/models.rb', line 2070 def initialize(totalcount=nil, events=nil, requestid=nil) @TotalCount = totalcount @Events = events @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
2068 2069 2070 |
# File 'lib/v20201201/models.rb', line 2068 def Events @Events end |
#RequestId ⇒ Object
2068 2069 2070 |
# File 'lib/v20201201/models.rb', line 2068 def RequestId @RequestId end |
#TotalCount ⇒ Object
2068 2069 2070 |
# File 'lib/v20201201/models.rb', line 2068 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 |
# File 'lib/v20201201/models.rb', line 2076 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Events'].nil? @Events = [] params['Events'].each do |i| events_tmp = Events.new events_tmp.deserialize(i) @Events << events_tmp end end @RequestId = params['RequestId'] end |