Warning Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. Warning
- com.
Implements
public final class Warning
implements JsonSerializable<Warning>
The error object.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Warning |
fromJson(JsonReader jsonReader)
Reads an instance of Warning from the Json |
| 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 Warning fromJson(JsonReader jsonReader)
Reads an instance of Warning 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: