public class SyncList extends Resource
Modifier and Type | Method and Description |
---|---|
static SyncListCreator |
creator(String pathServiceSid)
Create a SyncListCreator to execute create.
|
static SyncListDeleter |
deleter(String pathServiceSid,
String pathSid)
Create a SyncListDeleter to execute delete.
|
boolean |
equals(Object o) |
static SyncListFetcher |
fetcher(String pathServiceSid,
String pathSid)
Create a SyncListFetcher to execute fetch.
|
static SyncList |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncList object using the provided
ObjectMapper.
|
static SyncList |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncList object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
String |
getCreatedBy()
Returns The identity of the Sync List's creator.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateExpires()
Returns The ISO 8601 date and time in GMT when the Sync List expires.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 date and time in GMT when the resource was last updated.
|
Map<String,String> |
getLinks()
Returns The URLs of the Sync List's nested resources.
|
String |
getRevision()
Returns The current revision of the Sync List, represented as a string.
|
String |
getServiceSid()
Returns The SID of the Sync Service that the resource is associated with.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getUniqueName()
Returns An application-defined string that uniquely identifies the resource.
|
URI |
getUrl()
Returns The absolute URL of the Sync List resource.
|
int |
hashCode() |
static SyncListReader |
reader(String pathServiceSid)
Create a SyncListReader to execute read.
|
static SyncListUpdater |
updater(String pathServiceSid,
String pathSid)
Create a SyncListUpdater to execute update.
|
public static SyncListFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Sync Service with the Sync List
resource to fetchpathSid
- The SID of the Sync List resource to fetchpublic static SyncListDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Sync Service with the Sync List
resource to deletepathSid
- The SID of the Sync List resource to deletepublic static SyncListCreator creator(String pathServiceSid)
pathServiceSid
- The SID of the Sync Service to create the new Sync
List inpublic static SyncListUpdater updater(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Sync Service with the Sync List
resource to updatepathSid
- The SID of the Sync List resource to updatepublic static SyncListReader reader(String pathServiceSid)
pathServiceSid
- The SID of the Sync Service with the Sync List
resources to readpublic static SyncList fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static SyncList fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getUniqueName()
public final String getAccountSid()
public final String getServiceSid()
public final URI getUrl()
public final Map<String,String> getLinks()
public final String getRevision()
public final ZonedDateTime getDateExpires()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getCreatedBy()
Copyright © 2019 Twilio, Inc. All Rights Reserved.