'Initialize the TaskQueueInstance
:returns: twilio.rest.taskrouter.v1.workspace.task_queue.TaskQueueInstance
:rtype: twilio.rest.taskrouter.v1.workspace.task_queue.TaskQueueInstance'

def __init__(self, version, payload, workspace_sid, sid=None):

    super(TaskQueueInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'assignment_activity_sid': payload['assignment_activity_sid'], 'assignment_activity_name': payload['assignment_activity_name'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'friendly_name': payload['friendly_name'], 'max_reserved_workers': deserialize.integer(payload['max_reserved_workers']), 'reservation_activity_sid': payload['reservation_activity_sid'], 'reservation_activity_name': payload['reservation_activity_name'], 'sid': payload['sid'], 'target_workers': payload['target_workers'], 'task_order': payload['task_order'], 'url': payload['url'], 'workspace_sid': payload['workspace_sid'], 'links': payload['links']}
    self._context = None
    self._solution = {'workspace_sid': workspace_sid, 'sid': (sid or self._properties['sid'])}
