/* Options: Date: 2025-06-27 21:32:42 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: HealthRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/status", Verbs="GET") public static class HealthRequest implements IReturn, IGet { private static Object responseType = HealthResponse.class; public Object getResponseType() { return responseType; } } public static class HealthResponse { public HealthCheckReport result = null; public HealthCheckReport getResult() { return result; } public HealthResponse setResult(HealthCheckReport value) { this.result = value; return this; } } public static class HealthCheckReport { public HealthStatus status = null; public TimeSpan duration = null; public String version = null; public String buildDate = null; public ArrayList entries = null; public HealthStatus getStatus() { return status; } public HealthCheckReport setStatus(HealthStatus value) { this.status = value; return this; } public TimeSpan getDuration() { return duration; } public HealthCheckReport setDuration(TimeSpan value) { this.duration = value; return this; } public String getVersion() { return version; } public HealthCheckReport setVersion(String value) { this.version = value; return this; } public String getBuildDate() { return buildDate; } public HealthCheckReport setBuildDate(String value) { this.buildDate = value; return this; } public ArrayList getEntries() { return entries; } public HealthCheckReport setEntries(ArrayList value) { this.entries = value; return this; } } public static enum HealthStatus { Unhealthy, Degraded, Healthy; } public static class HealthCheckReportEntry { public String key = null; public String description = null; public TimeSpan duration = null; public HealthStatus status = null; public String error = null; public String getKey() { return key; } public HealthCheckReportEntry setKey(String value) { this.key = value; return this; } public String getDescription() { return description; } public HealthCheckReportEntry setDescription(String value) { this.description = value; return this; } public TimeSpan getDuration() { return duration; } public HealthCheckReportEntry setDuration(TimeSpan value) { this.duration = value; return this; } public HealthStatus getStatus() { return status; } public HealthCheckReportEntry setStatus(HealthStatus value) { this.status = value; return this; } public String getError() { return error; } public HealthCheckReportEntry setError(String value) { this.error = value; return this; } } }