@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
185 lines (184 loc) • 5.68 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Alert } from './Alert';
import { AlertHistory } from './AlertHistory';
import { AssetMilestone } from './AssetMilestone';
import { AssetOperabilitySummary } from './AssetOperabilitySummary';
import { AssetRestrictionTable } from './AssetRestrictionTable';
import { AssetStaff } from './AssetStaff';
import { AssetState } from './AssetState';
import { AssetStateChange } from './AssetStateChange';
import { AssetTemplate } from './AssetTemplate';
import { AssetWizardType } from './AssetWizardType';
import { Credential } from './Credential';
import { Admin } from './Admin';
import { Customer } from './Customer';
import { Dataset } from './Dataset';
import { EdgeAgent } from './EdgeAgent';
import { Event } from './Event';
import { EventGroup } from './EventGroup';
import { EventSummary } from './EventSummary';
import { EventSummaryForAsset } from './EventSummaryForAsset';
import { EventTrigger } from './EventTrigger';
import { HealthcheckEvent } from './HealthcheckEvent';
import { Log } from './Log';
import { Manager } from './Manager';
import { Project } from './Project';
import { RateLimit } from './RateLimit';
import { ResponseProtocol } from './ResponseProtocol';
import { Sensor } from './Sensor';
import { SensorUptime } from './SensorUptime';
import { SensorUptimeCollector } from './SensorUptimeCollector';
import { Summary } from './Summary';
export interface AssetInterface {
type: string;
name?: string;
icon?: string;
description?: string;
referenceId?: string;
uri?: string;
path?: Array<any>;
requested?: Date;
settingsType?: string;
healthcheckEventsEnabled?: boolean;
currentHealthStatus?: string;
currentHealthStatusDetails?: any;
tags?: Array<any>;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
assetId?: any;
_config?: any;
currentStateId?: any;
templateId?: any;
assetWizardTypeId?: any;
customerId?: any;
projectId?: any;
_rateLimit?: any;
responseProtocolId?: any;
_token?: any;
assets?: Asset[];
asset?: Asset;
alerts?: Alert[];
alertHistory?: AlertHistory[];
config?: any[];
milestone?: AssetMilestone;
operabilitySummaries?: AssetOperabilitySummary[];
restrictionTable?: AssetRestrictionTable;
staffs?: AssetStaff[];
assetStates?: AssetState[];
currentState?: AssetState;
nextState?: AssetStateChange;
container?: any;
template?: AssetTemplate;
assetWizardType?: AssetWizardType;
credentials?: Credential[];
admins?: Admin[];
customer?: Customer;
datasets?: Dataset[];
edgeAgents?: EdgeAgent[];
events?: Event[];
eventGroups?: EventGroup[];
eventSummaries?: EventSummary[];
eventSummaryForAssets?: EventSummaryForAsset[];
eventTriggers?: EventTrigger[];
features?: any[];
healthcheckEvents?: HealthcheckEvent[];
trackingLogs?: Log[];
managers?: Manager[];
project?: Project;
rateLimit?: RateLimit[];
responseProtocol?: ResponseProtocol;
sensors?: Sensor[];
sensorUptimes?: SensorUptime[];
sensorUptimeCollectors?: SensorUptimeCollector[];
summaries?: Summary[];
token?: any[];
}
export declare class Asset implements AssetInterface {
type: string;
name: string;
icon: string;
description: string;
referenceId: string;
uri: string;
path: Array<any>;
requested: Date;
settingsType: string;
healthcheckEventsEnabled: boolean;
currentHealthStatus: string;
currentHealthStatusDetails: any;
tags: Array<any>;
created: Date;
modified: Date;
deleted: Date;
id: any;
assetId: any;
_config: any;
currentStateId: any;
templateId: any;
assetWizardTypeId: any;
customerId: any;
projectId: any;
_rateLimit: any;
responseProtocolId: any;
_token: any;
assets?: Asset[];
asset?: Asset;
alerts?: Alert[];
alertHistory?: AlertHistory[];
config?: any[];
milestone?: AssetMilestone;
operabilitySummaries?: AssetOperabilitySummary[];
restrictionTable?: AssetRestrictionTable;
staffs?: AssetStaff[];
assetStates?: AssetState[];
currentState?: AssetState;
nextState?: AssetStateChange;
container?: any;
template?: AssetTemplate;
assetWizardType?: AssetWizardType;
credentials?: Credential[];
admins?: Admin[];
customer?: Customer;
datasets?: Dataset[];
edgeAgents?: EdgeAgent[];
events?: Event[];
eventGroups?: EventGroup[];
eventSummaries?: EventSummary[];
eventSummaryForAssets?: EventSummaryForAsset[];
eventTriggers?: EventTrigger[];
features?: any[];
healthcheckEvents?: HealthcheckEvent[];
trackingLogs?: Log[];
managers?: Manager[];
project?: Project;
rateLimit?: RateLimit[];
responseProtocol?: ResponseProtocol;
sensors?: Sensor[];
sensorUptimes?: SensorUptime[];
sensorUptimeCollectors?: SensorUptimeCollector[];
summaries?: Summary[];
token?: any[];
constructor(data?: AssetInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Asset`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Asset for dynamic purposes.
*/
static factory(data: AssetInterface): Asset;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}