| Constructor and Description |
|---|
AddressUpdater(String pathSid)
Construct a new AddressUpdater.
|
AddressUpdater(String pathAccountSid,
String pathSid)
Construct a new AddressUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
AddressUpdater |
setAutoCorrectAddress(Boolean autoCorrectAddress)
The auto_correct_address.
|
AddressUpdater |
setCity(String city)
The city.
|
AddressUpdater |
setCustomerName(String customerName)
The customer_name.
|
AddressUpdater |
setEmergencyEnabled(Boolean emergencyEnabled)
The emergency_enabled.
|
AddressUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
AddressUpdater |
setPostalCode(String postalCode)
The postal_code.
|
AddressUpdater |
setRegion(String region)
The region.
|
AddressUpdater |
setStreet(String street)
The street.
|
Address |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic AddressUpdater(String pathSid)
pathSid - The sidpublic AddressUpdater setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic AddressUpdater setCustomerName(String customerName)
customerName - The customer_namepublic AddressUpdater setStreet(String street)
street - The streetpublic AddressUpdater setCity(String city)
city - The citypublic AddressUpdater setRegion(String region)
region - The regionpublic AddressUpdater setPostalCode(String postalCode)
postalCode - The postal_codepublic AddressUpdater setEmergencyEnabled(Boolean emergencyEnabled)
emergencyEnabled - The emergency_enabledpublic AddressUpdater setAutoCorrectAddress(Boolean autoCorrectAddress)
autoCorrectAddress - The auto_correct_addresspublic Address update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.