Package com.vonage.client.account
Class SettingsRequest
java.lang.Object
com.vonage.client.account.SettingsRequest
- All Implemented Interfaces:
QueryParamsRequest
Deprecated.
This will be made package-private in the next major release.
Request wrapper for updating account settings.
-
Constructor Summary
ConstructorsConstructorDescriptionSettingsRequest(String incomingSmsUrl, String deliveryReceiptUrl) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Internal method for serializing the fields of this class into query parameters.static SettingsRequestwithDeliveryReceiptUrl(String deliveryReceiptUrl) Deprecated.This will be removed in the next major release.static SettingsRequestwithIncomingSmsUrl(String incomingSmsUrl) Deprecated.This will be removed in the next major release.
-
Constructor Details
-
SettingsRequest
Deprecated.Constructor.- Parameters:
incomingSmsUrl- The URL where Vonage 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 Vonage 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.
-
-
Method Details
-
withIncomingSmsUrl
Deprecated.This will be removed in the next major release.- Parameters:
incomingSmsUrl- The URL where Vonage 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.- Returns:
- An SettingsRequest with only the incoming SMS URL set.
-
withDeliveryReceiptUrl
Deprecated.This will be removed in the next major release.- Parameters:
deliveryReceiptUrl- The URL where Vonage 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.- Returns:
- An SettingsRequest with only the delivery receipt URL set.
-
getIncomingSmsUrl
Deprecated.- Returns:
- The URL where Vonage will send a webhook when an incoming SMS is received when a number-specific URL is not configured.
-
getDeliveryReceiptUrl
Deprecated.- Returns:
- The URL where Vonage will send a webhook when a delivery receipt is received when a number-specific URL is not configured.
-
makeParams
Deprecated.Description copied from interface:QueryParamsRequestInternal method for serializing the fields of this class into query parameters. The Map should be mutable so that subclasses can add fields, otherwise the method or implementing class should be marked asfinal. Duplicate entries can be handled by mapping the key to a list of the entries.- Specified by:
makeParamsin interfaceQueryParamsRequest- Returns:
- The query parameters as unique key-value pairs.
-