Record Class CurrentUserResponse.Impersonation
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.CurrentUserResponse.Impersonation
- Enclosing class:
CurrentUserResponse
-
Constructor Summary
ConstructorsConstructorDescriptionImpersonation(String actorId, String impersonationId) Creates an instance of aImpersonationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactorId()Returns the value of theactorIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimpersonationIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Impersonation
-
-
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). -
actorId
Returns the value of theactorIdrecord component.- Returns:
- the value of the
actorIdrecord component
-
impersonationId
Returns the value of theimpersonationIdrecord component.- Returns:
- the value of the
impersonationIdrecord component
-