package com.airlock.iam.authentication.application.settings;

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

public final class OpenIdConnectSessionManagementSettings {
   private final boolean debug;

   @SuppressFBWarnings(justification = "generated code")
   public OpenIdConnectSessionManagementSettings(boolean debug) {
      this.debug = debug;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isDebug() {
      return this.debug;
   }

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      return result * 59 + (this.debug ? 79 : 97);
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "OpenIdConnectSessionManagementSettings(debug=" + this.isDebug() + ")";
   }
}
