package com.airlock.iam.flow.api.domain.model.step;

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

public final class FlowStepConfigId {
   private final int value;

   @SuppressFBWarnings(justification = "generated code")
   public FlowStepConfigId(int value) {
      this.value = value;
   }

   @SuppressFBWarnings(justification = "generated code")
   public int getValue() {
      return this.value;
   }

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

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "FlowStepConfigId(value=" + this.getValue() + ")";
   }
}
