Record Class OpenUserRoleAssignment
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.OpenUserRoleAssignment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconditionDescriptionrecord component.Returns the value of theconditionExpressionrecord component.Returns 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.Returns the value of theorganizationIdrecord component.roleId()Returns the value of theroleIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.userId()Returns the value of theuserIdrecord component.longversion()Returns the value of theversionrecord component.
-
Constructor Details
-
OpenUserRoleAssignment
public OpenUserRoleAssignment(String id, String userId, String roleId, String organizationId, String conditionExpression, String conditionDescription, long version, String createdAt, String updatedAt, String etag) Creates an instance of aOpenUserRoleAssignmentrecord class.- Parameters:
id- the value for theidrecord componentuserId- the value for theuserIdrecord componentroleId- the value for theroleIdrecord componentorganizationId- the value for theorganizationIdrecord componentconditionExpression- the value for theconditionExpressionrecord componentconditionDescription- the value for theconditionDescriptionrecord 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
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
roleId
Returns the value of theroleIdrecord component.- Returns:
- the value of the
roleIdrecord component
-
organizationId
Returns the value of theorganizationIdrecord component.- Returns:
- the value of the
organizationIdrecord component
-
conditionExpression
Returns the value of theconditionExpressionrecord component.- Returns:
- the value of the
conditionExpressionrecord component
-
conditionDescription
Returns the value of theconditionDescriptionrecord component.- Returns:
- the value of the
conditionDescriptionrecord 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
-