com.aliyun.ocr.models.RecognizeLicensePlateResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ocr Show documentation
Show all versions of ocr Show documentation
Aliyun OCR SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ocr.models;
import com.aliyun.tea.*;
public class RecognizeLicensePlateResponse extends TeaModel {
@NameInMap("RequestId")
@Validation(required = true)
public String requestId;
@NameInMap("Data")
@Validation(required = true)
public RecognizeLicensePlateResponseData data;
public static RecognizeLicensePlateResponse build(java.util.Map map) throws Exception {
RecognizeLicensePlateResponse self = new RecognizeLicensePlateResponse();
return TeaModel.build(map, self);
}
public static class RecognizeLicensePlateResponseDataPlatesRoi extends TeaModel {
@NameInMap("H")
@Validation(required = true)
public Integer h;
@NameInMap("W")
@Validation(required = true)
public Integer w;
@NameInMap("X")
@Validation(required = true)
public Integer x;
@NameInMap("Y")
@Validation(required = true)
public Integer y;
public static RecognizeLicensePlateResponseDataPlatesRoi build(java.util.Map map) throws Exception {
RecognizeLicensePlateResponseDataPlatesRoi self = new RecognizeLicensePlateResponseDataPlatesRoi();
return TeaModel.build(map, self);
}
}
public static class RecognizeLicensePlateResponseDataPlates extends TeaModel {
@NameInMap("Confidence")
@Validation(required = true)
public Double confidence;
@NameInMap("PlateNumber")
@Validation(required = true)
public String plateNumber;
@NameInMap("PlateType")
@Validation(required = true)
public String plateType;
@NameInMap("PlateTypeConfidence")
@Validation(required = true)
public Double plateTypeConfidence;
@NameInMap("Roi")
@Validation(required = true)
public RecognizeLicensePlateResponseDataPlatesRoi roi;
public static RecognizeLicensePlateResponseDataPlates build(java.util.Map map) throws Exception {
RecognizeLicensePlateResponseDataPlates self = new RecognizeLicensePlateResponseDataPlates();
return TeaModel.build(map, self);
}
}
public static class RecognizeLicensePlateResponseData extends TeaModel {
@NameInMap("Plates")
@Validation(required = true)
public RecognizeLicensePlateResponseDataPlates[] plates;
public static RecognizeLicensePlateResponseData build(java.util.Map map) throws Exception {
RecognizeLicensePlateResponseData self = new RecognizeLicensePlateResponseData();
return TeaModel.build(map, self);
}
}
}