Class: TencentCloud::Iotcloud::V20180614::DescribeProductResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DescribeProductResponse
- Defined in:
- lib/v20180614/models.rb
Overview
DescribeProduct返回参数结构体
Instance Attribute Summary collapse
- #ProductId ⇒ Object
- #ProductMetadata ⇒ Object
- #ProductName ⇒ Object
- #ProductProperties ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, productname = nil, productmetadata = nil, productproperties = nil, requestid = nil) ⇒ DescribeProductResponse
constructor
A new instance of DescribeProductResponse.
Constructor Details
#initialize(productid = nil, productname = nil, productmetadata = nil, productproperties = nil, requestid = nil) ⇒ DescribeProductResponse
Returns a new instance of DescribeProductResponse.
2200 2201 2202 2203 2204 2205 2206 |
# File 'lib/v20180614/models.rb', line 2200 def initialize(productid=nil, productname=nil, =nil, productproperties=nil, requestid=nil) @ProductId = productid @ProductName = productname @ProductMetadata = @ProductProperties = productproperties @RequestId = requestid end |
Instance Attribute Details
#ProductId ⇒ Object
2198 2199 2200 |
# File 'lib/v20180614/models.rb', line 2198 def ProductId @ProductId end |
#ProductMetadata ⇒ Object
2198 2199 2200 |
# File 'lib/v20180614/models.rb', line 2198 def ProductMetadata @ProductMetadata end |
#ProductName ⇒ Object
2198 2199 2200 |
# File 'lib/v20180614/models.rb', line 2198 def ProductName @ProductName end |
#ProductProperties ⇒ Object
2198 2199 2200 |
# File 'lib/v20180614/models.rb', line 2198 def ProductProperties @ProductProperties end |
#RequestId ⇒ Object
2198 2199 2200 |
# File 'lib/v20180614/models.rb', line 2198 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 |
# File 'lib/v20180614/models.rb', line 2208 def deserialize(params) @ProductId = params['ProductId'] @ProductName = params['ProductName'] unless params['ProductMetadata'].nil? @ProductMetadata = ProductMetadata.new @ProductMetadata.deserialize(params['ProductMetadata']) end unless params['ProductProperties'].nil? @ProductProperties = ProductProperties.new @ProductProperties.deserialize(params['ProductProperties']) end @RequestId = params['RequestId'] end |