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 http://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.
 Date getDateCreated()
          Gets the date created.
 Date getDateUpdated()
          Gets the date updated.
 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
getProperty, 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

getFriendlyName

public String getFriendlyName()
Gets the friendly name.

Returns:
the friendly name

getDateCreated

public Date getDateCreated()
Gets the date created.

Returns:
the date created

getDateUpdated

public Date getDateUpdated()
Gets the date updated.

Returns:
the date updated

getAccountSid

public String getAccountSid()
Gets the account sid.

Returns:
the account sid

getDescription

public String getDescription()
Gets the description.

Returns:
the description

getCompanyName

public String getCompanyName()
Gets the company name.

Returns:
the company name

getHomepageUrl

public String getHomepageUrl()
Gets the homepage url.

Returns:
the homepage url

getPermissions

public List<String> getPermissions()


Copyright © 2011 Twilio, Inc. All Rights Reserved.