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

com.kobylynskyi.graphql.codegen.model.EnumValueDefinition Maven / Gradle / Ivy

The newest version!
package com.kobylynskyi.graphql.codegen.model;

import java.util.List;

/**
 * Freemarker-understandable format of enum value definition
 *
 * @author kobylynskyi
 */
public class EnumValueDefinition {

    private final String javaName;
    private final String graphqlName;
    private final List javaDoc;
    private final boolean deprecated;

    public EnumValueDefinition(String javaName, String graphqlName, List javaDoc, boolean deprecated) {
        this.javaName = javaName;
        this.graphqlName = graphqlName;
        this.javaDoc = javaDoc;
        this.deprecated = deprecated;
    }

    public String getJavaName() {
        return javaName;
    }

    public String getGraphqlName() {
        return graphqlName;
    }

    public List getJavaDoc() {
        return javaDoc;
    }

    public boolean isDeprecated() {
        return deprecated;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy