Class: TencentCloud::Aca::V20210323::IndicationsDrug

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210323/models.rb

Overview

适应症药品请求

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(drugname = nil, specifications = nil, approvalnumber = nil, manufacturer = nil, drugid = nil, tradename = nil, type = nil) ⇒ IndicationsDrug

Returns a new instance of IndicationsDrug.



799
800
801
802
803
804
805
806
807
# File 'lib/v20210323/models.rb', line 799

def initialize(drugname=nil, specifications=nil, approvalnumber=nil, manufacturer=nil, drugid=nil, tradename=nil, type=nil)
  @DrugName = drugname
  @Specifications = specifications
  @ApprovalNumber = approvalnumber
  @Manufacturer = manufacturer
  @DrugId = drugid
  @TradeName = tradename
  @Type = type
end

Instance Attribute Details

#ApprovalNumberObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • TradeName:

    商品名

  • Type:

    类型 默认0 0-西药 2-中药



797
798
799
# File 'lib/v20210323/models.rb', line 797

def ApprovalNumber
  @ApprovalNumber
end

#DrugIdObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • TradeName:

    商品名

  • Type:

    类型 默认0 0-西药 2-中药



797
798
799
# File 'lib/v20210323/models.rb', line 797

def DrugId
  @DrugId
end

#DrugNameObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • TradeName:

    商品名

  • Type:

    类型 默认0 0-西药 2-中药



797
798
799
# File 'lib/v20210323/models.rb', line 797

def DrugName
  @DrugName
end

#ManufacturerObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • TradeName:

    商品名

  • Type:

    类型 默认0 0-西药 2-中药



797
798
799
# File 'lib/v20210323/models.rb', line 797

def Manufacturer
  @Manufacturer
end

#SpecificationsObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • TradeName:

    商品名

  • Type:

    类型 默认0 0-西药 2-中药



797
798
799
# File 'lib/v20210323/models.rb', line 797

def Specifications
  @Specifications
end

#TradeNameObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • TradeName:

    商品名

  • Type:

    类型 默认0 0-西药 2-中药



797
798
799
# File 'lib/v20210323/models.rb', line 797

def TradeName
  @TradeName
end

#TypeObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • TradeName:

    商品名

  • Type:

    类型 默认0 0-西药 2-中药



797
798
799
# File 'lib/v20210323/models.rb', line 797

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



809
810
811
812
813
814
815
816
817
# File 'lib/v20210323/models.rb', line 809

def deserialize(params)
  @DrugName = params['DrugName']
  @Specifications = params['Specifications']
  @ApprovalNumber = params['ApprovalNumber']
  @Manufacturer = params['Manufacturer']
  @DrugId = params['DrugId']
  @TradeName = params['TradeName']
  @Type = params['Type']
end