Class SyncStatus

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.proactiveconnect.SyncStatus
All Implemented Interfaces:
Jsonable

public class SyncStatus extends JsonableBaseObject
Provides info on list changes compared to the latest sync.
  • Constructor Details

  • Method Details

    • getValue

      Synchronization state of the list.
      Returns:
      The sync status enum.
    • getDetails

      public String getDetails()
      Details on the sync status.
      Returns:
      Sync status details as a string.
    • getMetadataModified

      Whether the list definition has been modified since last sync.
      Returns:
      true if the list metadata was modified since last sync.
    • getDataModified

      Whether one or more list items were added, removed and/or modified since last sync.
      Returns:
      true if the list data was modified since last sync.
    • getDirty

      public Boolean getDirty()
      Whether the list content or metadata were modified since last sync.
      Returns:
      true if the list was modified since last sync.
    • fromJson

      public static SyncStatus fromJson(String json)
      Creates an instance of this class from a JSON payload.
      Parameters:
      json - The JSON string to parse.
      Returns:
      An instance of this class with the fields populated, if present.