import IEntity = require('../IEntity'); import ReasonTypeEnum = require('./ReasonTypeEnum'); import LocalizedString = require('../Locale/LocalizedString'); import ILocalizedStringObject = require('../Locale/ILocalizedStringObject'); export = Reason; declare class Reason implements IEntity { private label; private reasonType; Label: LocalizedString; ReasonType: ReasonTypeEnum; constructor(label: LocalizedString, reasonType: ReasonTypeEnum); static fromObject(o: any): Reason; static toObject(e: Reason): { label: ILocalizedStringObject; reasonType: string; }; toObject(): { label: ILocalizedStringObject; reasonType: string; }; static createReasonTypeEnum(type: string): ReasonTypeEnum; isTypeFall(): boolean; isTypeRise(): boolean; isTypeStay(): boolean; }