Class ResponseOutputItem.ImageGenerationCall
-
- All Implemented Interfaces:
public final class ResponseOutputItem.ImageGenerationCallAn image generation request made by the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseOutputItem.ImageGenerationCall.BuilderA builder for ImageGenerationCall.
public final classResponseOutputItem.ImageGenerationCall.StatusThe status of the image generation call.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the image generation call. final Optional<String>result()The generated image encoded in base64. final ResponseOutputItem.ImageGenerationCall.Statusstatus()The status of the image generation call. final JsonValue_type()The type of the image generation call. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_result()Returns the raw JSON value of result. final JsonField<ResponseOutputItem.ImageGenerationCall.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final ResponseOutputItem.ImageGenerationCall.BuildertoBuilder()final ResponseOutputItem.ImageGenerationCallvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseOutputItem.ImageGenerationCall.Builderbuilder()Returns a mutable builder for constructing an instance of ImageGenerationCall. -
-
Method Detail
-
status
final ResponseOutputItem.ImageGenerationCall.Status status()
The status of the image generation call.
-
_type
final JsonValue _type()
The type of the image generation call. Always
image_generation_call.Expected to always return the following:
JsonValue.from("image_generation_call")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_result
final JsonField<String> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<ResponseOutputItem.ImageGenerationCall.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseOutputItem.ImageGenerationCall.Builder toBuilder()
-
validate
final ResponseOutputItem.ImageGenerationCall validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResponseOutputItem.ImageGenerationCall.Builder builder()
Returns a mutable builder for constructing an instance of ImageGenerationCall.
The following fields are required:
.id() .result() .status()
-
-
-
-