Package com.twilio.rest.trusthub.v1
Class Policies
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.trusthub.v1.Policies
-
- All Implemented Interfaces:
Serializable
public class Policies 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 PoliciesFetcherfetcher(String pathSid)static PoliciesfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Policies object using the provided ObjectMapper.static PoliciesfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Policies object using the provided ObjectMapper.StringgetFriendlyName()Map<String,Object>getRequirements()StringgetSid()URIgetUrl()inthashCode()static PoliciesReaderreader()
-
-
-
Method Detail
-
fetcher
public static PoliciesFetcher fetcher(String pathSid)
-
reader
public static PoliciesReader reader()
-
fromJson
public static Policies fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Policies object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Policies object represented by the provided JSON
-
fromJson
public static Policies fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Policies object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Policies object represented by the provided JSON
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getUrl
public final URI getUrl()
-
-