Package com.twilio.rest.sync.v1.service
Class SyncList
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.sync.v1.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 SyncListCreatorcreator(String pathServiceSid)static SyncListDeleterdeleter(String pathServiceSid, String pathSid)booleanequals(Object o)static SyncListFetcherfetcher(String pathServiceSid, String pathSid)static SyncListfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a SyncList object using the provided ObjectMapper.static SyncListfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a SyncList object using the provided ObjectMapper.StringgetAccountSid()StringgetCreatedBy()ZonedDateTimegetDateCreated()ZonedDateTimegetDateExpires()ZonedDateTimegetDateUpdated()Map<String,String>getLinks()StringgetRevision()StringgetServiceSid()StringgetSid()StringgetUniqueName()URIgetUrl()inthashCode()static SyncListReaderreader(String pathServiceSid)static SyncListUpdaterupdater(String pathServiceSid, String pathSid)
-
-
-
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)
-
updater
public static SyncListUpdater updater(String pathServiceSid, String pathSid)
-
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()
-
getDateExpires
public final ZonedDateTime getDateExpires()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getCreatedBy
public final String getCreatedBy()
-
-