Class SyncMapItem
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.sync.v1.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 class
SyncMapItem.QueryFromBoundType
static class
SyncMapItem.QueryResultOrder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncMapItemCreator
creator(String pathServiceSid, String pathMapSid, String key, Map<String,Object> data)
static SyncMapItemDeleter
deleter(String pathServiceSid, String pathMapSid, String pathKey)
boolean
equals(Object o)
static SyncMapItemFetcher
fetcher(String pathServiceSid, String pathMapSid, String pathKey)
static SyncMapItem
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncMapItem object using the provided ObjectMapper.static SyncMapItem
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncMapItem object using the provided ObjectMapper.String
getAccountSid()
String
getCreatedBy()
Map<String,Object>
getData()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateExpires()
ZonedDateTime
getDateUpdated()
String
getKey()
String
getMapSid()
String
getRevision()
String
getServiceSid()
URI
getUrl()
int
hashCode()
static SyncMapItemReader
reader(String pathServiceSid, String pathMapSid)
static SyncMapItemUpdater
updater(String pathServiceSid, String pathMapSid, String pathKey)
-
-
-
Method Detail
-
creator
public static SyncMapItemCreator creator(String pathServiceSid, String pathMapSid, String key, Map<String,Object> data)
-
deleter
public static SyncMapItemDeleter deleter(String pathServiceSid, String pathMapSid, String pathKey)
-
fetcher
public static SyncMapItemFetcher fetcher(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)
-
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()
-
getDateExpires
public final ZonedDateTime getDateExpires()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getCreatedBy
public final String getCreatedBy()
-
-