@PublicApi public class GraphQLInputObjectType extends java.lang.Object implements GraphQLType, GraphQLInputType, GraphQLUnmodifiedType, GraphQLNullableType, GraphQLInputFieldsContainer, GraphQLDirectiveContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphQLInputObjectType.Builder |
| Constructor and Description |
|---|
GraphQLInputObjectType(java.lang.String name,
java.lang.String description,
java.util.List<GraphQLInputObjectField> fields) |
GraphQLInputObjectType(java.lang.String name,
java.lang.String description,
java.util.List<GraphQLInputObjectField> fields,
java.util.List<GraphQLDirective> directives,
InputObjectTypeDefinition definition) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDirective, getDirectivesByNamepublic GraphQLInputObjectType(java.lang.String name,
java.lang.String description,
java.util.List<GraphQLInputObjectField> fields)
public GraphQLInputObjectType(java.lang.String name,
java.lang.String description,
java.util.List<GraphQLInputObjectField> fields,
java.util.List<GraphQLDirective> directives,
InputObjectTypeDefinition definition)
public java.lang.String getName()
getName in interface GraphQLType[_A-Za-z][_0-9A-Za-z]*public java.lang.String getDescription()
public java.util.List<GraphQLInputObjectField> getFields()
public GraphQLInputObjectField getField(java.lang.String name)
public java.util.List<GraphQLDirective> getDirectives()
getDirectives in interface GraphQLDirectiveContainerpublic GraphQLInputObjectField getFieldDefinition(java.lang.String name)
getFieldDefinition in interface GraphQLInputFieldsContainerpublic java.util.List<GraphQLInputObjectField> getFieldDefinitions()
getFieldDefinitions in interface GraphQLInputFieldsContainerpublic InputObjectTypeDefinition getDefinition()
public GraphQLInputObjectType transform(java.util.function.Consumer<GraphQLInputObjectType.Builder> builderConsumer)
builderConsumer - the consumer code that will be given a builder to transformpublic TraversalControl accept(TraverserContext<GraphQLType> context, GraphQLTypeVisitor visitor)
GraphQLTypeNode, see accept(...) for more details about the pattern.accept in interface GraphQLTypecontext - TraverserContext bound to this graphQL type objectvisitor - Visitor instance that performs actual processing on the types(s)public java.util.List<GraphQLType> getChildren()
getChildren in interface GraphQLTypepublic static GraphQLInputObjectType.Builder newInputObject(GraphQLInputObjectType existing)
public static GraphQLInputObjectType.Builder newInputObject()