Class: TencentCloud::Ocr::V20181119::CarInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::CarInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
CarInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(carinvoiceinfos = nil, requestid = nil) ⇒ CarInvoiceOCRResponse
constructor
A new instance of CarInvoiceOCRResponse.
Constructor Details
#initialize(carinvoiceinfos = nil, requestid = nil) ⇒ CarInvoiceOCRResponse
Returns a new instance of CarInvoiceOCRResponse.
1167 1168 1169 1170 |
# File 'lib/v20181119/models.rb', line 1167 def initialize(carinvoiceinfos=nil, requestid=nil) @CarInvoiceInfos = carinvoiceinfos @RequestId = requestid end |
Instance Attribute Details
#CarInvoiceInfos ⇒ Object
1165 1166 1167 |
# File 'lib/v20181119/models.rb', line 1165 def CarInvoiceInfos @CarInvoiceInfos end |
#RequestId ⇒ Object
1165 1166 1167 |
# File 'lib/v20181119/models.rb', line 1165 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/v20181119/models.rb', line 1172 def deserialize(params) unless params['CarInvoiceInfos'].nil? @CarInvoiceInfos = [] params['CarInvoiceInfos'].each do |i| carinvoiceinfo_tmp = CarInvoiceInfo.new carinvoiceinfo_tmp.deserialize(i) @CarInvoiceInfos << carinvoiceinfo_tmp end end @RequestId = params['RequestId'] end |