@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
53 lines (52 loc) • 1.35 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { AssetType } from './AssetType';
export interface ToolInterface {
name?: string;
description?: string;
logo?: string;
icon?: string;
module: string;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
assetTypeIds?: Array<any>;
trackingLogs?: Log[];
assetTypes?: AssetType[];
}
export declare class Tool implements ToolInterface {
name: string;
description: string;
logo: string;
icon: string;
module: string;
created: Date;
modified: Date;
deleted: Date;
id: any;
assetTypeIds: Array<any>;
trackingLogs?: Log[];
assetTypes?: AssetType[];
constructor(data?: ToolInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Tool`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Tool for dynamic purposes.
*/
static factory(data: ToolInterface): Tool;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}