Class: TencentCloud::Ocr::V20181119::VehicleRegCertOCRResponse

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

Overview

VehicleRegCertOCR返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vehicleregcertinfos = nil, requestid = nil) ⇒ VehicleRegCertOCRResponse

Returns a new instance of VehicleRegCertOCRResponse.



14514
14515
14516
14517
# File 'lib/v20181119/models.rb', line 14514

def initialize(vehicleregcertinfos=nil, requestid=nil)
  @VehicleRegCertInfos = vehicleregcertinfos
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • VehicleRegCertInfos:

    机动车登记证书识别结果,具体内容请点击左侧链接。

  • RequestId:

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



14512
14513
14514
# File 'lib/v20181119/models.rb', line 14512

def RequestId
  @RequestId
end

#VehicleRegCertInfosObject

Parameters:

  • VehicleRegCertInfos:

    机动车登记证书识别结果,具体内容请点击左侧链接。

  • RequestId:

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



14512
14513
14514
# File 'lib/v20181119/models.rb', line 14512

def VehicleRegCertInfos
  @VehicleRegCertInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
# File 'lib/v20181119/models.rb', line 14519

def deserialize(params)
  unless params['VehicleRegCertInfos'].nil?
    @VehicleRegCertInfos = []
    params['VehicleRegCertInfos'].each do |i|
      vehicleregcertinfo_tmp = VehicleRegCertInfo.new
      vehicleregcertinfo_tmp.deserialize(i)
      @VehicleRegCertInfos << vehicleregcertinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end