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

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

    super(OriginationUrlInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'sid': payload['sid'], 'trunk_sid': payload['trunk_sid'], 'weight': deserialize.integer(payload['weight']), 'enabled': payload['enabled'], 'sip_url': payload['sip_url'], 'friendly_name': payload['friendly_name'], 'priority': deserialize.integer(payload['priority']), 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'url': payload['url']}
    self._context = None
    self._solution = {'trunk_sid': trunk_sid, 'sid': (sid or self._properties['sid'])}
