Class: TencentCloud::Ocr::V20181119::InsuranceBillOCRResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

InsuranceBillOCR返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#InsuranceBillInfosObject

Parameters:

  • InsuranceBillInfos:

    保险单据识别结果,具体内容请点击左侧链接。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4714
4715
4716
# File 'lib/v20181119/models.rb', line 4714

def InsuranceBillInfos
  @InsuranceBillInfos
end

#RequestIdObject

Parameters:

  • InsuranceBillInfos:

    保险单据识别结果,具体内容请点击左侧链接。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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