public function setParameters($is_enabled, \DateTime $last_updated, $last_result, $frequency, $nb_occur, $is_running){
        $this->is_enabled = $is_enabled;
        $this->last_updated = $last_updated;
        $this->last_result = $last_result;
        $this->frequency = $frequency;
        $this->nb_occurrences = $nb_occur;
        $this->is_running = $is_running;
    }