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:
jsonReader
- The JsonReader being read.
Returns:
An instance of BatchErrorList if the JsonReader was pointing to an instance of it, or null if it was
pointing to JSON null.
Throws:
- If the deserialized JSON object was missing any required properties.
getData
public List
Get the data property: The list of Batch error data.
Returns:
the data value.
getObject
public String getObject()
Get the object property: The object type, which is always `list`.
Returns:
the object value.
toJson
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java