open-nomad/ui/app/models/host-volume.js

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

12 lines
330 B
JavaScript
Raw Normal View History

2020-02-11 00:19:28 +00:00
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
2020-02-11 00:19:28 +00:00
import { fragmentOwner } from 'ember-data-model-fragments/attributes';
export default class HostVolume extends Fragment {
@fragmentOwner() node;
2020-02-11 00:19:28 +00:00
@attr('string') name;
@attr('string') path;
@attr('boolean') readOnly;
}