Class: TencentCloud::Ocr::V20181119::MixedInvoiceDetectResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::MixedInvoiceDetectResponse
- Defined in:
- lib/v20181119/models.rb
Overview
MixedInvoiceDetect返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invoicedetectinfos = nil, requestid = nil) ⇒ MixedInvoiceDetectResponse
constructor
A new instance of MixedInvoiceDetectResponse.
Constructor Details
#initialize(invoicedetectinfos = nil, requestid = nil) ⇒ MixedInvoiceDetectResponse
Returns a new instance of MixedInvoiceDetectResponse.
5897 5898 5899 5900 |
# File 'lib/v20181119/models.rb', line 5897 def initialize(invoicedetectinfos=nil, requestid=nil) @InvoiceDetectInfos = invoicedetectinfos @RequestId = requestid end |
Instance Attribute Details
#InvoiceDetectInfos ⇒ Object
5895 5896 5897 |
# File 'lib/v20181119/models.rb', line 5895 def InvoiceDetectInfos @InvoiceDetectInfos end |
#RequestId ⇒ Object
5895 5896 5897 |
# File 'lib/v20181119/models.rb', line 5895 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 |
# File 'lib/v20181119/models.rb', line 5902 def deserialize(params) unless params['InvoiceDetectInfos'].nil? @InvoiceDetectInfos = [] params['InvoiceDetectInfos'].each do |i| invoicedetectinfo_tmp = InvoiceDetectInfo.new invoicedetectinfo_tmp.deserialize(i) @InvoiceDetectInfos << invoicedetectinfo_tmp end end @RequestId = params['RequestId'] end |