public class ExecutionContext extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ExecutionContextFetcher |
fetcher(String pathFlowSid,
String pathExecutionSid)
Create a ExecutionContextFetcher to execute fetch.
|
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()
Returns The SID of the Account that created the resource.
|
Map<String,Object> |
getContext()
Returns The current state of the flow.
|
String |
getExecutionSid()
Returns The SID of the Execution.
|
String |
getFlowSid()
Returns The SID of the Flow.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
public static ExecutionContextFetcher fetcher(String pathFlowSid, String pathExecutionSid)
pathFlowSid
- The SID of the FlowpathExecutionSid
- The SID of the Executionpublic static ExecutionContext fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static ExecutionContext fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final Map<String,Object> getContext()
public final String getFlowSid()
public final String getExecutionSid()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.