com.aliyun.green20220302.models.DescribeImageResultExtResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of green20220302 Show documentation
Show all versions of green20220302 Show documentation
Alibaba Cloud Green (20220302) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.green20220302.models;
import com.aliyun.tea.*;
public class DescribeImageResultExtResponseBody extends TeaModel {
@NameInMap("Code")
public Integer code;
@NameInMap("Data")
public DescribeImageResultExtResponseBodyData data;
@NameInMap("Msg")
public String msg;
@NameInMap("RequestId")
public String requestId;
public static DescribeImageResultExtResponseBody build(java.util.Map map) throws Exception {
DescribeImageResultExtResponseBody self = new DescribeImageResultExtResponseBody();
return TeaModel.build(map, self);
}
public DescribeImageResultExtResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeImageResultExtResponseBody setData(DescribeImageResultExtResponseBodyData data) {
this.data = data;
return this;
}
public DescribeImageResultExtResponseBodyData getData() {
return this.data;
}
public DescribeImageResultExtResponseBody setMsg(String msg) {
this.msg = msg;
return this;
}
public String getMsg() {
return this.msg;
}
public DescribeImageResultExtResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeImageResultExtResponseBodyDataCustomImage extends TeaModel {
/**
* 图片ID。
*/
@NameInMap("ImageId")
public String imageId;
/**
* 图库ID。
*/
@NameInMap("LibId")
public String libId;
/**
* 图库名。
*/
@NameInMap("LibName")
public String libName;
public static DescribeImageResultExtResponseBodyDataCustomImage build(java.util.Map map) throws Exception {
DescribeImageResultExtResponseBodyDataCustomImage self = new DescribeImageResultExtResponseBodyDataCustomImage();
return TeaModel.build(map, self);
}
public DescribeImageResultExtResponseBodyDataCustomImage setImageId(String imageId) {
this.imageId = imageId;
return this;
}
public String getImageId() {
return this.imageId;
}
public DescribeImageResultExtResponseBodyDataCustomImage setLibId(String libId) {
this.libId = libId;
return this;
}
public String getLibId() {
return this.libId;
}
public DescribeImageResultExtResponseBodyDataCustomImage setLibName(String libName) {
this.libName = libName;
return this;
}
public String getLibName() {
return this.libName;
}
}
public static class DescribeImageResultExtResponseBodyDataPublicFigure extends TeaModel {
/**
* 人物ID。
*/
@NameInMap("FigureId")
public String figureId;
public static DescribeImageResultExtResponseBodyDataPublicFigure build(java.util.Map map) throws Exception {
DescribeImageResultExtResponseBodyDataPublicFigure self = new DescribeImageResultExtResponseBodyDataPublicFigure();
return TeaModel.build(map, self);
}
public DescribeImageResultExtResponseBodyDataPublicFigure setFigureId(String figureId) {
this.figureId = figureId;
return this;
}
public String getFigureId() {
return this.figureId;
}
}
public static class DescribeImageResultExtResponseBodyDataTextInImageCustomTexts extends TeaModel {
@NameInMap("KeyWords")
public String keyWords;
@NameInMap("LibId")
public String libId;
@NameInMap("LibName")
public String libName;
public static DescribeImageResultExtResponseBodyDataTextInImageCustomTexts build(java.util.Map map) throws Exception {
DescribeImageResultExtResponseBodyDataTextInImageCustomTexts self = new DescribeImageResultExtResponseBodyDataTextInImageCustomTexts();
return TeaModel.build(map, self);
}
public DescribeImageResultExtResponseBodyDataTextInImageCustomTexts setKeyWords(String keyWords) {
this.keyWords = keyWords;
return this;
}
public String getKeyWords() {
return this.keyWords;
}
public DescribeImageResultExtResponseBodyDataTextInImageCustomTexts setLibId(String libId) {
this.libId = libId;
return this;
}
public String getLibId() {
return this.libId;
}
public DescribeImageResultExtResponseBodyDataTextInImageCustomTexts setLibName(String libName) {
this.libName = libName;
return this;
}
public String getLibName() {
return this.libName;
}
}
public static class DescribeImageResultExtResponseBodyDataTextInImage extends TeaModel {
@NameInMap("CustomTexts")
public java.util.List customTexts;
@NameInMap("OcrDatas")
public java.util.List ocrDatas;
@NameInMap("RiskWords")
public java.util.List riskWords;
public static DescribeImageResultExtResponseBodyDataTextInImage build(java.util.Map map) throws Exception {
DescribeImageResultExtResponseBodyDataTextInImage self = new DescribeImageResultExtResponseBodyDataTextInImage();
return TeaModel.build(map, self);
}
public DescribeImageResultExtResponseBodyDataTextInImage setCustomTexts(java.util.List customTexts) {
this.customTexts = customTexts;
return this;
}
public java.util.List getCustomTexts() {
return this.customTexts;
}
public DescribeImageResultExtResponseBodyDataTextInImage setOcrDatas(java.util.List ocrDatas) {
this.ocrDatas = ocrDatas;
return this;
}
public java.util.List getOcrDatas() {
return this.ocrDatas;
}
public DescribeImageResultExtResponseBodyDataTextInImage setRiskWords(java.util.List riskWords) {
this.riskWords = riskWords;
return this;
}
public java.util.List getRiskWords() {
return this.riskWords;
}
}
public static class DescribeImageResultExtResponseBodyData extends TeaModel {
@NameInMap("CustomImage")
public java.util.List customImage;
@NameInMap("PublicFigure")
public java.util.List publicFigure;
@NameInMap("TextInImage")
public DescribeImageResultExtResponseBodyDataTextInImage textInImage;
public static DescribeImageResultExtResponseBodyData build(java.util.Map map) throws Exception {
DescribeImageResultExtResponseBodyData self = new DescribeImageResultExtResponseBodyData();
return TeaModel.build(map, self);
}
public DescribeImageResultExtResponseBodyData setCustomImage(java.util.List customImage) {
this.customImage = customImage;
return this;
}
public java.util.List getCustomImage() {
return this.customImage;
}
public DescribeImageResultExtResponseBodyData setPublicFigure(java.util.List publicFigure) {
this.publicFigure = publicFigure;
return this;
}
public java.util.List getPublicFigure() {
return this.publicFigure;
}
public DescribeImageResultExtResponseBodyData setTextInImage(DescribeImageResultExtResponseBodyDataTextInImage textInImage) {
this.textInImage = textInImage;
return this;
}
public DescribeImageResultExtResponseBodyDataTextInImage getTextInImage() {
return this.textInImage;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy