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

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, 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,表示取不到有效值。

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音

  • BrandName:

    品牌名



1779
1780
1781
# File 'lib/v20200910/models.rb', line 1779

def BarndName
  @BarndName
end

#BrandNameObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音

  • BrandName:

    品牌名



1779
1780
1781
# File 'lib/v20200910/models.rb', line 1779

def BrandName
  @BrandName
end

#EnNameObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音

  • BrandName:

    品牌名



1779
1780
1781
# File 'lib/v20200910/models.rb', line 1779

def EnName
  @EnName
end

#GenericNameObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音

  • BrandName:

    品牌名



1779
1780
1781
# File 'lib/v20200910/models.rb', line 1779

def GenericName
  @GenericName
end

#PinyinObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音

  • BrandName:

    品牌名



1779
1780
1781
# File 'lib/v20200910/models.rb', line 1779

def Pinyin
  @Pinyin
end

#TextObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音

  • BrandName:

    品牌名



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