Package com.twilio.rest.studio.v1.flow
Class Execution
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.studio.v1.flow.Execution
-
- All Implemented Interfaces:
Serializable
public class Execution extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecution.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionCreatorcreator(String pathFlowSid, PhoneNumber to, PhoneNumber from)static ExecutionDeleterdeleter(String pathFlowSid, String pathSid)booleanequals(Object o)static ExecutionFetcherfetcher(String pathFlowSid, String pathSid)static ExecutionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Execution object using the provided ObjectMapper.static ExecutionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Execution object using the provided ObjectMapper.StringgetAccountSid()StringgetContactChannelAddress()StringgetContactSid()Map<String,Object>getContext()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFlowSid()Map<String,String>getLinks()StringgetSid()Execution.StatusgetStatus()URIgetUrl()inthashCode()static ExecutionReaderreader(String pathFlowSid)static ExecutionUpdaterupdater(String pathFlowSid, String pathSid, Execution.Status status)
-
-
-
Method Detail
-
creator
public static ExecutionCreator creator(String pathFlowSid, PhoneNumber to, PhoneNumber from)
-
fetcher
public static ExecutionFetcher fetcher(String pathFlowSid, String pathSid)
-
deleter
public static ExecutionDeleter deleter(String pathFlowSid, String pathSid)
-
reader
public static ExecutionReader reader(String pathFlowSid)
-
updater
public static ExecutionUpdater updater(String pathFlowSid, String pathSid, Execution.Status status)
-
fromJson
public static Execution fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Execution object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Execution object represented by the provided JSON
-
fromJson
public static Execution fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Execution object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Execution object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFlowSid
public final String getFlowSid()
-
getContactSid
public final String getContactSid()
-
getContactChannelAddress
public final String getContactChannelAddress()
-
getStatus
public final Execution.Status getStatus()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-