public boolean equals()

in cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/DriveInfo.java [315:333]


   public boolean equals(Object o) {
      if (this == o) return true;
      if (!(o instanceof DriveInfo)) return false;
      if (!super.equals(o)) return false;

      DriveInfo driveInfo = (DriveInfo) o;

      if (allowMultimount != driveInfo.allowMultimount) return false;
      if (affinities != null ? !affinities.equals(driveInfo.affinities) : driveInfo.affinities != null) return false;
      if (jobs != null ? !jobs.equals(driveInfo.jobs) : driveInfo.jobs != null) return false;
      if (licenses != null ? !licenses.equals(driveInfo.licenses) : driveInfo.licenses != null) return false;
      if (media != driveInfo.media) return false;
      if (meta != null ? !meta.equals(driveInfo.meta) : driveInfo.meta != null) return false;
      if (mountedOn != null ? !mountedOn.equals(driveInfo.mountedOn) : driveInfo.mountedOn != null) return false;
      if (size != null ? !size.equals(driveInfo.size) : driveInfo.size != null) return false;
      if (tags != null ? !tags.equals(driveInfo.tags) : driveInfo.tags != null) return false;

      return true;
   }