Module java4ever.binding
Record Class GqlSchemaRoot.GqlType.GqlInputObject
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlType.GqlInputObject
- All Implemented Interfaces:
GqlSchemaRoot.GqlType
- Enclosing interface:
GqlSchemaRoot.GqlType
public static record GqlSchemaRoot.GqlType.GqlInputObject(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlInputField> inputFields)
extends Record
implements GqlSchemaRoot.GqlType
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlType
GqlSchemaRoot.GqlType.GqlEnum, GqlSchemaRoot.GqlType.GqlInputObject, GqlSchemaRoot.GqlType.GqlInterface, GqlSchemaRoot.GqlType.GqlObject, GqlSchemaRoot.GqlType.GqlScalar -
Constructor Summary
ConstructorsConstructorDescriptionGqlInputObject(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlInputField> inputFields) Creates an instance of aGqlInputObjectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 theinputFieldsrecord component.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GqlInputObject
public GqlInputObject(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlInputField> inputFields) Creates an instance of aGqlInputObjectrecord class.- Parameters:
kind- the value for thekindrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentinputFields- the value for theinputFieldsrecord 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). -
kind
Returns the value of thekindrecord component.- Specified by:
kindin interfaceGqlSchemaRoot.GqlType- Returns:
- the value of the
kindrecord component
-
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceGqlSchemaRoot.GqlType- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Specified by:
descriptionin interfaceGqlSchemaRoot.GqlType- Returns:
- the value of the
descriptionrecord component
-
inputFields
Returns the value of theinputFieldsrecord component.- Returns:
- the value of the
inputFieldsrecord component
-