public boolean equals()

in cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/ServerInfo.java [404:426]


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

      ServerInfo that = (ServerInfo) o;

      if (cpu != that.cpu) return false;
      if (cpusInsteadOfCores != that.cpusInsteadOfCores) return false;
      if (enableNuma != that.enableNuma) return false;
      if (hvRelaxed != that.hvRelaxed) return false;
      if (hvTsc != that.hvTsc) return false;
      if (smp != that.smp) return false;
      if (drives != null ? !drives.equals(that.drives) : that.drives != null) return false;
      if (memory != null ? !memory.equals(that.memory) : that.memory != null) return false;
      if (meta != null ? !meta.equals(that.meta) : that.meta != null) return false;
      if (nics != null ? !nics.equals(that.nics) : that.nics != null) return false;
      if (requirements != null ? !requirements.equals(that.requirements) : that.requirements != null) return false;
      if (tags != null ? !tags.equals(that.tags) : that.tags != null) return false;
      if (vncPassword != null ? !vncPassword.equals(that.vncPassword) : that.vncPassword != null) return false;

      return true;
   }