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

48 lines
1.1 KiB
JavaScript
Raw Normal View History

2020-08-13 17:05:09 -04:00
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* HostSet is a collection of Hosts created and managed by a HostCatalog
*/
export default class GeneratedHostSetModel extends BaseModel {
// =attributes
@attr('string', {
2020-08-19 18:38:18 -04:00
description: 'The type of the resource, to help differentiate schemas',
readOnly: true
2020-08-13 17:05:09 -04:00
}) type;
2020-08-27 16:38:49 -04:00
@attr('string', {
description: 'The owning host catalog ID.',
}) host_catalog_id;
2020-08-13 17:05:09 -04:00
@attr('string', {
description: 'Optional name for identification purposes'
}) name;
@attr('string', {
description: 'Optional user-set description for identification purposes'
}) description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true
}) created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true
}) updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
@attr('number', {
2020-08-19 18:38:18 -04:00
description: 'The total count of hosts in this host set\nOutput only.',
readOnly: true
2020-08-13 17:05:09 -04:00
}) size;
}