Record Class RecurringNotificationRequestContext
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.planter.resolvers.request.notification.RecurringNotificationRequestContext
- Record Components:
userRef-AuthenticatedUserRefrecurringNotificationRef-OwnedRecurringNotificationRef
public record RecurringNotificationRequestContext(AuthenticatedUserRef userRef, OwnedRecurringNotificationRef recurringNotificationRef)
extends Record
Resolved user and user-owned recurring notification for an API request.
- Version:
- 3.0.5
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionRecurringNotificationRequestContext(AuthenticatedUserRef userRef, OwnedRecurringNotificationRef recurringNotificationRef) Creates an instance of aRecurringNotificationRequestContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therecurringNotificationRefrecord component.final StringtoString()Returns a string representation of this record class.userRef()Returns the value of theuserRefrecord component.
-
Constructor Details
-
RecurringNotificationRequestContext
public RecurringNotificationRequestContext(AuthenticatedUserRef userRef, OwnedRecurringNotificationRef recurringNotificationRef) Creates an instance of aRecurringNotificationRequestContextrecord class.- Parameters:
userRef- the value for theuserRefrecord componentrecurringNotificationRef- the value for therecurringNotificationRefrecord 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). -
userRef
-
recurringNotificationRef
Returns the value of therecurringNotificationRefrecord component.- Returns:
- the value of the
recurringNotificationRefrecord component
-