package xyz.mcutils.backend.common; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @AllArgsConstructor @NoArgsConstructor @Getter public class CachedResponse { /** * The cache information for this response. */ private Cache cache; @AllArgsConstructor @Getter @Setter public static class Cache { /** * Whether this request is cached. */ private boolean cached; /** * The unix timestamp of when this was cached. */ private long cachedTime; /** * Create a new cache information object with the default values. *
* The default values are:
*
*