'Initialize the DomainInstance
:returns: twilio.rest.api.v2010.account.sip.domain.DomainInstance
:rtype: twilio.rest.api.v2010.account.sip.domain.DomainInstance'

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

    super(DomainInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'api_version': payload['api_version'], 'auth_type': payload['auth_type'], 'date_created': deserialize.rfc2822_datetime(payload['date_created']), 'date_updated': deserialize.rfc2822_datetime(payload['date_updated']), 'domain_name': payload['domain_name'], 'friendly_name': payload['friendly_name'], 'sid': payload['sid'], 'uri': payload['uri'], 'voice_fallback_method': payload['voice_fallback_method'], 'voice_fallback_url': payload['voice_fallback_url'], 'voice_method': payload['voice_method'], 'voice_status_callback_method': payload['voice_status_callback_method'], 'voice_status_callback_url': payload['voice_status_callback_url'], 'voice_url': payload['voice_url'], 'subresource_uris': payload['subresource_uris']}
    self._context = None
    self._solution = {'account_sid': account_sid, 'sid': (sid or self._properties['sid'])}
