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