Files
threshold-ui/addons/api/addon/generated/models/host-catalog.js
T

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2020-06-04 16:32:16 -04:00
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* HostCatalog manages Hosts and HostSets
*/
export default class GeneratedHostCatalogModel extends BaseModel {
// =attributes
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'The type of the resource, to help differentiate schemas',
})
type;
2020-06-04 16:32:16 -04:00
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'Optional name for identification purposes',
})
name;
2020-06-04 16:32:16 -04:00
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'Optional user-set description for identification purposes',
})
description;
2020-06-04 16:32:16 -04:00
@attr('date', {
description: 'The time this resource was created\nOutput only.',
2020-09-16 14:29:02 -04:00
readOnly: true,
})
created_time;
2020-06-04 16:32:16 -04:00
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
2020-09-16 14:29:02 -04:00
readOnly: true,
})
updated_time;
2020-06-04 16:32:16 -04:00
@attr('boolean', {
2020-09-16 14:29:02 -04:00
description: 'Whether the catalog is disabled',
})
disabled;
2020-06-04 16:32:16 -04:00
@attr({
2020-09-16 14:29:02 -04:00
description: 'Attributes specific to the catalog type',
})
attributes;
2020-06-04 16:32:16 -04:00
2020-08-21 08:55:07 -04:00
@attr('number', {
description: 'Current version number of this resource.',
})
version;
2020-06-04 16:32:16 -04:00
}