Class: TencentCloud::Weilingwith::V20230427::RelatedProduct
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::RelatedProduct
- Defined in:
- lib/v20230427/models.rb
Overview
关联产品信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil) ⇒ RelatedProduct
constructor
A new instance of RelatedProduct.
Constructor Details
#initialize(id = nil, name = nil) ⇒ RelatedProduct
Returns a new instance of RelatedProduct.
6491 6492 6493 6494 |
# File 'lib/v20230427/models.rb', line 6491 def initialize(id=nil, name=nil) @Id = id @Name = name end |
Instance Attribute Details
#Id ⇒ Object
6489 6490 6491 |
# File 'lib/v20230427/models.rb', line 6489 def Id @Id end |
#Name ⇒ Object
6489 6490 6491 |
# File 'lib/v20230427/models.rb', line 6489 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
6496 6497 6498 6499 |
# File 'lib/v20230427/models.rb', line 6496 def deserialize(params) @Id = params['Id'] @Name = params['Name'] end |