Enum Class WanxImageSize

java.lang.Object
java.lang.Enum<WanxImageSize>
dev.langchain4j.model.dashscope.WanxImageSize
All Implemented Interfaces:
Serializable, Comparable<WanxImageSize>, Constable

public enum WanxImageSize extends Enum<WanxImageSize>
  • Enum Constant Details

    • SIZE_1024_1024

      public static final WanxImageSize SIZE_1024_1024
    • SIZE_720_1280

      public static final WanxImageSize SIZE_720_1280
    • SIZE_1280_720

      public static final WanxImageSize SIZE_1280_720
  • Method Details

    • values

      public static WanxImageSize[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WanxImageSize valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<WanxImageSize>