public boolean equals()

in cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/ServerDrive.java [132:145]


   public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;

      ServerDrive that = (ServerDrive) o;

      if (bootOrder != null ? !bootOrder.equals(that.bootOrder) : that.bootOrder != null) return false;
      if (deviceChannel != null ? !deviceChannel.equals(that.deviceChannel) : that.deviceChannel != null) return false;
      if (deviceEmulationType != that.deviceEmulationType) return false;
      if (drive != null ? !drive.equals(that.drive) : that.drive != null) return false;
      if (driveUuid != null ? !driveUuid.equals(that.driveUuid) : that.driveUuid != null) return false;

      return true;
   }