/* Options: Date: 2026-10-20 16:52:14 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://kromer-servamw.eras-online.de //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetHkReferenceData.* //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="/App/{UserId}/HkReferenceData", Verbs="GET") @DataContract public static class GetHkReferenceData extends Eras2AppServiceModelBase implements IReturn { private static Object responseType = GetHkReferenceDataResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetHkReferenceDataResponse { @DataMember(Name="LoadedAt") @SerializedName("LoadedAt") public Date loadedAt = null; @DataMember(Name="Sections") @SerializedName("Sections") public IList sections = null; @DataMember(Name="Groups") @SerializedName("Groups") public IList groups = null; @DataMember(Name="ResponseStatus") @SerializedName("ResponseStatus") public ResponseStatus responseStatus = null; public Date getLoadedAt() { return loadedAt; } public GetHkReferenceDataResponse setLoadedAt(Date value) { this.loadedAt = value; return this; } public IList getSections() { return sections; } public GetHkReferenceDataResponse setSections(IList value) { this.sections = value; return this; } public IList getGroups() { return groups; } public GetHkReferenceDataResponse setGroups(IList value) { this.groups = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetHkReferenceDataResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class Eras2AppServiceModelBase { @DataMember(Name="UserId") @SerializedName("UserId") public UUID userId = null; public UUID getUserId() { return userId; } public Eras2AppServiceModelBase setUserId(UUID value) { this.userId = value; return this; } } @DataContract public static class HkSection { @DataMember(Name="Id") @SerializedName("Id") public Integer id = null; @DataMember(Name="Number") @SerializedName("Number") public Integer number = null; @DataMember(Name="Code") @SerializedName("Code") public String code = null; @DataMember(Name="Name") @SerializedName("Name") public String name = null; @DataMember(Name="Comment") @SerializedName("Comment") public String comment = null; @DataMember(Name="Image") @SerializedName("Image") public byte[] image = null; public Integer getId() { return id; } public HkSection setId(Integer value) { this.id = value; return this; } public Integer getNumber() { return number; } public HkSection setNumber(Integer value) { this.number = value; return this; } public String getCode() { return code; } public HkSection setCode(String value) { this.code = value; return this; } public String getName() { return name; } public HkSection setName(String value) { this.name = value; return this; } public String getComment() { return comment; } public HkSection setComment(String value) { this.comment = value; return this; } public byte[] getImage() { return image; } public HkSection setImage(byte[] value) { this.image = value; return this; } } @DataContract public static class HkGroup { @DataMember(Name="Id") @SerializedName("Id") public Integer id = null; @DataMember(Name="Number") @SerializedName("Number") public Integer number = null; @DataMember(Name="Name") @SerializedName("Name") public String name = null; @DataMember(Name="Comment") @SerializedName("Comment") public String comment = null; @DataMember(Name="SectionId") @SerializedName("SectionId") public Integer sectionId = null; @DataMember(Name="Characteristic") @SerializedName("Characteristic") public String characteristic = null; @DataMember(Name="Parameters") @SerializedName("Parameters") public IList parameters = null; @DataMember(Name="Attributes") @SerializedName("Attributes") public IList attributes = null; @DataMember(Name="Images") @SerializedName("Images") public IList images = null; @DataMember(Name="Layouts") @SerializedName("Layouts") public IList layouts = null; public Integer getId() { return id; } public HkGroup setId(Integer value) { this.id = value; return this; } public Integer getNumber() { return number; } public HkGroup setNumber(Integer value) { this.number = value; return this; } public String getName() { return name; } public HkGroup setName(String value) { this.name = value; return this; } public String getComment() { return comment; } public HkGroup setComment(String value) { this.comment = value; return this; } public Integer getSectionId() { return sectionId; } public HkGroup setSectionId(Integer value) { this.sectionId = value; return this; } public String getCharacteristic() { return characteristic; } public HkGroup setCharacteristic(String value) { this.characteristic = value; return this; } public IList getParameters() { return parameters; } public HkGroup setParameters(IList value) { this.parameters = value; return this; } public IList getAttributes() { return attributes; } public HkGroup setAttributes(IList value) { this.attributes = value; return this; } public IList getImages() { return images; } public HkGroup setImages(IList value) { this.images = value; return this; } public IList getLayouts() { return layouts; } public HkGroup setLayouts(IList value) { this.layouts = value; return this; } } @DataContract public static class HkParameter { @DataMember(Name="RadiatisId") @SerializedName("RadiatisId") public Integer radiatisId = null; @DataMember(Name="Code") @SerializedName("Code") public String code = null; @DataMember(Name="Name") @SerializedName("Name") public String name = null; @DataMember(Name="Comment") @SerializedName("Comment") public String comment = null; @DataMember(Name="Unit") @SerializedName("Unit") public String unit = null; @DataMember(Name="Mandatory") @SerializedName("Mandatory") public Boolean mandatory = null; @DataMember(Name="Position") @SerializedName("Position") public Integer position = null; public Integer getRadiatisId() { return radiatisId; } public HkParameter setRadiatisId(Integer value) { this.radiatisId = value; return this; } public String getCode() { return code; } public HkParameter setCode(String value) { this.code = value; return this; } public String getName() { return name; } public HkParameter setName(String value) { this.name = value; return this; } public String getComment() { return comment; } public HkParameter setComment(String value) { this.comment = value; return this; } public String getUnit() { return unit; } public HkParameter setUnit(String value) { this.unit = value; return this; } public Boolean isMandatory() { return mandatory; } public HkParameter setMandatory(Boolean value) { this.mandatory = value; return this; } public Integer getPosition() { return position; } public HkParameter setPosition(Integer value) { this.position = value; return this; } } @DataContract public static class HkAttribute { @DataMember(Name="RadiatisId") @SerializedName("RadiatisId") public Integer radiatisId = null; @DataMember(Name="Code") @SerializedName("Code") public String code = null; @DataMember(Name="Name") @SerializedName("Name") public String name = null; @DataMember(Name="Notes") @SerializedName("Notes") public IList notes = null; public Integer getRadiatisId() { return radiatisId; } public HkAttribute setRadiatisId(Integer value) { this.radiatisId = value; return this; } public String getCode() { return code; } public HkAttribute setCode(String value) { this.code = value; return this; } public String getName() { return name; } public HkAttribute setName(String value) { this.name = value; return this; } public IList getNotes() { return notes; } public HkAttribute setNotes(IList value) { this.notes = value; return this; } } @DataContract public static class HkLayout { @DataMember(Name="Title") @SerializedName("Title") public String title = null; @DataMember(Name="Comment") @SerializedName("Comment") public String comment = null; @DataMember(Name="Image") @SerializedName("Image") public byte[] image = null; public String getTitle() { return title; } public HkLayout setTitle(String value) { this.title = value; return this; } public String getComment() { return comment; } public HkLayout setComment(String value) { this.comment = value; return this; } public byte[] getImage() { return image; } public HkLayout setImage(byte[] value) { this.image = value; return this; } } @DataContract public static class HkAttributeNote { @DataMember(Name="NoteId") @SerializedName("NoteId") public Integer noteId = null; @DataMember(Name="Name") @SerializedName("Name") public String name = null; @DataMember(Name="ImageSlice") @SerializedName("ImageSlice") public byte[] imageSlice = null; public Integer getNoteId() { return noteId; } public HkAttributeNote setNoteId(Integer value) { this.noteId = value; return this; } public String getName() { return name; } public HkAttributeNote setName(String value) { this.name = value; return this; } public byte[] getImageSlice() { return imageSlice; } public HkAttributeNote setImageSlice(byte[] value) { this.imageSlice = value; return this; } } }