code: public function updateEvent($process_id, $event_id, $event_update_item)
      {
          list($response) = $this->updateEventWithHttpInfo($process_id, $event_id, $event_update_item);
          return $response;
      }
docs: Operation updateEvent
  
  
  
  @param string $process_id ID of the process to retrieve (required)
  @param string $event_id ID of the event to retrieve (required)
  @param \ProcessMaker\PMIO\Model\EventUpdateItem $event_update_item Event object to edit (required)
  @return \ProcessMaker\PMIO\Model\EventItem
  @throws \ProcessMaker\PMIO\ApiException on non-2xx response