Class: TencentCloud::Ocr::V20181119::RecognizeMedicalInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeMedicalInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeMedicalInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(medicalinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ RecognizeMedicalInvoiceOCRResponse
constructor
A new instance of RecognizeMedicalInvoiceOCRResponse.
Constructor Details
#initialize(medicalinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ RecognizeMedicalInvoiceOCRResponse
Returns a new instance of RecognizeMedicalInvoiceOCRResponse.
8596 8597 8598 8599 8600 |
# File 'lib/v20181119/models.rb', line 8596 def initialize(medicalinvoiceinfos=nil, angle=nil, requestid=nil) @MedicalInvoiceInfos = medicalinvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
8594 8595 8596 |
# File 'lib/v20181119/models.rb', line 8594 def Angle @Angle end |
#MedicalInvoiceInfos ⇒ Object
8594 8595 8596 |
# File 'lib/v20181119/models.rb', line 8594 def MedicalInvoiceInfos @MedicalInvoiceInfos end |
#RequestId ⇒ Object
8594 8595 8596 |
# File 'lib/v20181119/models.rb', line 8594 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 |
# File 'lib/v20181119/models.rb', line 8602 def deserialize(params) unless params['MedicalInvoiceInfos'].nil? @MedicalInvoiceInfos = [] params['MedicalInvoiceInfos'].each do |i| medicalinvoiceinfo_tmp = MedicalInvoiceInfo.new medicalinvoiceinfo_tmp.deserialize(i) @MedicalInvoiceInfos << medicalinvoiceinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |