Class: TencentCloud::Aca::V20210323::IndicationsDrug
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::IndicationsDrug
- Defined in:
- lib/v20210323/models.rb
Overview
适应症药品请求
Instance Attribute Summary collapse
- #ApprovalNumber ⇒ Object
- #DrugId ⇒ Object
- #DrugName ⇒ Object
- #Manufacturer ⇒ Object
- #Specifications ⇒ Object
- #TradeName ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drugname = nil, specifications = nil, approvalnumber = nil, manufacturer = nil, drugid = nil, tradename = nil, type = nil) ⇒ IndicationsDrug
constructor
A new instance of IndicationsDrug.
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
#ApprovalNumber ⇒ Object
797 798 799 |
# File 'lib/v20210323/models.rb', line 797 def ApprovalNumber @ApprovalNumber end |
#DrugId ⇒ Object
797 798 799 |
# File 'lib/v20210323/models.rb', line 797 def DrugId @DrugId end |
#DrugName ⇒ Object
797 798 799 |
# File 'lib/v20210323/models.rb', line 797 def DrugName @DrugName end |
#Manufacturer ⇒ Object
797 798 799 |
# File 'lib/v20210323/models.rb', line 797 def Manufacturer @Manufacturer end |
#Specifications ⇒ Object
797 798 799 |
# File 'lib/v20210323/models.rb', line 797 def Specifications @Specifications end |
#TradeName ⇒ Object
797 798 799 |
# File 'lib/v20210323/models.rb', line 797 def TradeName @TradeName end |
#Type ⇒ Object
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 |