com.twilio.sdk.resource.instance
Class AuthorizedConnectApp

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.InstanceResource
          extended by com.twilio.sdk.resource.instance.AuthorizedConnectApp

public class AuthorizedConnectApp
extends InstanceResource

The AuthorizedConnectApps list resource shows all of the Connect Apps that you have authorized for your account. Each Connect App corresponds to a subaccount within your Twilio account, which acts as that Connect App's sandbox. The instance resource shows you the permissions you have granted for a Connect App as well as information about the Connect App itself. For more information see https://www.twilio.com/docs/api/rest/authorized-connect-apps


Constructor Summary
AuthorizedConnectApp(TwilioRestClient client)
          Instantiates a new application.
AuthorizedConnectApp(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new application.
AuthorizedConnectApp(TwilioRestClient client, String sid)
          Instantiates a new application.
 
Method Summary
 String getAccountSid()
          Gets the account sid.
 String getCompanyName()
          Gets the company name.
 String getConnectAppCompanyName()
          Gets the company name.
 String getConnectAppDescription()
          Gets the description.
 String getConnectAppFriendlyName()
          Get the connect app friendly name.
 String getConnectAppHomepageUrl()
          Gets the homepage url.
 String getConnectAppSid()
          Gets the sid.
 String getDescription()
          Gets the description.
 String getFriendlyName()
          Gets the friendly name.
 String getHomepageUrl()
          Gets the homepage url.
 List<String> getPermissions()
           
 String getSid()
          Gets the sid.
 
Methods inherited from class com.twilio.sdk.resource.InstanceResource
getObject, getProperty, update, update
 
Methods inherited from class com.twilio.sdk.resource.Resource
setRequestAccountSid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizedConnectApp

public AuthorizedConnectApp(TwilioRestClient client)
Instantiates a new application.

Parameters:
client - the client

AuthorizedConnectApp

public AuthorizedConnectApp(TwilioRestClient client,
                            String sid)
Instantiates a new application.

Parameters:
client - the client
sid - the sid

AuthorizedConnectApp

public AuthorizedConnectApp(TwilioRestClient client,
                            Map<String,Object> properties)
Instantiates a new application.

Parameters:
client - the client
properties - the properties
Method Detail

getSid

public String getSid()
Gets the sid.

Returns:
the sid

getConnectAppSid

public String getConnectAppSid()
Gets the sid. In this case AuthorizedConnectApps don't have a Sid, they have a ConnectAppSid so we provide two helper functions that return the same value.

Returns:
the sid

getAccountSid

public String getAccountSid()
Gets the account sid.

Returns:
the account sid

getFriendlyName

public String getFriendlyName()
Gets the friendly name.

Returns:
the friendly name

getDescription

public String getDescription()
Gets the description.

Returns:
the description

getConnectAppDescription

public String getConnectAppDescription()
Gets the description.

Returns:
the description

getConnectAppFriendlyName

public String getConnectAppFriendlyName()
Get the connect app friendly name.

Returns:
the connect app friendly name

getCompanyName

public String getCompanyName()
Gets the company name.

Returns:
the company name

getConnectAppCompanyName

public String getConnectAppCompanyName()
Gets the company name.

Returns:
the company name

getHomepageUrl

public String getHomepageUrl()
Gets the homepage url.

Returns:
the homepage url

getConnectAppHomepageUrl

public String getConnectAppHomepageUrl()
Gets the homepage url.

Returns:
the homepage url

getPermissions

public List<String> getPermissions()


Copyright © 2011 Twilio, Inc. All Rights Reserved.