@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ContentModerationDetection == false) return false; ContentModerationDetection other = (ContentModerationDetection) obj; if (other.getTimestamp() == null ^ this.getTimestamp() == null) return false; if (other.getTimestamp() != null && other.getTimestamp().equals(this.getTimestamp()) == false) return false; if (other.getModerationLabel() == null ^ this.getModerationLabel() == null) return false; if (other.getModerationLabel() != null && other.getModerationLabel().equals(this.getModerationLabel()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ContentModerationDetection == false) return false; ContentModerationDetection other = (ContentModerationDetection) obj; if (other.getTimestamp() == null ^ this.getTimestamp() == null) return false; if (other.getTimestamp() != null && other.getTimestamp().equals(this.getTimestamp()) == false) return false; if (other.getModerationLabel() == null ^ this.getModerationLabel() == null) return false; if (other.getModerationLabel() != null && other.getModerationLabel().equals(this.getModerationLabel()) == false) return false; return true; } }