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 classForm.FormTypes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FormFetcherfetcher(Form.FormTypes formType)static FormfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Form object using the provided ObjectMapper.static FormfromJson(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.FormTypesgetFormType()URIgetUrl()inthashCode()
-
-
-
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()
-
-