Class ListItem

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

public class ListItem extends JsonableBaseObject
Represents a list item in the Proactive Connect API.
  • Constructor Details

  • Method Details

    • getData

      public Map<String,?> getData()
      Custom data as key-value pairs for this list.
      Returns:
      The list data as a Map, or null if unset.
    • getCreatedAt

      Time this item was created, in ISO 8601 format.
      Returns:
      The creation timestamp, or null if unknown.
    • getUpdatedAt

      Time this item was last updated, in ISO 8601 format.
      Returns:
      The last update timestamp, or null if unknown.
    • getId

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

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

      public static ListItem 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.