Module java4ever.binding
Record Class GqlSchemaRoot.GqlDirective
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlDirective
- Enclosing class:
GqlSchemaRoot
public static record GqlSchemaRoot.GqlDirective(String name, String description, Collection<GqlSchemaRoot.GqlInputField> args, Collection<Object> locations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGqlDirective
(String name, String description, Collection<GqlSchemaRoot.GqlInputField> args, Collection<Object> locations) Creates an instance of aGqlDirective
record class. -
Method Summary
Modifier and TypeMethodDescriptionargs()
Returns the value of theargs
record component.Returns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelocations
record component.name()
Returns the value of thename
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
GqlDirective
public GqlDirective(String name, String description, Collection<GqlSchemaRoot.GqlInputField> args, Collection<Object> locations) Creates an instance of aGqlDirective
record class.- Parameters:
name
- the value for thename
record componentdescription
- the value for thedescription
record componentargs
- the value for theargs
record componentlocations
- the value for thelocations
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-
args
Returns the value of theargs
record component.- Returns:
- the value of the
args
record component
-
locations
Returns the value of thelocations
record component.- Returns:
- the value of the
locations
record component
-