All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.app.core.model.campaign.campaign.model.ts Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-FileCopyrightText: 2017-2024 Enedis
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 */

import { CampaignExecutionReport } from '.';

export class Campaign {

    constructor(public id?: number,
        public title: string = '',
        public description: string = '',
        public scenarios: Array = [],
        public campaignExecutionReports: Array = [],
        public environment: string = '',
        public parallelRun?: false,
        public retryAuto?: false,
        public datasetId?: string,
        public tags: Array = []) {
    }
}

export class CampaignScenario {
    constructor(public scenarioId: string, public datasetId: string = null) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy