/* Options: Date: 2026-10-20 16:52:52 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://isp-plauen-servdesk.eras-online.de //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetDeviceList.* //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", Verbs="GET") public static class GetDeviceList implements IReturn, IHasBearerToken { @ApiMember(IsRequired=true, ParameterType="query") public String bearerToken = null; /** * Optional! Follow the format : /api/v1/devices?filter[ObjektGuid]=* */ @DataMember(Name="filter[ObjektGuid]") @SerializedName("filter[ObjektGuid]") @ApiMember(Description="Optional! Follow the format : /api/v1/devices?filter[ObjektGuid]=*", ParameterType="query") public String filterByObjektGuid = null; /** * Optional! Follow the format : /api/v1/devices?filter[NutzerGuid]=* */ @DataMember(Name="filter[NutzerGuid]") @SerializedName("filter[NutzerGuid]") @ApiMember(Description="Optional! Follow the format : /api/v1/devices?filter[NutzerGuid]=*", ParameterType="query") public String filterByNutzeinheitGuid = null; public String getBearerToken() { return bearerToken; } public GetDeviceList setBearerToken(String value) { this.bearerToken = value; return this; } public String getFilterByObjektGuid() { return filterByObjektGuid; } public GetDeviceList setFilterByObjektGuid(String value) { this.filterByObjektGuid = value; return this; } public String getFilterByNutzeinheitGuid() { return filterByNutzeinheitGuid; } public GetDeviceList setFilterByNutzeinheitGuid(String value) { this.filterByNutzeinheitGuid = value; return this; } private static Object responseType = GetDeviceListResponse.class; public Object getResponseType() { return responseType; } } public static class GetDeviceListResponse { public ArrayList deviceList = null; public ResponseStatus responseStatus = null; public ArrayList getDeviceList() { return deviceList; } public GetDeviceListResponse setDeviceList(ArrayList value) { this.deviceList = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetDeviceListResponse 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; } } }