Class: TencentCloud::Aca::V20210323::RiskInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::RiskInfo
- Defined in:
- lib/v20210323/models.rb
Overview
风险信息
Instance Attribute Summary collapse
- #DrugId ⇒ Object
- #DrugName ⇒ Object
- #FdaLevel ⇒ Object
- #RelatedDrugName ⇒ Object
- #RelatedPrescriptionId ⇒ Object
- #RiskLevel ⇒ Object
- #RiskTips ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drugid = nil, drugname = nil, risklevel = nil, risktips = nil, fdalevel = nil, relateddrugname = nil, relatedprescriptionid = nil) ⇒ RiskInfo
constructor
A new instance of RiskInfo.
Constructor Details
#initialize(drugid = nil, drugname = nil, risklevel = nil, risktips = nil, fdalevel = nil, relateddrugname = nil, relatedprescriptionid = nil) ⇒ RiskInfo
Returns a new instance of RiskInfo.
1561 1562 1563 1564 1565 1566 1567 1568 1569 |
# File 'lib/v20210323/models.rb', line 1561 def initialize(drugid=nil, drugname=nil, risklevel=nil, risktips=nil, fdalevel=nil, =nil, =nil) @DrugId = drugid @DrugName = drugname @RiskLevel = risklevel @RiskTips = risktips @FdaLevel = fdalevel @RelatedDrugName = @RelatedPrescriptionId = end |
Instance Attribute Details
#DrugId ⇒ Object
1559 1560 1561 |
# File 'lib/v20210323/models.rb', line 1559 def DrugId @DrugId end |
#DrugName ⇒ Object
1559 1560 1561 |
# File 'lib/v20210323/models.rb', line 1559 def DrugName @DrugName end |
#FdaLevel ⇒ Object
1559 1560 1561 |
# File 'lib/v20210323/models.rb', line 1559 def FdaLevel @FdaLevel end |
#RelatedDrugName ⇒ Object
1559 1560 1561 |
# File 'lib/v20210323/models.rb', line 1559 def RelatedDrugName @RelatedDrugName end |
#RelatedPrescriptionId ⇒ Object
1559 1560 1561 |
# File 'lib/v20210323/models.rb', line 1559 def RelatedPrescriptionId @RelatedPrescriptionId end |
#RiskLevel ⇒ Object
1559 1560 1561 |
# File 'lib/v20210323/models.rb', line 1559 def RiskLevel @RiskLevel end |
#RiskTips ⇒ Object
1559 1560 1561 |
# File 'lib/v20210323/models.rb', line 1559 def RiskTips @RiskTips end |
Instance Method Details
#deserialize(params) ⇒ Object
1571 1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'lib/v20210323/models.rb', line 1571 def deserialize(params) @DrugId = params['DrugId'] @DrugName = params['DrugName'] @RiskLevel = params['RiskLevel'] @RiskTips = params['RiskTips'] @FdaLevel = params['FdaLevel'] @RelatedDrugName = params['RelatedDrugName'] @RelatedPrescriptionId = params['RelatedPrescriptionId'] end |