Class: TencentCloud::Aca::V20210323::SmartDrugInfoData

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

Overview

智能用药请求数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(drugname = nil, specifications = nil, approvalnumber = nil, manufacturer = nil, drugid = nil, diagnosis = nil, age = nil) ⇒ SmartDrugInfoData

Returns a new instance of SmartDrugInfoData.



1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/v20210323/models.rb', line 1601

def initialize(drugname=nil, specifications=nil, approvalnumber=nil, manufacturer=nil, drugid=nil, diagnosis=nil, age=nil)
  @DrugName = drugname
  @Specifications = specifications
  @ApprovalNumber = approvalnumber
  @Manufacturer = manufacturer
  @DrugId = drugid
  @Diagnosis = diagnosis
  @Age = age
end

Instance Attribute Details

#AgeObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • Diagnosis:

    诊断

  • Age:

    年龄



1599
1600
1601
# File 'lib/v20210323/models.rb', line 1599

def Age
  @Age
end

#ApprovalNumberObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • Diagnosis:

    诊断

  • Age:

    年龄



1599
1600
1601
# File 'lib/v20210323/models.rb', line 1599

def ApprovalNumber
  @ApprovalNumber
end

#DiagnosisObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • Diagnosis:

    诊断

  • Age:

    年龄



1599
1600
1601
# File 'lib/v20210323/models.rb', line 1599

def Diagnosis
  @Diagnosis
end

#DrugIdObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • Diagnosis:

    诊断

  • Age:

    年龄



1599
1600
1601
# File 'lib/v20210323/models.rb', line 1599

def DrugId
  @DrugId
end

#DrugNameObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • Diagnosis:

    诊断

  • Age:

    年龄



1599
1600
1601
# File 'lib/v20210323/models.rb', line 1599

def DrugName
  @DrugName
end

#ManufacturerObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • Diagnosis:

    诊断

  • Age:

    年龄



1599
1600
1601
# File 'lib/v20210323/models.rb', line 1599

def Manufacturer
  @Manufacturer
end

#SpecificationsObject

Parameters:

  • DrugName:

    药品名称

  • Specifications:

    规格

  • ApprovalNumber:

    批准文号

  • Manufacturer:

    生产厂家

  • DrugId:

    药品ID

  • Diagnosis:

    诊断

  • Age:

    年龄



1599
1600
1601
# File 'lib/v20210323/models.rb', line 1599

def Specifications
  @Specifications
end

Instance Method Details

#deserialize(params) ⇒ Object



1611
1612
1613
1614
1615
1616
1617
1618
1619
# File 'lib/v20210323/models.rb', line 1611

def deserialize(params)
  @DrugName = params['DrugName']
  @Specifications = params['Specifications']
  @ApprovalNumber = params['ApprovalNumber']
  @Manufacturer = params['Manufacturer']
  @DrugId = params['DrugId']
  @Diagnosis = params['Diagnosis']
  @Age = params['Age']
end