Package com.twilio.rest.intelligence.v2
Class Service
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.intelligence.v2.Service
-
- All Implemented Interfaces:
Serializable
public class Service extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Service.HttpMethod
-
Method Summary
-
-
-
Method Detail
-
creator
public static ServiceCreator creator(String uniqueName)
-
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
-
getAccountSid
public final String getAccountSid()
-
getAutoRedaction
public final Boolean getAutoRedaction()
-
getMediaRedaction
public final Boolean getMediaRedaction()
-
getAutoTranscribe
public final Boolean getAutoTranscribe()
-
getDataLogging
public final Boolean getDataLogging()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getFriendlyName
public final String getFriendlyName()
-
getLanguageCode
public final String getLanguageCode()
-
getSid
public final String getSid()
-
getUniqueName
public final String getUniqueName()
-
getUrl
public final URI getUrl()
-
getWebhookUrl
public final String getWebhookUrl()
-
getWebhookHttpMethod
public final Service.HttpMethod getWebhookHttpMethod()
-
getVersion
public final Integer getVersion()
-
-