Class DeidentificationJobSummary

java.lang.Object
com.azure.health.deidentification.models.DeidentificationJobSummary
All Implemented Interfaces:
com.azure.json.JsonSerializable<DeidentificationJobSummary>

public final class DeidentificationJobSummary extends Object implements com.azure.json.JsonSerializable<DeidentificationJobSummary>
Summary metrics of a job.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of DeidentificationJobSummary from the JsonReader.
    long
    Get the bytesProcessed property: Number of bytes processed.
    int
    Get the canceledCount property: Number of documents that have been canceled.
    int
    Get the failedCount property: Number of documents that have failed.
    int
    Get the successfulCount property: Number of documents that have completed.
    int
    Get the totalCount property: Number of documents total.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • getSuccessfulCount

      public int getSuccessfulCount()
      Get the successfulCount property: Number of documents that have completed.
      Returns:
      the successfulCount value.
    • getFailedCount

      public int getFailedCount()
      Get the failedCount property: Number of documents that have failed.
      Returns:
      the failedCount value.
    • getCanceledCount

      public int getCanceledCount()
      Get the canceledCount property: Number of documents that have been canceled.
      Returns:
      the canceledCount value.
    • getTotalCount

      public int getTotalCount()
      Get the totalCount property: Number of documents total.
      Returns:
      the totalCount value.
    • getBytesProcessed

      public long getBytesProcessed()
      Get the bytesProcessed property: Number of bytes processed.
      Returns:
      the bytesProcessed value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DeidentificationJobSummary>
      Throws:
      IOException
    • fromJson

      public static DeidentificationJobSummary fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DeidentificationJobSummary from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DeidentificationJobSummary 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 DeidentificationJobSummary.