class ThingFilter {

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        ThingFilter that = (ThingFilter) o;
        return method == that.method &&
                Objects.equals(url, that.url) &&
                Objects.equals(query, that.query);
    }

    public  ThingFilter();
    public  ThingFilter(DiscoveryMethod method);

}