public boolean equals()

in shenyu-admin/src/main/java/org/apache/shenyu/admin/model/dto/DiscoveryDTO.java [267:282]


    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (Objects.isNull(o) || getClass() != o.getClass()) {
            return false;
        }

        DiscoveryDTO that = (DiscoveryDTO) o;
        return Objects.equals(id, that.id) && Objects.equals(name, that.name) && Objects.equals(type, that.type)
                && Objects.equals(serverList, that.serverList) && Objects.equals(props, that.props)
                && Objects.equals(level, that.level) && Objects.equals(pluginName, that.pluginName)
                && Objects.equals(discoveryHandler, that.discoveryHandler)
                && Objects.equals(discoveryRel, that.discoveryRel)
                && Objects.equals(namespaceId, that.namespaceId);
    }