Record Class PublicOrganizationInvitationPreviewResponse
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.PublicOrganizationInvitationPreviewResponse
public record PublicOrganizationInvitationPreviewResponse(String applicationId, String applicationName, String organizationId, String organizationName, String inviteeEmail, String role, String status, String expiresAt)
extends Record
Public, safe Organization invitation preview. The raw invitation token is never represented here.
-
Constructor Summary
ConstructorsConstructorDescriptionPublicOrganizationInvitationPreviewResponse(String applicationId, String applicationName, String organizationId, String organizationName, String inviteeEmail, String role, String status, String expiresAt) Creates an instance of aPublicOrganizationInvitationPreviewResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationIdrecord component.Returns the value of theapplicationNamerecord 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.Returns the value of theinviteeEmailrecord component.Returns the value of theorganizationIdrecord component.Returns the value of theorganizationNamerecord 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.
-
Constructor Details
-
PublicOrganizationInvitationPreviewResponse
public PublicOrganizationInvitationPreviewResponse(String applicationId, String applicationName, String organizationId, String organizationName, String inviteeEmail, String role, String status, String expiresAt) Creates an instance of aPublicOrganizationInvitationPreviewResponserecord class.- Parameters:
applicationId- the value for theapplicationIdrecord componentapplicationName- the value for theapplicationNamerecord componentorganizationId- the value for theorganizationIdrecord componentorganizationName- the value for theorganizationNamerecord componentinviteeEmail- the value for theinviteeEmailrecord componentrole- the value for therolerecord componentstatus- the value for thestatusrecord componentexpiresAt- the value for theexpiresAtrecord 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). -
applicationId
Returns the value of theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
applicationName
Returns the value of theapplicationNamerecord component.- Returns:
- the value of the
applicationNamerecord component
-
organizationId
Returns the value of theorganizationIdrecord component.- Returns:
- the value of the
organizationIdrecord component
-
organizationName
Returns the value of theorganizationNamerecord component.- Returns:
- the value of the
organizationNamerecord component
-
inviteeEmail
Returns the value of theinviteeEmailrecord component.- Returns:
- the value of the
inviteeEmailrecord 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
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-