Package com.twilio.rest.flexapi.v1
Class CreateFlexInstance
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.flexapi.v1.CreateFlexInstance
-
- All Implemented Interfaces:
Serializable
public class CreateFlexInstance extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateFlexInstance.CreateInstanceRequestBodystatic classCreateFlexInstance.CreateInstanceRequestBodyConversationstatic classCreateFlexInstance.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateFlexInstanceCreatorcreator()booleanequals(Object o)static CreateFlexInstancefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a CreateFlexInstance object using the provided ObjectMapper.static CreateFlexInstancefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a CreateFlexInstance object using the provided ObjectMapper.inthashCode()static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
creator
public static CreateFlexInstanceCreator creator()
-
fromJson
public static CreateFlexInstance fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a CreateFlexInstance object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- CreateFlexInstance object represented by the provided JSON
-
fromJson
public static CreateFlexInstance fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a CreateFlexInstance object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- CreateFlexInstance object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-