Package com.twilio.rest.accounts.v1
Class SecondaryAuthToken
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.accounts.v1.SecondaryAuthToken
-
- All Implemented Interfaces:
Serializable
public class SecondaryAuthToken extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecondaryAuthTokenCreator
creator()
static SecondaryAuthTokenDeleter
deleter()
boolean
equals(Object o)
static SecondaryAuthToken
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SecondaryAuthToken object using the provided ObjectMapper.static SecondaryAuthToken
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SecondaryAuthToken object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getSecondaryAuthToken()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
creator
public static SecondaryAuthTokenCreator creator()
-
deleter
public static SecondaryAuthTokenDeleter deleter()
-
fromJson
public static SecondaryAuthToken fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SecondaryAuthToken object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- SecondaryAuthToken object represented by the provided JSON
-
fromJson
public static SecondaryAuthToken fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SecondaryAuthToken object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- SecondaryAuthToken object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getSecondaryAuthToken
public final String getSecondaryAuthToken()
-
getUrl
public final URI getUrl()
-
-