public class SettingsRequest extends java.lang.Object
| Constructor and Description |
|---|
SettingsRequest(java.lang.String incomingSmsUrl,
java.lang.String deliveryReceiptUrl) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeliveryReceiptUrl() |
java.lang.String |
getIncomingSmsUrl() |
static SettingsRequest |
withDeliveryReceiptUrl(java.lang.String deliveryReceiptUrl) |
static SettingsRequest |
withIncomingSmsUrl(java.lang.String incomingSmsUrl) |
public SettingsRequest(java.lang.String incomingSmsUrl, java.lang.String deliveryReceiptUrl)
incomingSmsUrl - The URL where Nexmo will send a webhook when an incoming SMS is received when a
number-specific URL is not configured. Set to an empty string to unset the value.deliveryReceiptUrl - The URL where Nexmo will send a webhook when an incoming SMS is received when a
number-specific URL is not configured. Set to an empty string to unset the value.public static SettingsRequest withIncomingSmsUrl(java.lang.String incomingSmsUrl)
incomingSmsUrl - The URL where Nexmo will send a webhook when an incoming SMS is received when a
number-specific URL is not configured. Set to an empty string to unset the value.public static SettingsRequest withDeliveryReceiptUrl(java.lang.String deliveryReceiptUrl)
deliveryReceiptUrl - The URL where Nexmo will send a webhook when an incoming SMS is received when a
number-specific URL is not configured. Set to an empty string to unset the value.public java.lang.String getIncomingSmsUrl()
public java.lang.String getDeliveryReceiptUrl()