Class SyncList
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.sync.service.SyncList
-
- All Implemented Interfaces:
Serializable
public class SyncList extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncListCreator
creator(String pathServiceSid)
static SyncListDeleter
deleter(String pathServiceSid, String pathSid)
boolean
equals(Object o)
static SyncListFetcher
fetcher(String pathServiceSid, String pathSid)
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()
String
getCreatedBy()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
Map<String,String>
getLinks()
String
getRevision()
String
getServiceSid()
String
getSid()
String
getUniqueName()
URI
getUrl()
int
hashCode()
static SyncListReader
reader(String pathServiceSid)
-
-
-
Method Detail
-
creator
public static SyncListCreator creator(String pathServiceSid)
-
fetcher
public static SyncListFetcher fetcher(String pathServiceSid, String pathSid)
-
deleter
public static SyncListDeleter deleter(String pathServiceSid, String pathSid)
-
reader
public static SyncListReader reader(String pathServiceSid)
-
fromJson
public static SyncList fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncList object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- SyncList object represented by the provided JSON
-
fromJson
public static SyncList fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncList object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- SyncList object represented by the provided JSON
-
getSid
public final String getSid()
-
getUniqueName
public final String getUniqueName()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getUrl
public final URI getUrl()
-
getRevision
public final String getRevision()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getCreatedBy
public final String getCreatedBy()
-
-