Class: TencentCloud::Aca::V20210323::DrugList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::DrugList
- Defined in:
- lib/v20210323/models.rb
Overview
药品列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drugid = nil, drugname = nil, docurl = nil, notfound = nil) ⇒ DrugList
constructor
A new instance of DrugList.
Constructor Details
#initialize(drugid = nil, drugname = nil, docurl = nil, notfound = nil) ⇒ DrugList
Returns a new instance of DrugList.
474 475 476 477 478 479 |
# File 'lib/v20210323/models.rb', line 474 def initialize(drugid=nil, drugname=nil, docurl=nil, notfound=nil) @DrugId = drugid @DrugName = drugname @DocUrl = docurl @NotFound = notfound end |
Instance Attribute Details
#DocUrl ⇒ Object
472 473 474 |
# File 'lib/v20210323/models.rb', line 472 def DocUrl @DocUrl end |
#DrugId ⇒ Object
472 473 474 |
# File 'lib/v20210323/models.rb', line 472 def DrugId @DrugId end |
#DrugName ⇒ Object
472 473 474 |
# File 'lib/v20210323/models.rb', line 472 def DrugName @DrugName end |
#NotFound ⇒ Object
472 473 474 |
# File 'lib/v20210323/models.rb', line 472 def NotFound @NotFound end |
Instance Method Details
#deserialize(params) ⇒ Object
481 482 483 484 485 486 |
# File 'lib/v20210323/models.rb', line 481 def deserialize(params) @DrugId = params['DrugId'] @DrugName = params['DrugName'] @DocUrl = params['DocUrl'] @NotFound = params['NotFound'] end |