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 EntityCreator
creator(String pathServiceSid, String identity)
static EntityDeleter
deleter(String pathServiceSid, String pathIdentity)
boolean
equals(Object o)
static EntityFetcher
fetcher(String pathServiceSid, String pathIdentity)
static Entity
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Entity object using the provided ObjectMapper.static Entity
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Entity object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getIdentity()
Map<String,String>
getLinks()
String
getServiceSid()
String
getSid()
URI
getUrl()
int
hashCode()
static EntityReader
reader(String pathServiceSid)
-
-
-
Method Detail
-
creator
public static EntityCreator creator(String pathServiceSid, String identity)
-
deleter
public static EntityDeleter deleter(String pathServiceSid, String pathIdentity)
-
fetcher
public static EntityFetcher fetcher(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()
-
-