Class: TencentCloud::Ocr::V20181119::VinOCRResponse

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

Overview

VinOCR返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vin = nil, requestid = nil) ⇒ VinOCRResponse

Returns a new instance of VinOCRResponse.



13790
13791
13792
13793
# File 'lib/v20181119/models.rb', line 13790

def initialize(vin=nil, requestid=nil)
  @Vin = vin
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Vin:

    检测到的车辆 VIN 码。

  • RequestId:

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



13788
13789
13790
# File 'lib/v20181119/models.rb', line 13788

def RequestId
  @RequestId
end

#VinObject

Parameters:

  • Vin:

    检测到的车辆 VIN 码。

  • RequestId:

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



13788
13789
13790
# File 'lib/v20181119/models.rb', line 13788

def Vin
  @Vin
end

Instance Method Details

#deserialize(params) ⇒ Object



13795
13796
13797
13798
# File 'lib/v20181119/models.rb', line 13795

def deserialize(params)
  @Vin = params['Vin']
  @RequestId = params['RequestId']
end