/* Options: Date: 2025-05-05 22:13:18 Version: 8.61 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-auth-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; } } }