Class: TencentCloud::Mrs::V20200910::BiologicalProductInfoName

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) ⇒ BiologicalProductInfoName

Returns a new instance of BiologicalProductInfoName.



552
553
554
555
556
557
558
# File 'lib/v20200910/models.rb', line 552

def initialize(text=nil, genericname=nil, barndname=nil, enname=nil, pinyin=nil)
  @Text = text
  @GenericName = genericname
  @BarndName = barndname
  @EnName = enname
  @Pinyin = pinyin
end

Instance Attribute Details

#BarndNameObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音



547
548
549
# File 'lib/v20200910/models.rb', line 547

def BarndName
  @BarndName
end

#EnNameObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音



547
548
549
# File 'lib/v20200910/models.rb', line 547

def EnName
  @EnName
end

#GenericNameObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音



547
548
549
# File 'lib/v20200910/models.rb', line 547

def GenericName
  @GenericName
end

#PinyinObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音



547
548
549
# File 'lib/v20200910/models.rb', line 547

def Pinyin
  @Pinyin
end

#TextObject

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

Parameters:

  • Text:

    文本内容

  • GenericName:

    通用名

  • BarndName:

    品牌名

  • EnName:

    英文名

  • Pinyin:

    拼音



547
548
549
# File 'lib/v20200910/models.rb', line 547

def Text
  @Text
end

Instance Method Details

#deserialize(params) ⇒ Object



560
561
562
563
564
565
566
# File 'lib/v20200910/models.rb', line 560

def deserialize(params)
  @Text = params['Text']
  @GenericName = params['GenericName']
  @BarndName = params['BarndName']
  @EnName = params['EnName']
  @Pinyin = params['Pinyin']
end