Package com.vonage.client.users.channels
Class Sms
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.users.channels.Channel
com.vonage.client.users.channels.Sms
- All Implemented Interfaces:
Jsonable
Represents a Short Messaging Service (SMS) channel.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.users.channels.Channel
getConcreteClass, getType, removeTypeField, setTypeFieldMethods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
Sms
protected Sms() -
Sms
Creates a new SMS channel.- Parameters:
number- The phone number in E.164 format.
-
-
Method Details
-
getNumber
Phone number for this channel.- Returns:
- The number in E.164 format.
-