Class SyncListItem
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.sync.v1.service.synclist.SyncListItem
-
- All Implemented Interfaces:
Serializable
public class SyncListItem extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSyncListItem.QueryFromBoundTypestatic classSyncListItem.QueryResultOrder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncListItemCreatorcreator(String pathServiceSid, String pathListSid, Map<String,Object> data)static SyncListItemDeleterdeleter(String pathServiceSid, String pathListSid, Integer pathIndex)booleanequals(Object o)static SyncListItemFetcherfetcher(String pathServiceSid, String pathListSid, Integer pathIndex)static SyncListItemfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a SyncListItem object using the provided ObjectMapper.static SyncListItemfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a SyncListItem object using the provided ObjectMapper.StringgetAccountSid()StringgetCreatedBy()Map<String,Object>getData()ZonedDateTimegetDateCreated()ZonedDateTimegetDateExpires()ZonedDateTimegetDateUpdated()IntegergetIndex()StringgetListSid()StringgetRevision()StringgetServiceSid()URIgetUrl()inthashCode()static SyncListItemReaderreader(String pathServiceSid, String pathListSid)static SyncListItemUpdaterupdater(String pathServiceSid, String pathListSid, Integer pathIndex)
-
-
-
Method Detail
-
creator
public static SyncListItemCreator creator(String pathServiceSid, String pathListSid, Map<String,Object> data)
-
fetcher
public static SyncListItemFetcher fetcher(String pathServiceSid, String pathListSid, Integer pathIndex)
-
deleter
public static SyncListItemDeleter deleter(String pathServiceSid, String pathListSid, Integer pathIndex)
-
reader
public static SyncListItemReader reader(String pathServiceSid, String pathListSid)
-
updater
public static SyncListItemUpdater updater(String pathServiceSid, String pathListSid, Integer pathIndex)
-
fromJson
public static SyncListItem fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncListItem object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- SyncListItem object represented by the provided JSON
-
fromJson
public static SyncListItem fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncListItem object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- SyncListItem object represented by the provided JSON
-
getIndex
public final Integer getIndex()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getListSid
public final String getListSid()
-
getUrl
public final URI getUrl()
-
getRevision
public final String getRevision()
-
getDateExpires
public final ZonedDateTime getDateExpires()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getCreatedBy
public final String getCreatedBy()
-
-