Class ListItem
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.proactiveconnect.ListItem
- All Implemented Interfaces:
Jsonable
Represents a list item in the Proactive Connect API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListItemCreates an instance of this class from a JSON payload.Time this item was created, in ISO 8601 format.getData()Custom data as key-value pairs for this list.getId()Unique identifier for this item.Unique identifier for this list.Time this item was last updated, in ISO 8601 format.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
ListItem
protected ListItem()
-
-
Method Details
-
getData
Custom data as key-value pairs for this list.- Returns:
- The list data as a Map, or
nullif unset.
-
getCreatedAt
Time this item was created, in ISO 8601 format.- Returns:
- The creation timestamp, or
nullif unknown.
-
getUpdatedAt
Time this item was last updated, in ISO 8601 format.- Returns:
- The last update timestamp, or
nullif unknown.
-
getId
Unique identifier for this item.- Returns:
- The item ID or
nullif unknown.
-
getListId
Unique identifier for this list.- Returns:
- The list ID or
nullif unknown.
-
fromJson
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.
-