package com.airlock.iam.admin.domain.model.token.oathotp;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.Date;

public class OathOtpActivationLetter {
   private final Date generationDate;

   @SuppressFBWarnings(justification = "generated code")
   OathOtpActivationLetter(Date generationDate) {
      this.generationDate = generationDate;
   }

   @SuppressFBWarnings(justification = "generated code")
   public static OathOtpActivationLetter.OathOtpActivationLetterBuilder builder() {
      return new OathOtpActivationLetter.OathOtpActivationLetterBuilder();
   }

   @SuppressFBWarnings(justification = "generated code")
   public Date getGenerationDate() {
      return this.generationDate;
   }

   @SuppressFBWarnings(justification = "generated code")
   public static class OathOtpActivationLetterBuilder {
      @SuppressFBWarnings(justification = "generated code")
      private Date generationDate;

      @SuppressFBWarnings(justification = "generated code")
      OathOtpActivationLetterBuilder() {
      }

      @SuppressFBWarnings(justification = "generated code")
      public OathOtpActivationLetter.OathOtpActivationLetterBuilder generationDate(Date generationDate) {
         this.generationDate = generationDate;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public OathOtpActivationLetter build() {
         return new OathOtpActivationLetter(this.generationDate);
      }

      @SuppressFBWarnings(justification = "generated code")
      @Override
      public String toString() {
         return "OathOtpActivationLetter.OathOtpActivationLetterBuilder(generationDate=" + this.generationDate + ")";
      }
   }
}
