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

com.aliyun.dingtalkai_paa_s_1_0.models.LiandanluTextToImageModelRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class LiandanluTextToImageModelRequest extends TeaModel {
    /**
     * 

This parameter is required.

* * example: *

IMAGE

*/ @NameInMap("module") public String module; /** * example: *

1

*/ @NameInMap("number") public Long number; @NameInMap("parameters") public java.util.Map parameters; /** *

This parameter is required.

* * example: *

画一副风景画

*/ @NameInMap("prompt") public String prompt; /** *

This parameter is required.

* * example: *

1

*/ @NameInMap("userId") public String userId; public static LiandanluTextToImageModelRequest build(java.util.Map map) throws Exception { LiandanluTextToImageModelRequest self = new LiandanluTextToImageModelRequest(); return TeaModel.build(map, self); } public LiandanluTextToImageModelRequest setModule(String module) { this.module = module; return this; } public String getModule() { return this.module; } public LiandanluTextToImageModelRequest setNumber(Long number) { this.number = number; return this; } public Long getNumber() { return this.number; } public LiandanluTextToImageModelRequest setParameters(java.util.Map parameters) { this.parameters = parameters; return this; } public java.util.Map getParameters() { return this.parameters; } public LiandanluTextToImageModelRequest setPrompt(String prompt) { this.prompt = prompt; return this; } public String getPrompt() { return this.prompt; } public LiandanluTextToImageModelRequest setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy