com.twilio.sdk.resource.instance
Class ConnectApp

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

public class ConnectApp
extends InstanceResource

The ConnectApps list resource shows all of the Connect Apps that you have created within your Twilio account. The instance resource shows you the permissions you are requesting for a single Connect App as well as information about the Connect App itself. For more information see https://www.twilio.com/docs/api/rest/connect-apps


Constructor Summary
ConnectApp(TwilioRestClient client)
          Instantiates a new application.
ConnectApp(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new application.
ConnectApp(TwilioRestClient client, String sid)
          Instantiates a new application.
 
Method Summary
 String getAccountSid()
          Gets the account sid.
 String getAuthorizeRedirectUrl()
          Gets the authorize redirect url.
 String getCompanyName()
          Gets the company name.
 Date getDateCreated()
          Gets the date created.
 Date getDateUpdated()
          Gets the date updated.
 String getDeauthorizeCallbackMethod()
          Gets the deauthorize callback method.
 String getDeauthorizeCallbackUrl()
          Gets the deauthorize callback url.
 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

ConnectApp

public ConnectApp(TwilioRestClient client)
Instantiates a new application.

Parameters:
client - the client

ConnectApp

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

Parameters:
client - the client
sid - the sid

ConnectApp

public ConnectApp(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

getDeauthorizeCallbackUrl

public String getDeauthorizeCallbackUrl()
Gets the deauthorize callback url.

Returns:
the deauthorize callback url

getAuthorizeRedirectUrl

public String getAuthorizeRedirectUrl()
Gets the authorize redirect url.

Returns:
the authorize redirect url

getDeauthorizeCallbackMethod

public String getDeauthorizeCallbackMethod()
Gets the deauthorize callback method.

Returns:
the deauthorize callback method

getPermissions

public List<String> getPermissions()


Copyright © 2011 Twilio, Inc. All Rights Reserved.