@PublicApi public class GraphQLInputObjectField extends java.lang.Object
GraphQLInputObjectType
contains these input fields.
There are similar to GraphQLFieldDefinition
however they can ONLY be used on input objects, that
is to describe values that are fed into a graphql mutation.
See http://graphql.org/learn/schema/#input-types for more details on the concept.Modifier and Type | Class and Description |
---|---|
static class |
GraphQLInputObjectField.Builder |
Constructor and Description |
---|
GraphQLInputObjectField(java.lang.String name,
GraphQLInputType type) |
GraphQLInputObjectField(java.lang.String name,
java.lang.String description,
GraphQLInputType type,
java.lang.Object defaultValue) |
GraphQLInputObjectField(java.lang.String name,
java.lang.String description,
GraphQLInputType type,
java.lang.Object defaultValue,
InputValueDefinition definition) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultValue() |
InputValueDefinition |
getDefinition() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
GraphQLInputType |
getType() |
static GraphQLInputObjectField.Builder |
newInputObjectField() |
public GraphQLInputObjectField(java.lang.String name, GraphQLInputType type)
public GraphQLInputObjectField(java.lang.String name, java.lang.String description, GraphQLInputType type, java.lang.Object defaultValue)
public GraphQLInputObjectField(java.lang.String name, java.lang.String description, GraphQLInputType type, java.lang.Object defaultValue, InputValueDefinition definition)
public java.lang.String getName()
public GraphQLInputType getType()
public java.lang.Object getDefaultValue()
public java.lang.String getDescription()
public InputValueDefinition getDefinition()
public static GraphQLInputObjectField.Builder newInputObjectField()