Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeDevice返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(device = nil, requestid = nil) ⇒ DescribeDeviceResponse
constructor
A new instance of DescribeDeviceResponse.
Constructor Details
#initialize(device = nil, requestid = nil) ⇒ DescribeDeviceResponse
Returns a new instance of DescribeDeviceResponse.
2359 2360 2361 2362 |
# File 'lib/v20201201/models.rb', line 2359 def initialize(device=nil, requestid=nil) @Device = device @RequestId = requestid end |
Instance Attribute Details
#Device ⇒ Object
2357 2358 2359 |
# File 'lib/v20201201/models.rb', line 2357 def Device @Device end |
#RequestId ⇒ Object
2357 2358 2359 |
# File 'lib/v20201201/models.rb', line 2357 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2364 2365 2366 2367 2368 2369 2370 |
# File 'lib/v20201201/models.rb', line 2364 def deserialize(params) unless params['Device'].nil? @Device = AllDeviceInfo.new @Device.deserialize(params['Device']) end @RequestId = params['RequestId'] end |