Enum MotorImageSize

java.lang.Object
java.lang.Enum<MotorImageSize>
com.chatmotorapi.api.image.MotorImageSize
All Implemented Interfaces:
Serializable, Comparable<MotorImageSize>, java.lang.constant.Constable

public enum MotorImageSize
extends Enum<MotorImageSize>
Enum representing various standard image sizes for the ChatMotor Image API. This enum can be used to specify the desired dimensions for images.
  • Enum Constant Details

    • X256

      public static final MotorImageSize X256
      Represents an image size of 256x256 pixels.
    • X512

      public static final MotorImageSize X512
      Represents an image size of 512x512 pixels.
    • X1024

      public static final MotorImageSize X1024
      Represents an image size of 1024x1024 pixels.
    • X1792x

      public static final MotorImageSize X1792x
      Represents an image size of 1792x1024 pixels.
    • X1024x

      public static final MotorImageSize X1024x
      Represents an image size of 1024x1792 pixels.
  • Method Details

    • values

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

      public static MotorImageSize valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null