public class SyncListPermission extends Resource
| Modifier and Type | Method and Description |
|---|---|
static SyncListPermissionDeleter |
deleter(String pathServiceSid,
String pathListSid,
String pathIdentity)
Create a SyncListPermissionDeleter to execute delete.
|
boolean |
equals(Object o) |
static SyncListPermissionFetcher |
fetcher(String pathServiceSid,
String pathListSid,
String pathIdentity)
Create a SyncListPermissionFetcher to execute fetch.
|
static SyncListPermission |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncListPermission object using the
provided ObjectMapper.
|
static SyncListPermission |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncListPermission object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The Twilio Account SID..
|
String |
getIdentity()
Returns The Identity of the user to whom the Sync List Permission applies..
|
String |
getListSid()
Returns The Sync List SID..
|
Boolean |
getManage()
Returns The Manage access..
|
Boolean |
getRead()
Returns The Read access..
|
String |
getServiceSid()
Returns The Sync Service Instance SID..
|
URI |
getUrl()
Returns The URL of this Sync List Permission..
|
Boolean |
getWrite()
Returns The Write access..
|
int |
hashCode() |
static SyncListPermissionReader |
reader(String pathServiceSid,
String pathListSid)
Create a SyncListPermissionReader to execute read.
|
String |
toString() |
static SyncListPermissionUpdater |
updater(String pathServiceSid,
String pathListSid,
String pathIdentity,
Boolean read,
Boolean write,
Boolean manage)
Create a SyncListPermissionUpdater to execute update.
|
public static SyncListPermissionFetcher fetcher(String pathServiceSid, String pathListSid, String pathIdentity)
pathServiceSid - The service_sidpathListSid - Sync List SID or unique name.pathIdentity - Identity of the user to whom the Sync List Permission
applies.public static SyncListPermissionDeleter deleter(String pathServiceSid, String pathListSid, String pathIdentity)
pathServiceSid - The service_sidpathListSid - Sync List SID or unique name.pathIdentity - Identity of the user to whom the Sync List Permission
applies.public static SyncListPermissionReader reader(String pathServiceSid, String pathListSid)
pathServiceSid - The service_sidpathListSid - Sync List SID or unique name.public static SyncListPermissionUpdater updater(String pathServiceSid, String pathListSid, String pathIdentity, Boolean read, Boolean write, Boolean manage)
pathServiceSid - Sync Service Instance SID.pathListSid - Sync List SID or unique name.pathIdentity - Identity of the user to whom the Sync List Permission
applies.read - Read access.write - Write access.manage - Manage access.public static SyncListPermission fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static SyncListPermission fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getServiceSid()
public final String getListSid()
public final String getIdentity()
public final Boolean getRead()
public final Boolean getWrite()
public final Boolean getManage()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.