com.aliyun.dingtalksmart_device_1_0.models.TextToImageRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalksmart_device_1_0.models;
import com.aliyun.tea.*;
public class TextToImageRequest extends TeaModel {
@NameInMap("modelId")
public String modelId;
/**
* example:
* 1
*/
@NameInMap("pictureNum")
public Long pictureNum;
/**
* example:
* 1024*1024
*/
@NameInMap("pictureSize")
public String pictureSize;
/**
* This parameter is required.
*
* example:
* 帮我生成一个小猫在草坪上奔跑的图片
*/
@NameInMap("query")
public String query;
public static TextToImageRequest build(java.util.Map map) throws Exception {
TextToImageRequest self = new TextToImageRequest();
return TeaModel.build(map, self);
}
public TextToImageRequest setModelId(String modelId) {
this.modelId = modelId;
return this;
}
public String getModelId() {
return this.modelId;
}
public TextToImageRequest setPictureNum(Long pictureNum) {
this.pictureNum = pictureNum;
return this;
}
public Long getPictureNum() {
return this.pictureNum;
}
public TextToImageRequest setPictureSize(String pictureSize) {
this.pictureSize = pictureSize;
return this;
}
public String getPictureSize() {
return this.pictureSize;
}
public TextToImageRequest setQuery(String query) {
this.query = query;
return this;
}
public String getQuery() {
return this.query;
}
}