public boolean equals()

in library/src/main/java/com/theguardian/bridget/thrift/Discussion.java [970:986]


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

      boolean this_present_commentId = true && this.isSetCommentId();
      boolean that_present_commentId = true && that.isSetCommentId();
      if (this_present_commentId || that_present_commentId) {
        if (!(this_present_commentId && that_present_commentId))
          return false;
        if (!this.commentId.equals(that.commentId))
          return false;
      }

      return true;
    }