Class ConnectApp
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.ConnectApp
-
- All Implemented Interfaces:
Serializable
public class ConnectApp extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectApp.Permission
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectAppDeleter
deleter(String pathSid)
static ConnectAppDeleter
deleter(String pathAccountSid, String pathSid)
boolean
equals(Object o)
static ConnectAppFetcher
fetcher(String pathSid)
static ConnectAppFetcher
fetcher(String pathAccountSid, String pathSid)
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()
URI
getAuthorizeRedirectUrl()
String
getCompanyName()
HttpMethod
getDeauthorizeCallbackMethod()
URI
getDeauthorizeCallbackUrl()
String
getDescription()
String
getFriendlyName()
URI
getHomepageUrl()
List<ConnectApp.Permission>
getPermissions()
String
getSid()
String
getUri()
int
hashCode()
static ConnectAppReader
reader()
static ConnectAppReader
reader(String pathAccountSid)
static ConnectAppUpdater
updater(String pathSid)
static ConnectAppUpdater
updater(String pathAccountSid, String pathSid)
-
-
-
Method Detail
-
fetcher
public static ConnectAppFetcher fetcher(String pathSid)
-
fetcher
public static ConnectAppFetcher fetcher(String pathAccountSid, String pathSid)
-
deleter
public static ConnectAppDeleter deleter(String pathSid)
-
deleter
public static ConnectAppDeleter deleter(String pathAccountSid, String pathSid)
-
reader
public static ConnectAppReader reader()
-
reader
public static ConnectAppReader reader(String pathAccountSid)
-
updater
public static ConnectAppUpdater updater(String pathSid)
-
updater
public static ConnectAppUpdater updater(String pathAccountSid, String pathSid)
-
fromJson
public static ConnectApp fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ConnectApp object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- ConnectApp object represented by the provided JSON
-
fromJson
public static ConnectApp fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ConnectApp object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- ConnectApp object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getAuthorizeRedirectUrl
public final URI getAuthorizeRedirectUrl()
-
getCompanyName
public final String getCompanyName()
-
getDeauthorizeCallbackMethod
public final HttpMethod getDeauthorizeCallbackMethod()
-
getDeauthorizeCallbackUrl
public final URI getDeauthorizeCallbackUrl()
-
getDescription
public final String getDescription()
-
getFriendlyName
public final String getFriendlyName()
-
getHomepageUrl
public final URI getHomepageUrl()
-
getPermissions
public final List<ConnectApp.Permission> getPermissions()
-
getSid
public final String getSid()
-
getUri
public final String getUri()
-
-