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.
941 942 943 944 945 |
# File 'lib/v20181119/models.rb', line 941 def initialize(businvoiceinfos=nil, angle=nil, requestid=nil) @BusInvoiceInfos = businvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
939 940 941 |
# File 'lib/v20181119/models.rb', line 939 def Angle @Angle end |
#BusInvoiceInfos ⇒ Object
939 940 941 |
# File 'lib/v20181119/models.rb', line 939 def BusInvoiceInfos @BusInvoiceInfos end |
#RequestId ⇒ Object
939 940 941 |
# File 'lib/v20181119/models.rb', line 939 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
947 948 949 950 951 952 953 954 955 956 957 958 |
# File 'lib/v20181119/models.rb', line 947 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 |