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 SID of the Account that created the resource.
|
String |
getIdentity()
Returns The identity of the user to whom the Sync List Permission applies.
|
String |
getListSid()
Returns The SID of the Sync List to which the Permission applies.
|
Boolean |
getManage()
Returns Manage access.
|
Boolean |
getRead()
Returns Read access.
|
String |
getServiceSid()
Returns The SID of the Sync Service that the resource is associated with.
|
URI |
getUrl()
Returns The absolute URL of the Sync List Permission resource.
|
Boolean |
getWrite()
Returns Write access.
|
int |
hashCode() |
static SyncListPermissionReader |
reader(String pathServiceSid,
String pathListSid)
Create a SyncListPermissionReader to execute read.
|
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 SID of the Sync Service with the Sync List
Permission resource to fetchpathListSid
- The SID of the Sync List with the Sync List Permission
resource to fetchpathIdentity
- The application-defined string that uniquely identifies
the User's Sync List Permission resource to fetchpublic static SyncListPermissionDeleter deleter(String pathServiceSid, String pathListSid, String pathIdentity)
pathServiceSid
- The SID of the Sync Service with the Sync List
Permission resource to deletepathListSid
- The SID of the Sync List with the Sync List Permission
resource to deletepathIdentity
- The application-defined string that uniquely identifies
the User's Sync List Permission resource to deletepublic static SyncListPermissionReader reader(String pathServiceSid, String pathListSid)
pathServiceSid
- The SID of the Sync Service with the Sync List
Permission resources to readpathListSid
- The SID of the Sync List with the Sync List Permission
resources to readpublic static SyncListPermissionUpdater updater(String pathServiceSid, String pathListSid, String pathIdentity, Boolean read, Boolean write, Boolean manage)
pathServiceSid
- The SID of the Sync Service with the Sync List
Permission resource to updatepathListSid
- The SID of the Sync List with the Sync List Permission
resource to updatepathIdentity
- The application-defined string that uniquely identifies
the User's Sync List Permission resource to updateread
- Read accesswrite
- Write accessmanage
- Manage accesspublic 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.