// Generated by delombok at Fri Oct 24 23:16:37 UTC 2025
package net.md_5.bungee.api.chat.player;

import lombok.NonNull;

public class Property {
    @NonNull
    private String name;
    @NonNull
    private String value;
    private String signature;

    public Property(@NonNull String name, @NonNull String value) {
        this(name, value, null);
        if (name == null) {
            throw new java.lang.NullPointerException("name is marked non-null but is null");
        }
        if (value == null) {
            throw new java.lang.NullPointerException("value is marked non-null but is null");
        }
    }

    @NonNull
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getName() {
        return this.name;
    }

    @NonNull
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getValue() {
        return this.value;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getSignature() {
        return this.signature;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setName(@NonNull final String name) {
        if (name == null) {
            throw new java.lang.NullPointerException("name is marked non-null but is null");
        }
        this.name = name;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setValue(@NonNull final String value) {
        if (value == null) {
            throw new java.lang.NullPointerException("value is marked non-null but is null");
        }
        this.value = value;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setSignature(final String signature) {
        this.signature = signature;
    }

    @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 Property)) return false;
        final Property other = (Property) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$name = this.getName();
        final java.lang.Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        final java.lang.Object this$value = this.getValue();
        final java.lang.Object other$value = other.getValue();
        if (this$value == null ? other$value != null : !this$value.equals(other$value)) return false;
        final java.lang.Object this$signature = this.getSignature();
        final java.lang.Object other$signature = other.getSignature();
        if (this$signature == null ? other$signature != null : !this$signature.equals(other$signature)) return false;
        return true;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final java.lang.Object $value = this.getValue();
        result = result * PRIME + ($value == null ? 43 : $value.hashCode());
        final java.lang.Object $signature = this.getSignature();
        result = result * PRIME + ($signature == null ? 43 : $signature.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "Property(name=" + this.getName() + ", value=" + this.getValue() + ", signature=" + this.getSignature() + ")";
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Property(@NonNull final String name, @NonNull final String value, final String signature) {
        if (name == null) {
            throw new java.lang.NullPointerException("name is marked non-null but is null");
        }
        if (value == null) {
            throw new java.lang.NullPointerException("value is marked non-null but is null");
        }
        this.name = name;
        this.value = value;
        this.signature = signature;
    }
}
