/* Options: Date: 2025-09-03 18:52:07 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: AddTelemetryRequest.* //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="/machines/{MachineId}/telemetries", Verbs="POST") public static class AddTelemetryRequest extends PutPatchOperationTenanted implements IReturn { public String machineId = null; public ArrayList telemetries = null; public String getMachineId() { return machineId; } public AddTelemetryRequest setMachineId(String value) { this.machineId = value; return this; } public ArrayList getTelemetries() { return telemetries; } public AddTelemetryRequest setTelemetries(ArrayList value) { this.telemetries = value; return this; } private static Object responseType = AddTelemetryResponse.class; public Object getResponseType() { return responseType; } } public static class AddTelemetryResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public AddTelemetryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static interface ITenantedRequest { public String organisationId = null; } public static class PutPatchOperationUnTenanted implements IPatch, IPut { } public static class PutPatchOperationTenanted extends PutPatchOperationUnTenanted implements ITenantedRequest { public String organisationId = null; public String getOrganisationId() { return organisationId; } public PutPatchOperationTenanted setOrganisationId(String value) { this.organisationId = value; return this; } } public static class Telemetry implements IIdentifiableResource { public String type = null; public String value = null; public Date observedAt = null; public String id = null; public String getType() { return type; } public Telemetry setType(String value) { this.type = value; return this; } public String getValue() { return value; } public Telemetry setValue(String value) { this.value = value; return this; } public Date getObservedAt() { return observedAt; } public Telemetry setObservedAt(Date value) { this.observedAt = value; return this; } public String getId() { return id; } public Telemetry setId(String value) { this.id = value; return this; } } public static interface IIdentifiableResource { public String id = null; } }