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

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

public class OathOtpActivationLetterOrder {
   private final boolean ordered;

   @SuppressFBWarnings(justification = "generated code")
   OathOtpActivationLetterOrder(boolean ordered) {
      this.ordered = ordered;
   }

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

   @SuppressFBWarnings(justification = "generated code")
   public boolean isOrdered() {
      return this.ordered;
   }

   @SuppressFBWarnings(justification = "generated code")
   public static class OathOtpActivationLetterOrderBuilder {
      @SuppressFBWarnings(justification = "generated code")
      private boolean ordered;

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

      @SuppressFBWarnings(justification = "generated code")
      public OathOtpActivationLetterOrder.OathOtpActivationLetterOrderBuilder ordered(boolean ordered) {
         this.ordered = ordered;
         return this;
      }

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

      @SuppressFBWarnings(justification = "generated code")
      @Override
      public String toString() {
         return "OathOtpActivationLetterOrder.OathOtpActivationLetterOrderBuilder(ordered=" + this.ordered + ")";
      }
   }
}
