Package com.twilio.rest.studio.v2.flow
Class Execution
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.studio.v2.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 class
Execution.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionCreator
creator(String pathFlowSid, PhoneNumber to, PhoneNumber from)
static ExecutionDeleter
deleter(String pathFlowSid, String pathSid)
boolean
equals(Object o)
static ExecutionFetcher
fetcher(String pathFlowSid, String pathSid)
static Execution
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Execution object using the provided ObjectMapper.static Execution
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Execution object using the provided ObjectMapper.String
getAccountSid()
String
getContactChannelAddress()
Map<String,Object>
getContext()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFlowSid()
Map<String,String>
getLinks()
String
getSid()
Execution.Status
getStatus()
URI
getUrl()
int
hashCode()
static ExecutionReader
reader(String pathFlowSid)
static ExecutionUpdater
updater(String pathFlowSid, String pathSid, Execution.Status status)
-
-
-
Method Detail
-
creator
public static ExecutionCreator creator(String pathFlowSid, PhoneNumber to, PhoneNumber from)
-
deleter
public static ExecutionDeleter deleter(String pathFlowSid, String pathSid)
-
fetcher
public static ExecutionFetcher fetcher(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()
-
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()
-
-