Class DeidentificationDocumentDetails
java.lang.Object
com.azure.health.deidentification.models.DeidentificationDocumentDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeidentificationDocumentDetails>
public final class DeidentificationDocumentDetails
extends Object
implements com.azure.json.JsonSerializable<DeidentificationDocumentDetails>
Details of a single document in a job.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeidentificationDocumentDetails from the JsonReader.com.azure.core.models.ResponseErrorgetError()Get the error property: Error when document fails.getId()Get the id property: Id of the document details.Get the inputLocation property: Location for the input.Get the outputLocation property: Location for the output.Get the status property: Status of the document.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getId
Get the id property: Id of the document details.- Returns:
- the id value.
-
getStatus
Get the status property: Status of the document.- Returns:
- the status value.
-
getError
public com.azure.core.models.ResponseError getError()Get the error property: Error when document fails.- Returns:
- the error value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeidentificationDocumentDetails>- Throws:
IOException
-
fromJson
public static DeidentificationDocumentDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeidentificationDocumentDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeidentificationDocumentDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DeidentificationDocumentDetails.
-
getInputLocation
Get the inputLocation property: Location for the input.- Returns:
- the inputLocation value.
-
getOutputLocation
Get the outputLocation property: Location for the output.- Returns:
- the outputLocation value.
-