Builder
A builder for ImageResponseFormat.
Functions
Link copied to clipboard
public final ImageResponseFormat.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
public final ImageResponseFormat.Builder aspectRatio(JsonField<ImageResponseFormat.AspectRatio> aspectRatio)
Sets Builder.aspectRatio to an arbitrary JSON value.
The aspect ratio for the image output.
Link copied to clipboard
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
public final ImageResponseFormat.Builder imageSize(JsonField<ImageResponseFormat.ImageSize> imageSize)
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
Link copied to clipboard
public final ImageResponseFormat.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the field to an arbitrary JSON value.