ImageResponseFormat

public final class ImageResponseFormat

Configuration for image output format.

Types

Link copied to clipboard
public final class AspectRatio implements Enum

The aspect ratio for the image output.

Link copied to clipboard
public final class Builder

A builder for ImageResponseFormat.

Link copied to clipboard
public final class Delivery implements Enum

The delivery mode for the image output.

Link copied to clipboard
public final class ImageSize implements Enum

The size of the image output.

Link copied to clipboard
public final class MimeType implements Enum

The MIME type of the image output.

Functions

Link copied to clipboard
public final Map<String, JsonValue> _additionalProperties()
Link copied to clipboard

Returns the raw JSON value of aspectRatio.

Link copied to clipboard
public final JsonField<ImageResponseFormat.Delivery> _delivery()

Returns the raw JSON value of delivery.

Link copied to clipboard
public final JsonField<ImageResponseFormat.ImageSize> _imageSize()

Returns the raw JSON value of imageSize.

Link copied to clipboard
public final JsonField<ImageResponseFormat.MimeType> _mimeType()

Returns the raw JSON value of mimeType.

Link copied to clipboard
public final JsonValue _type()

Expected to always return the following:

Link copied to clipboard

The aspect ratio for the image output.

Link copied to clipboard
public final static ImageResponseFormat.Builder builder()

Returns a mutable builder for constructing an instance of ImageResponseFormat.

Link copied to clipboard

The delivery mode for the image output.

Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard
public Integer hashCode()
Link copied to clipboard

The size of the image output.

Link copied to clipboard
public final Boolean isValid()
Link copied to clipboard

The MIME type of the image output.

Link copied to clipboard
Link copied to clipboard
public String toString()
Link copied to clipboard