code: def update(self, activity_sid=values.unset, attributes=values.unset,
                 friendly_name=values.unset,
                 reject_pending_reservations=values.unset):
          
          return self._proxy.update(
              activity_sid=activity_sid,
              attributes=attributes,
              friendly_name=friendly_name,
              reject_pending_reservations=reject_pending_reservations,
          )
docs: Update the WorkerInstance
  
          :param unicode activity_sid: The activity_sid
          :param unicode attributes: The attributes
          :param unicode friendly_name: The friendly_name
          :param bool reject_pending_reservations: The reject_pending_reservations
  
          :returns: Updated WorkerInstance
          :rtype: twilio.rest.taskrouter.v1.workspace.worker.WorkerInstance