Package com.mypurecloud.sdk.v2.model
Class SmsPhoneNumber
java.lang.Object
com.mypurecloud.sdk.v2.model.SmsPhoneNumber
- All Implemented Interfaces:
Serializable
SmsPhoneNumber
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRenewal time period of this phone number, if the phoneNumberType is shortcode.static enumGets or Sets capabilitiesstatic enumStatus of the provisioned phone number.static enumType of the phone number provisioned.static enumBillingType of this phone number, if the phoneNumberType is shortcode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressId(SmsAddress addressId) The id of an address attached to this phone number.autoRenewable(SmsPhoneNumber.AutoRenewableEnum autoRenewable) Renewal time period of this phone number, if the phoneNumberType is shortcode.cancellationDate(Date cancellationDate) Contract end date of this phone number, if the phoneNumberType is shortcode.compliance(Compliance compliance) Compliance configuration for short codes, including help, stop and opt in.Localized country name for the country code this phone number belongs toocountryCode(String countryCode) The ISO 3166-1 alpha-2 country code of the country this phone number is associated with.User that provisioned this phone numberdateCreated(Date dateCreated) Date this phone number was provisioned.dateModified(Date dateModified) Date this phone number was modified.booleangetId()getName()inthashCode()integration(DomainEntityRef integration) The Genesys Cloud integration this phone number belongs to.modifiedBy(User modifiedBy) User that last modified this phone numberphoneNumber(String phoneNumber) A phone number provisioned for SMS communications.phoneNumberStatus(SmsPhoneNumber.PhoneNumberStatusEnum phoneNumberStatus) Status of the provisioned phone number.provisionedThroughPureCloud(Boolean provisionedThroughPureCloud) Is set to false, if the phone number is provisioned through a SMS provider, outside of PureCloudprovisioningStatus(SmsProvisioningStatus provisioningStatus) Status of latest asynchronous provisioning actionpurchaseDate(Date purchaseDate) Date this phone number was purchased, if the phoneNumberType is shortcode.renewalDate(Date renewalDate) Contract renewal date of this phone number, if the phoneNumberType is shortcode.voidsetAddressId(SmsAddress addressId) voidsetAutoRenewable(SmsPhoneNumber.AutoRenewableEnum autoRenewable) voidsetCancellationDate(Date cancellationDate) voidsetCompliance(Compliance compliance) voidsetCountry(String country) voidsetCountryCode(String countryCode) voidsetCreatedBy(User createdBy) voidsetDateCreated(Date dateCreated) voidsetDateModified(Date dateModified) voidsetIntegration(DomainEntityRef integration) voidsetModifiedBy(User modifiedBy) voidvoidsetPhoneNumber(String phoneNumber) voidsetPhoneNumberStatus(SmsPhoneNumber.PhoneNumberStatusEnum phoneNumberStatus) voidsetProvisionedThroughPureCloud(Boolean provisionedThroughPureCloud) voidsetProvisioningStatus(SmsProvisioningStatus provisioningStatus) voidsetPurchaseDate(Date purchaseDate) voidsetRenewalDate(Date renewalDate) voidsetShortCodeBillingType(SmsPhoneNumber.ShortCodeBillingTypeEnum shortCodeBillingType) voidsetSupportedContent(SupportedContentReference supportedContent) voidsetSupportsMms(Boolean supportsMms) voidsetSupportsSms(Boolean supportsSms) voidsetSupportsVoice(Boolean supportsVoice) voidsetVersion(Integer version) shortCodeBillingType(SmsPhoneNumber.ShortCodeBillingTypeEnum shortCodeBillingType) BillingType of this phone number, if the phoneNumberType is shortcode.supportedContent(SupportedContentReference supportedContent) Defines the media SupportedContent profile configured for an MMS capable phone number.supportsMms(Boolean supportsMms) Set to true if this phone number has the capability to support MMSsupportsSms(Boolean supportsSms) Set to true if this phone number has the capability to support SMSsupportsVoice(Boolean supportsVoice) Set to true if this phone number has the capability to support voicetoString()Version number required for updates.
-
Constructor Details
-
SmsPhoneNumber
public SmsPhoneNumber() -
SmsPhoneNumber
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
phoneNumber
A phone number provisioned for SMS communications. -
getPhoneNumber
-
setPhoneNumber
-
getPhoneNumberType
-
provisionedThroughPureCloud
Is set to false, if the phone number is provisioned through a SMS provider, outside of PureCloud -
getProvisionedThroughPureCloud
-
setProvisionedThroughPureCloud
-
phoneNumberStatus
Status of the provisioned phone number. -
getPhoneNumberStatus
-
setPhoneNumberStatus
-
getCapabilities
-
countryCode
The ISO 3166-1 alpha-2 country code of the country this phone number is associated with. -
getCountryCode
-
setCountryCode
-
dateCreated
Date this phone number was provisioned. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateCreated
-
setDateCreated
-
dateModified
Date this phone number was modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateModified
-
setDateModified
-
createdBy
User that provisioned this phone number -
getCreatedBy
-
setCreatedBy
-
modifiedBy
User that last modified this phone number -
getModifiedBy
-
setModifiedBy
-
version
Version number required for updates. -
getVersion
-
setVersion
-
purchaseDate
Date this phone number was purchased, if the phoneNumberType is shortcode. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getPurchaseDate
-
setPurchaseDate
-
cancellationDate
Contract end date of this phone number, if the phoneNumberType is shortcode. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getCancellationDate
-
setCancellationDate
-
renewalDate
Contract renewal date of this phone number, if the phoneNumberType is shortcode. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getRenewalDate
-
setRenewalDate
-
autoRenewable
Renewal time period of this phone number, if the phoneNumberType is shortcode. -
getAutoRenewable
-
setAutoRenewable
-
addressId
The id of an address attached to this phone number. -
getAddressId
-
setAddressId
-
shortCodeBillingType
public SmsPhoneNumber shortCodeBillingType(SmsPhoneNumber.ShortCodeBillingTypeEnum shortCodeBillingType) BillingType of this phone number, if the phoneNumberType is shortcode. -
getShortCodeBillingType
-
setShortCodeBillingType
-
provisioningStatus
Status of latest asynchronous provisioning action -
getProvisioningStatus
-
setProvisioningStatus
-
country
Localized country name for the country code this phone number belongs too -
getCountry
-
setCountry
-
supportsSms
Set to true if this phone number has the capability to support SMS -
getSupportsSms
-
setSupportsSms
-
supportsMms
Set to true if this phone number has the capability to support MMS -
getSupportsMms
-
setSupportsMms
-
supportsVoice
Set to true if this phone number has the capability to support voice -
getSupportsVoice
-
setSupportsVoice
-
integration
The Genesys Cloud integration this phone number belongs to. -
getIntegration
-
setIntegration
-
compliance
Compliance configuration for short codes, including help, stop and opt in. -
getCompliance
-
setCompliance
-
supportedContent
Defines the media SupportedContent profile configured for an MMS capable phone number. If no custom profile is assigned, the phone number uses the system's \"SMS Default\" profile. The \"SMS Default\" profile allows all media types (*\\/\\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. When the \"SMS Default\" profile is in use, this field will contain the profile name and media types, but will not have an 'id' or 'selfUri' field. To customize media filtering, assign a custom supported content profile using the PATCH endpoint. -
getSupportedContent
-
setSupportedContent
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-