Package com.twilio.rest.intelligence.v2
Class PrebuiltOperator
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.intelligence.v2.PrebuiltOperator
-
- All Implemented Interfaces:
Serializable
public class PrebuiltOperator extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrebuiltOperator.Availability
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static PrebuiltOperatorFetcher
fetcher(String pathSid)
static PrebuiltOperator
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PrebuiltOperator object using the provided ObjectMapper.static PrebuiltOperator
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PrebuiltOperator object using the provided ObjectMapper.String
getAccountSid()
String
getAuthor()
PrebuiltOperator.Availability
getAvailability()
Map<String,Object>
getConfig()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getDescription()
String
getFriendlyName()
String
getOperatorType()
String
getSid()
URI
getUrl()
Integer
getVersion()
int
hashCode()
static PrebuiltOperatorReader
reader()
-
-
-
Method Detail
-
fetcher
public static PrebuiltOperatorFetcher fetcher(String pathSid)
-
reader
public static PrebuiltOperatorReader reader()
-
fromJson
public static PrebuiltOperator fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PrebuiltOperator object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- PrebuiltOperator object represented by the provided JSON
-
fromJson
public static PrebuiltOperator fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PrebuiltOperator object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- PrebuiltOperator object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDescription
public final String getDescription()
-
getAuthor
public final String getAuthor()
-
getOperatorType
public final String getOperatorType()
-
getVersion
public final Integer getVersion()
-
getAvailability
public final PrebuiltOperator.Availability getAvailability()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-