package com.airlock.iam.admin.infrastructure.transfer.response;

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

public class AdminappLicenseOverview {
   private Integer licensedUsers;

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

   @SuppressFBWarnings(justification = "generated code")
   public Integer getLicensedUsers() {
      return this.licensedUsers;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setLicensedUsers(Integer licensedUsers) {
      this.licensedUsers = licensedUsers;
   }

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

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

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

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "AdminappLicenseOverview(licensedUsers=" + this.getLicensedUsers() + ")";
   }

   @SuppressFBWarnings(justification = "generated code")
   public AdminappLicenseOverview(Integer licensedUsers) {
      this.licensedUsers = licensedUsers;
   }

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

   @SuppressFBWarnings(justification = "generated code")
   public static class AdminappLicenseOverviewBuilder {
      @SuppressFBWarnings(justification = "generated code")
      private Integer licensedUsers;

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

      @SuppressFBWarnings(justification = "generated code")
      public AdminappLicenseOverview.AdminappLicenseOverviewBuilder licensedUsers(Integer licensedUsers) {
         this.licensedUsers = licensedUsers;
         return this;
      }

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

      @SuppressFBWarnings(justification = "generated code")
      @Override
      public String toString() {
         return "AdminappLicenseOverview.AdminappLicenseOverviewBuilder(licensedUsers=" + this.licensedUsers + ")";
      }
   }
}
