Class AsyncJobStatus

java.lang.Object
com.amilesend.onedrive.resource.item.type.AsyncJobStatus

public class AsyncJobStatus extends Object
Provides information on the status of an asynchronous job.

API Documentation.

  • Method Details

    • builder

      public static AsyncJobStatus.AsyncJobStatusBuilder builder()
    • getOperation

      public String getOperation()
      The type of job being performed. Valid values include:
      • ItemCopy
      • DownloadUrl
    • getPercentageComplete

      public double getPercentageComplete()
      A value between 0.0 and 100.0 that indicates the current progress as a percentage.
    • getResourceId

      public String getResourceId()
      The identifier associated with the job.
    • getStatus

      public String getStatus()
      The current status associated with the job. Valid values include:
      • notStarted
      • inProgress
      • completed
      • failed
      • cancelled
      • waiting
      • cancelPending
    • getStatusDescription

      public String getStatusDescription()
      A detailed description of the job status.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object