'Initialize the ReservationContext
:param Version version: Version that contains the resource
:param workspace_sid: The workspace_sid
:param task_sid: The task_sid
:param sid: The sid
:returns: twilio.rest.taskrouter.v1.workspace.task.reservation.ReservationContext
:rtype: twilio.rest.taskrouter.v1.workspace.task.reservation.ReservationContext'

def __init__(self, version, workspace_sid, task_sid, sid):

    super(ReservationContext, self).__init__(version)
    self._solution = {'workspace_sid': workspace_sid, 'task_sid': task_sid, 'sid': sid}
    self._uri = '/Workspaces/{workspace_sid}/Tasks/{task_sid}/Reservations/{sid}'.format(**self._solution)
