All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.optionfactory.keycloak.provisioning.api.UsersRequest Maven / Gradle / Ivy

There is a newer version: 6.16
Show newest version
package net.optionfactory.keycloak.provisioning.api;

import java.util.List;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

public class UsersRequest {

    @Valid
    public ValueFilter id;
    @Valid
    public ValueFilter username;
    @Valid
    public ValueFilter email;
    @Valid
    public ValueFilter firstName;
    @Valid
    public ValueFilter lastName;
    @Valid
    public ValueFilter enabled;
    @Valid
    public ValueFilter emailVerified;
    @Valid
    public ValueFilter createdTimestamp;
    @NotNull
    public List<@Valid ValueFilter> groups;
    @NotNull
    public List<@Valid KeyValueFilter> attributes;

    public enum FilterOp {
        EQ, NEQ, IN, NIN
    }

    public static class ValueFilter {

        @NotNull
        public FilterOp op;
        @NotNull
        public String value;
    }

    public static class KeyValueFilter {

        @NotNull
        public FilterOp op;
        @NotNull
        public String key;
        @NotNull
        public String value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy