@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ServerDrive)) return false; ServerDrive that = (ServerDrive) o; if (bootOrder != that.bootOrder) 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; return true; }
@Override 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; }
@Override 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; }
@Override 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; }
@Override 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; }
@Override 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; }