public boolean equals()

in apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/Host.java [885:931]


   public boolean equals(Object obj) {
      if (this == obj) return true;
      if (obj == null || getClass() != obj.getClass()) return false;
      Host that = Host.class.cast(obj);
      return Objects.equal(this.id, that.id)
            && Objects.equal(this.allocationState, that.allocationState)
            && Objects.equal(this.averageLoad, that.averageLoad)
            && Objects.equal(this.capabilities, that.capabilities)
            && Objects.equal(this.clusterId, that.clusterId)
            && Objects.equal(this.clusterName, that.clusterName)
            && Objects.equal(this.clusterType, that.clusterType)
            && Objects.equal(this.cpuAllocated, that.cpuAllocated)
            && Objects.equal(this.cpuNumber, that.cpuNumber)
            && Objects.equal(this.cpuSpeed, that.cpuSpeed)
            && Objects.equal(this.cpuUsed, that.cpuUsed)
            && Objects.equal(this.cpuWithOverProvisioning, that.cpuWithOverProvisioning)
            && Objects.equal(this.created, that.created)
            && Objects.equal(this.disconnected, that.disconnected)
            && Objects.equal(this.diskSizeAllocated, that.diskSizeAllocated)
            && Objects.equal(this.diskSizeTotal, that.diskSizeTotal)
            && Objects.equal(this.events, that.events)
            && Objects.equal(this.hasEnoughCapacity, that.hasEnoughCapacity)
            && Objects.equal(this.tags, that.tags)
            && Objects.equal(this.hypervisor, that.hypervisor)
            && Objects.equal(this.ipAddress, that.ipAddress)
            && Objects.equal(this.localStorageActive, that.localStorageActive)
            && Objects.equal(this.jobId, that.jobId)
            && Objects.equal(this.jobStatus, that.jobStatus)
            && Objects.equal(this.lastPinged, that.lastPinged)
            && Objects.equal(this.managementServerId, that.managementServerId)
            && Objects.equal(this.memoryAllocated, that.memoryAllocated)
            && Objects.equal(this.memoryTotal, that.memoryTotal)
            && Objects.equal(this.memoryUsed, that.memoryUsed)
            && Objects.equal(this.name, that.name)
            && Objects.equal(this.networkKbsRead, that.networkKbsRead)
            && Objects.equal(this.networkKbsWrite, that.networkKbsWrite)
            && Objects.equal(this.osCategoryId, that.osCategoryId)
            && Objects.equal(this.osCategoryName, that.osCategoryName)
            && Objects.equal(this.podId, that.podId)
            && Objects.equal(this.podName, that.podName)
            && Objects.equal(this.removed, that.removed)
            && Objects.equal(this.state, that.state)
            && Objects.equal(this.type, that.type)
            && Objects.equal(this.version, that.version)
            && Objects.equal(this.zoneId, that.zoneId)
            && Objects.equal(this.zoneName, that.zoneName);
   }