Class SourceLastSync

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

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

    • SourceLastSync

      public SourceLastSync()
    • SourceLastSync

      public SourceLastSync(Boolean initWithEmptyList)
  • Method Details

    • state

      State of the last synchronization.
    • getState

      public SourceLastSync.StateEnum getState()
    • setState

      public void setState(SourceLastSync.StateEnum state)
    • dateStarted

      public SourceLastSync dateStarted(Date dateStarted)
      Last synchronization start-time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateStarted

      public Date getDateStarted()
    • setDateStarted

      public void setDateStarted(Date dateStarted)
    • dateEnded

      public SourceLastSync dateEnded(Date dateEnded)
      Last synchronization end-time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateEnded

      public Date getDateEnded()
    • setDateEnded

      public void setDateEnded(Date dateEnded)
    • error

      public SourceLastSync error(ErrorBody error)
      Optional error message of the last synchronization.
    • getError

      public ErrorBody getError()
    • setError

      public void setError(ErrorBody error)
    • 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