Files
threshold-ui/addons/api/addon/models/fragment-principal.js
T

20 lines
461 B
JavaScript
Raw Normal View History

2020-08-12 13:41:23 -04:00
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentPrincipal extends Fragment {
// =attributes
@attr('string', {
description: 'ID of the related scope'
}) scope_id;
@attr('string', {
description: 'ID of the related principal (user or group)'
}) principal_id;
@attr('string', {
description: 'Type of the related principal (user or group)'
}) type;
}