'Initialize the DocumentInstance
:returns: twilio.rest.sync.v1.service.document.DocumentInstance
:rtype: twilio.rest.sync.v1.service.document.DocumentInstance'

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

    super(DocumentInstance, self).__init__(version)
    self._properties = {'sid': payload['sid'], 'unique_name': payload['unique_name'], 'account_sid': payload['account_sid'], 'service_sid': payload['service_sid'], 'url': payload['url'], 'links': payload['links'], 'revision': payload['revision'], 'data': payload['data'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'created_by': payload['created_by']}
    self._context = None
    self._solution = {'service_sid': service_sid, 'sid': (sid or self._properties['sid'])}
