'Initialize the WorkflowInstance
:returns: twilio.rest.taskrouter.v1.workspace.workflow.WorkflowInstance
:rtype: twilio.rest.taskrouter.v1.workspace.workflow.WorkflowInstance'

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

    super(WorkflowInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'assignment_callback_url': payload['assignment_callback_url'], 'configuration': payload['configuration'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'document_content_type': payload['document_content_type'], 'fallback_assignment_callback_url': payload['fallback_assignment_callback_url'], 'friendly_name': payload['friendly_name'], 'sid': payload['sid'], 'task_reservation_timeout': deserialize.integer(payload['task_reservation_timeout']), 'workspace_sid': payload['workspace_sid'], 'url': payload['url'], 'links': payload['links']}
    self._context = None
    self._solution = {'workspace_sid': workspace_sid, 'sid': (sid or self._properties['sid'])}
