public boolean equals()

in shenyu-common/src/main/java/org/apache/shenyu/common/dto/DiscoveryUpstreamData.java [262:275]


    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (Objects.isNull(o) || getClass() != o.getClass()) {
            return false;
        }
        DiscoveryUpstreamData that = (DiscoveryUpstreamData) o;
        return status == that.status && weight == that.weight && Objects.equals(id, that.id)
                && Objects.equals(dateCreated, that.dateCreated) && Objects.equals(dateUpdated, that.dateUpdated)
                && Objects.equals(discoveryHandlerId, that.discoveryHandlerId) && Objects.equals(protocol, that.protocol)
                && Objects.equals(url, that.url) && Objects.equals(props, that.props)
                && Objects.equals(namespaceId, that.namespaceId);
    }