Record Class OpenOrganizationInvitation
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.OpenOrganizationInvitation
public record OpenOrganizationInvitation(String id, String email, OrganizationMemberRole role, OrganizationInvitationStatus status, OrganizationInvitationDeliveryStatus deliveryStatus, String expiresAt, String createdAt, String updatedAt)
extends Record
Safe Organization invitation detail. It never contains a raw invitation redemption proof.
-
Constructor Summary
ConstructorsConstructorDescriptionOpenOrganizationInvitation(String id, String email, OrganizationMemberRole role, OrganizationInvitationStatus status, OrganizationInvitationDeliveryStatus deliveryStatus, String expiresAt, String createdAt, String updatedAt) Creates an instance of aOpenOrganizationInvitationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord component.Returns the value of thedeliveryStatusrecord component.email()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.role()Returns the value of therolerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
OpenOrganizationInvitation
public OpenOrganizationInvitation(String id, String email, OrganizationMemberRole role, OrganizationInvitationStatus status, OrganizationInvitationDeliveryStatus deliveryStatus, String expiresAt, String createdAt, String updatedAt) Creates an instance of aOpenOrganizationInvitationrecord class.- Parameters:
id- the value for theidrecord componentemail- the value for theemailrecord componentrole- the value for therolerecord componentstatus- the value for thestatusrecord componentdeliveryStatus- the value for thedeliveryStatusrecord componentexpiresAt- the value for theexpiresAtrecord componentcreatedAt- the value for thecreatedAtrecord componentupdatedAt- the value for theupdatedAtrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
role
Returns the value of therolerecord component.- Returns:
- the value of the
rolerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
deliveryStatus
Returns the value of thedeliveryStatusrecord component.- Returns:
- the value of the
deliveryStatusrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
updatedAt
Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-