DocumentIntelligenceWarning Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentIntelligenceWarning
- com.
Implements
public final class DocumentIntelligenceWarning
implements JsonSerializable<DocumentIntelligenceWarning>
The error object.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
String |
getCode()
Get the code property: One of a server-defined set of warning codes. |
String |
getMessage()
Get the message property: A human-readable representation of the warning. |
String |
getTarget()
Get the target property: The target of the error. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentIntelligenceWarning fromJson(JsonReader jsonReader)
Reads an instance of DocumentIntelligenceWarning from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: One of a server-defined set of warning codes.
Returns:
getMessage
public String getMessage()
Get the message property: A human-readable representation of the warning.
Returns:
getTarget
public String getTarget()
Get the target property: The target of the error.
Returns:
toJson
Applies to
Azure SDK for Java