Package com.vonage.client.users.channels
Class Channels
java.lang.Object
com.vonage.client.users.channels.Channels
Represents the "channels" field on
User
.-
Constructor Summary
ConstructorsConstructorDescriptionChannels
(Collection<? extends Channel> channels) Creates a new Channels object and assigns the specified channels to the appropriate fields based on their type. -
Method Summary
-
Constructor Details
-
Channels
Creates a new Channels object and assigns the specified channels to the appropriate fields based on their type.- Parameters:
channels
- The contact methods to associate with this user.
-
-
Method Details
-
getPstn
PSTN channels.- Returns:
- The list of PSTN channels, or
null
if not set.
-
getSip
SIP channels.- Returns:
- The list of SIP channels, or
null
if not set.
-
getVbc
VBC channels.- Returns:
- The list of VBC channels, or
null
if not set.
-
getWebsocket
Websocket channels.- Returns:
- The list of Websocket channels, or
null
if not set.
-
getSms
SMS channels.- Returns:
- The list of SMS channels, or
null
if not set.
-
getMms
MMS channels.- Returns:
- The list of MMS channels, or
null
if not set.
-
getWhatsapp
WhatsApp channels.- Returns:
- The list of WhatsApp channels, or
null
if not set.
-
getViber
Viber channels.- Returns:
- The list of Viber channels, or
null
if not set.
-
getMessenger
Messenger channels.- Returns:
- The list of Messenger channels, or
null
if not set.
-
equals
-
hashCode
-