26 lines
550 B
Java
Raw Normal View History

2024-04-27 00:56:22 -04:00
package me.braydon.pia;
import lombok.*;
/**
* A representation of a PIA server.
*
* @author Braydon
*/
@AllArgsConstructor @Getter @EqualsAndHashCode(onlyExplicitlyIncluded = true) @ToString
public final class PIAServer {
/**
* The IPv4 address of this server.
*/
@EqualsAndHashCode.Include @NonNull private final String ip;
/**
* The region of this server.
*/
@NonNull private final String region;
/**
* The unix time of when this server was last seen.
*/
private final long lastSeen;
}