You are here

class SensorResultEntity in Monitoring 7

Same name and namespace in other branches
  1. 8 src/Entity/SensorResultEntity.php \Drupal\monitoring\Entity\SensorResultEntity

The monitoring_sensor_result entity class.

Hierarchy

  • class \Drupal\monitoring\Entity\SensorResultEntity extends \Drupal\monitoring\Entity\Entity

Expanded class hierarchy of SensorResultEntity

1 file declares its use of SensorResultEntity
SensorName.php in lib/Drupal/monitoring/Views/Handler/Field/SensorName.php
Contains \Drupal\monitoring\Views\Handler\Field\SensorName.

File

lib/Drupal/monitoring/Entity/SensorResultEntity.php, line 12
Contains \Drupal\monitoring\Entity\SensorResultEntity.

Namespace

Drupal\monitoring\Entity
View source
class SensorResultEntity extends \Entity {

  /**
   * The sensor name.
   *
   * @var string
   */
  public $sensor_name;

  /**
   * The sensor status.
   *
   * @var int
   */
  public $sensor_status;

  /**
   * The sensor status.
   *
   * @var string
   */
  public $sensor_value;

  /**
   * The sensor message(s).
   *
   * @var string
   */
  public $sensor_message;

  /**
   * The sensor timestamp in UNIX time format.
   *
   * @var int
   */
  public $timestamp;

  /**
   * The sensor execution time in ms.
   *
   * @var float
   */
  public $execution_time;

}

Members

Namesort descending Modifiers Type Description Overrides
SensorResultEntity::$execution_time public property The sensor execution time in ms.
SensorResultEntity::$sensor_message public property The sensor message(s).
SensorResultEntity::$sensor_name public property The sensor name.
SensorResultEntity::$sensor_status public property The sensor status.
SensorResultEntity::$sensor_value public property The sensor status.
SensorResultEntity::$timestamp public property The sensor timestamp in UNIX time format.