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.inthashCode()static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)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
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-