Class: TencentCloud::Iotcloud::V20210408::DescribeProductResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DescribeProductResponse
- Defined in:
- lib/v20210408/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.
2214 2215 2216 2217 2218 2219 2220 |
# File 'lib/v20210408/models.rb', line 2214 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
2212 2213 2214 |
# File 'lib/v20210408/models.rb', line 2212 def ProductId @ProductId end |
#ProductMetadata ⇒ Object
2212 2213 2214 |
# File 'lib/v20210408/models.rb', line 2212 def ProductMetadata @ProductMetadata end |
#ProductName ⇒ Object
2212 2213 2214 |
# File 'lib/v20210408/models.rb', line 2212 def ProductName @ProductName end |
#ProductProperties ⇒ Object
2212 2213 2214 |
# File 'lib/v20210408/models.rb', line 2212 def ProductProperties @ProductProperties end |
#RequestId ⇒ Object
2212 2213 2214 |
# File 'lib/v20210408/models.rb', line 2212 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 |
# File 'lib/v20210408/models.rb', line 2222 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 |