Class: TencentCloud::Mrs::V20200910::Medicine
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Medicine
- Defined in:
- lib/v20200910/models.rb
Overview
药品
Instance Attribute Summary collapse
- #Category ⇒ Object
- #DosageUnit ⇒ Object
- #Firm ⇒ Object
- #MinQuantity ⇒ Object
- #Name ⇒ Object
- #PackingUnit ⇒ Object
- #Specification ⇒ Object
- #TradeName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, tradename = nil, firm = nil, category = nil, specification = nil, minquantity = nil, dosageunit = nil, packingunit = nil) ⇒ Medicine
constructor
A new instance of Medicine.
Constructor Details
#initialize(name = nil, tradename = nil, firm = nil, category = nil, specification = nil, minquantity = nil, dosageunit = nil, packingunit = nil) ⇒ Medicine
Returns a new instance of Medicine.
6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 |
# File 'lib/v20200910/models.rb', line 6601 def initialize(name=nil, tradename=nil, firm=nil, category=nil, specification=nil, minquantity=nil, dosageunit=nil, packingunit=nil) @Name = name @TradeName = tradename @Firm = firm @Category = category @Specification = specification @MinQuantity = minquantity @DosageUnit = dosageunit @PackingUnit = packingunit end |
Instance Attribute Details
#Category ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def Category @Category end |
#DosageUnit ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def DosageUnit @DosageUnit end |
#Firm ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def Firm @Firm end |
#MinQuantity ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def MinQuantity @MinQuantity end |
#Name ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def Name @Name end |
#PackingUnit ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def PackingUnit @PackingUnit end |
#Specification ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def Specification @Specification end |
#TradeName ⇒ Object
6599 6600 6601 |
# File 'lib/v20200910/models.rb', line 6599 def TradeName @TradeName end |
Instance Method Details
#deserialize(params) ⇒ Object
6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 |
# File 'lib/v20200910/models.rb', line 6612 def deserialize(params) @Name = params['Name'] @TradeName = params['TradeName'] @Firm = params['Firm'] @Category = params['Category'] @Specification = params['Specification'] @MinQuantity = params['MinQuantity'] @DosageUnit = params['DosageUnit'] @PackingUnit = params['PackingUnit'] end |