/** * 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 IBomQuotaShareLine { minimumLine?: string; sectionId?: string; signedLine?: string; writtenLine?: string; } export class BomQuotaShareLine extends BaseModel implements IBomQuotaShareLine { static MINIMUM_LINE_FIELD_NAME = 'minimumLine'; static SECTION_ID_FIELD_NAME = 'sectionId'; static SIGNED_LINE_FIELD_NAME = 'signedLine'; static WRITTEN_LINE_FIELD_NAME = 'writtenLine'; minimumLine: string; sectionId: string; signedLine: string; writtenLine: 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.minimumLine = this.getValue(rawValues, BomQuotaShareLine.MINIMUM_LINE_FIELD_NAME); this.sectionId = this.getValue(rawValues, BomQuotaShareLine.SECTION_ID_FIELD_NAME); this.signedLine = this.getValue(rawValues, BomQuotaShareLine.SIGNED_LINE_FIELD_NAME); this.writtenLine = this.getValue(rawValues, BomQuotaShareLine.WRITTEN_LINE_FIELD_NAME); } } }