Package com.twilio.rest.messaging.v1
Class Usecase
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.messaging.v1.Usecase
-
- All Implemented Interfaces:
Serializable
public class Usecase extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static UsecaseFetcherfetcher()static UsecasefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Usecase object using the provided ObjectMapper.static UsecasefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Usecase object using the provided ObjectMapper.List<Map<String,Object>>getUsecases()inthashCode()
-
-
-
Method Detail
-
fetcher
public static UsecaseFetcher fetcher()
-
fromJson
public static Usecase fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Usecase object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Usecase object represented by the provided JSON
-
fromJson
public static Usecase fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Usecase object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Usecase object represented by the provided JSON
-
-