Class: TencentCloud::Mrs::V20200910::DrugInstructionObjectRequest

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

Overview

DrugInstructionObject请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pdfinfo = nil) ⇒ DrugInstructionObjectRequest

Returns a new instance of DrugInstructionObjectRequest.



2838
2839
2840
# File 'lib/v20200910/models.rb', line 2838

def initialize(pdfinfo=nil)
  @PdfInfo = pdfinfo
end

Instance Attribute Details

#PdfInfoObject

Parameters:

  • PdfInfo:

    药品说明书PDF文件信息, 目前只支持传PDF文件的Base64编码字符(PDF文件不能超过10MB,如果超过建议先压缩PDF,再转成base64).



2836
2837
2838
# File 'lib/v20200910/models.rb', line 2836

def PdfInfo
  @PdfInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



2842
2843
2844
2845
2846
2847
# File 'lib/v20200910/models.rb', line 2842

def deserialize(params)
  unless params['PdfInfo'].nil?
    @PdfInfo = PdfInfo.new
    @PdfInfo.deserialize(params['PdfInfo'])
  end
end