Record Class HasuraAction.HasuraSchedulingGoalEvent
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.scheduler.server.models.HasuraAction.HasuraSchedulingGoalEvent
- Enclosing class:
HasuraAction<I extends HasuraAction.Input>
public static record HasuraAction.HasuraSchedulingGoalEvent(long goalId, long revision)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionHasuraSchedulingGoalEvent(long goalId, long revision) Creates an instance of aHasuraSchedulingGoalEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longgoalId()Returns the value of thegoalIdrecord component.final inthashCode()Returns a hash code value for this object.longrevision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HasuraSchedulingGoalEvent
public HasuraSchedulingGoalEvent(long goalId, long revision) Creates an instance of aHasuraSchedulingGoalEventrecord class.- Parameters:
goalId- the value for thegoalIdrecord componentrevision- the value for therevisionrecord 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 with '=='. -
goalId
public long goalId()Returns the value of thegoalIdrecord component.- Returns:
- the value of the
goalIdrecord component
-
revision
public long revision()Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-