'Initialize the TrunkInstance
:returns: twilio.rest.trunking.v1.trunk.TrunkInstance
:rtype: twilio.rest.trunking.v1.trunk.TrunkInstance'

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

    super(TrunkInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'domain_name': payload['domain_name'], 'disaster_recovery_method': payload['disaster_recovery_method'], 'disaster_recovery_url': payload['disaster_recovery_url'], 'friendly_name': payload['friendly_name'], 'secure': payload['secure'], 'recording': payload['recording'], 'auth_type': payload['auth_type'], 'auth_type_set': payload['auth_type_set'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'sid': payload['sid'], 'url': payload['url'], 'links': payload['links']}
    self._context = None
    self._solution = {'sid': (sid or self._properties['sid'])}
