Package com.twilio.rest.notify.v1
Class Service
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.notify.v1.Service
-
- All Implemented Interfaces:
Serializable
public class Service extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
creator
public static ServiceCreator creator()
-
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()
-
getApnCredentialSid
public final String getApnCredentialSid()
-
getGcmCredentialSid
public final String getGcmCredentialSid()
-
getFcmCredentialSid
public final String getFcmCredentialSid()
-
getMessagingServiceSid
public final String getMessagingServiceSid()
-
getFacebookMessengerPageId
public final String getFacebookMessengerPageId()
-
getDefaultApnNotificationProtocolVersion
public final String getDefaultApnNotificationProtocolVersion()
-
getDefaultGcmNotificationProtocolVersion
public final String getDefaultGcmNotificationProtocolVersion()
-
getDefaultFcmNotificationProtocolVersion
public final String getDefaultFcmNotificationProtocolVersion()
-
getLogEnabled
public final Boolean getLogEnabled()
-
getUrl
public final URI getUrl()
-
getAlexaSkillId
public final String getAlexaSkillId()
-
getDefaultAlexaNotificationProtocolVersion
public final String getDefaultAlexaNotificationProtocolVersion()
-
getDeliveryCallbackUrl
public final String getDeliveryCallbackUrl()
-
getDeliveryCallbackEnabled
public final Boolean getDeliveryCallbackEnabled()
-
-