Record Class OpenOrganization
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.OpenOrganization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord 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.name()Returns the value of thenamerecord component.slug()Returns the value of theslugrecord 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
-
OpenOrganization
public OpenOrganization(String id, String name, String slug, long version, String createdAt, String updatedAt, String etag) Creates an instance of aOpenOrganizationrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentslug- the value for theslugrecord componentversion- the value for theversionrecord componentcreatedAt- the value for thecreatedAtrecord componentupdatedAt- the value for theupdatedAtrecord componentetag- the value for theetagrecord 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. 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
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
slug
Returns the value of theslugrecord component.- Returns:
- the value of the
slugrecord 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
-