Package com.mypurecloud.sdk.v2.model
Class SmsPhoneNumberProvision
java.lang.Object
com.mypurecloud.sdk.v2.model.SmsPhoneNumberProvision
- All Implemented Interfaces:
Serializable
SmsPhoneNumberProvision
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of the phone number provisioned. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe id of an address added on your account.countryCode(String countryCode) The ISO 3166-1 alpha-2 country code of the country this phone number is associated with.booleangetId()getName()inthashCode()phoneNumber(String phoneNumber) A phone number to be used for SMS communications.phoneNumberType(SmsPhoneNumberProvision.PhoneNumberTypeEnum phoneNumberType) Type of the phone number provisioned.voidsetAddressId(String addressId) voidsetCountryCode(String countryCode) voidvoidsetPhoneNumber(String phoneNumber) voidsetPhoneNumberType(SmsPhoneNumberProvision.PhoneNumberTypeEnum phoneNumberType) voidsetSupportedContent(SupportedContentReference supportedContent) supportedContent(SupportedContentReference supportedContent) Defines the media SupportedContent profile configured for an MMS capable phone number.toString()
-
Constructor Details
-
SmsPhoneNumberProvision
public SmsPhoneNumberProvision() -
SmsPhoneNumberProvision
-
-
Method Details
-
getId
-
phoneNumber
A phone number to be used for SMS communications. E.g. +13175555555 or +34234234234 -
getPhoneNumber
-
setPhoneNumber
-
phoneNumberType
public SmsPhoneNumberProvision phoneNumberType(SmsPhoneNumberProvision.PhoneNumberTypeEnum phoneNumberType) Type of the phone number provisioned. -
getPhoneNumberType
-
setPhoneNumberType
-
countryCode
The ISO 3166-1 alpha-2 country code of the country this phone number is associated with. -
getCountryCode
-
setCountryCode
-
name
-
getName
-
setName
-
addressId
The id of an address added on your account. Due to regulatory requirements in some countries, an address may be required when provisioning a sms number. In those cases you should provide the provisioned sms address id here -
getAddressId
-
setAddressId
-
supportedContent
Defines the media SupportedContent profile configured for an MMS capable phone number. -
getSupportedContent
-
setSupportedContent
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-