All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.qytera.qtaf.testrail.entity.Link Maven / Gradle / Ivy

There is a newer version: 0.2.23
Show newest version
// Generated by delombok at Tue Jun 25 12:09:13 UTC 2024
package de.qytera.qtaf.testrail.entity;

/**
 * A TestRail link.
 */
public class Link {
    private Integer next;
    private Integer prev;

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Integer getNext() {
        return this.next;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Integer getPrev() {
        return this.prev;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setNext(final Integer next) {
        this.next = next;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setPrev(final Integer prev) {
        this.prev = prev;
    }

    @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 Link)) return false;
        final Link other = (Link) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$next = this.getNext();
        final java.lang.Object other$next = other.getNext();
        if (this$next == null ? other$next != null : !this$next.equals(other$next)) return false;
        final java.lang.Object this$prev = this.getPrev();
        final java.lang.Object other$prev = other.getPrev();
        if (this$prev == null ? other$prev != null : !this$prev.equals(other$prev)) return false;
        return true;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $next = this.getNext();
        result = result * PRIME + ($next == null ? 43 : $next.hashCode());
        final java.lang.Object $prev = this.getPrev();
        result = result * PRIME + ($prev == null ? 43 : $prev.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "Link(next=" + this.getNext() + ", prev=" + this.getPrev() + ")";
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Link(final Integer next, final Integer prev) {
        this.next = next;
        this.prev = prev;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Link() {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy