Package com.azure.ai.openai.models
Class ImageGenerations
java.lang.Object
com.azure.ai.openai.models.ImageGenerations
The result of a successful image generation operation.
-
Constructor Summary
ConstructorsConstructorDescriptionImageGenerations(OffsetDateTime createdAt, List<ImageGenerationData> data) Creates an instance of ImageGenerations class. -
Method Summary
Modifier and TypeMethodDescriptionGet the createdAt property: A timestamp representing when this operation was started.getData()Get the data property: The images generated by the operation.
-
Constructor Details
-
ImageGenerations
Creates an instance of ImageGenerations class.- Parameters:
createdAt- the createdAt value to set.data- the data value to set.
-
-
Method Details
-
getCreatedAt
Get the createdAt property: A timestamp representing when this operation was started. Expressed in seconds since the Unix epoch of 1970-01-01T00:00:00+0000.- Returns:
- the createdAt value.
-
getData
Get the data property: The images generated by the operation.- Returns:
- the data value.
-