Class: TencentCloud::Iotcloud::V20210408::BindProductInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::BindProductInfo
- Defined in:
- lib/v20210408/models.rb
Overview
子产品信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, productname = nil) ⇒ BindProductInfo
constructor
A new instance of BindProductInfo.
Constructor Details
#initialize(productid = nil, productname = nil) ⇒ BindProductInfo
Returns a new instance of BindProductInfo.
208 209 210 211 |
# File 'lib/v20210408/models.rb', line 208 def initialize(productid=nil, productname=nil) @ProductId = productid @ProductName = productname end |
Instance Attribute Details
#ProductId ⇒ Object
206 207 208 |
# File 'lib/v20210408/models.rb', line 206 def ProductId @ProductId end |
#ProductName ⇒ Object
206 207 208 |
# File 'lib/v20210408/models.rb', line 206 def ProductName @ProductName end |
Instance Method Details
#deserialize(params) ⇒ Object
213 214 215 216 |
# File 'lib/v20210408/models.rb', line 213 def deserialize(params) @ProductId = params['ProductId'] @ProductName = params['ProductName'] end |