Class CredentialList
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.trunking.v1.trunk.CredentialList
-
- All Implemented Interfaces:
Serializable
public class CredentialList extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialListCreatorcreator(String pathTrunkSid, String credentialListSid)static CredentialListDeleterdeleter(String pathTrunkSid, String pathSid)booleanequals(Object o)static CredentialListFetcherfetcher(String pathTrunkSid, String pathSid)static CredentialListfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a CredentialList object using the provided ObjectMapper.static CredentialListfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a CredentialList object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetSid()StringgetTrunkSid()URIgetUrl()inthashCode()static CredentialListReaderreader(String pathTrunkSid)
-
-
-
Method Detail
-
creator
public static CredentialListCreator creator(String pathTrunkSid, String credentialListSid)
-
fetcher
public static CredentialListFetcher fetcher(String pathTrunkSid, String pathSid)
-
deleter
public static CredentialListDeleter deleter(String pathTrunkSid, String pathSid)
-
reader
public static CredentialListReader reader(String pathTrunkSid)
-
fromJson
public static CredentialList fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a CredentialList object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- CredentialList object represented by the provided JSON
-
fromJson
public static CredentialList fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a CredentialList object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- CredentialList object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getSid
public final String getSid()
-
getTrunkSid
public final String getTrunkSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-