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 class
SyncListItem.QueryFromBoundType
static class
SyncListItem.QueryResultOrder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncListItemCreator
creator(String pathServiceSid, String pathListSid, Map<String,Object> data)
static SyncListItemDeleter
deleter(String pathServiceSid, String pathListSid, Integer pathIndex)
boolean
equals(Object o)
static SyncListItemFetcher
fetcher(String pathServiceSid, String pathListSid, Integer pathIndex)
static SyncListItem
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncListItem object using the provided ObjectMapper.static SyncListItem
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncListItem object using the provided ObjectMapper.String
getAccountSid()
String
getCreatedBy()
Map<String,Object>
getData()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateExpires()
ZonedDateTime
getDateUpdated()
Integer
getIndex()
String
getListSid()
String
getRevision()
String
getServiceSid()
URI
getUrl()
int
hashCode()
static SyncListItemReader
reader(String pathServiceSid, String pathListSid)
static SyncListItemUpdater
updater(String pathServiceSid, String pathListSid, Integer pathIndex)
-
-
-
Method Detail
-
creator
public static SyncListItemCreator creator(String pathServiceSid, String pathListSid, Map<String,Object> data)
-
deleter
public static SyncListItemDeleter deleter(String pathServiceSid, String pathListSid, Integer pathIndex)
-
fetcher
public static SyncListItemFetcher fetcher(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()
-
-