Builder

public final class Builder

A builder for ImageResponseFormat.

Functions

Link copied to clipboard
public final ImageResponseFormat.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard

Sets Builder.aspectRatio to an arbitrary JSON value.

The aspect ratio for the image output.

Link copied to clipboard
public final ImageResponseFormat build()

Returns an immutable instance of ImageResponseFormat.

Link copied to clipboard

Sets Builder.delivery to an arbitrary JSON value.

The delivery mode for the image output.

Link copied to clipboard

Sets Builder.imageSize to an arbitrary JSON value.

The size of the image output.

Link copied to clipboard

Sets Builder.mimeType to an arbitrary JSON value.

The MIME type of the image output.

Link copied to clipboard
public final ImageResponseFormat.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final ImageResponseFormat.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
public final ImageResponseFormat.Builder type(JsonValue type)

Sets the field to an arbitrary JSON value.