2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2022-03-09 09:03:15 +00:00
|
|
|
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; // []
|
|
|
|
}
|