java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.Mutation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefinishOperations
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thepostRequests
record component.Returns the value of theregisterAccessKeys
record component.Returns the value of therevokeAccessKeys
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Mutation
public Mutation(List<String> postRequests, Integer registerAccessKeys, Integer revokeAccessKeys, Integer finishOperations) Creates an instance of aMutation
record class.- Parameters:
postRequests
- the value for thepostRequests
record componentregisterAccessKeys
- the value for theregisterAccessKeys
record componentrevokeAccessKeys
- the value for therevokeAccessKeys
record componentfinishOperations
- the value for thefinishOperations
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
postRequests
Returns the value of thepostRequests
record component.- Returns:
- the value of the
postRequests
record component
-
registerAccessKeys
Returns the value of theregisterAccessKeys
record component.- Returns:
- the value of the
registerAccessKeys
record component
-
revokeAccessKeys
Returns the value of therevokeAccessKeys
record component.- Returns:
- the value of the
revokeAccessKeys
record component
-
finishOperations
Returns the value of thefinishOperations
record component.- Returns:
- the value of the
finishOperations
record component
-