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 Details

    • getId

      public String getId()
      Get the id property: Id of the document details.
      Returns:
      the id value.
    • getStatus

      public OperationStatus 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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

      public DeidentificationDocumentLocation getInputLocation()
      Get the inputLocation property: Location for the input.
      Returns:
      the inputLocation value.
    • getOutputLocation

      public DeidentificationDocumentLocation getOutputLocation()
      Get the outputLocation property: Location for the output.
      Returns:
      the outputLocation value.