Class: TencentCloud::Mrs::V20200910::ChemicalProductInfoName
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::ChemicalProductInfoName
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20200910/models.rb
Overview
药品名称,包括通用名和商品名
Instance Attribute Summary collapse
-
#BarndName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#BrandName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#GenericName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Pinyin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Text ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil, genericname = nil, barndname = nil, enname = nil, pinyin = nil, brandname = nil) ⇒ ChemicalProductInfoName
constructor
A new instance of ChemicalProductInfoName.
Constructor Details
#initialize(text = nil, genericname = nil, barndname = nil, enname = nil, pinyin = nil, brandname = nil) ⇒ ChemicalProductInfoName
Returns a new instance of ChemicalProductInfoName.
1784 1785 1786 1787 1788 1789 1790 1791 |
# File 'lib/v20200910/models.rb', line 1784 def initialize(text=nil, genericname=nil, =nil, enname=nil, =nil, brandname=nil) @Text = text @GenericName = genericname @BarndName = @EnName = enname @Pinyin = @BrandName = brandname end |
Instance Attribute Details
#BarndName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1779 1780 1781 |
# File 'lib/v20200910/models.rb', line 1779 def BarndName @BarndName end |
#BrandName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1779 1780 1781 |
# File 'lib/v20200910/models.rb', line 1779 def BrandName @BrandName end |
#EnName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1779 1780 1781 |
# File 'lib/v20200910/models.rb', line 1779 def EnName @EnName end |
#GenericName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1779 1780 1781 |
# File 'lib/v20200910/models.rb', line 1779 def GenericName @GenericName end |
#Pinyin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1779 1780 1781 |
# File 'lib/v20200910/models.rb', line 1779 def Pinyin @Pinyin end |
#Text ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1779 1780 1781 |
# File 'lib/v20200910/models.rb', line 1779 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
1793 1794 1795 1796 1797 1798 1799 1800 |
# File 'lib/v20200910/models.rb', line 1793 def deserialize(params) @Text = params['Text'] @GenericName = params['GenericName'] @BarndName = params['BarndName'] @EnName = params['EnName'] @Pinyin = params['Pinyin'] @BrandName = params['BrandName'] end |