def __init__(self, version, service_sid, document_sid, identity):
super(DocumentPermissionContext, self).__init__(version)<EOL>self._solution = {'<STR_LIT>': service_sid, '<STR_LIT>': document_sid, '<STR_LIT>': identity, }<EOL>self._uri = '<STR_LIT>'.format(**self._solution)<EOL>
Initialize the DocumentPermissionContext

:param Version version: Version that contains the resource
:param service_sid: Sync Service Instance SID or unique name.
:param document_sid: Sync Document SID or unique name.
: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