Package com.twilio.rest.flexapi.v1
Class Channel
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.flexapi.v1.Channel
-
- All Implemented Interfaces:
Serializable
public class Channel extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelCreatorcreator(String flexFlowSid, String identity, String chatUserFriendlyName, String chatFriendlyName)static ChannelDeleterdeleter(String pathSid)booleanequals(Object o)static ChannelFetcherfetcher(String pathSid)static ChannelfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Channel object using the provided ObjectMapper.static ChannelfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Channel object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFlexFlowSid()StringgetSid()StringgetTaskSid()URIgetUrl()StringgetUserSid()inthashCode()static ChannelReaderreader()
-
-
-
Method Detail
-
creator
public static ChannelCreator creator(String flexFlowSid, String identity, String chatUserFriendlyName, String chatFriendlyName)
-
fetcher
public static ChannelFetcher fetcher(String pathSid)
-
deleter
public static ChannelDeleter deleter(String pathSid)
-
reader
public static ChannelReader reader()
-
fromJson
public static Channel fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Channel object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Channel object represented by the provided JSON
-
fromJson
public static Channel fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Channel object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Channel object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getFlexFlowSid
public final String getFlexFlowSid()
-
getSid
public final String getSid()
-
getUserSid
public final String getUserSid()
-
getTaskSid
public final String getTaskSid()
-
getUrl
public final URI getUrl()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-