Package com.twilio.rest.conversations.v1
Class Service
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.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 ServiceCreator
creator(String friendlyName)
static ServiceDeleter
deleter(String pathSid)
boolean
equals(Object o)
static ServiceFetcher
fetcher(String pathSid)
static Service
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Service object using the provided ObjectMapper.static Service
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Service object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
Map<String,String>
getLinks()
String
getSid()
URI
getUrl()
int
hashCode()
static ServiceReader
reader()
-
-
-
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()
-
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
-
getAccountSid
public final String getAccountSid()
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-