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

com.farao_community.farao.cse.adapter.app.model.UserConfiguration Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2022, RTE (http://www.rte-france.com)
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package com.farao_community.farao.cse.adapter.app.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class UserConfiguration {
    private final Double initialDichotomyIndex;
    private final List manualForcedPrasIds;
    private final Integer maximumDichotomiesNumber;

    @JsonCreator
    public UserConfiguration(@JsonProperty("initialDichotomyIndex") Double initialDichotomyIndex,
                             @JsonProperty("manualForcedPrasIds") List manualForcedPrasIds,
                             @JsonProperty("maximumDichotomiesNumber") Integer maximumDichotomiesNumber) {
        this.initialDichotomyIndex = initialDichotomyIndex;
        this.manualForcedPrasIds = manualForcedPrasIds;
        this.maximumDichotomiesNumber = maximumDichotomiesNumber;
    }

    public Double getInitialDichotomyIndex() {
        return initialDichotomyIndex;
    }

    public List getManualForcedPrasIds() {
        return manualForcedPrasIds;
    }

    public Integer getMaximumDichotomiesNumber() {
        return maximumDichotomiesNumber;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy