/** * 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 IBomBoundedPeriod { end?: Date; start?: Date; } export class BomBoundedPeriod extends BaseModel implements IBomBoundedPeriod { static END_FIELD_NAME = 'end'; static START_FIELD_NAME = 'start'; end: Date; start: Date; /** * 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.end = this.getValue(rawValues, BomBoundedPeriod.END_FIELD_NAME); this.start = this.getValue(rawValues, BomBoundedPeriod.START_FIELD_NAME); } } }