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

com.aliyun.ocr20191230.models.RecognizePassportMRZResponseBody Maven / Gradle / Ivy

Go to download

Aliyun OCR SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 2.0.1
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ocr20191230.models;

import com.aliyun.tea.*;

public class RecognizePassportMRZResponseBody extends TeaModel {
    @NameInMap("Data")
    public RecognizePassportMRZResponseBodyData data;

    @NameInMap("RequestId")
    public String requestId;

    public static RecognizePassportMRZResponseBody build(java.util.Map map) throws Exception {
        RecognizePassportMRZResponseBody self = new RecognizePassportMRZResponseBody();
        return TeaModel.build(map, self);
    }

    public RecognizePassportMRZResponseBody setData(RecognizePassportMRZResponseBodyData data) {
        this.data = data;
        return this;
    }
    public RecognizePassportMRZResponseBodyData getData() {
        return this.data;
    }

    public RecognizePassportMRZResponseBody setRequestId(String requestId) {
        this.requestId = requestId;
        return this;
    }
    public String getRequestId() {
        return this.requestId;
    }

    public static class RecognizePassportMRZResponseBodyDataRegions extends TeaModel {
        @NameInMap("BandBoxes")
        public java.util.List bandBoxes;

        @NameInMap("Content")
        public String content;

        @NameInMap("DetectionScore")
        public Float detectionScore;

        @NameInMap("Name")
        public String name;

        @NameInMap("RecognitionScore")
        public Float recognitionScore;

        public static RecognizePassportMRZResponseBodyDataRegions build(java.util.Map map) throws Exception {
            RecognizePassportMRZResponseBodyDataRegions self = new RecognizePassportMRZResponseBodyDataRegions();
            return TeaModel.build(map, self);
        }

        public RecognizePassportMRZResponseBodyDataRegions setBandBoxes(java.util.List bandBoxes) {
            this.bandBoxes = bandBoxes;
            return this;
        }
        public java.util.List getBandBoxes() {
            return this.bandBoxes;
        }

        public RecognizePassportMRZResponseBodyDataRegions setContent(String content) {
            this.content = content;
            return this;
        }
        public String getContent() {
            return this.content;
        }

        public RecognizePassportMRZResponseBodyDataRegions setDetectionScore(Float detectionScore) {
            this.detectionScore = detectionScore;
            return this;
        }
        public Float getDetectionScore() {
            return this.detectionScore;
        }

        public RecognizePassportMRZResponseBodyDataRegions setName(String name) {
            this.name = name;
            return this;
        }
        public String getName() {
            return this.name;
        }

        public RecognizePassportMRZResponseBodyDataRegions setRecognitionScore(Float recognitionScore) {
            this.recognitionScore = recognitionScore;
            return this;
        }
        public Float getRecognitionScore() {
            return this.recognitionScore;
        }

    }

    public static class RecognizePassportMRZResponseBodyData extends TeaModel {
        @NameInMap("Regions")
        public java.util.List regions;

        public static RecognizePassportMRZResponseBodyData build(java.util.Map map) throws Exception {
            RecognizePassportMRZResponseBodyData self = new RecognizePassportMRZResponseBodyData();
            return TeaModel.build(map, self);
        }

        public RecognizePassportMRZResponseBodyData setRegions(java.util.List regions) {
            this.regions = regions;
            return this;
        }
        public java.util.List getRegions() {
            return this.regions;
        }

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy