public boolean equals()

in library/src/main/java/com/theguardian/bridget/thrift/VideoEvent.java [272:297]


  public boolean equals(VideoEvent that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_videoId = true && this.isSetVideoId();
    boolean that_present_videoId = true && that.isSetVideoId();
    if (this_present_videoId || that_present_videoId) {
      if (!(this_present_videoId && that_present_videoId))
        return false;
      if (!this.videoId.equals(that.videoId))
        return false;
    }

    boolean this_present_event = true && this.isSetEvent();
    boolean that_present_event = true && that.isSetEvent();
    if (this_present_event || that_present_event) {
      if (!(this_present_event && that_present_event))
        return false;
      if (!this.event.equals(that.event))
        return false;
    }

    return true;
  }