Package com.twilio.rest.studio.v2.flow
Class FlowRevision
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.studio.v2.flow.FlowRevision
-
- All Implemented Interfaces:
Serializable
public class FlowRevision extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlowRevision.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FlowRevisionFetcherfetcher(String pathSid, String pathRevision)static FlowRevisionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a FlowRevision object using the provided ObjectMapper.static FlowRevisionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a FlowRevision object using the provided ObjectMapper.StringgetAccountSid()StringgetCommitMessage()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()Map<String,Object>getDefinition()List<Map<String,Object>>getErrors()StringgetFriendlyName()IntegergetRevision()StringgetSid()FlowRevision.StatusgetStatus()URIgetUrl()BooleangetValid()inthashCode()static FlowRevisionReaderreader(String pathSid)
-
-
-
Method Detail
-
fetcher
public static FlowRevisionFetcher fetcher(String pathSid, String pathRevision)
-
reader
public static FlowRevisionReader reader(String pathSid)
-
fromJson
public static FlowRevision fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a FlowRevision object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- FlowRevision object represented by the provided JSON
-
fromJson
public static FlowRevision fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a FlowRevision object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- FlowRevision object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getStatus
public final FlowRevision.Status getStatus()
-
getRevision
public final Integer getRevision()
-
getCommitMessage
public final String getCommitMessage()
-
getValid
public final Boolean getValid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-