Package com.twilio.rest.chat.v2
Class Service
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.chat.v2.Service
-
- All Implemented Interfaces:
Serializable
public class Service extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceCreatorcreator(String friendlyName)static ServiceDeleterdeleter(String pathSid)booleanequals(Object o)static ServiceFetcherfetcher(String pathSid)static ServicefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Service object using the provided ObjectMapper.static ServicefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Service object using the provided ObjectMapper.inthashCode()static ServiceReaderreader()static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)static ServiceUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static ServiceCreator creator(String friendlyName)
-
deleter
public static ServiceDeleter deleter(String pathSid)
-
fetcher
public static ServiceFetcher fetcher(String pathSid)
-
reader
public static ServiceReader reader()
-
updater
public static ServiceUpdater updater(String pathSid)
-
fromJson
public static Service fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Service object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Service object represented by the provided JSON
-
fromJson
public static Service fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Service object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Service object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-