Class: TencentCloud::Aca::V20210323::DocInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::DocInfo
- 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) ⇒ DocInfo
constructor
A new instance of DocInfo.
Constructor Details
#initialize(drugid = nil, drugname = nil, docurl = nil) ⇒ DocInfo
Returns a new instance of DocInfo.
353 354 355 356 357 |
# File 'lib/v20210323/models.rb', line 353 def initialize(drugid=nil, drugname=nil, docurl=nil) @DrugId = drugid @DrugName = drugname @DocUrl = docurl end |
Instance Attribute Details
#DocUrl ⇒ Object
351 352 353 |
# File 'lib/v20210323/models.rb', line 351 def DocUrl @DocUrl end |
#DrugId ⇒ Object
351 352 353 |
# File 'lib/v20210323/models.rb', line 351 def DrugId @DrugId end |
#DrugName ⇒ Object
351 352 353 |
# File 'lib/v20210323/models.rb', line 351 def DrugName @DrugName end |
Instance Method Details
#deserialize(params) ⇒ Object
359 360 361 362 363 |
# File 'lib/v20210323/models.rb', line 359 def deserialize(params) @DrugId = params['DrugId'] @DrugName = params['DrugName'] @DocUrl = params['DocUrl'] end |