def __init__(self, version, payload, service_sid, document_sid, identity=None):
super(DocumentPermissionInstance, self).__init__(version)<EOL>self._properties = {<EOL>'<STR_LIT>': payload['<STR_LIT>'],<EOL>'<STR_LIT>': payload['<STR_LIT>'],<EOL>'<STR_LIT>': payload['<STR_LIT>'],<EOL>'<STR_LIT>': payload['<STR_LIT>'],<EOL>'<STR_LIT>': payload['<STR_LIT>'],<EOL>'<STR_LIT>': payload['<STR_LIT>'],<EOL>'<STR_LIT>': payload['<STR_LIT>'],<EOL>'<STR_LIT:url>': payload['<STR_LIT:url>'],<EOL>}<EOL>self._context = None<EOL>self._solution = {<EOL>'<STR_LIT>': service_sid,<EOL>'<STR_LIT>': document_sid,<EOL>'<STR_LIT>': identity or self._properties['<STR_LIT>'],<EOL>}<EOL>
Initialize the DocumentPermissionInstance

:returns: twilio.rest.preview.sync.service.document.document_permission.DocumentPermissionInstance
:rtype: twilio.rest.preview.sync.service.document.document_permission.DocumentPermissionInstance