public boolean equals()

in library/src/main/java/com/theguardian/bridget/thrift/User.java [4802:4827]


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

      boolean this_present_reason = true && this.isSetReason();
      boolean that_present_reason = true && that.isSetReason();
      if (this_present_reason || that_present_reason) {
        if (!(this_present_reason && that_present_reason))
          return false;
        if (!this.reason.equals(that.reason))
          return false;
      }

      boolean this_present_referrer = true && this.isSetReferrer();
      boolean that_present_referrer = true && that.isSetReferrer();
      if (this_present_referrer || that_present_referrer) {
        if (!(this_present_referrer && that_present_referrer))
          return false;
        if (!this.referrer.equals(that.referrer))
          return false;
      }

      return true;
    }