Class: TencentCloud::Aca::V20210323::DurgPropertyInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::DurgPropertyInfo
- Defined in:
- lib/v20210323/models.rb
Overview
药品属性
Instance Attribute Summary collapse
- #AntibacterialClass ⇒ Object
- #AntibacterialType ⇒ Object
- #ChargeType ⇒ Object
- #DrugType ⇒ Object
- #IsBasicDrug ⇒ Object
- #SpeciallyDrugType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drugtype = nil, antibacterialtype = nil, antibacterialclass = nil, speciallydrugtype = nil, isbasicdrug = nil, chargetype = nil) ⇒ DurgPropertyInfo
constructor
A new instance of DurgPropertyInfo.
Constructor Details
#initialize(drugtype = nil, antibacterialtype = nil, antibacterialclass = nil, speciallydrugtype = nil, isbasicdrug = nil, chargetype = nil) ⇒ DurgPropertyInfo
Returns a new instance of DurgPropertyInfo.
594 595 596 597 598 599 600 601 |
# File 'lib/v20210323/models.rb', line 594 def initialize(drugtype=nil, antibacterialtype=nil, antibacterialclass=nil, speciallydrugtype=nil, isbasicdrug=nil, chargetype=nil) @DrugType = drugtype @AntibacterialType = antibacterialtype @AntibacterialClass = antibacterialclass @SpeciallyDrugType = speciallydrugtype @IsBasicDrug = isbasicdrug @ChargeType = chargetype end |
Instance Attribute Details
#AntibacterialClass ⇒ Object
592 593 594 |
# File 'lib/v20210323/models.rb', line 592 def AntibacterialClass @AntibacterialClass end |
#AntibacterialType ⇒ Object
592 593 594 |
# File 'lib/v20210323/models.rb', line 592 def AntibacterialType @AntibacterialType end |
#ChargeType ⇒ Object
592 593 594 |
# File 'lib/v20210323/models.rb', line 592 def ChargeType @ChargeType end |
#DrugType ⇒ Object
592 593 594 |
# File 'lib/v20210323/models.rb', line 592 def DrugType @DrugType end |
#IsBasicDrug ⇒ Object
592 593 594 |
# File 'lib/v20210323/models.rb', line 592 def IsBasicDrug @IsBasicDrug end |
#SpeciallyDrugType ⇒ Object
592 593 594 |
# File 'lib/v20210323/models.rb', line 592 def SpeciallyDrugType @SpeciallyDrugType end |
Instance Method Details
#deserialize(params) ⇒ Object
603 604 605 606 607 608 609 610 |
# File 'lib/v20210323/models.rb', line 603 def deserialize(params) @DrugType = params['DrugType'] @AntibacterialType = params['AntibacterialType'] @AntibacterialClass = params['AntibacterialClass'] @SpeciallyDrugType = params['SpeciallyDrugType'] @IsBasicDrug = params['IsBasicDrug'] @ChargeType = params['ChargeType'] end |