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

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

public final class FlowContinueRequest {
   @NotNull
   @NotBlank
   private String token;

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

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

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

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "FlowContinueRequest(token=" + this.getToken() + ")";
   }
}
