com.kobylynskyi.graphql.codegen.model.EnumValueDefinition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-codegen Show documentation
Show all versions of graphql-java-codegen Show documentation
Java Code Generator based on GraphQL schema
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;
}
}