@Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;

    if (obj instanceof UploadServerCertificateRequest == false) return false;
    UploadServerCertificateRequest other = (UploadServerCertificateRequest) obj;

    if (other.getPath() == null ^ this.getPath() == null) return false;
    if (other.getPath() != null && other.getPath().equals(this.getPath()) == false) return false;
    if (other.getServerCertificateName() == null ^ this.getServerCertificateName() == null)
      return false;
    if (other.getServerCertificateName() != null
        && other.getServerCertificateName().equals(this.getServerCertificateName()) == false)
      return false;
    if (other.getCertificateBody() == null ^ this.getCertificateBody() == null) return false;
    if (other.getCertificateBody() != null
        && other.getCertificateBody().equals(this.getCertificateBody()) == false) return false;
    if (other.getPrivateKey() == null ^ this.getPrivateKey() == null) return false;
    if (other.getPrivateKey() != null
        && other.getPrivateKey().equals(this.getPrivateKey()) == false) return false;
    if (other.getCertificateChain() == null ^ this.getCertificateChain() == null) return false;
    if (other.getCertificateChain() != null
        && other.getCertificateChain().equals(this.getCertificateChain()) == false) return false;
    return true;
  }