Package com.twilio.rest.verify.v2
Class Form
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.Form
-
- All Implemented Interfaces:
Serializable
public class Form extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Form.FormTypes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static FormFetcher
fetcher(Form.FormTypes formType)
static Form
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Form object using the provided ObjectMapper.static Form
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Form object using the provided ObjectMapper.Map<String,Object>
getFormMeta()
Map<String,Object>
getForms()
Form.FormTypes
getFormType()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
fetcher
public static FormFetcher fetcher(Form.FormTypes formType)
-
fromJson
public static Form fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Form object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Form object represented by the provided JSON
-
fromJson
public static Form fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Form object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Form object represented by the provided JSON
-
getFormType
public final Form.FormTypes getFormType()
-
getUrl
public final URI getUrl()
-
-