public class SyncListItem extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
SyncListItem.QueryFromBoundType |
static class |
SyncListItem.QueryResultOrder |
| Modifier and Type | Method and Description |
|---|---|
static SyncListItemCreator |
creator(String pathServiceSid,
String pathListSid,
Map<String,Object> data)
Create a SyncListItemCreator to execute create.
|
static SyncListItemDeleter |
deleter(String pathServiceSid,
String pathListSid,
Integer pathIndex)
Create a SyncListItemDeleter to execute delete.
|
boolean |
equals(Object o) |
static SyncListItemFetcher |
fetcher(String pathServiceSid,
String pathListSid,
Integer pathIndex)
Create a SyncListItemFetcher to execute fetch.
|
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()
Returns The The account_sid.
|
String |
getCreatedBy()
Returns The The created_by.
|
Map<String,Object> |
getData()
Returns The The data.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateExpires()
Returns The The date_expires.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
Integer |
getIndex()
Returns The The index.
|
String |
getListSid()
Returns The The list_sid.
|
String |
getRevision()
Returns The The revision.
|
String |
getServiceSid()
Returns The The service_sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static SyncListItemReader |
reader(String pathServiceSid,
String pathListSid)
Create a SyncListItemReader to execute read.
|
String |
toString() |
static SyncListItemUpdater |
updater(String pathServiceSid,
String pathListSid,
Integer pathIndex)
Create a SyncListItemUpdater to execute update.
|
public static SyncListItemFetcher fetcher(String pathServiceSid, String pathListSid, Integer pathIndex)
pathServiceSid - The service_sidpathListSid - The list_sidpathIndex - The indexpublic static SyncListItemDeleter deleter(String pathServiceSid, String pathListSid, Integer pathIndex)
pathServiceSid - The service_sidpathListSid - The list_sidpathIndex - The indexpublic static SyncListItemCreator creator(String pathServiceSid, String pathListSid, Map<String,Object> data)
pathServiceSid - The service_sidpathListSid - The list_siddata - The datapublic static SyncListItemReader reader(String pathServiceSid, String pathListSid)
pathServiceSid - The service_sidpathListSid - The list_sidpublic static SyncListItemUpdater updater(String pathServiceSid, String pathListSid, Integer pathIndex)
pathServiceSid - The service_sidpathListSid - The list_sidpathIndex - The indexpublic static SyncListItem fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static SyncListItem fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final Integer getIndex()
public final String getAccountSid()
public final String getServiceSid()
public final String getListSid()
public final URI getUrl()
public final String getRevision()
public final org.joda.time.DateTime getDateExpires()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getCreatedBy()
Copyright © 2016 Twilio, Inc. All Rights Reserved.