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