com.aliyun.imageaudit.models.ScanTextResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of imafeaudit Show documentation
Show all versions of imafeaudit Show documentation
Aliyun IMAFEAUDIT 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.imageaudit.models;
import com.aliyun.tea.*;
public class ScanTextResponse extends TeaModel {
@NameInMap("RequestId")
@Validation(required = true)
public String requestId;
@NameInMap("Data")
@Validation(required = true)
public ScanTextResponseData data;
public static ScanTextResponse build(java.util.Map map) throws Exception {
ScanTextResponse self = new ScanTextResponse();
return TeaModel.build(map, self);
}
public static class ScanTextResponseDataElementsResultsDetailsContexts extends TeaModel {
@NameInMap("Context")
@Validation(required = true)
public String context;
public static ScanTextResponseDataElementsResultsDetailsContexts build(java.util.Map map) throws Exception {
ScanTextResponseDataElementsResultsDetailsContexts self = new ScanTextResponseDataElementsResultsDetailsContexts();
return TeaModel.build(map, self);
}
}
public static class ScanTextResponseDataElementsResultsDetails extends TeaModel {
@NameInMap("Label")
@Validation(required = true)
public String label;
@NameInMap("Contexts")
@Validation(required = true)
public java.util.List contexts;
public static ScanTextResponseDataElementsResultsDetails build(java.util.Map map) throws Exception {
ScanTextResponseDataElementsResultsDetails self = new ScanTextResponseDataElementsResultsDetails();
return TeaModel.build(map, self);
}
}
public static class ScanTextResponseDataElementsResults extends TeaModel {
@NameInMap("Label")
@Validation(required = true)
public String label;
@NameInMap("Suggestion")
@Validation(required = true)
public String suggestion;
@NameInMap("Rate")
@Validation(required = true)
public Double rate;
@NameInMap("Details")
@Validation(required = true)
public java.util.List details;
public static ScanTextResponseDataElementsResults build(java.util.Map map) throws Exception {
ScanTextResponseDataElementsResults self = new ScanTextResponseDataElementsResults();
return TeaModel.build(map, self);
}
}
public static class ScanTextResponseDataElements extends TeaModel {
@NameInMap("TaskId")
@Validation(required = true)
public String taskId;
@NameInMap("Results")
@Validation(required = true)
public java.util.List results;
public static ScanTextResponseDataElements build(java.util.Map map) throws Exception {
ScanTextResponseDataElements self = new ScanTextResponseDataElements();
return TeaModel.build(map, self);
}
}
public static class ScanTextResponseData extends TeaModel {
@NameInMap("Elements")
@Validation(required = true)
public java.util.List elements;
public static ScanTextResponseData build(java.util.Map map) throws Exception {
ScanTextResponseData self = new ScanTextResponseData();
return TeaModel.build(map, self);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy