public boolean equals()

in openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/model/WorkerData.java [496:519]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    WorkerData workerData = (WorkerData) o;
    return Objects.equals(this.host, workerData.host) &&
        Objects.equals(this.rpcPort, workerData.rpcPort) &&
        Objects.equals(this.pushPort, workerData.pushPort) &&
        Objects.equals(this.fetchPort, workerData.fetchPort) &&
        Objects.equals(this.replicatePort, workerData.replicatePort) &&
        Objects.equals(this.internalPort, workerData.internalPort) &&
        Objects.equals(this.slotUsed, workerData.slotUsed) &&
        Objects.equals(this.lastHeartbeatTimestamp, workerData.lastHeartbeatTimestamp) &&
        Objects.equals(this.heartbeatElapsedSeconds, workerData.heartbeatElapsedSeconds) &&
        Objects.equals(this.diskInfos, workerData.diskInfos) &&
        Objects.equals(this.resourceConsumptions, workerData.resourceConsumptions) &&
        Objects.equals(this.workerRef, workerData.workerRef) &&
        Objects.equals(this.workerState, workerData.workerState) &&
        Objects.equals(this.workerStateStartTime, workerData.workerStateStartTime) &&
        Objects.equals(this.networkLocation, workerData.networkLocation);
  }