Package com.twilio.rest.oauth.v1
Class Oauth
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.oauth.v1.Oauth
-
- All Implemented Interfaces:
Serializable
public class Oauth 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 OauthFetcherfetcher()static OauthfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Oauth object using the provided ObjectMapper.static OauthfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Oauth object using the provided ObjectMapper.Map<String,Object>getKeys()URIgetUrl()inthashCode()
-
-
-
Method Detail
-
fetcher
public static OauthFetcher fetcher()
-
fromJson
public static Oauth fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Oauth object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Oauth object represented by the provided JSON
-
fromJson
public static Oauth fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Oauth object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Oauth object represented by the provided JSON
-
getUrl
public final URI getUrl()
-
-