Module java4ever.binding
Record Class GqlSchemaRoot.GqlSchema
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlSchema
- Enclosing class:
GqlSchemaRoot
public static record GqlSchemaRoot.GqlSchema(GqlSchemaRoot.GqlActionType queryType, GqlSchemaRoot.GqlActionType mutationType, GqlSchemaRoot.GqlActionType subscriptionType, Collection<GqlSchemaRoot.GqlType> types, Collection<GqlSchemaRoot.GqlDirective> directives)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGqlSchema
(GqlSchemaRoot.GqlActionType queryType, GqlSchemaRoot.GqlActionType mutationType, GqlSchemaRoot.GqlActionType subscriptionType, Collection<GqlSchemaRoot.GqlType> types, Collection<GqlSchemaRoot.GqlDirective> directives) Creates an instance of aGqlSchema
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectives
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 themutationType
record component.Returns the value of thequeryType
record component.Returns the value of thesubscriptionType
record component.final String
toString()
Returns a string representation of this record class.types()
Returns the value of thetypes
record component.
-
Constructor Details
-
GqlSchema
public GqlSchema(GqlSchemaRoot.GqlActionType queryType, GqlSchemaRoot.GqlActionType mutationType, GqlSchemaRoot.GqlActionType subscriptionType, Collection<GqlSchemaRoot.GqlType> types, Collection<GqlSchemaRoot.GqlDirective> directives) Creates an instance of aGqlSchema
record class.- Parameters:
queryType
- the value for thequeryType
record componentmutationType
- the value for themutationType
record componentsubscriptionType
- the value for thesubscriptionType
record componenttypes
- the value for thetypes
record componentdirectives
- the value for thedirectives
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)
. -
queryType
Returns the value of thequeryType
record component.- Returns:
- the value of the
queryType
record component
-
mutationType
Returns the value of themutationType
record component.- Returns:
- the value of the
mutationType
record component
-
subscriptionType
Returns the value of thesubscriptionType
record component.- Returns:
- the value of the
subscriptionType
record component
-
types
Returns the value of thetypes
record component.- Returns:
- the value of the
types
record component
-
directives
Returns the value of thedirectives
record component.- Returns:
- the value of the
directives
record component
-