open-nomad/ui/app/models/policy.js
2023-04-10 15:36:59 +00:00

15 lines
307 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Model from '@ember-data/model';
import { attr } from '@ember-data/model';
export default class Policy extends Model {
@attr('string') name;
@attr('string') description;
@attr('string') rules;
@attr() rulesJSON;
}