github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/models/reschedule-event.js (about)

     1  import Fragment from 'ember-data-model-fragments/fragment';
     2  import { attr } from '@ember-data/model';
     3  import { fragmentOwner } from 'ember-data-model-fragments/attributes';
     4  import shortUUIDProperty from '../utils/properties/short-uuid';
     5  
     6  export default class RescheduleEvent extends Fragment {
     7    @fragmentOwner() allocation;
     8  
     9    @attr('string') previousAllocationId;
    10    @attr('string') previousNodeId;
    11    @attr('date') time;
    12    @attr('string') delay;
    13  
    14    @shortUUIDProperty('previousAllocationId') previousAllocationShortId;
    15    @shortUUIDProperty('previousNodeShortId') previousNodeShortId;
    16  }