class ComponentSearchParams {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ComponentSearchParams params = (ComponentSearchParams) o;
        return Objects.equals(getName(), params.getName()) &&
                Objects.equals(getComponentType(), params.getComponentType()) &&
                Objects.equals(getPageIndex(), params.getPageIndex()) &&
                Objects.equals(getPageSize(), params.getPageSize()) &&
                getOrderClauses().equals(params.getOrderClauses()) &&
                getFields().equals(params.getFields());
    }

    private  ComponentSearchParams(Builder builder);

}