org.carrot2.dcs.model.ListResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of carrot2-dcs-model Show documentation
Show all versions of carrot2-dcs-model Show documentation
Carrot2 Text Clustering Library
/*
* Carrot2 project.
*
* Copyright (C) 2002-2020, Dawid Weiss, Stanisław Osiński.
* All rights reserved.
*
* Refer to the full license file "carrot2.LICENSE"
* in the root folder of the repository checkout or at:
* https://www.carrot2.org/carrot2.LICENSE
*/
package org.carrot2.dcs.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.List;
import java.util.Map;
@JsonPropertyOrder({"algorithms", "templates"})
public class ListResponse {
/** A map of algorithm names and their supported languages. */
@JsonProperty public Map> algorithms;
@JsonProperty public List templates;
@JsonCreator
public ListResponse(
@JsonProperty("algorithms") Map> algorithms,
@JsonProperty("templates") List templates) {
this.algorithms = algorithms;
this.templates = templates;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy