Class SyncMapItem
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.sync.service.syncmap.SyncMapItem
-
- All Implemented Interfaces:
Serializable
public class SyncMapItem extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSyncMapItem.QueryFromBoundTypestatic classSyncMapItem.QueryResultOrder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncMapItemCreatorcreator(String pathServiceSid, String pathMapSid, String key, Map<String,Object> data)static SyncMapItemDeleterdeleter(String pathServiceSid, String pathMapSid, String pathKey)booleanequals(Object o)static SyncMapItemFetcherfetcher(String pathServiceSid, String pathMapSid, String pathKey)static SyncMapItemfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a SyncMapItem object using the provided ObjectMapper.static SyncMapItemfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a SyncMapItem object using the provided ObjectMapper.StringgetAccountSid()StringgetCreatedBy()Map<String,Object>getData()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetKey()StringgetMapSid()StringgetRevision()StringgetServiceSid()URIgetUrl()inthashCode()static SyncMapItemReaderreader(String pathServiceSid, String pathMapSid)static SyncMapItemUpdaterupdater(String pathServiceSid, String pathMapSid, String pathKey, Map<String,Object> data)
-
-
-
Method Detail
-
creator
public static SyncMapItemCreator creator(String pathServiceSid, String pathMapSid, String key, Map<String,Object> data)
-
fetcher
public static SyncMapItemFetcher fetcher(String pathServiceSid, String pathMapSid, String pathKey)
-
deleter
public static SyncMapItemDeleter deleter(String pathServiceSid, String pathMapSid, String pathKey)
-
reader
public static SyncMapItemReader reader(String pathServiceSid, String pathMapSid)
-
updater
public static SyncMapItemUpdater updater(String pathServiceSid, String pathMapSid, String pathKey, Map<String,Object> data)
-
fromJson
public static SyncMapItem fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncMapItem object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- SyncMapItem object represented by the provided JSON
-
fromJson
public static SyncMapItem fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncMapItem object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- SyncMapItem object represented by the provided JSON
-
getKey
public final String getKey()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getMapSid
public final String getMapSid()
-
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()
-
-