All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.ocr.v20181119.models.VehicleLicenseOCRResponse Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.ocr.v20181119.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class VehicleLicenseOCRResponse extends AbstractModel{

    /**
    * 行驶证主页正面的识别结果,CardSide 为 FRONT。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("FrontInfo")
    @Expose
    private TextVehicleFront FrontInfo;

    /**
    * 行驶证副页正面的识别结果,CardSide 为 BACK。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("BackInfo")
    @Expose
    private TextVehicleBack BackInfo;

    /**
    * Code 告警码列表和释义:
-9102 复印件告警
-9103 翻拍件告警
-9106 ps告警
注:告警码可以同时存在多个
    */
    @SerializedName("RecognizeWarnCode")
    @Expose
    private Long [] RecognizeWarnCode;

    /**
    * 告警码说明:
WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
WARN_DRIVER_LICENSE_PS_CARD ps告警
注:告警信息可以同时存在多个
    */
    @SerializedName("RecognizeWarnMsg")
    @Expose
    private String [] RecognizeWarnMsg;

    /**
    * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
    */
    @SerializedName("RequestId")
    @Expose
    private String RequestId;

    /**
     * Get 行驶证主页正面的识别结果,CardSide 为 FRONT。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return FrontInfo 行驶证主页正面的识别结果,CardSide 为 FRONT。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public TextVehicleFront getFrontInfo() {
        return this.FrontInfo;
    }

    /**
     * Set 行驶证主页正面的识别结果,CardSide 为 FRONT。
注意:此字段可能返回 null,表示取不到有效值。
     * @param FrontInfo 行驶证主页正面的识别结果,CardSide 为 FRONT。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setFrontInfo(TextVehicleFront FrontInfo) {
        this.FrontInfo = FrontInfo;
    }

    /**
     * Get 行驶证副页正面的识别结果,CardSide 为 BACK。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return BackInfo 行驶证副页正面的识别结果,CardSide 为 BACK。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public TextVehicleBack getBackInfo() {
        return this.BackInfo;
    }

    /**
     * Set 行驶证副页正面的识别结果,CardSide 为 BACK。
注意:此字段可能返回 null,表示取不到有效值。
     * @param BackInfo 行驶证副页正面的识别结果,CardSide 为 BACK。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setBackInfo(TextVehicleBack BackInfo) {
        this.BackInfo = BackInfo;
    }

    /**
     * Get Code 告警码列表和释义:
-9102 复印件告警
-9103 翻拍件告警
-9106 ps告警
注:告警码可以同时存在多个 
     * @return RecognizeWarnCode Code 告警码列表和释义:
-9102 复印件告警
-9103 翻拍件告警
-9106 ps告警
注:告警码可以同时存在多个
     */
    public Long [] getRecognizeWarnCode() {
        return this.RecognizeWarnCode;
    }

    /**
     * Set Code 告警码列表和释义:
-9102 复印件告警
-9103 翻拍件告警
-9106 ps告警
注:告警码可以同时存在多个
     * @param RecognizeWarnCode Code 告警码列表和释义:
-9102 复印件告警
-9103 翻拍件告警
-9106 ps告警
注:告警码可以同时存在多个
     */
    public void setRecognizeWarnCode(Long [] RecognizeWarnCode) {
        this.RecognizeWarnCode = RecognizeWarnCode;
    }

    /**
     * Get 告警码说明:
WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
WARN_DRIVER_LICENSE_PS_CARD ps告警
注:告警信息可以同时存在多个 
     * @return RecognizeWarnMsg 告警码说明:
WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
WARN_DRIVER_LICENSE_PS_CARD ps告警
注:告警信息可以同时存在多个
     */
    public String [] getRecognizeWarnMsg() {
        return this.RecognizeWarnMsg;
    }

    /**
     * Set 告警码说明:
WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
WARN_DRIVER_LICENSE_PS_CARD ps告警
注:告警信息可以同时存在多个
     * @param RecognizeWarnMsg 告警码说明:
WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
WARN_DRIVER_LICENSE_PS_CARD ps告警
注:告警信息可以同时存在多个
     */
    public void setRecognizeWarnMsg(String [] RecognizeWarnMsg) {
        this.RecognizeWarnMsg = RecognizeWarnMsg;
    }

    /**
     * Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 
     * @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
     */
    public String getRequestId() {
        return this.RequestId;
    }

    /**
     * Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
     * @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
     */
    public void setRequestId(String RequestId) {
        this.RequestId = RequestId;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamObj(map, prefix + "FrontInfo.", this.FrontInfo);
        this.setParamObj(map, prefix + "BackInfo.", this.BackInfo);
        this.setParamArraySimple(map, prefix + "RecognizeWarnCode.", this.RecognizeWarnCode);
        this.setParamArraySimple(map, prefix + "RecognizeWarnMsg.", this.RecognizeWarnMsg);
        this.setParamSimple(map, prefix + "RequestId", this.RequestId);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy