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 aGqlDirectiverecord class. -
Method Summary
Modifier and TypeMethodDescriptionargs()Returns the value of theargsrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelocationsrecord component.name()Returns the value of thenamerecord component.final StringtoString()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 aGqlDirectiverecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentargs- the value for theargsrecord componentlocations- the value for thelocationsrecord 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 thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
args
Returns the value of theargsrecord component.- Returns:
- the value of the
argsrecord component
-
locations
Returns the value of thelocationsrecord component.- Returns:
- the value of the
locationsrecord component
-