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 booleanequals(Object o)static StepContextFetcherfetcher(String pathFlowSid, String pathEngagementSid, String pathStepSid)static StepContextfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a StepContext object using the provided ObjectMapper.static StepContextfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a StepContext object using the provided ObjectMapper.StringgetAccountSid()Map<String,Object>getContext()StringgetEngagementSid()StringgetFlowSid()StringgetStepSid()URIgetUrl()inthashCode()
-
-
-
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()
-
-