Class SetUserGroupsForUserRequest

  • All Implemented Interfaces:
    Serializable

    public class SetUserGroupsForUserRequest
    extends Object
    implements Serializable
    The properties needed to set the user groups that the user should belong to.
    See Also:
    Serialized Form
    • Constructor Detail

      • SetUserGroupsForUserRequest

        public SetUserGroupsForUserRequest()
    • Method Detail

      • getUserId

        @NotNull
        public @NotNull UUID getUserId()
        Required. The ID of the user who should be assigned to the user groups.

        Silently ignored if the ID is provided as path parameter of the request; otherwise required.

      • getUserGroupIds

        @NotNull
        public @NotNull List<UUID> getUserGroupIds()
        Required. The list of IDs of the user groups which the user should be assigned to.
      • setUserId

        public void setUserId​(@NotNull
                              @NotNull UUID userId)
        Required. The ID of the user who should be assigned to the user groups.

        Silently ignored if the ID is provided as path parameter of the request; otherwise required.

      • setUserGroupIds

        public void setUserGroupIds​(@NotNull
                                    @NotNull List<UUID> userGroupIds)
        Required. The list of IDs of the user groups which the user should be assigned to.
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object