chore: 🤖 setup API concerns for project resource

This commit is contained in:
Randall Morey committed 2020-05-19 16:33:31 -04:00
1 parent 818b2dca45
commit ae535c607e
19 files changed
+279 -2

No files matched your search

@@ -0,0 +1,36 @@
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* Project contains all fields related to a Project resource
*/
export default class GeneratedProjectModel extends BaseModel {
// =attributes
@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('boolean', {
description: 'Whether the resource is disabled',
})
disabled;
}