Package com.twilio.rest.messaging.v1
Class Service
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.messaging.v1.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.ScanMessageContent
-
Method Summary
-
-
-
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
-
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()
-
getInboundRequestUrl
public final URI getInboundRequestUrl()
-
getInboundMethod
public final HttpMethod getInboundMethod()
-
getFallbackUrl
public final URI getFallbackUrl()
-
getFallbackMethod
public final HttpMethod getFallbackMethod()
-
getStatusCallback
public final URI getStatusCallback()
-
getStickySender
public final Boolean getStickySender()
-
getMmsConverter
public final Boolean getMmsConverter()
-
getSmartEncoding
public final Boolean getSmartEncoding()
-
getScanMessageContent
public final Service.ScanMessageContent getScanMessageContent()
-
getFallbackToLongCode
public final Boolean getFallbackToLongCode()
-
getAreaCodeGeomatch
public final Boolean getAreaCodeGeomatch()
-
getSynchronousValidation
public final Boolean getSynchronousValidation()
-
getValidityPeriod
public final Integer getValidityPeriod()
-
getUrl
public final URI getUrl()
-
getUsecase
public final String getUsecase()
-
getUsAppToPersonRegistered
public final Boolean getUsAppToPersonRegistered()
-
getUseInboundWebhookOnNumber
public final Boolean getUseInboundWebhookOnNumber()
-
-