Files
threshold-ui/addons/api/addon/models/host.js
T
Susmitha Girumala fe2232b320 fix: Do not serialize scope_id for nested resources
Nested resources currently are accounts, host-sets, and hosts.
2020-09-21 14:42:19 -04:00

19 lines
499 B
JavaScript

import GeneratedHostModel from '../generated/models/host';
import { fragment } from 'ember-data-model-fragments/attributes';
export default class HostModel extends GeneratedHostModel {
// =properties
/**
* Account resource is nested within auth methods.
*/
nestedResource = true;
/**
* Attributes of this resource, if any, represented as a JSON fragment.
* @type {FragmentHostAttributesModel}
*/
@fragment('fragment-host-attributes', { defaultValue: {} }) attributes;
}