def __init__(self, version, payload, account_sid, sid=None):
        """
        Initialize the ConnectAppInstance

        :returns: twilio.rest.api.v2010.account.connect_app.ConnectAppInstance
        :rtype: twilio.rest.api.v2010.account.connect_app.ConnectAppInstance
        """
        super(ConnectAppInstance, self).__init__(version)

        # Marshaled Properties
        self._properties = {
            'account_sid': payload['account_sid'],
            'authorize_redirect_url': payload['authorize_redirect_url'],
            'company_name': payload['company_name'],
            'deauthorize_callback_method': payload['deauthorize_callback_method'],
            'deauthorize_callback_url': payload['deauthorize_callback_url'],
            'description': payload['description'],
            'friendly_name': payload['friendly_name'],
            'homepage_url': payload['homepage_url'],
            'permissions': payload['permissions'],
            'sid': payload['sid'],
            'uri': payload['uri'],
        }

        # Context
        self._context = None
        self._solution = {'account_sid': account_sid, 'sid': sid or self._properties['sid'], }
def __init__ ( self , version , payload , account_sid , sid = None ) : super ( ConnectAppInstance , self ) . __init__ ( version ) self . _properties = { 'account_sid' : payload [ 'account_sid' ] , 'authorize_redirect_url' : payload [ 'authorize_redirect_url' ] , 'company_name' : payload [ 'company_name' ] , 'deauthorize_callback_method' : payload [ 'deauthorize_callback_method' ] , 'deauthorize_callback_url' : payload [ 'deauthorize_callback_url' ] , 'description' : payload [ 'description' ] , 'friendly_name' : payload [ 'friendly_name' ] , 'homepage_url' : payload [ 'homepage_url' ] , 'permissions' : payload [ 'permissions' ] , 'sid' : payload [ 'sid' ] , 'uri' : payload [ 'uri' ] , } self . _context = None self . _solution = { 'account_sid' : account_sid , 'sid' : sid or self . _properties [ 'sid' ] , }
Initialize the ConnectAppInstance

        :returns: twilio.rest.api.v2010.account.connect_app.ConnectAppInstance
        :rtype: twilio.rest.api.v2010.account.connect_app.ConnectAppInstance