Package com.twilio.rest.verify.v2
Class Safelist
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.Safelist
-
- All Implemented Interfaces:
Serializable
public class Safelist extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SafelistCreator
creator(String phoneNumber)
static SafelistDeleter
deleter(String pathPhoneNumber)
boolean
equals(Object o)
static SafelistFetcher
fetcher(String pathPhoneNumber)
static Safelist
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Safelist object using the provided ObjectMapper.static Safelist
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Safelist object using the provided ObjectMapper.String
getPhoneNumber()
String
getSid()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
creator
public static SafelistCreator creator(String phoneNumber)
-
fetcher
public static SafelistFetcher fetcher(String pathPhoneNumber)
-
deleter
public static SafelistDeleter deleter(String pathPhoneNumber)
-
fromJson
public static Safelist fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Safelist object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Safelist object represented by the provided JSON
-
fromJson
public static Safelist fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Safelist object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Safelist object represented by the provided JSON
-
getSid
public final String getSid()
-
getPhoneNumber
public final String getPhoneNumber()
-
getUrl
public final URI getUrl()
-
-