public class AuthTokenPromotion extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static AuthTokenPromotion |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AuthTokenPromotion object using the
provided ObjectMapper.
|
static AuthTokenPromotion |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AuthTokenPromotion object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that the secondary Auth Token was created for.
|
String |
getAuthToken()
Returns The promoted Auth Token.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 formatted date and time in UTC when the resource was
created.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 formatted date and time in UTC when the resource was
last updated.
|
URI |
getUrl()
Returns The URI for this resource, relative to `https://accounts.twilio.com`.
|
int |
hashCode() |
static AuthTokenPromotionUpdater |
updater()
Create a AuthTokenPromotionUpdater to execute update.
|
public static AuthTokenPromotionUpdater updater()
public static AuthTokenPromotion fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static AuthTokenPromotion fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getAuthToken()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.