Class: TencentCloud::Ocr::V20181119::BusInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::BusInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
BusInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(businvoiceinfos = nil, angle = nil, requestid = nil) ⇒ BusInvoiceOCRResponse
constructor
A new instance of BusInvoiceOCRResponse.
Constructor Details
#initialize(businvoiceinfos = nil, angle = nil, requestid = nil) ⇒ BusInvoiceOCRResponse
Returns a new instance of BusInvoiceOCRResponse.
1014 1015 1016 1017 1018 |
# File 'lib/v20181119/models.rb', line 1014 def initialize(businvoiceinfos=nil, angle=nil, requestid=nil) @BusInvoiceInfos = businvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
1012 1013 1014 |
# File 'lib/v20181119/models.rb', line 1012 def Angle @Angle end |
#BusInvoiceInfos ⇒ Object
1012 1013 1014 |
# File 'lib/v20181119/models.rb', line 1012 def BusInvoiceInfos @BusInvoiceInfos end |
#RequestId ⇒ Object
1012 1013 1014 |
# File 'lib/v20181119/models.rb', line 1012 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 |
# File 'lib/v20181119/models.rb', line 1020 def deserialize(params) unless params['BusInvoiceInfos'].nil? @BusInvoiceInfos = [] params['BusInvoiceInfos'].each do |i| businvoiceinfo_tmp = BusInvoiceInfo.new businvoiceinfo_tmp.deserialize(i) @BusInvoiceInfos << businvoiceinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |