package com.airlock.iam.common.application.configuration.meta;

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

public final class ApplicationsLicensedData {
   private final boolean licensed;

   @SuppressFBWarnings(justification = "generated code")
   public ApplicationsLicensedData(boolean licensed) {
      this.licensed = licensed;
   }

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

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

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "ApplicationsLicensedData(licensed=" + this.isLicensed() + ")";
   }
}
