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

46 lines
1015 B
JavaScript
Raw Normal View History

2020-09-14 10:45:56 -04:00
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
2020-09-16 14:29:02 -04:00
* Account contains all fields related to an account resource
2020-09-14 10:45:56 -04:00
*/
export default class GeneratedAccountModel 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-09-14 10:45:56 -04:00
@attr('string', {
description: 'The owning auth method ID.',
2020-09-16 14:29:02 -04:00
})
auth_method_id;
2020-09-14 10:45:56 -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;
}