Class SyncListPermission
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.sync.service.synclist.SyncListPermission
-
- All Implemented Interfaces:
Serializable
public class SyncListPermission extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncListPermissionDeleterdeleter(String pathServiceSid, String pathListSid, String pathIdentity)booleanequals(Object o)static SyncListPermissionFetcherfetcher(String pathServiceSid, String pathListSid, String pathIdentity)static SyncListPermissionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a SyncListPermission object using the provided ObjectMapper.static SyncListPermissionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a SyncListPermission object using the provided ObjectMapper.StringgetAccountSid()StringgetIdentity()StringgetListSid()BooleangetManage()BooleangetRead()StringgetServiceSid()URIgetUrl()BooleangetWrite()inthashCode()static SyncListPermissionReaderreader(String pathServiceSid, String pathListSid)static SyncListPermissionUpdaterupdater(String pathServiceSid, String pathListSid, String pathIdentity, Boolean read, Boolean write, Boolean manage)
-
-
-
Method Detail
-
fetcher
public static SyncListPermissionFetcher fetcher(String pathServiceSid, String pathListSid, String pathIdentity)
-
deleter
public static SyncListPermissionDeleter deleter(String pathServiceSid, String pathListSid, String pathIdentity)
-
reader
public static SyncListPermissionReader reader(String pathServiceSid, String pathListSid)
-
updater
public static SyncListPermissionUpdater updater(String pathServiceSid, String pathListSid, String pathIdentity, Boolean read, Boolean write, Boolean manage)
-
fromJson
public static SyncListPermission fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SyncListPermission object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- SyncListPermission object represented by the provided JSON
-
fromJson
public static SyncListPermission fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SyncListPermission object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- SyncListPermission object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getListSid
public final String getListSid()
-
getIdentity
public final String getIdentity()
-
getRead
public final Boolean getRead()
-
getWrite
public final Boolean getWrite()
-
getManage
public final Boolean getManage()
-
getUrl
public final URI getUrl()
-
-