@Override public int hashCode() { int result = deploymentGroup != null ? deploymentGroup.hashCode() : 0; result = 31 * result + (status != null ? status.hashCode() : 0); result = 31 * result + (error != null ? error.hashCode() : 0); result = 31 * result + (hostStatuses != null ? hostStatuses.hashCode() : 0); result = 31 * result + (deploymentGroupStatus != null ? deploymentGroupStatus.hashCode() : 0); return result; } }