package com.airlock.iam.flow.shared.infrastructure.transfer.response;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

public final class ReCaptchaChallengeData {
   private String type;
   private String key;

   @SuppressFBWarnings(justification = "generated code")
   public String getType() {
      return this.type;
   }

   @SuppressFBWarnings(justification = "generated code")
   public String getKey() {
      return this.key;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setType(String type) {
      this.type = type;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setKey(String key) {
      this.key = key;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ReCaptchaChallengeData other)) {
         return false;
      } else {
         Object this$type = this.type;
         Object other$type = other.type;
         if (this$type == null ? other$type == null : this$type.equals(other$type)) {
            Object this$key = this.key;
            Object other$key = other.key;
            return this$key == null ? other$key == null : this$key.equals(other$key);
         } else {
            return false;
         }
      }
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $type = this.type;
      result = result * 59 + ($type == null ? 43 : $type.hashCode());
      Object $key = this.key;
      return result * 59 + ($key == null ? 43 : $key.hashCode());
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "ReCaptchaChallengeData(type=" + this.getType() + ", key=" + this.getKey() + ")";
   }
}
