package com.airlock.iam.application.parameters.domain.model;

import com.airlock.iam.system.module.IamModule;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.nio.file.Path;
import java.util.List;

public final class TransactionApprovalParameters extends WebAppParameters {
   public TransactionApprovalParameters(
      String urlPath, List<Log4jConfig> log4jConfigs, String applicationListener, List<Path> classpath, List<Path> classpathExtension
   ) {
      super(urlPath, log4jConfigs, applicationListener, classpath, classpathExtension);
   }

   @Override
   public IamModule module() {
      return IamModule.TRANSACTION_APPROVAL;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "TransactionApprovalParameters()";
   }

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   protected boolean canEqual(Object other) {
      return other instanceof TransactionApprovalParameters;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public int hashCode() {
      return super.hashCode();
   }
}
