'Initialize the NotificationInstance
:returns: twilio.rest.api.v2010.account.notification.NotificationInstance
:rtype: twilio.rest.api.v2010.account.notification.NotificationInstance'

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

    super(NotificationInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'api_version': payload['api_version'], 'call_sid': payload['call_sid'], 'date_created': deserialize.rfc2822_datetime(payload['date_created']), 'date_updated': deserialize.rfc2822_datetime(payload['date_updated']), 'error_code': payload['error_code'], 'log': payload['log'], 'message_date': deserialize.rfc2822_datetime(payload['message_date']), 'message_text': payload['message_text'], 'more_info': payload['more_info'], 'request_method': payload['request_method'], 'request_url': payload['request_url'], 'sid': payload['sid'], 'uri': payload['uri'], 'request_variables': payload.get('request_variables'), 'response_body': payload.get('response_body'), 'response_headers': payload.get('response_headers')}
    self._context = None
    self._solution = {'account_sid': account_sid, 'sid': (sid or self._properties['sid'])}
