Class: TencentCloud::Aca::V20210323::DrugList

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210323/models.rb

Overview

药品列表

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DocUrlObject

Parameters:

  • DrugId:

    药品ID

  • DrugName:

    药品名称

  • DocUrl:

    文档地址

  • NotFound:

    是否找到



472
473
474
# File 'lib/v20210323/models.rb', line 472

def DocUrl
  @DocUrl
end

#DrugIdObject

Parameters:

  • DrugId:

    药品ID

  • DrugName:

    药品名称

  • DocUrl:

    文档地址

  • NotFound:

    是否找到



472
473
474
# File 'lib/v20210323/models.rb', line 472

def DrugId
  @DrugId
end

#DrugNameObject

Parameters:

  • DrugId:

    药品ID

  • DrugName:

    药品名称

  • DocUrl:

    文档地址

  • NotFound:

    是否找到



472
473
474
# File 'lib/v20210323/models.rb', line 472

def DrugName
  @DrugName
end

#NotFoundObject

Parameters:

  • DrugId:

    药品ID

  • DrugName:

    药品名称

  • DocUrl:

    文档地址

  • NotFound:

    是否找到



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