Package com.twilio.rest.ipmessaging.v1
Class Service
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.ipmessaging.v1.Service
-
- All Implemented Interfaces:
Serializable
public class Service extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
creator
public static ServiceCreator creator(String friendlyName)
-
fetcher
public static ServiceFetcher fetcher(String pathSid)
-
deleter
public static ServiceDeleter deleter(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
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getDefaultServiceRoleSid
public final String getDefaultServiceRoleSid()
-
getDefaultChannelRoleSid
public final String getDefaultChannelRoleSid()
-
getDefaultChannelCreatorRoleSid
public final String getDefaultChannelCreatorRoleSid()
-
getReadStatusEnabled
public final Boolean getReadStatusEnabled()
-
getReachabilityEnabled
public final Boolean getReachabilityEnabled()
-
getTypingIndicatorTimeout
public final Integer getTypingIndicatorTimeout()
-
getConsumptionReportInterval
public final Integer getConsumptionReportInterval()
-
getPreWebhookUrl
public final String getPreWebhookUrl()
-
getPostWebhookUrl
public final String getPostWebhookUrl()
-
getWebhookMethod
public final String getWebhookMethod()
-
getUrl
public final URI getUrl()
-
-