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

com.volcengine.model.maas.api.v2.ImagesQuickGenRequest Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version

package com.volcengine.model.maas.api.v2;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * MaasImagesQuickGenRequest
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "req_id", "prompt", "negative_prompt", "init_image", "control_image", "control_image_list", "parameters" }) @Generated("jsonschema2pojo") public class ImagesQuickGenRequest { /** * Req Id *

* * */ @JsonProperty("req_id") private String reqId; /** * Prompt *

* * */ @JsonProperty("prompt") private String prompt; /** * Negative Prompt *

* * */ @JsonProperty("negative_prompt") private String negativePrompt; /** * Init Image *

* * */ @JsonProperty("init_image") private String initImage; /** * Control Image *

* * */ @JsonProperty("control_image") private byte[] controlImage; /** * Control Image List *

* * */ @JsonProperty("control_image_list") private List controlImageList = new ArrayList(); /** * ImagesParameters *

* * */ @JsonProperty("parameters") private ImagesParameters parameters; /** * Req Id *

* * */ @JsonProperty("req_id") public String getReqId() { return reqId; } /** * Req Id *

* * */ @JsonProperty("req_id") public void setReqId(String reqId) { this.reqId = reqId; } public ImagesQuickGenRequest withReqId(String reqId) { this.reqId = reqId; return this; } /** * Prompt *

* * */ @JsonProperty("prompt") public String getPrompt() { return prompt; } /** * Prompt *

* * */ @JsonProperty("prompt") public void setPrompt(String prompt) { this.prompt = prompt; } public ImagesQuickGenRequest withPrompt(String prompt) { this.prompt = prompt; return this; } /** * Negative Prompt *

* * */ @JsonProperty("negative_prompt") public String getNegativePrompt() { return negativePrompt; } /** * Negative Prompt *

* * */ @JsonProperty("negative_prompt") public void setNegativePrompt(String negativePrompt) { this.negativePrompt = negativePrompt; } public ImagesQuickGenRequest withNegativePrompt(String negativePrompt) { this.negativePrompt = negativePrompt; return this; } /** * Init Image *

* * */ @JsonProperty("init_image") public String getInitImage() { return initImage; } /** * Init Image *

* * */ @JsonProperty("init_image") public void setInitImage(String initImage) { this.initImage = initImage; } public ImagesQuickGenRequest withInitImage(String initImage) { this.initImage = initImage; return this; } /** * Control Image *

* * */ @JsonProperty("control_image") public byte[] getControlImage() { return controlImage; } /** * Control Image *

* * */ @JsonProperty("control_image") public void setControlImage(byte[] controlImage) { this.controlImage = controlImage; } public ImagesQuickGenRequest withControlImage(byte[] controlImage) { this.controlImage = controlImage; return this; } /** * Control Image List *

* * */ @JsonProperty("control_image_list") public List getControlImageList() { return controlImageList; } /** * Control Image List *

* * */ @JsonProperty("control_image_list") public void setControlImageList(List controlImageList) { this.controlImageList = controlImageList; } public ImagesQuickGenRequest withControlImageList(List controlImageList) { this.controlImageList = controlImageList; return this; } /** * ImagesParameters *

* * */ @JsonProperty("parameters") public ImagesParameters getParameters() { return parameters; } /** * ImagesParameters *

* * */ @JsonProperty("parameters") public void setParameters(ImagesParameters parameters) { this.parameters = parameters; } public ImagesQuickGenRequest withParameters(ImagesParameters parameters) { this.parameters = parameters; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(ImagesQuickGenRequest.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("reqId"); sb.append('='); sb.append(((this.reqId == null)?"":this.reqId)); sb.append(','); sb.append("prompt"); sb.append('='); sb.append(((this.prompt == null)?"":this.prompt)); sb.append(','); sb.append("negativePrompt"); sb.append('='); sb.append(((this.negativePrompt == null)?"":this.negativePrompt)); sb.append(','); sb.append("initImage"); sb.append('='); sb.append(((this.initImage == null)?"":this.initImage)); sb.append(','); sb.append("controlImage"); sb.append('='); sb.append(((this.controlImage == null)?"":this.controlImage)); sb.append(','); sb.append("controlImageList"); sb.append('='); sb.append(((this.controlImageList == null)?"":this.controlImageList)); sb.append(','); sb.append("parameters"); sb.append('='); sb.append(((this.parameters == null)?"":this.parameters)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.initImage == null)? 0 :this.initImage.hashCode())); result = ((result* 31)+((this.controlImageList == null)? 0 :this.controlImageList.hashCode())); result = ((result* 31)+((this.controlImage == null)? 0 :this.controlImage.hashCode())); result = ((result* 31)+((this.prompt == null)? 0 :this.prompt.hashCode())); result = ((result* 31)+((this.parameters == null)? 0 :this.parameters.hashCode())); result = ((result* 31)+((this.reqId == null)? 0 :this.reqId.hashCode())); result = ((result* 31)+((this.negativePrompt == null)? 0 :this.negativePrompt.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ImagesQuickGenRequest) == false) { return false; } ImagesQuickGenRequest rhs = ((ImagesQuickGenRequest) other); return ((((((((this.initImage == rhs.initImage)||((this.initImage!= null)&&this.initImage.equals(rhs.initImage)))&&((this.controlImageList == rhs.controlImageList)||((this.controlImageList!= null)&&this.controlImageList.equals(rhs.controlImageList))))&&((this.controlImage == rhs.controlImage)||((this.controlImage!= null)&&this.controlImage.equals(rhs.controlImage))))&&((this.prompt == rhs.prompt)||((this.prompt!= null)&&this.prompt.equals(rhs.prompt))))&&((this.parameters == rhs.parameters)||((this.parameters!= null)&&this.parameters.equals(rhs.parameters))))&&((this.reqId == rhs.reqId)||((this.reqId!= null)&&this.reqId.equals(rhs.reqId))))&&((this.negativePrompt == rhs.negativePrompt)||((this.negativePrompt!= null)&&this.negativePrompt.equals(rhs.negativePrompt)))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy