def get(self, identity):
        """
        Constructs a DocumentPermissionContext

        :param identity: Identity of the user to whom the Sync Document Permission applies.

        :returns: twilio.rest.sync.v1.service.document.document_permission.DocumentPermissionContext
        :rtype: twilio.rest.sync.v1.service.document.document_permission.DocumentPermissionContext
        """
        return DocumentPermissionContext(
            self._version,
            service_sid=self._solution['service_sid'],
            document_sid=self._solution['document_sid'],
            identity=identity,
        )
def get ( self , identity ) : return DocumentPermissionContext ( self . _version , service_sid = self . _solution [ 'service_sid' ] , document_sid = self . _solution [ 'document_sid' ] , identity = identity , )
Constructs a DocumentPermissionContext

        :param identity: Identity of the user to whom the Sync Document Permission applies.

        :returns: twilio.rest.sync.v1.service.document.document_permission.DocumentPermissionContext
        :rtype: twilio.rest.sync.v1.service.document.document_permission.DocumentPermissionContext