@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
62 lines (61 loc) • 1.69 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Asset } from './Asset';
import { Log } from './Log';
import { Project } from './Project';
export interface AssetOperabilitySummaryInterface {
name?: string;
month?: Date;
from?: Date;
to?: Date;
adjustedOperativeHours?: number;
hoursOfOperation?: number;
operability?: number;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
assetId?: any;
projectId?: any;
asset?: Asset;
trackingLogs?: Log[];
project?: Project;
}
export declare class AssetOperabilitySummary implements AssetOperabilitySummaryInterface {
name: string;
month: Date;
from: Date;
to: Date;
adjustedOperativeHours: number;
hoursOfOperation: number;
operability: number;
created: Date;
modified: Date;
deleted: Date;
id: any;
assetId: any;
projectId: any;
asset?: Asset;
trackingLogs?: Log[];
project?: Project;
constructor(data?: AssetOperabilitySummaryInterface);
/**
* The name of the model represented by this $resource,
* i.e. `AssetOperabilitySummary`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of AssetOperabilitySummary for dynamic purposes.
*/
static factory(data: AssetOperabilitySummaryInterface): AssetOperabilitySummary;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}