Class: TencentCloud::Ocr::V20181119::FinanBillOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::FinanBillOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
FinanBillOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(finanbillinfos = nil, requestid = nil) ⇒ FinanBillOCRResponse
constructor
A new instance of FinanBillOCRResponse.
Constructor Details
#initialize(finanbillinfos = nil, requestid = nil) ⇒ FinanBillOCRResponse
Returns a new instance of FinanBillOCRResponse.
2894 2895 2896 2897 |
# File 'lib/v20181119/models.rb', line 2894 def initialize(finanbillinfos=nil, requestid=nil) @FinanBillInfos = finanbillinfos @RequestId = requestid end |
Instance Attribute Details
#FinanBillInfos ⇒ Object
2892 2893 2894 |
# File 'lib/v20181119/models.rb', line 2892 def FinanBillInfos @FinanBillInfos end |
#RequestId ⇒ Object
2892 2893 2894 |
# File 'lib/v20181119/models.rb', line 2892 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 |
# File 'lib/v20181119/models.rb', line 2899 def deserialize(params) unless params['FinanBillInfos'].nil? @FinanBillInfos = [] params['FinanBillInfos'].each do |i| finanbillinfo_tmp = FinanBillInfo.new finanbillinfo_tmp.deserialize(i) @FinanBillInfos << finanbillinfo_tmp end end @RequestId = params['RequestId'] end |