public class Step extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static StepFetcher |
fetcher(String pathFlowSid,
String pathEngagementSid,
String pathSid)
Create a StepFetcher to execute fetch.
|
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()
Returns The SID of the Account that created the resource.
|
Map<String,Object> |
getContext()
Returns The current state of the flow.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 date and time in GMT when the resource was last updated.
|
String |
getEngagementSid()
Returns The SID of the Engagement.
|
String |
getFlowSid()
Returns The SID of the Flow.
|
Map<String,String> |
getLinks()
Returns The URLs of related resources.
|
String |
getName()
Returns The event that caused the Flow to transition to the Step.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getTransitionedFrom()
Returns The Widget that preceded the Widget for the Step.
|
String |
getTransitionedTo()
Returns The Widget that will follow the Widget for the Step.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
static StepReader |
reader(String pathFlowSid,
String pathEngagementSid)
Create a StepReader to execute read.
|
public static StepReader reader(String pathFlowSid, String pathEngagementSid)
pathFlowSid
- The SID of the FlowpathEngagementSid
- The SID of the Engagementpublic static StepFetcher fetcher(String pathFlowSid, String pathEngagementSid, String pathSid)
pathFlowSid
- The SID of the FlowpathEngagementSid
- The SID of the EngagementpathSid
- The SID that identifies the resource to fetchpublic static Step fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Step fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getFlowSid()
public final String getEngagementSid()
public final String getName()
public final Map<String,Object> getContext()
public final String getTransitionedFrom()
public final String getTransitionedTo()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
public final Map<String,String> getLinks()
Copyright © 2019 Twilio, Inc. All Rights Reserved.