Record Class OpenRole
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.OpenRole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.etag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.key()Returns the value of thekeyrecord component.name()Returns the value of thenamerecord component.booleansystem()Returns the value of thesystemrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.longversion()Returns the value of theversionrecord component.
-
Constructor Details
-
OpenRole
public OpenRole(String id, String key, String name, String description, boolean system, long version, String createdAt, String updatedAt, String etag) Creates an instance of aOpenRolerecord class.- Parameters:
id- the value for theidrecord componentkey- the value for thekeyrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentsystem- the value for thesystemrecord componentversion- the value for theversionrecord componentcreatedAt- the value for thecreatedAtrecord componentupdatedAt- the value for theupdatedAtrecord componentetag- the value for theetagrecord component
-
-
Method Details
-
withEtag
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
system
public boolean system()Returns the value of thesystemrecord component.- Returns:
- the value of the
systemrecord component
-
version
public long version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord 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
-
etag
Returns the value of theetagrecord component.- Returns:
- the value of the
etagrecord component
-