package com.airlock.iam.publicselfservice.infrastructure.transfer.ui;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.swagger.v3.oas.annotations.media.Schema;

public class FlowIdData {
   @Schema(description = "The flow ID.")
   private String flowId;

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

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

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

         Object this$flowId = this.flowId;
         Object other$flowId = other.flowId;
         return this$flowId == null ? other$flowId == null : this$flowId.equals(other$flowId);
      }
   }

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

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "FlowIdData(flowId=" + this.getFlowId() + ")";
   }

   @SuppressFBWarnings(justification = "generated code")
   public FlowIdData(String flowId) {
      this.flowId = flowId;
   }

   @SuppressFBWarnings(justification = "generated code")
   public FlowIdData() {
   }
}
