Class: TencentCloud::Aca::V20210323::SmartDrugInfoData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::SmartDrugInfoData
- Defined in:
- lib/v20210323/models.rb
Overview
智能用药请求数据
Instance Attribute Summary collapse
- #Age ⇒ Object
- #ApprovalNumber ⇒ Object
- #Diagnosis ⇒ Object
- #DrugId ⇒ Object
- #DrugName ⇒ Object
- #Manufacturer ⇒ Object
- #Specifications ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drugname = nil, specifications = nil, approvalnumber = nil, manufacturer = nil, drugid = nil, diagnosis = nil, age = nil) ⇒ SmartDrugInfoData
constructor
A new instance of SmartDrugInfoData.
Constructor Details
#initialize(drugname = nil, specifications = nil, approvalnumber = nil, manufacturer = nil, drugid = nil, diagnosis = nil, age = nil) ⇒ SmartDrugInfoData
Returns a new instance of SmartDrugInfoData.
1601 1602 1603 1604 1605 1606 1607 1608 1609 |
# File 'lib/v20210323/models.rb', line 1601 def initialize(drugname=nil, specifications=nil, approvalnumber=nil, manufacturer=nil, drugid=nil, diagnosis=nil, age=nil) @DrugName = drugname @Specifications = specifications @ApprovalNumber = approvalnumber @Manufacturer = manufacturer @DrugId = drugid @Diagnosis = diagnosis @Age = age end |
Instance Attribute Details
#Age ⇒ Object
1599 1600 1601 |
# File 'lib/v20210323/models.rb', line 1599 def Age @Age end |
#ApprovalNumber ⇒ Object
1599 1600 1601 |
# File 'lib/v20210323/models.rb', line 1599 def ApprovalNumber @ApprovalNumber end |
#Diagnosis ⇒ Object
1599 1600 1601 |
# File 'lib/v20210323/models.rb', line 1599 def Diagnosis @Diagnosis end |
#DrugId ⇒ Object
1599 1600 1601 |
# File 'lib/v20210323/models.rb', line 1599 def DrugId @DrugId end |
#DrugName ⇒ Object
1599 1600 1601 |
# File 'lib/v20210323/models.rb', line 1599 def DrugName @DrugName end |
#Manufacturer ⇒ Object
1599 1600 1601 |
# File 'lib/v20210323/models.rb', line 1599 def Manufacturer @Manufacturer end |
#Specifications ⇒ Object
1599 1600 1601 |
# File 'lib/v20210323/models.rb', line 1599 def Specifications @Specifications end |
Instance Method Details
#deserialize(params) ⇒ Object
1611 1612 1613 1614 1615 1616 1617 1618 1619 |
# File 'lib/v20210323/models.rb', line 1611 def deserialize(params) @DrugName = params['DrugName'] @Specifications = params['Specifications'] @ApprovalNumber = params['ApprovalNumber'] @Manufacturer = params['Manufacturer'] @DrugId = params['DrugId'] @Diagnosis = params['Diagnosis'] @Age = params['Age'] end |