Package com.twilio.rest.serverless.v1
Class Service
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.serverless.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 uniqueName, 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
getDomainBase()
String
getFriendlyName()
Boolean
getIncludeCredentials()
Map<String,String>
getLinks()
String
getSid()
Boolean
getUiEditable()
String
getUniqueName()
URI
getUrl()
int
hashCode()
static ServiceReader
reader()
static ServiceUpdater
updater(String pathSid)
-
-
-
Method Detail
-
creator
public static ServiceCreator creator(String uniqueName, 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()
-
getUniqueName
public final String getUniqueName()
-
getIncludeCredentials
public final Boolean getIncludeCredentials()
-
getUiEditable
public final Boolean getUiEditable()
-
getDomainBase
public final String getDomainBase()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-