Class ContactsList

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

public class ContactsList extends JsonableBaseObject
Represents a Proactive Connect list.
  • Method Details

    • getName

      public String getName()
      The name of the resource (max 255 characters).
      Returns:
      Resource name or null if unknown.
    • getDescription

      The description of the resource (max 1024 characters).
      Returns:
      Resource description or null if unknown.
    • getTags

      public List<String> getTags()
      Up to 10 custom strings assigned with a resource - each must be between 1 and 15 characters.
      Returns:
      The list of tags or null if unknown.
    • getAttributes

      The list attributes.
      Returns:
      The list's attributes or null if unknown.
    • getDatasource

      The list's datasource.
      Returns:
      The datasource or null if unknown.
    • getCreatedAt

      The creation timestamp in ISO 8601 format.
      Returns:
      The creation time or null if unknown.
    • getUpdatedAt

      The last update timestamp in ISO 8601 format.
      Returns:
      The last updated time or null if unknown.
    • getItemsCount

      The total number of list items.
      Returns:
      The number of items in the list or null if unknown.
    • getId

      public UUID getId()
      Unique identifier for this list.
      Returns:
      The list ID or null if unknown.
    • getSyncStatus

      Synchronization status between the list content (items) and its datasource.
      Returns:
      The synchronisation status, or null if unknown.
    • fromJson

      public static ContactsList 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.
    • builder

      public static ContactsList.Builder builder(String name)
      Entry point for constructing an instance of this class.
      Parameters:
      name - The name of the resource (max 255 characters).
      Returns:
      A new Builder.