Package com.intellijava.core.model
Class OpenaiImageResponse
java.lang.Object
com.intellijava.core.model.BaseRemoteModel
com.intellijava.core.model.OpenaiImageResponse
OpenaiImageResponse is a model class used to parse the response from the OpenAI image API.
The class contains a nested call Data
- Author:
- github.com/Barqawiz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A nested class that represents an image object returned in the API response. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the timestamp when the response was createdgetData()
Get the list of data objects contained in the API responseMethods inherited from class com.intellijava.core.model.BaseRemoteModel
getId, setId
-
Constructor Details
-
OpenaiImageResponse
public OpenaiImageResponse()OpenaiImageResponse default constructor.
-
-
Method Details
-
getCreated
public long getCreated()Get the timestamp when the response was created- Returns:
- the timestamp when the response was created
-
getData
Get the list of data objects contained in the API response- Returns:
- the list of data objects contained in the API response
-