2018-05-25 18:48:49 +00:00
|
|
|
import { alias } from '@ember/object/computed';
|
2018-05-08 16:39:27 +00:00
|
|
|
import Fragment from 'ember-data-model-fragments/fragment';
|
2021-02-17 21:01:44 +00:00
|
|
|
import { attr } from '@ember-data/model';
|
2018-05-08 16:39:27 +00:00
|
|
|
import { fragmentOwner } from 'ember-data-model-fragments/attributes';
|
|
|
|
|
2020-06-10 13:49:16 +00:00
|
|
|
export default class NodeEvent extends Fragment {
|
|
|
|
@fragmentOwner() node;
|
2018-05-08 16:39:27 +00:00
|
|
|
|
2020-06-10 13:49:16 +00:00
|
|
|
@attr('string') message;
|
|
|
|
@attr('string') subsystem;
|
|
|
|
@attr() details;
|
|
|
|
@attr('date') time;
|
2018-05-25 18:48:49 +00:00
|
|
|
|
2020-06-10 13:49:16 +00:00
|
|
|
@alias('details.driver') driver;
|
|
|
|
}
|