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 aGqlSchemarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectivesrecord 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 themutationTyperecord component.Returns the value of thequeryTyperecord component.Returns the value of thesubscriptionTyperecord component.final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord 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 aGqlSchemarecord class.- Parameters:
queryType- the value for thequeryTyperecord componentmutationType- the value for themutationTyperecord componentsubscriptionType- the value for thesubscriptionTyperecord componenttypes- the value for thetypesrecord componentdirectives- the value for thedirectivesrecord 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 thequeryTyperecord component.- Returns:
- the value of the
queryTyperecord component
-
mutationType
Returns the value of themutationTyperecord component.- Returns:
- the value of the
mutationTyperecord component
-
subscriptionType
Returns the value of thesubscriptionTyperecord component.- Returns:
- the value of the
subscriptionTyperecord component
-
types
Returns the value of thetypesrecord component.- Returns:
- the value of the
typesrecord component
-
directives
Returns the value of thedirectivesrecord component.- Returns:
- the value of the
directivesrecord component
-