Class ResponseInputItem.ImageGenerationCall
-
- All Implemented Interfaces:
public final class ResponseInputItem.ImageGenerationCallAn image generation request made by the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputItem.ImageGenerationCall.BuilderA builder for ImageGenerationCall.
public final classResponseInputItem.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 ResponseInputItem.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<ResponseInputItem.ImageGenerationCall.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final ResponseInputItem.ImageGenerationCall.BuildertoBuilder()final ResponseInputItem.ImageGenerationCallvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputItem.ImageGenerationCall.Builderbuilder()Returns a mutable builder for constructing an instance of ImageGenerationCall. -
-
Method Detail
-
status
final ResponseInputItem.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<ResponseInputItem.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 ResponseInputItem.ImageGenerationCall.Builder toBuilder()
-
validate
final ResponseInputItem.ImageGenerationCall validate()
-
builder
final static ResponseInputItem.ImageGenerationCall.Builder builder()
Returns a mutable builder for constructing an instance of ImageGenerationCall.
The following fields are required:
.id() .result() .status()
-
-
-
-