package com.airlock.iam.admin.application.configuration.maintenancemessages;

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

public class MaintenanceMessageLocationData {
   private String locationName;

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

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

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

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

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

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "MaintenanceMessageLocationData(locationName=" + this.getLocationName() + ")";
   }

   @SuppressFBWarnings(justification = "generated code")
   public MaintenanceMessageLocationData(String locationName) {
      this.locationName = locationName;
   }
}
