code: public function setPriority($priority)
      {
          $allowed_values = array('1', '2', '3', '4', '5');
          if (!in_array($priority, $allowed_values)) {
              throw new \InvalidArgumentException("Invalid value for 'priority', must be one of '1', '2', '3', '4', '5'");
          }
          $this->container['priority'] = $priority;
  
          return $this;
      }
docs: Sets priority
  @param string $priority
  @return $this