public class SyncMap extends Resource
Modifier and Type | Method and Description |
---|---|
static SyncMapCreator |
creator(String pathServiceSid)
Create a SyncMapCreator to execute create.
|
static SyncMapDeleter |
deleter(String pathServiceSid,
String pathSid)
Create a SyncMapDeleter to execute delete.
|
boolean |
equals(Object o) |
static SyncMapFetcher |
fetcher(String pathServiceSid,
String pathSid)
Create a SyncMapFetcher to execute fetch.
|
static SyncMap |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncMap object using the provided
ObjectMapper.
|
static SyncMap |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncMap 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 Map'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 Map 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 Map's nested resources.
|
String |
getRevision()
Returns The current revision of the Sync Map, 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 Map resource.
|
int |
hashCode() |
static SyncMapReader |
reader(String pathServiceSid)
Create a SyncMapReader to execute read.
|
static SyncMapUpdater |
updater(String pathServiceSid,
String pathSid)
Create a SyncMapUpdater to execute update.
|
public static SyncMapFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Sync Service with the Sync Map resource
to fetchpathSid
- The SID of the Sync Map resource to fetchpublic static SyncMapDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Sync Service with the Sync Map resource
to deletepathSid
- The SID of the Sync Map resource to deletepublic static SyncMapCreator creator(String pathServiceSid)
pathServiceSid
- The SID of the Sync Service to create the Sync Map inpublic static SyncMapUpdater updater(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Sync Service with the Sync Map resource
to updatepathSid
- The SID of the Sync Map resource to updatepublic static SyncMapReader reader(String pathServiceSid)
pathServiceSid
- The SID of the Sync Service with the Sync Map
resources to readpublic static SyncMap fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static SyncMap 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.