public class ConnectApp extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
ConnectApp.Permission |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ConnectAppFetcher |
fetcher(String pathSid)
Create a ConnectAppFetcher to execute fetch.
|
static ConnectAppFetcher |
fetcher(String pathAccountSid,
String pathSid)
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 |
reader()
Create a ConnectAppReader to execute read.
|
static ConnectAppReader |
reader(String pathAccountSid)
Create a ConnectAppReader to execute read.
|
String |
toString() |
static ConnectAppUpdater |
updater(String pathSid)
Create a ConnectAppUpdater to execute update.
|
static ConnectAppUpdater |
updater(String pathAccountSid,
String pathSid)
Create a ConnectAppUpdater to execute update.
|
public static ConnectAppFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- Fetch by unique connect-app Sidpublic static ConnectAppFetcher fetcher(String pathSid)
pathSid
- Fetch by unique connect-app Sidpublic static ConnectAppUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- The sidpublic static ConnectAppUpdater updater(String pathSid)
pathSid
- The sidpublic static ConnectAppReader reader(String pathAccountSid)
pathAccountSid
- The account_sidpublic static ConnectAppReader reader()
public 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()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.