Files
Backend/src/main/java/xyz/mcutils/backend/model/mojang/EndpointStatus.java

35 lines
682 B
Java
Raw Normal View History

2024-04-17 16:35:52 +01:00
package xyz.mcutils.backend.model.mojang;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.Map;
@AllArgsConstructor
@Getter
public class EndpointStatus {
/**
* The list of endpoints and their status.
*/
private final Map<String, Status> endpoints;
public enum Status {
/**
* The service is online and operational.
*/
ONLINE,
/**
* The service is online, but may be experiencing issues.
* This could be due to high load or other issues.
*/
DEGRADED,
/**
* The service is offline and not operational.
*/
OFFLINE
}
}