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 ChannelCreator
creator(String flexFlowSid, String identity, String chatUserFriendlyName, String chatFriendlyName)
static ChannelDeleter
deleter(String pathSid)
boolean
equals(Object o)
static ChannelFetcher
fetcher(String pathSid)
static Channel
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Channel object using the provided ObjectMapper.static Channel
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Channel object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFlexFlowSid()
String
getSid()
String
getTaskSid()
URI
getUrl()
String
getUserSid()
int
hashCode()
static ChannelReader
reader()
-
-
-
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()
-
-