@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
81 lines (80 loc) • 2.2 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { Project } from './Project';
import { Customer } from './Customer';
import { Asset } from './Asset';
import { StorylineCategory } from './StorylineCategory';
import { Storypoint } from './Storypoint';
export interface StorylineInterface {
name: string;
status?: string;
storylineDate: Date;
description?: string;
placeOfReference?: string;
storypointsOrder?: any;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
projectId?: any;
customerId?: any;
userId?: string;
principalType?: string;
assetIds?: Array<any>;
storylineCategoryId?: string;
trackingLogs?: Log[];
project?: Project;
customer?: Customer;
author?: any;
assets?: Asset[];
storylineCategory?: StorylineCategory;
container?: any;
storypoints?: Storypoint[];
}
export declare class Storyline implements StorylineInterface {
name: string;
status: string;
storylineDate: Date;
description: string;
placeOfReference: string;
storypointsOrder: any;
created: Date;
modified: Date;
deleted: Date;
id: any;
projectId: any;
customerId: any;
userId: string;
principalType: string;
assetIds: Array<any>;
storylineCategoryId: string;
trackingLogs?: Log[];
project?: Project;
customer?: Customer;
author?: any;
assets?: Asset[];
storylineCategory?: StorylineCategory;
container?: any;
storypoints?: Storypoint[];
constructor(data?: StorylineInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Storyline`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Storyline for dynamic purposes.
*/
static factory(data: StorylineInterface): Storyline;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}