'Update the OriginationUrlInstance
:param unicode weight: The weight
:param unicode priority: The priority
:param bool enabled: The enabled
:param unicode friendly_name: The friendly_name
:param unicode sip_url: The sip_url
:returns: Updated OriginationUrlInstance
:rtype: twilio.rest.trunking.v1.trunk.origination_url.OriginationUrlInstance'

def update(self, weight=values.unset, priority=values.unset, enabled=values.unset, friendly_name=values.unset, sip_url=values.unset):

    data = values.of({'Weight': weight, 'Priority': priority, 'Enabled': enabled, 'FriendlyName': friendly_name, 'SipUrl': sip_url})
    payload = self._version.update('POST', self._uri, data=data)
    return OriginationUrlInstance(self._version, payload, trunk_sid=self._solution['trunk_sid'], sid=self._solution['sid'])
