/* Options: Date: 2025-09-03 18:50:41 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: GetRecentJobRequest.* //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="/jobs/recent", Verbs="GET") public static class GetRecentJobRequest extends GetOperationTenanted implements IReturn { public String machineId = null; public String getMachineId() { return machineId; } public GetRecentJobRequest setMachineId(String value) { this.machineId = value; return this; } private static Object responseType = GetRecentJobResponse.class; public Object getResponseType() { return responseType; } } public static class GetRecentJobResponse { public ResponseStatus responseStatus = null; public Job job = null; public ResponseStatus getResponseStatus() { return responseStatus; } public GetRecentJobResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Job getJob() { return job; } public GetRecentJobResponse setJob(Job value) { this.job = 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 Job implements IIdentifiableResource { public String machineId = null; public String name = null; public Integer totalLayers = null; public Date startedAt = null; public Date finishedAt = null; public Boolean aborted = null; public String id = null; public String getMachineId() { return machineId; } public Job setMachineId(String value) { this.machineId = value; return this; } public String getName() { return name; } public Job setName(String value) { this.name = value; return this; } public Integer getTotalLayers() { return totalLayers; } public Job setTotalLayers(Integer value) { this.totalLayers = value; return this; } public Date getStartedAt() { return startedAt; } public Job setStartedAt(Date value) { this.startedAt = value; return this; } public Date getFinishedAt() { return finishedAt; } public Job setFinishedAt(Date value) { this.finishedAt = value; return this; } public Boolean isAborted() { return aborted; } public Job setAborted(Boolean value) { this.aborted = value; return this; } public String getId() { return id; } public Job setId(String value) { this.id = value; return this; } } public static interface IIdentifiableResource { public String id = null; } }