Class StepContext
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.studio.v1.flow.engagement.step.StepContext
-
- All Implemented Interfaces:
Serializable
public class StepContext 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 StepContextFetcher
fetcher(String pathFlowSid, String pathEngagementSid, String pathStepSid)
static StepContext
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a StepContext object using the provided ObjectMapper.static StepContext
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a StepContext object using the provided ObjectMapper.String
getAccountSid()
Map<String,Object>
getContext()
String
getEngagementSid()
String
getFlowSid()
String
getStepSid()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
fetcher
public static StepContextFetcher fetcher(String pathFlowSid, String pathEngagementSid, String pathStepSid)
-
fromJson
public static StepContext fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a StepContext object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- StepContext object represented by the provided JSON
-
fromJson
public static StepContext fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a StepContext object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- StepContext object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getEngagementSid
public final String getEngagementSid()
-
getFlowSid
public final String getFlowSid()
-
getStepSid
public final String getStepSid()
-
getUrl
public final URI getUrl()
-
-