'Initialize the SyncMapPermissionContext
:param Version version: Version that contains the resource
:param service_sid: The service_sid
:param map_sid: Sync Map SID or unique name.
:param identity: Identity of the user to whom the Sync Map Permission applies.
:returns: twilio.rest.preview.sync.service.sync_map.sync_map_permission.SyncMapPermissionContext
:rtype: twilio.rest.preview.sync.service.sync_map.sync_map_permission.SyncMapPermissionContext'

def __init__(self, version, service_sid, map_sid, identity):

    super(SyncMapPermissionContext, self).__init__(version)
    self._solution = {'service_sid': service_sid, 'map_sid': map_sid, 'identity': identity}
    self._uri = '/Services/{service_sid}/Maps/{map_sid}/Permissions/{identity}'.format(**self._solution)
