Class ContactsList
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.proactiveconnect.ContactsList
- All Implemented Interfaces:
Jsonable
Represents a Proactive Connect list.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactsList.BuilderEntry point for constructing an instance of this class.static ContactsListCreates an instance of this class from a JSON payload.The list attributes.The creation timestamp in ISO 8601 format.The list's datasource.The description of the resource (max 1024 characters).getId()Unique identifier for this list.The total number of list items.getName()The name of the resource (max 255 characters).Synchronization status between the list content (items) and its datasource.getTags()Up to 10 custom strings assigned with a resource - each must be between 1 and 15 characters.The last update timestamp 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
-
Method Details
-
getName
The name of the resource (max 255 characters).- Returns:
- Resource name or
nullif unknown.
-
getDescription
The description of the resource (max 1024 characters).- Returns:
- Resource description or
nullif unknown.
-
getTags
Up to 10 custom strings assigned with a resource - each must be between 1 and 15 characters.- Returns:
- The list of tags or
nullif unknown.
-
getAttributes
The list attributes.- Returns:
- The list's attributes or
nullif unknown.
-
getDatasource
The list's datasource.- Returns:
- The datasource or
nullif unknown.
-
getCreatedAt
The creation timestamp in ISO 8601 format.- Returns:
- The creation time or
nullif unknown.
-
getUpdatedAt
The last update timestamp in ISO 8601 format.- Returns:
- The last updated time or
nullif unknown.
-
getItemsCount
The total number of list items.- Returns:
- The number of items in the list or
nullif unknown.
-
getId
Unique identifier for this list.- Returns:
- The list ID or
nullif unknown.
-
getSyncStatus
Synchronization status between the list content (items) and its datasource.- Returns:
- The synchronisation status, 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.
-
builder
Entry point for constructing an instance of this class.- Parameters:
name- The name of the resource (max 255 characters).- Returns:
- A new Builder.
-