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 classConnectApp.Permission
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectAppDeleterdeleter(String pathSid)static ConnectAppDeleterdeleter(String pathAccountSid, String pathSid)booleanequals(Object o)static ConnectAppFetcherfetcher(String pathSid)static ConnectAppFetcherfetcher(String pathAccountSid, String pathSid)static ConnectAppfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a ConnectApp object using the provided ObjectMapper.static ConnectAppfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a ConnectApp object using the provided ObjectMapper.StringgetAccountSid()URIgetAuthorizeRedirectUrl()StringgetCompanyName()HttpMethodgetDeauthorizeCallbackMethod()URIgetDeauthorizeCallbackUrl()StringgetDescription()StringgetFriendlyName()URIgetHomepageUrl()List<ConnectApp.Permission>getPermissions()StringgetSid()StringgetUri()inthashCode()static ConnectAppReaderreader()static ConnectAppReaderreader(String pathAccountSid)static ConnectAppUpdaterupdater(String pathSid)static ConnectAppUpdaterupdater(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()
-
-