BatchErrorList Class
- java.
lang. Object - com.
azure. ai. openai. models. BatchErrorList
- com.
Implements
public final class BatchErrorList
implements JsonSerializable<BatchErrorList>
A list of Batch errors.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
List<Batch |
getData()
Get the data property: The list of Batch error data. |
String |
getObject()
Get the object property: The object type, which is always `list`. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchErrorList fromJson(JsonReader jsonReader)
Reads an instance of BatchErrorList from the JsonReader.
Parameters:
Returns:
Throws:
getData
public List
Get the data property: The list of Batch error data.
Returns:
getObject
public String getObject()
Get the object property: The object type, which is always `list`.
Returns:
toJson
Applies to
Azure SDK for Java