John Cowen 0e122479fa
ui: Add license endpoint/datasource (#12506)
* ui: Add auto-pilot/state endpoint usage (merged into DC models) (#12514)

* ui: Catalog Health Overview DataSource (#12520)
2022-03-09 09:03:15 +00:00

19 lines
376 B
JavaScript

import Model, { attr } from '@ember-data/model';
export const PRIMARY_KEY = 'uri';
export default class License extends Model {
@attr('string') uri;
@attr('boolean') Valid;
@attr('number') SyncTime;
@attr() meta; // {}
@attr('string') Datacenter;
@attr('string') Namespace;
@attr('string') Partition;
@attr() License; // {}
// @attr() Warnings; // []
}