open-nomad/ui/app/models/namespace.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
339 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { readOnly } from '@ember/object/computed';
import Model from '@ember-data/model';
import { attr } from '@ember-data/model';
2017-10-07 01:27:36 +00:00
export default class Namespace extends Model {
@readOnly('id') name;
@attr('string') hash;
@attr('string') description;
}