public class ConnectApp extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
ConnectApp.Permission |
Modifier and Type | Method and Description |
---|---|
static ConnectAppDeleter |
deleter(String pathSid)
Create a ConnectAppDeleter to execute delete.
|
static ConnectAppDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a ConnectAppDeleter to execute delete.
|
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 SID of the Account that created the resource.
|
URI |
getAuthorizeRedirectUrl()
Returns The URL to redirect the user to after authorization.
|
String |
getCompanyName()
Returns The company name set for the Connect App.
|
HttpMethod |
getDeauthorizeCallbackMethod()
Returns The HTTP method we use to call deauthorize_callback_url.
|
URI |
getDeauthorizeCallbackUrl()
Returns The URL we call to de-authorize the Connect App.
|
String |
getDescription()
Returns The description of the Connect App.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
URI |
getHomepageUrl()
Returns The URL users can obtain more information.
|
List<ConnectApp.Permission> |
getPermissions()
Returns The set of permissions that your ConnectApp requests.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getUri()
Returns The URI of the resource, relative to `https://api.twilio.com`.
|
int |
hashCode() |
static ConnectAppReader |
reader()
Create a ConnectAppReader to execute read.
|
static ConnectAppReader |
reader(String pathAccountSid)
Create a ConnectAppReader to execute read.
|
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 SID of the Account that created the resource to
fetchpathSid
- The unique string that identifies the resourcepublic static ConnectAppFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static ConnectAppUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid
- The SID of the Account that created the resources to
updatepathSid
- The unique string that identifies the resourcepublic static ConnectAppUpdater updater(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static ConnectAppReader reader(String pathAccountSid)
pathAccountSid
- The SID of the Account that created the resources to
readpublic static ConnectAppReader reader()
public static ConnectAppDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The SID of the Account that created the resource to
fetchpathSid
- The unique string that identifies the resourcepublic static ConnectAppDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resourcepublic 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 © 2019 Twilio, Inc. All Rights Reserved.