Package com.twilio.rest.accounts.v1
Class AuthTokenPromotion
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.accounts.v1.AuthTokenPromotion
-
- All Implemented Interfaces:
Serializable
public class AuthTokenPromotion extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static AuthTokenPromotionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a AuthTokenPromotion object using the provided ObjectMapper.static AuthTokenPromotionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a AuthTokenPromotion object using the provided ObjectMapper.StringgetAccountSid()StringgetAuthToken()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()URIgetUrl()inthashCode()static AuthTokenPromotionUpdaterupdater()
-
-
-
Method Detail
-
updater
public static AuthTokenPromotionUpdater updater()
-
fromJson
public static AuthTokenPromotion fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AuthTokenPromotion object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- AuthTokenPromotion object represented by the provided JSON
-
fromJson
public static AuthTokenPromotion fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AuthTokenPromotion object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- AuthTokenPromotion object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getAuthToken
public final String getAuthToken()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-