/* Options: Date: 2026-10-20 19:25:14 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://develop-servamw.eras-online.de //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetAppointment.* //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="/WebApp/Appointment/{Guid}", Verbs="GET") @DataContract public static class GetAppointment implements IReturn { @DataMember(Name="Guid") @SerializedName("Guid") public UUID guid = null; @DataMember(Name="AllAppointments") @SerializedName("AllAppointments") public Boolean allAppointments = null; public UUID getGuid() { return guid; } public GetAppointment setGuid(UUID value) { this.guid = value; return this; } public Boolean isAllAppointments() { return allAppointments; } public GetAppointment setAllAppointments(Boolean value) { this.allAppointments = value; return this; } private static Object responseType = GetAppointmentResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/Appointment/{Guid}", Verbs="GET") @DataContract public static class GetAppointment implements IReturn { @DataMember(Name="Guid") @SerializedName("Guid") public UUID guid = null; public UUID getGuid() { return guid; } public GetAppointment setGuid(UUID value) { this.guid = value; return this; } private static Object responseType = GetAppointmentResponse.class; public Object getResponseType() { return responseType; } } public static class GetAppointmentResponse { public Order order = null; public ArrayList backDeviceStates = null; public ResponseStatus responseStatus = null; public Order getOrder() { return order; } public GetAppointmentResponse setOrder(Order value) { this.order = value; return this; } public ArrayList getBackDeviceStates() { return backDeviceStates; } public GetAppointmentResponse setBackDeviceStates(ArrayList value) { this.backDeviceStates = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetAppointmentResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetAppointmentResponse { public Appointment appointment = null; public ResponseStatus responseStatus = null; public Appointment getAppointment() { return appointment; } public GetAppointmentResponse setAppointment(Appointment value) { this.appointment = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetAppointmentResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class Order { @DataMember(Name="Guid") @SerializedName("Guid") public UUID guid = null; @DataMember(Name="LastModified") @SerializedName("LastModified") public Date lastModified = null; @DataMember(Name="AbrechnungseinheitGuid") @SerializedName("AbrechnungseinheitGuid") public UUID abrechnungseinheitGuid = null; @DataMember(Name="AuftragNummer") @SerializedName("AuftragNummer") public String number = null; @DataMember(Name="Bezeichnung") @SerializedName("Bezeichnung") public String label = null; @DataMember(Name="Anmerkung") @SerializedName("Anmerkung") public String note = null; @DataMember(Name="UnterschriftBenoetigt") @SerializedName("UnterschriftBenoetigt") public Boolean isSignatureRequired = null; @DataMember(Name="Erstellungsdatum") @SerializedName("Erstellungsdatum") public Date createdDate = null; @DataMember(Name="AuftragZustand") @SerializedName("AuftragZustand") public OrderState orderState = null; @DataMember(Name="Termine") @SerializedName("Termine") public IList appointments = null; @DataMember(Name="AuftragsPositionen") @SerializedName("AuftragsPositionen") public IList orderPositions = null; @DataMember(Name="NutzeinheitZustaende") @SerializedName("NutzeinheitZustaende") public IList nutzeinheitOrderStates = null; @DataMember(Name="GeraeteZustaende") @SerializedName("GeraeteZustaende") public IList deviceOrderStates = null; @DataMember(Name="Auftraggeber") @SerializedName("Auftraggeber") public Orderer orderer = null; @DataMember(Name="Unterschriften") @SerializedName("Unterschriften") public IList signatures = null; public UUID getGuid() { return guid; } public Order setGuid(UUID value) { this.guid = value; return this; } public Date getLastModified() { return lastModified; } public Order setLastModified(Date value) { this.lastModified = value; return this; } public UUID getAbrechnungseinheitGuid() { return abrechnungseinheitGuid; } public Order setAbrechnungseinheitGuid(UUID value) { this.abrechnungseinheitGuid = value; return this; } public String getNumber() { return number; } public Order setNumber(String value) { this.number = value; return this; } public String getLabel() { return label; } public Order setLabel(String value) { this.label = value; return this; } public String getNote() { return note; } public Order setNote(String value) { this.note = value; return this; } public Boolean getIsSignatureRequired() { return isSignatureRequired; } public Order setIsSignatureRequired(Boolean value) { this.isSignatureRequired = value; return this; } public Date getCreatedDate() { return createdDate; } public Order setCreatedDate(Date value) { this.createdDate = value; return this; } public OrderState getOrderState() { return orderState; } public Order setOrderState(OrderState value) { this.orderState = value; return this; } public IList getAppointments() { return appointments; } public Order setAppointments(IList value) { this.appointments = value; return this; } public IList getOrderPositions() { return orderPositions; } public Order setOrderPositions(IList value) { this.orderPositions = value; return this; } public IList getNutzeinheitOrderStates() { return nutzeinheitOrderStates; } public Order setNutzeinheitOrderStates(IList value) { this.nutzeinheitOrderStates = value; return this; } public IList getDeviceOrderStates() { return deviceOrderStates; } public Order setDeviceOrderStates(IList value) { this.deviceOrderStates = value; return this; } public Orderer getOrderer() { return orderer; } public Order setOrderer(Orderer value) { this.orderer = value; return this; } public IList getSignatures() { return signatures; } public Order setSignatures(IList value) { this.signatures = value; return this; } } @DataContract public static class Appointment { @DataMember(Name="Guid") @SerializedName("Guid") public UUID guid = null; @DataMember(Name="Von") @SerializedName("Von") public Date from = null; @DataMember(Name="Bis") @SerializedName("Bis") public Date to = null; @DataMember(Name="Monteure") @SerializedName("Monteure") public IList appointmentStoreUsers = null; @DataMember(Name="Nutzeinheiten") @SerializedName("Nutzeinheiten") public IList appointmentNutzeinheiten = null; public UUID getGuid() { return guid; } public Appointment setGuid(UUID value) { this.guid = value; return this; } public Date getFrom() { return from; } public Appointment setFrom(Date value) { this.from = value; return this; } public Date getTo() { return to; } public Appointment setTo(Date value) { this.to = value; return this; } public IList getAppointmentStoreUsers() { return appointmentStoreUsers; } public Appointment setAppointmentStoreUsers(IList value) { this.appointmentStoreUsers = value; return this; } public IList getAppointmentNutzeinheiten() { return appointmentNutzeinheiten; } public Appointment setAppointmentNutzeinheiten(IList value) { this.appointmentNutzeinheiten = value; return this; } } public static class Order { @DataMember(Name="Guid") @SerializedName("Guid") public UUID guid = null; @DataMember(Name="Abrechnungseinheit") @SerializedName("Abrechnungseinheit") public Abrechnungseinheit abrechnungseinheit = null; @DataMember(Name="AuftragNummer") @SerializedName("AuftragNummer") public String number = null; @DataMember(Name="Bezeichnung") @SerializedName("Bezeichnung") public String label = null; @DataMember(Name="Anmerkung") @SerializedName("Anmerkung") public String note = null; @DataMember(Name="Termine") @SerializedName("Termine") public IList appointments = null; @DataMember(Name="AuftragZustand") @SerializedName("AuftragZustand") public OrderState orderState = null; public UUID getGuid() { return guid; } public Order setGuid(UUID value) { this.guid = value; return this; } public Abrechnungseinheit getAbrechnungseinheit() { return abrechnungseinheit; } public Order setAbrechnungseinheit(Abrechnungseinheit value) { this.abrechnungseinheit = value; return this; } public String getNumber() { return number; } public Order setNumber(String value) { this.number = value; return this; } public String getLabel() { return label; } public Order setLabel(String value) { this.label = value; return this; } public String getNote() { return note; } public Order setNote(String value) { this.note = value; return this; } public IList getAppointments() { return appointments; } public Order setAppointments(IList value) { this.appointments = value; return this; } public OrderState getOrderState() { return orderState; } public Order setOrderState(OrderState value) { this.orderState = value; return this; } } @DataContract public static class DeviceOrderState { @DataMember(Name="GeraeteGuid") @SerializedName("GeraeteGuid") public UUID deviceGuid = null; @DataMember(Name="AuftragGuid") @SerializedName("AuftragGuid") public UUID orderGuid = null; @DataMember(Name="AuftragArt") @SerializedName("AuftragArt") public DeviceOrderKind orderKind = null; @DataMember(Name="Bearbeitungsstatus") @SerializedName("Bearbeitungsstatus") public ProcessState processState = null; @DataMember(Name="AbgeschlossenDatum") @SerializedName("AbgeschlossenDatum") public Date completedDate = null; @DataMember(Name="AmwInfo") @SerializedName("AmwInfo") public String amwInfo = null; public UUID getDeviceGuid() { return deviceGuid; } public DeviceOrderState setDeviceGuid(UUID value) { this.deviceGuid = value; return this; } public UUID getOrderGuid() { return orderGuid; } public DeviceOrderState setOrderGuid(UUID value) { this.orderGuid = value; return this; } public DeviceOrderKind getOrderKind() { return orderKind; } public DeviceOrderState setOrderKind(DeviceOrderKind value) { this.orderKind = value; return this; } public ProcessState getProcessState() { return processState; } public DeviceOrderState setProcessState(ProcessState value) { this.processState = value; return this; } public Date getCompletedDate() { return completedDate; } public DeviceOrderState setCompletedDate(Date value) { this.completedDate = value; return this; } public String getAmwInfo() { return amwInfo; } public DeviceOrderState setAmwInfo(String value) { this.amwInfo = value; return this; } } @DataContract public static class DeviceOrderState { @DataMember(Name="GeraeteGuid") @SerializedName("GeraeteGuid") public UUID deviceGuid = null; @DataMember(Name="LastModified") @SerializedName("LastModified") public Date lastModified = null; @DataMember(Name="AuftragArt") @SerializedName("AuftragArt") public DeviceOrderKind orderKind = null; @DataMember(Name="Bearbeitungsstatus") @SerializedName("Bearbeitungsstatus") public ProcessState processState = null; @DataMember(Name="AbgeschlossenDatum") @SerializedName("AbgeschlossenDatum") public Date completedDate = null; @DataMember(Name="AmwInfoKeyGuid") @SerializedName("AmwInfoKeyGuid") public UUID amwInfoKeyGuid = null; public UUID getDeviceGuid() { return deviceGuid; } public DeviceOrderState setDeviceGuid(UUID value) { this.deviceGuid = value; return this; } public Date getLastModified() { return lastModified; } public DeviceOrderState setLastModified(Date value) { this.lastModified = value; return this; } public DeviceOrderKind getOrderKind() { return orderKind; } public DeviceOrderState setOrderKind(DeviceOrderKind value) { this.orderKind = value; return this; } public ProcessState getProcessState() { return processState; } public DeviceOrderState setProcessState(ProcessState value) { this.processState = value; return this; } public Date getCompletedDate() { return completedDate; } public DeviceOrderState setCompletedDate(Date value) { this.completedDate = value; return this; } public UUID getAmwInfoKeyGuid() { return amwInfoKeyGuid; } public DeviceOrderState setAmwInfoKeyGuid(UUID value) { this.amwInfoKeyGuid = value; return this; } } @DataContract public static class Appointment { @DataMember(Name="Guid") @SerializedName("Guid") public UUID guid = null; @DataMember(Name="Von") @SerializedName("Von") public Date from = null; @DataMember(Name="Bis") @SerializedName("Bis") public Date to = null; @DataMember(Name="Nutzeinheiten") @SerializedName("Nutzeinheiten") public IList nutzeinheiten = null; @DataMember(Name="TechnicianNames") @SerializedName("TechnicianNames") public IList technicianNames = null; public UUID getGuid() { return guid; } public Appointment setGuid(UUID value) { this.guid = value; return this; } public Date getFrom() { return from; } public Appointment setFrom(Date value) { this.from = value; return this; } public Date getTo() { return to; } public Appointment setTo(Date value) { this.to = value; return this; } public IList getNutzeinheiten() { return nutzeinheiten; } public Appointment setNutzeinheiten(IList value) { this.nutzeinheiten = value; return this; } public IList getTechnicianNames() { return technicianNames; } public Appointment setTechnicianNames(IList value) { this.technicianNames = value; return this; } } public static class Appointment { @DataMember(Name="Guid") @SerializedName("Guid") public UUID guid = null; @DataMember(Name="Von") @SerializedName("Von") public Date from = null; @DataMember(Name="Bis") @SerializedName("Bis") public Date to = null; public UUID getGuid() { return guid; } public Appointment setGuid(UUID value) { this.guid = value; return this; } public Date getFrom() { return from; } public Appointment setFrom(Date value) { this.from = value; return this; } public Date getTo() { return to; } public Appointment setTo(Date value) { this.to = value; return this; } } }