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
1795 1796 1797 1798 1799 1800 1801 1802 |
# File 'lib/v20200910/models.rb', line 1795 def initialize(text=nil, genericname=nil, =nil, enname=nil, =nil, brandname=nil) @Text = text @GenericName = genericname @BarndName = @EnName = enname = @BrandName = brandname end |
Instance Attribute Details
#BarndName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1790 1791 1792 |
# File 'lib/v20200910/models.rb', line 1790 def BarndName @BarndName end |
#BrandName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1790 1791 1792 |
# File 'lib/v20200910/models.rb', line 1790 def BrandName @BrandName end |
#EnName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1790 1791 1792 |
# File 'lib/v20200910/models.rb', line 1790 def EnName @EnName end |
#GenericName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1790 1791 1792 |
# File 'lib/v20200910/models.rb', line 1790 def GenericName @GenericName end |
#Pinyin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1790 1791 1792 |
# File 'lib/v20200910/models.rb', line 1790 def end |
#Text ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1790 1791 1792 |
# File 'lib/v20200910/models.rb', line 1790 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/v20200910/models.rb', line 1804 def deserialize(params) @Text = params['Text'] @GenericName = params['GenericName'] @BarndName = params['BarndName'] @EnName = params['EnName'] = params['Pinyin'] @BrandName = params['BrandName'] end |