/** * This file is generated by the SwaggerTSGenerator. * Do not edit. */ /* tslint:disable */ import { BaseModel } from './base-model'; import { SubTypeFactory } from './sub-type-factory'; export interface ILossEventReference { referenceCode?: string; referenceType?: string; } export class LossEventReference extends BaseModel implements ILossEventReference { static REFERENCE_CODE_FIELD_NAME = 'referenceCode'; static REFERENCE_TYPE_FIELD_NAME = 'referenceType'; referenceCode: string; referenceType: string; /** * constructor * @param values Can be used to set a webapi response or formValues to this newly constructed model */ constructor(values?: Partial) { super(); if (values) { this.setValues(values); } } /** * set the values. * @param values Can be used to set a webapi response to this newly constructed model */ setValues(values: Partial): void { if (values) { const rawValues = values this.referenceCode = this.getValue(rawValues, LossEventReference.REFERENCE_CODE_FIELD_NAME); this.referenceType = this.getValue(rawValues, LossEventReference.REFERENCE_TYPE_FIELD_NAME); } } }