// Generated by delombok at Tue Dec 16 19:35:27 UTC 2025
package net.md_5.bungee.api.score;

/**
 * Represents a scoreboard score entry.
 */
public class Score {
    /**
     * Name to be displayed in the list.
     */
    private final String itemName; // Player
    /**
     * Unique name of the score.
     */
    private final String scoreName; // Score
    /**
     * Value of the score.
     */
    private final int value;

    /**
     * Creates a new {@code Score} instance.
     *
     * @param itemName Name to be displayed in the list.
     * @param scoreName Unique name of the score.
     * @param value Value of the score.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Score(final String itemName, final String scoreName, final int value) {
        this.itemName = itemName;
        this.scoreName = scoreName;
        this.value = value;
    }

    /**
     * Name to be displayed in the list.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getItemName() {
        return this.itemName;
    }

    /**
     * Unique name of the score.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getScoreName() {
        return this.scoreName;
    }

    /**
     * Value of the score.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int getValue() {
        return this.value;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public boolean equals(final java.lang.Object o) {
        if (o == this) return true;
        if (!(o instanceof Score)) return false;
        final Score other = (Score) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        if (this.getValue() != other.getValue()) return false;
        final java.lang.Object this$itemName = this.getItemName();
        final java.lang.Object other$itemName = other.getItemName();
        if (this$itemName == null ? other$itemName != null : !this$itemName.equals(other$itemName)) return false;
        final java.lang.Object this$scoreName = this.getScoreName();
        final java.lang.Object other$scoreName = other.getScoreName();
        if (this$scoreName == null ? other$scoreName != null : !this$scoreName.equals(other$scoreName)) return false;
        return true;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof Score;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * PRIME + this.getValue();
        final java.lang.Object $itemName = this.getItemName();
        result = result * PRIME + ($itemName == null ? 43 : $itemName.hashCode());
        final java.lang.Object $scoreName = this.getScoreName();
        result = result * PRIME + ($scoreName == null ? 43 : $scoreName.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "Score(itemName=" + this.getItemName() + ", scoreName=" + this.getScoreName() + ", value=" + this.getValue() + ")";
    }
}
