Class Entity
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.service.Entity
-
- All Implemented Interfaces:
Serializable
public class Entity extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityCreatorcreator(String pathServiceSid, String identity)static EntityDeleterdeleter(String pathServiceSid, String pathIdentity)booleanequals(Object o)static EntityFetcherfetcher(String pathServiceSid, String pathIdentity)static EntityfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Entity object using the provided ObjectMapper.static EntityfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Entity object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetIdentity()Map<String,String>getLinks()StringgetServiceSid()StringgetSid()URIgetUrl()inthashCode()static EntityReaderreader(String pathServiceSid)
-
-
-
Method Detail
-
creator
public static EntityCreator creator(String pathServiceSid, String identity)
-
fetcher
public static EntityFetcher fetcher(String pathServiceSid, String pathIdentity)
-
deleter
public static EntityDeleter deleter(String pathServiceSid, String pathIdentity)
-
reader
public static EntityReader reader(String pathServiceSid)
-
fromJson
public static Entity fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Entity object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Entity object represented by the provided JSON
-
fromJson
public static Entity fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Entity object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Entity object represented by the provided JSON
-
getSid
public final String getSid()
-
getIdentity
public final String getIdentity()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-