Class Image

java.lang.Object
cloud.liblibai.openapi.client.model.Image

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-05T15:10:08.947334966+08:00[Asia/Shanghai]", comments="Generator version: 7.10.0") public class Image extends Object
Image
  • Field Details

  • Constructor Details

    • Image

      public Image()
  • Method Details

    • imageUrl

      public Image imageUrl(@Nullable String imageUrl)
    • getImageUrl

      @Nullable public String getImageUrl()
      图片地址,可直接访问,地址有时效性:7天
      Returns:
      imageUrl
    • setImageUrl

      public void setImageUrl(@Nullable String imageUrl)
    • seed

      public Image seed(@Nullable Integer seed)
    • getSeed

      @Nullable public Integer getSeed()
      随机种子值
      Returns:
      seed
    • setSeed

      public void setSeed(@Nullable Integer seed)
    • auditStatus

      public Image auditStatus(@Nullable AuditStatus auditStatus)
    • getAuditStatus

      @Nullable public AuditStatus getAuditStatus()
      Get auditStatus
      Returns:
      auditStatus
    • setAuditStatus

      public void setAuditStatus(@Nullable AuditStatus auditStatus)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to Image
    • fromJson

      public static Image fromJson(String jsonString) throws IOException
      Create an instance of Image given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Image
      Throws:
      IOException - if the JSON string is invalid with respect to Image
    • toJson

      public String toJson()
      Convert an instance of Image to an JSON string
      Returns:
      JSON string