Record Class UpdateUserAccessDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.security.UpdateUserAccessDTO
- Record Components:
username- usernameroles- role codesdisabled- disabled state
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateUserAccessDTO(@NotBlank @Size(max=75) String username, List<@NotBlank @Size(max=255) String> roles, Boolean disabled) Creates an instance of aUpdateUserAccessDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondisabled()Returns the value of thedisabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.roles()Returns the value of therolesrecord component.final StringtoString()Returns a string representation of this record class.@NotBlank @Size(max=75) Stringusername()Returns the value of theusernamerecord component.
-
Constructor Details
-
UpdateUserAccessDTO
-
-
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). -
username
-
roles
-
disabled
-