Class: TencentCloud::Mrs::V20200910::ChemicalProductInfoName

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20200910/models.rb

Overview

药品名称,包括通用名和商品名

Instance Attribute Summary collapse

Instance Method Summary collapse

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, barndname=nil, enname=nil, pinyin=nil, brandname=nil)
  @Text = text
  @GenericName = genericname
  @BarndName = barndname
  @EnName = enname
  @Pinyin = pinyin
  @BrandName = brandname
end

Instance Attribute Details

#BarndNameObject

注意:此字段可能返回 null,表示取不到有效值。



1790
1791
1792
# File 'lib/v20200910/models.rb', line 1790

def BarndName
  @BarndName
end

#BrandNameObject

注意:此字段可能返回 null,表示取不到有效值。



1790
1791
1792
# File 'lib/v20200910/models.rb', line 1790

def BrandName
  @BrandName
end

#EnNameObject

注意:此字段可能返回 null,表示取不到有效值。



1790
1791
1792
# File 'lib/v20200910/models.rb', line 1790

def EnName
  @EnName
end

#GenericNameObject

注意:此字段可能返回 null,表示取不到有效值。



1790
1791
1792
# File 'lib/v20200910/models.rb', line 1790

def GenericName
  @GenericName
end

#PinyinObject

注意:此字段可能返回 null,表示取不到有效值。



1790
1791
1792
# File 'lib/v20200910/models.rb', line 1790

def Pinyin
  @Pinyin
end

#TextObject

注意:此字段可能返回 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']
  @Pinyin = params['Pinyin']
  @BrandName = params['BrandName']
end