Class AddUserToUserGroupsRequest

  • All Implemented Interfaces:
    Serializable

    public class AddUserToUserGroupsRequest
    extends Object
    implements Serializable
    The properties needed to add the user to given user groups.
    See Also:
    Serialized Form
    • Constructor Detail

      • AddUserToUserGroupsRequest

        public AddUserToUserGroupsRequest()
    • Method Detail

      • getUserId

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

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

      • 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 user groups.

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

      • 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