Class AsyncQueryStatus

java.lang.Object
com.mypurecloud.sdk.v2.model.AsyncQueryStatus
All Implemented Interfaces:
Serializable

public class AsyncQueryStatus extends Object implements Serializable
AsyncQueryStatus
See Also:
  • Constructor Details

    • AsyncQueryStatus

      public AsyncQueryStatus()
    • AsyncQueryStatus

      public AsyncQueryStatus(Boolean initWithEmptyList)
  • Method Details

    • state

      The current state of the asynchronous query
    • getState

      public AsyncQueryStatus.StateEnum getState()
    • setState

      public void setState(AsyncQueryStatus.StateEnum state)
    • errorMessage

      public AsyncQueryStatus errorMessage(String errorMessage)
      The error associated with the current query, if the state is FAILED
    • getErrorMessage

      public String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • expirationDate

      public AsyncQueryStatus expirationDate(Date expirationDate)
      The time at which results for this query will expire. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getExpirationDate

      public Date getExpirationDate()
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
    • submissionDate

      public AsyncQueryStatus submissionDate(Date submissionDate)
      The time at which the query was submitted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getSubmissionDate

      public Date getSubmissionDate()
    • setSubmissionDate

      public void setSubmissionDate(Date submissionDate)
    • completionDate

      public AsyncQueryStatus completionDate(Date completionDate)
      The time at which the query completed. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getCompletionDate

      public Date getCompletionDate()
    • setCompletionDate

      public void setCompletionDate(Date completionDate)
    • 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