71 lines
1.2 KiB
PHP
71 lines
1.2 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Alt Three Services Limited
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace CachetHQ\Cachet\Commands\Incident;
|
|
|
|
class ReportIncidentCommand
|
|
{
|
|
/**
|
|
* The incident name.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $name;
|
|
|
|
/**
|
|
* The incident status.
|
|
*
|
|
* @var int
|
|
*/
|
|
public $status;
|
|
|
|
/**
|
|
* The incident message.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $message;
|
|
|
|
/**
|
|
* The incident visibility.
|
|
*
|
|
* @var int
|
|
*/
|
|
public $visible;
|
|
|
|
/**
|
|
* The incident component.
|
|
*
|
|
* @var int
|
|
*/
|
|
public $component;
|
|
|
|
/**
|
|
* Create a new report incident command instance.
|
|
*
|
|
* @param string $name
|
|
* @param int $status
|
|
* @param string $message
|
|
* @param int $visible
|
|
* @param int $component
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($name, $status, $message, $visible, $component)
|
|
{
|
|
$this->name = $name;
|
|
$this->status = $status;
|
|
$this->message = $message;
|
|
$this->visible = $visible;
|
|
$this->component = $component;
|
|
}
|
|
}
|