Class: TencentCloud::Ocr::V20181119::InsuranceBillOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::InsuranceBillOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
InsuranceBillOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(insurancebillinfos = nil, requestid = nil) ⇒ InsuranceBillOCRResponse
constructor
A new instance of InsuranceBillOCRResponse.
Constructor Details
#initialize(insurancebillinfos = nil, requestid = nil) ⇒ InsuranceBillOCRResponse
Returns a new instance of InsuranceBillOCRResponse.
4716 4717 4718 4719 |
# File 'lib/v20181119/models.rb', line 4716 def initialize(insurancebillinfos=nil, requestid=nil) @InsuranceBillInfos = insurancebillinfos @RequestId = requestid end |
Instance Attribute Details
#InsuranceBillInfos ⇒ Object
4714 4715 4716 |
# File 'lib/v20181119/models.rb', line 4714 def InsuranceBillInfos @InsuranceBillInfos end |
#RequestId ⇒ Object
4714 4715 4716 |
# File 'lib/v20181119/models.rb', line 4714 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'lib/v20181119/models.rb', line 4721 def deserialize(params) unless params['InsuranceBillInfos'].nil? @InsuranceBillInfos = [] params['InsuranceBillInfos'].each do |i| insurancebillinfo_tmp = InsuranceBillInfo.new insurancebillinfo_tmp.deserialize(i) @InsuranceBillInfos << insurancebillinfo_tmp end end @RequestId = params['RequestId'] end |