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