Record Class AccountOrganizationResponse
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.AccountOrganizationResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancurrent()Returns the value of thecurrentrecord 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.name()Returns the value of thenamerecord component.Returns the value of theorganizationIdrecord component.role()Returns the value of therolerecord component.slug()Returns the value of theslugrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountOrganizationResponse
public AccountOrganizationResponse(String organizationId, String name, String slug, String role, String joinedAt, boolean current) Creates an instance of aAccountOrganizationResponserecord class.- Parameters:
organizationId- the value for theorganizationIdrecord componentname- the value for thenamerecord componentslug- the value for theslugrecord componentrole- the value for therolerecord componentjoinedAt- the value for thejoinedAtrecord componentcurrent- the value for thecurrentrecord 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. -
organizationId
Returns the value of theorganizationIdrecord component.- Returns:
- the value of the
organizationIdrecord 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
-
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
-
current
public boolean current()Returns the value of thecurrentrecord component.- Returns:
- the value of the
currentrecord component
-