/* Options: Date: 2026-10-20 16:28:07 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stoetzer-servdesk.eras-online.de //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetDevice.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/api/v1/devices/{Guid}", Verbs="GET") public static class GetDevice implements IReturn, IHasBearerToken { @ApiMember(IsRequired=true, ParameterType="query") public String bearerToken = null; @ApiMember(IsRequired=true, ParameterType="path") public UUID guid = null; public String getBearerToken() { return bearerToken; } public GetDevice setBearerToken(String value) { this.bearerToken = value; return this; } public UUID getGuid() { return guid; } public GetDevice setGuid(UUID value) { this.guid = value; return this; } private static Object responseType = GetDeviceResponse.class; public Object getResponseType() { return responseType; } } public static class GetDeviceResponse { public Device device = null; public ResponseStatus responseStatus = null; public Device getDevice() { return device; } public GetDeviceResponse setDevice(Device value) { this.device = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetDeviceResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class Device { @DataMember(Name="Guid") @SerializedName("Guid") public String guid = null; @DataMember(Name="Geraetenummer") @SerializedName("Geraetenummer") public String number = null; @DataMember(Name="Bezeichnung") @SerializedName("Bezeichnung") public String label = null; @DataMember(Name="Beschreibung") @SerializedName("Beschreibung") public String description = null; @DataMember(Name="Einbaudatum") @SerializedName("Einbaudatum") public Date installationDate = null; @DataMember(Name="Ausbaudatum") @SerializedName("Ausbaudatum") public Date deinstallationDate = null; @DataMember(Name="Eichdatum") @SerializedName("Eichdatum") public Date calibrationDate = null; @DataMember(Name="Einheit") @SerializedName("Einheit") public String unit = null; @DataMember(Name="Memo") @SerializedName("Memo") public String note = null; @DataMember(Name="DeviceCatalogGuid") @SerializedName("DeviceCatalogGuid") public String deviceCatalogGuid = null; public String getGuid() { return guid; } public Device setGuid(String value) { this.guid = value; return this; } public String getNumber() { return number; } public Device setNumber(String value) { this.number = value; return this; } public String getLabel() { return label; } public Device setLabel(String value) { this.label = value; return this; } public String getDescription() { return description; } public Device setDescription(String value) { this.description = value; return this; } public Date getInstallationDate() { return installationDate; } public Device setInstallationDate(Date value) { this.installationDate = value; return this; } public Date getDeinstallationDate() { return deinstallationDate; } public Device setDeinstallationDate(Date value) { this.deinstallationDate = value; return this; } public Date getCalibrationDate() { return calibrationDate; } public Device setCalibrationDate(Date value) { this.calibrationDate = value; return this; } public String getUnit() { return unit; } public Device setUnit(String value) { this.unit = value; return this; } public String getNote() { return note; } public Device setNote(String value) { this.note = value; return this; } public String getDeviceCatalogGuid() { return deviceCatalogGuid; } public Device setDeviceCatalogGuid(String value) { this.deviceCatalogGuid = value; return this; } } @DataContract public static class Device { @DataMember public UUID guid = null; @DataMember public String number = null; @DataMember public String label = null; @DataMember public String description = null; @DataMember public Date installationDate = null; @DataMember public Date deinstallationDate = null; @DataMember public Date calibrationDate = null; @DataMember public EinheitType unit = null; @DataMember public String note = null; @DataMember public DeviceCatalog deviceCatalog = null; @DataMember public ArrayList deviceConsumptions = null; public UUID getGuid() { return guid; } public Device setGuid(UUID value) { this.guid = value; return this; } public String getNumber() { return number; } public Device setNumber(String value) { this.number = value; return this; } public String getLabel() { return label; } public Device setLabel(String value) { this.label = value; return this; } public String getDescription() { return description; } public Device setDescription(String value) { this.description = value; return this; } public Date getInstallationDate() { return installationDate; } public Device setInstallationDate(Date value) { this.installationDate = value; return this; } public Date getDeinstallationDate() { return deinstallationDate; } public Device setDeinstallationDate(Date value) { this.deinstallationDate = value; return this; } public Date getCalibrationDate() { return calibrationDate; } public Device setCalibrationDate(Date value) { this.calibrationDate = value; return this; } public EinheitType getUnit() { return unit; } public Device setUnit(EinheitType value) { this.unit = value; return this; } public String getNote() { return note; } public Device setNote(String value) { this.note = value; return this; } public DeviceCatalog getDeviceCatalog() { return deviceCatalog; } public Device setDeviceCatalog(DeviceCatalog value) { this.deviceCatalog = value; return this; } public ArrayList getDeviceConsumptions() { return deviceConsumptions; } public Device setDeviceConsumptions(ArrayList value) { this.deviceConsumptions = value; return this; } } }