Record Class OpenOrganizationMember
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.OpenOrganizationMember
-
Constructor Summary
ConstructorsConstructorDescriptionOpenOrganizationMember(String membershipId, String userId, String email, String displayName, OrganizationMemberRole role, String joinedAt, String updatedAt, Long version) Creates an instance of aOpenOrganizationMemberrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord component.email()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.joinedAt()Returns the value of thejoinedAtrecord component.Returns the value of themembershipIdrecord component.role()Returns the value of therolerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.userId()Returns the value of theuserIdrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
OpenOrganizationMember
public OpenOrganizationMember(String membershipId, String userId, String email, String displayName, OrganizationMemberRole role, String joinedAt, String updatedAt, Long version) Creates an instance of aOpenOrganizationMemberrecord class.- Parameters:
membershipId- the value for themembershipIdrecord componentuserId- the value for theuserIdrecord componentemail- the value for theemailrecord componentdisplayName- the value for thedisplayNamerecord componentrole- the value for therolerecord componentjoinedAt- the value for thejoinedAtrecord componentupdatedAt- the value for theupdatedAtrecord componentversion- the value for theversionrecord 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). -
membershipId
Returns the value of themembershipIdrecord component.- Returns:
- the value of the
membershipIdrecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
role
Returns the value of therolerecord component.- Returns:
- the value of the
rolerecord component
-
joinedAt
Returns the value of thejoinedAtrecord component.- Returns:
- the value of the
joinedAtrecord component
-
updatedAt
Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-