Package com.twilio.rest.flexapi.v1
Class WebChannel
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.flexapi.v1.WebChannel
-
- All Implemented Interfaces:
Serializable
public class WebChannel extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebChannel.ChatStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebChannelCreatorcreator(String flexFlowSid, String identity, String customerFriendlyName, String chatFriendlyName)static WebChannelDeleterdeleter(String pathSid)booleanequals(Object o)static WebChannelFetcherfetcher(String pathSid)static WebChannelfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a WebChannel object using the provided ObjectMapper.static WebChannelfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a WebChannel object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFlexFlowSid()StringgetSid()URIgetUrl()inthashCode()static WebChannelReaderreader()static WebChannelUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static WebChannelCreator creator(String flexFlowSid, String identity, String customerFriendlyName, String chatFriendlyName)
-
fetcher
public static WebChannelFetcher fetcher(String pathSid)
-
deleter
public static WebChannelDeleter deleter(String pathSid)
-
reader
public static WebChannelReader reader()
-
updater
public static WebChannelUpdater updater(String pathSid)
-
fromJson
public static WebChannel fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WebChannel object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- WebChannel object represented by the provided JSON
-
fromJson
public static WebChannel fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WebChannel object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- WebChannel object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getFlexFlowSid
public final String getFlexFlowSid()
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-