Module java4ever.binding
Record Class GqlSchemaRoot.GqlField
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlField
- Enclosing class:
GqlSchemaRoot
public static record GqlSchemaRoot.GqlField(String name, String description, Collection<GqlSchemaRoot.GqlInputField> args, GqlSchemaRoot.GqlParam type, boolean isDeprecated, String deprecationReason)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGqlField
(String name, String description, Collection<GqlSchemaRoot.GqlInputField> args, GqlSchemaRoot.GqlParam type, boolean isDeprecated, String deprecationReason) Creates an instance of aGqlField
record class. -
Method Summary
Modifier and TypeMethodDescriptionargs()
Returns the value of theargs
record component.Returns the value of thedeprecationReason
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.boolean
Returns the value of theisDeprecated
record component.name()
Returns the value of thename
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Constructor Details
-
GqlField
public GqlField(String name, String description, Collection<GqlSchemaRoot.GqlInputField> args, GqlSchemaRoot.GqlParam type, boolean isDeprecated, String deprecationReason) Creates an instance of aGqlField
record class.- Parameters:
name
- the value for thename
record componentdescription
- the value for thedescription
record componentargs
- the value for theargs
record componenttype
- the value for thetype
record componentisDeprecated
- the value for theisDeprecated
record componentdeprecationReason
- the value for thedeprecationReason
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
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
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
isDeprecated
public boolean isDeprecated()Returns the value of theisDeprecated
record component.- Returns:
- the value of the
isDeprecated
record component
-
deprecationReason
Returns the value of thedeprecationReason
record component.- Returns:
- the value of the
deprecationReason
record component
-