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 Twilio Account SID..
|
String |
getIdentity()
Returns Identity of the user to whom the Sync List Permission applies..
|
String |
getListSid()
Returns Sync List SID..
|
Boolean |
getManage()
Returns Manage access..
|
Boolean |
getRead()
Returns Read access..
|
String |
getServiceSid()
Returns Sync Service Instance SID..
|
URI |
getUrl()
Returns URL of this Sync List Permission..
|
Boolean |
getWrite()
Returns 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 © 2019 Twilio, Inc. All Rights Reserved.