UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

49 lines (48 loc) 1.24 kB
import { ModelDefinition } from './BaseModels'; import { Asset } from './Asset'; import { Log } from './Log'; export interface ControlInterface { name?: string; enabled?: boolean; properties?: any; created?: Date; modified?: Date; deleted?: Date; id?: any; assetId?: any; asset?: Asset; trackingLogs?: Log[]; } export declare class Control implements ControlInterface { name: string; enabled: boolean; properties: any; created: Date; modified: Date; deleted: Date; id: any; assetId: any; asset?: Asset; trackingLogs?: Log[]; constructor(data?: ControlInterface); /** * The name of the model represented by this $resource, * i.e. `Control`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of Control for dynamic purposes. */ static factory(data: ControlInterface): Control; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }