public class ConnectApp extends SidResource
Modifier and Type | Class and Description |
---|---|
static class |
ConnectApp.Permission |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ConnectAppFetcher |
fetch(String accountSid,
String sid)
Create a ConnectAppFetcher to execute fetch.
|
static ConnectApp |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ConnectApp object using the provided
ObjectMapper.
|
static ConnectApp |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ConnectApp object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The unique sid that identifies this account.
|
URI |
getAuthorizeRedirectUrl()
Returns The URIL Twilio sends requests when users authorize.
|
String |
getCompanyName()
Returns The The company name set for this Connect App..
|
HttpMethod |
getDeauthorizeCallbackMethod()
Returns The HTTP method Twilio WIll use making requests to the url.
|
URI |
getDeauthorizeCallbackUrl()
Returns The URL Twilio will send a request when a user de-authorizes this
app.
|
String |
getDescription()
Returns The A more detailed human readable description.
|
String |
getFriendlyName()
Returns The A human readable name for the Connect App..
|
URI |
getHomepageUrl()
Returns The The URL users can obtain more information.
|
List<ConnectApp.Permission> |
getPermissions()
Returns The The set of permissions that your ConnectApp requests..
|
String |
getSid()
Returns The A string that uniquely identifies this connect-apps.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static ConnectAppReader |
read(String accountSid)
Create a ConnectAppReader to execute read.
|
String |
toString() |
static ConnectAppUpdater |
update(String accountSid,
String sid)
Create a ConnectAppUpdater to execute update.
|
public static ConnectAppFetcher fetch(String accountSid, String sid)
accountSid
- The account_sidsid
- Fetch by unique connect-app Sidpublic static ConnectAppUpdater update(String accountSid, String sid)
accountSid
- The account_sidsid
- The sidpublic static ConnectAppReader read(String accountSid)
accountSid
- The account_sidpublic static ConnectApp fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static ConnectApp fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final URI getAuthorizeRedirectUrl()
public final String getCompanyName()
public final HttpMethod getDeauthorizeCallbackMethod()
public final URI getDeauthorizeCallbackUrl()
public final String getDescription()
public final String getFriendlyName()
public final URI getHomepageUrl()
public final List<ConnectApp.Permission> getPermissions()
public final String getSid()
getSid
in class SidResource
public final String getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.