public class ConnectAppUpdater extends Updater<ConnectApp>
Constructor and Description |
---|
ConnectAppUpdater(String sid)
Construct a new ConnectAppUpdater.
|
ConnectAppUpdater(String accountSid,
String sid)
Construct a new ConnectAppUpdater.
|
Modifier and Type | Method and Description |
---|---|
ConnectApp |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
ConnectAppUpdater |
setAuthorizeRedirectUrl(String authorizeRedirectUrl)
The URL the user's browser will redirect to after Twilio authenticates the
user and obtains authorization for this Connect App..
|
ConnectAppUpdater |
setAuthorizeRedirectUrl(URI authorizeRedirectUrl)
The URL the user's browser will redirect to after Twilio authenticates the
user and obtains authorization for this Connect App..
|
ConnectAppUpdater |
setCompanyName(String companyName)
The company name set for this Connect App..
|
ConnectAppUpdater |
setDeauthorizeCallbackMethod(HttpMethod deauthorizeCallbackMethod)
The HTTP method to be used when making a request to the
`DeauthorizeCallbackUrl`..
|
ConnectAppUpdater |
setDeauthorizeCallbackUrl(String deauthorizeCallbackUrl)
The URL to which Twilio will send a request when a user de-authorizes this
Connect App..
|
ConnectAppUpdater |
setDeauthorizeCallbackUrl(URI deauthorizeCallbackUrl)
The URL to which Twilio will send a request when a user de-authorizes this
Connect App..
|
ConnectAppUpdater |
setDescription(String description)
A more detailed human readable description of the Connect App..
|
ConnectAppUpdater |
setFriendlyName(String friendlyName)
A human readable name for the Connect App..
|
ConnectAppUpdater |
setHomepageUrl(String homepageUrl)
The public URL where users can obtain more information about this Connect
App..
|
ConnectAppUpdater |
setHomepageUrl(URI homepageUrl)
The public URL where users can obtain more information about this Connect
App..
|
ConnectAppUpdater |
setPermissions(ConnectApp.Permission permissions)
The set of permissions that your ConnectApp requests..
|
ConnectAppUpdater |
setPermissions(List<ConnectApp.Permission> permissions)
The set of permissions that your ConnectApp requests..
|
public ConnectAppUpdater(String sid)
sid
- The sidpublic ConnectAppUpdater setAuthorizeRedirectUrl(URI authorizeRedirectUrl)
authorizeRedirectUrl
- URIL Twilio sends requests when users authorizepublic ConnectAppUpdater setAuthorizeRedirectUrl(String authorizeRedirectUrl)
authorizeRedirectUrl
- URIL Twilio sends requests when users authorizepublic ConnectAppUpdater setCompanyName(String companyName)
companyName
- The company name set for this Connect App.public ConnectAppUpdater setDeauthorizeCallbackMethod(HttpMethod deauthorizeCallbackMethod)
deauthorizeCallbackMethod
- HTTP method Twilio WIll use making requests
to the urlpublic ConnectAppUpdater setDeauthorizeCallbackUrl(URI deauthorizeCallbackUrl)
deauthorizeCallbackUrl
- URL Twilio will send a request when a user
de-authorizes this apppublic ConnectAppUpdater setDeauthorizeCallbackUrl(String deauthorizeCallbackUrl)
deauthorizeCallbackUrl
- URL Twilio will send a request when a user
de-authorizes this apppublic ConnectAppUpdater setDescription(String description)
description
- A more detailed human readable descriptionpublic ConnectAppUpdater setFriendlyName(String friendlyName)
friendlyName
- A human readable name for the Connect App.public ConnectAppUpdater setHomepageUrl(URI homepageUrl)
homepageUrl
- The URL users can obtain more informationpublic ConnectAppUpdater setHomepageUrl(String homepageUrl)
homepageUrl
- The URL users can obtain more informationpublic ConnectAppUpdater setPermissions(List<ConnectApp.Permission> permissions)
permissions
- The set of permissions that your ConnectApp requests.public ConnectAppUpdater setPermissions(ConnectApp.Permission permissions)
permissions
- The set of permissions that your ConnectApp requests.public ConnectApp execute(TwilioRestClient client)
execute
in class Updater<ConnectApp>
client
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.