/* Options: Date: 2025-09-03 18:55:10 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://foundrystage-api-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetWarningRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/warnings/{Id}", Verbs="GET") public static class GetWarningRequest extends GetOperationTenanted implements IReturn { public String id = null; public String getId() { return id; } public GetWarningRequest setId(String value) { this.id = value; return this; } private static Object responseType = GetWarningResponse.class; public Object getResponseType() { return responseType; } } public static class GetWarningResponse { public ResponseStatus responseStatus = null; public Warning warning = null; public ResponseStatus getResponseStatus() { return responseStatus; } public GetWarningResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Warning getWarning() { return warning; } public GetWarningResponse setWarning(Warning value) { this.warning = value; return this; } } public static class GetOperationUnTenanted implements IHasGetOptions, IGet { public String embed = null; public String getEmbed() { return embed; } public GetOperationUnTenanted setEmbed(String value) { this.embed = value; return this; } } public static interface IHasGetOptions { public String embed = null; } public static interface ITenantedRequest { public String organisationId = null; } public static class GetOperationTenanted extends GetOperationUnTenanted implements ITenantedRequest { public String organisationId = null; public String getOrganisationId() { return organisationId; } public GetOperationTenanted setOrganisationId(String value) { this.organisationId = value; return this; } } public static class Warning implements IIdentifiableResource { public String id = null; public String machineId = null; public String type = null; public Date startedAt = null; public Date resolvedAt = null; public String description = null; public String getId() { return id; } public Warning setId(String value) { this.id = value; return this; } public String getMachineId() { return machineId; } public Warning setMachineId(String value) { this.machineId = value; return this; } public String getType() { return type; } public Warning setType(String value) { this.type = value; return this; } public Date getStartedAt() { return startedAt; } public Warning setStartedAt(Date value) { this.startedAt = value; return this; } public Date getResolvedAt() { return resolvedAt; } public Warning setResolvedAt(Date value) { this.resolvedAt = value; return this; } public String getDescription() { return description; } public Warning setDescription(String value) { this.description = value; return this; } } public static interface IIdentifiableResource { public String id = null; } }