Class AuthorizedConnectApp
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.AuthorizedConnectApp
-
- All Implemented Interfaces:
Serializable
public class AuthorizedConnectApp extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthorizedConnectApp.Permission
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static AuthorizedConnectAppFetcher
fetcher(String pathConnectAppSid)
static AuthorizedConnectAppFetcher
fetcher(String pathAccountSid, String pathConnectAppSid)
static AuthorizedConnectApp
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AuthorizedConnectApp object using the provided ObjectMapper.static AuthorizedConnectApp
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AuthorizedConnectApp object using the provided ObjectMapper.String
getAccountSid()
String
getConnectAppCompanyName()
String
getConnectAppDescription()
String
getConnectAppFriendlyName()
URI
getConnectAppHomepageUrl()
String
getConnectAppSid()
List<AuthorizedConnectApp.Permission>
getPermissions()
String
getUri()
int
hashCode()
static AuthorizedConnectAppReader
reader()
static AuthorizedConnectAppReader
reader(String pathAccountSid)
-
-
-
Method Detail
-
fetcher
public static AuthorizedConnectAppFetcher fetcher(String pathConnectAppSid)
-
fetcher
public static AuthorizedConnectAppFetcher fetcher(String pathAccountSid, String pathConnectAppSid)
-
reader
public static AuthorizedConnectAppReader reader()
-
reader
public static AuthorizedConnectAppReader reader(String pathAccountSid)
-
fromJson
public static AuthorizedConnectApp fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AuthorizedConnectApp object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- AuthorizedConnectApp object represented by the provided JSON
-
fromJson
public static AuthorizedConnectApp fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AuthorizedConnectApp object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- AuthorizedConnectApp object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getConnectAppCompanyName
public final String getConnectAppCompanyName()
-
getConnectAppDescription
public final String getConnectAppDescription()
-
getConnectAppFriendlyName
public final String getConnectAppFriendlyName()
-
getConnectAppHomepageUrl
public final URI getConnectAppHomepageUrl()
-
getConnectAppSid
public final String getConnectAppSid()
-
getPermissions
public final List<AuthorizedConnectApp.Permission> getPermissions()
-
getUri
public final String getUri()
-
-