github.com/hernad/nomad@v1.6.112/ui/app/models/evaluation-stub.js (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 import Model, { attr } from '@ember-data/model'; 7 import shortUUIDProperty from '../utils/properties/short-uuid'; 8 9 export default class EvaluationStub extends Model { 10 @shortUUIDProperty('id') shortId; 11 @attr('number') priority; 12 @attr('string') type; 13 @attr('string') triggeredBy; 14 @attr('string') namespace; 15 @attr('string') jobId; 16 @attr('string') nodeId; 17 @attr('string') deploymentId; 18 @attr('string') status; 19 @attr('string') statusDescription; 20 @attr('date') waitUntil; 21 @attr('string') previousEval; 22 @attr('string') nextEval; 23 @attr('string') blockedEval; 24 @attr('number') modifyIndex; 25 @attr('date') modifyTime; 26 @attr('number') createIndex; 27 @attr('date') createTime; 28 }