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

     1  import Model, { attr } from '@ember-data/model';
     2  import shortUUIDProperty from '../utils/properties/short-uuid';
     3  
     4  export default class EvaluationStub extends Model {
     5    @shortUUIDProperty('id') shortId;
     6    @attr('number') priority;
     7    @attr('string') type;
     8    @attr('string') triggeredBy;
     9    @attr('string') namespace;
    10    @attr('string') jobId;
    11    @attr('string') nodeId;
    12    @attr('string') deploymentId;
    13    @attr('string') status;
    14    @attr('string') statusDescription;
    15    @attr('date') waitUntil;
    16    @attr('string') previousEval;
    17    @attr('string') nextEval;
    18    @attr('string') blockedEval;
    19    @attr('number') modifyIndex;
    20    @attr('date') modifyTime;
    21    @attr('number') createIndex;
    22    @attr('date') createTime;
    23  }