Class ExecutionContext
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.studio.v1.flow.execution.ExecutionContext
-
- All Implemented Interfaces:
Serializable
public class ExecutionContext extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static ExecutionContextFetcher
fetcher(String pathFlowSid, String pathExecutionSid)
static ExecutionContext
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ExecutionContext object using the provided ObjectMapper.static ExecutionContext
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ExecutionContext object using the provided ObjectMapper.String
getAccountSid()
Map<String,Object>
getContext()
String
getExecutionSid()
String
getFlowSid()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
fetcher
public static ExecutionContextFetcher fetcher(String pathFlowSid, String pathExecutionSid)
-
fromJson
public static ExecutionContext fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ExecutionContext object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- ExecutionContext object represented by the provided JSON
-
fromJson
public static ExecutionContext fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ExecutionContext object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- ExecutionContext object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getFlowSid
public final String getFlowSid()
-
getExecutionSid
public final String getExecutionSid()
-
getUrl
public final URI getUrl()
-
-