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