| POST | /App/{UserId}/Nutzeinheit |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
@DataContract
public static class AddNutzeinheit
{
@DataMember(Name="Nutzeinheit")
@SerializedName("Nutzeinheit")
public Nutzeinheit nutzeinheit = null;
public Nutzeinheit getNutzeinheit() { return nutzeinheit; }
public AddNutzeinheit setNutzeinheit(Nutzeinheit value) { this.nutzeinheit = value; return this; }
}
public static class Nutzeinheit
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
@DataMember(Name="NeNummerInt")
@SerializedName("NeNummerInt")
public String number = null;
@DataMember(Name="Lage")
@SerializedName("Lage")
public String location = null;
@DataMember(Name="BegeReihenfolge")
@SerializedName("BegeReihenfolge")
public String walkSequence = null;
@DataMember(Name="Anmerkung")
@SerializedName("Anmerkung")
public String note = null;
@DataMember(Name="AbrechnungseinheitGuid")
@SerializedName("AbrechnungseinheitGuid")
public UUID abrechnungseinheitGuid = null;
@DataMember(Name="Adresse")
@SerializedName("Adresse")
public Address address = null;
@DataMember(Name="Geraete")
@SerializedName("Geraete")
public IList<Device> devices = null;
@DataMember(Name="Nutzer")
@SerializedName("Nutzer")
public IList<Nutzer> nutzer = null;
@DataMember(Name="Fotos")
@SerializedName("Fotos")
public IList<Photo> photos = null;
public UUID getGuid() { return guid; }
public Nutzeinheit setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public Nutzeinheit setLastModified(Date value) { this.lastModified = value; return this; }
public String getNumber() { return number; }
public Nutzeinheit setNumber(String value) { this.number = value; return this; }
public String getLocation() { return location; }
public Nutzeinheit setLocation(String value) { this.location = value; return this; }
public String getWalkSequence() { return walkSequence; }
public Nutzeinheit setWalkSequence(String value) { this.walkSequence = value; return this; }
public String getNote() { return note; }
public Nutzeinheit setNote(String value) { this.note = value; return this; }
public UUID getAbrechnungseinheitGuid() { return abrechnungseinheitGuid; }
public Nutzeinheit setAbrechnungseinheitGuid(UUID value) { this.abrechnungseinheitGuid = value; return this; }
public Address getAddress() { return address; }
public Nutzeinheit setAddress(Address value) { this.address = value; return this; }
public IList<Device> getDevices() { return devices; }
public Nutzeinheit setDevices(IList<Device> value) { this.devices = value; return this; }
public IList<Nutzer> getNutzer() { return nutzer; }
public Nutzeinheit setNutzer(IList<Nutzer> value) { this.nutzer = value; return this; }
public IList<Photo> getPhotos() { return photos; }
public Nutzeinheit setPhotos(IList<Photo> value) { this.photos = value; return this; }
}
@DataContract
public static class Address
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="Straße")
@SerializedName("Straße")
public String street = null;
@DataMember(Name="Straße2")
@SerializedName("Straße2")
public String street2 = null;
@DataMember(Name="Hausnummer")
@SerializedName("Hausnummer")
public String streetNumber = null;
@DataMember(Name="Postleitzahl")
@SerializedName("Postleitzahl")
public String zipcode = null;
@DataMember(Name="Ort")
@SerializedName("Ort")
public String city = null;
@DataMember(Name="Postfach")
@SerializedName("Postfach")
public String mailbox = null;
@DataMember(Name="Adresszusatz")
@SerializedName("Adresszusatz")
public String additional = null;
@DataMember(Name="Breitengrad")
@SerializedName("Breitengrad")
public Double latitude = null;
@DataMember(Name="Laengengrad")
@SerializedName("Laengengrad")
public Double longitude = null;
public UUID getGuid() { return guid; }
public Address setGuid(UUID value) { this.guid = value; return this; }
public String getStreet() { return street; }
public Address setStreet(String value) { this.street = value; return this; }
public String getStreet2() { return street2; }
public Address setStreet2(String value) { this.street2 = value; return this; }
public String getStreetNumber() { return streetNumber; }
public Address setStreetNumber(String value) { this.streetNumber = value; return this; }
public String getZipcode() { return zipcode; }
public Address setZipcode(String value) { this.zipcode = value; return this; }
public String getCity() { return city; }
public Address setCity(String value) { this.city = value; return this; }
public String getMailbox() { return mailbox; }
public Address setMailbox(String value) { this.mailbox = value; return this; }
public String getAdditional() { return additional; }
public Address setAdditional(String value) { this.additional = value; return this; }
public Double getLatitude() { return latitude; }
public Address setLatitude(Double value) { this.latitude = value; return this; }
public Double getLongitude() { return longitude; }
public Address setLongitude(Double value) { this.longitude = value; return this; }
}
@DataContract
public static class Device
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = 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 UnitKind unit = null;
@DataMember(Name="Memo")
@SerializedName("Memo")
public String note = null;
@DataMember(Name="Abzug")
@SerializedName("Abzug")
public Boolean subtraction = null;
@DataMember(Name="GrpKennung")
@SerializedName("GrpKennung")
public String groupIdentifier = null;
@DataMember(Name="Dauerschaetzung")
@SerializedName("Dauerschaetzung")
public EstimationKind estimation = null;
@DataMember(Name="ErstInbetriebnahme")
@SerializedName("ErstInbetriebnahme")
public Date firstActivation = null;
@DataMember(Name="FirmwareVersion")
@SerializedName("FirmwareVersion")
public String firmwareVersion = null;
@DataMember(Name="RaumGuid")
@SerializedName("RaumGuid")
public UUID roomGuid = null;
@DataMember(Name="LaufendeNummer")
@SerializedName("LaufendeNummer")
public String ongoingNumber = null;
@DataMember(Name="Gemietet")
@SerializedName("Gemietet")
public Boolean isLeased = null;
@DataMember(Name="Gewartet")
@SerializedName("Gewartet")
public Boolean isMaintained = null;
@DataMember(Name="GeraeteKatalogGuid")
@SerializedName("GeraeteKatalogGuid")
public UUID deviceCatalogGuid = null;
@DataMember(Name="Verbraeuche")
@SerializedName("Verbraeuche")
public IList<DeviceConsumption> deviceConsumptions = null;
@DataMember(Name="Fotos")
@SerializedName("Fotos")
public IList<Photo> photos = null;
@DataMember(Name="ZusatzArtikel")
@SerializedName("ZusatzArtikel")
public IList<DeviceAdditionalArticle> deviceAdditionalArticles = null;
public UUID getGuid() { return guid; }
public Device setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public Device setLastModified(Date value) { this.lastModified = 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 UnitKind getUnit() { return unit; }
public Device setUnit(UnitKind value) { this.unit = value; return this; }
public String getNote() { return note; }
public Device setNote(String value) { this.note = value; return this; }
public Boolean isSubtraction() { return subtraction; }
public Device setSubtraction(Boolean value) { this.subtraction = value; return this; }
public String getGroupIdentifier() { return groupIdentifier; }
public Device setGroupIdentifier(String value) { this.groupIdentifier = value; return this; }
public EstimationKind getEstimation() { return estimation; }
public Device setEstimation(EstimationKind value) { this.estimation = value; return this; }
public Date getFirstActivation() { return firstActivation; }
public Device setFirstActivation(Date value) { this.firstActivation = value; return this; }
public String getFirmwareVersion() { return firmwareVersion; }
public Device setFirmwareVersion(String value) { this.firmwareVersion = value; return this; }
public UUID getRoomGuid() { return roomGuid; }
public Device setRoomGuid(UUID value) { this.roomGuid = value; return this; }
public String getOngoingNumber() { return ongoingNumber; }
public Device setOngoingNumber(String value) { this.ongoingNumber = value; return this; }
public Boolean getIsLeased() { return isLeased; }
public Device setIsLeased(Boolean value) { this.isLeased = value; return this; }
public Boolean getIsMaintained() { return isMaintained; }
public Device setIsMaintained(Boolean value) { this.isMaintained = value; return this; }
public UUID getDeviceCatalogGuid() { return deviceCatalogGuid; }
public Device setDeviceCatalogGuid(UUID value) { this.deviceCatalogGuid = value; return this; }
public IList<DeviceConsumption> getDeviceConsumptions() { return deviceConsumptions; }
public Device setDeviceConsumptions(IList<DeviceConsumption> value) { this.deviceConsumptions = value; return this; }
public IList<Photo> getPhotos() { return photos; }
public Device setPhotos(IList<Photo> value) { this.photos = value; return this; }
public IList<DeviceAdditionalArticle> getDeviceAdditionalArticles() { return deviceAdditionalArticles; }
public Device setDeviceAdditionalArticles(IList<DeviceAdditionalArticle> value) { this.deviceAdditionalArticles = value; return this; }
}
public static enum UnitKind
{
L,
Kg,
Cbm,
Stck,
Kwh,
Mwh,
Gwh,
T,
Rm,
Einheit,
Qm,
Gj,
Mj,
Null;
}
public static enum EstimationKind
{
Null,
S1,
S2,
S3,
S4,
S5,
N1,
N2;
}
@DataContract
public static class DeviceConsumption
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
@DataMember(Name="Ablesedatum")
@SerializedName("Ablesedatum")
public Date readingDate = null;
@DataMember(Name="Faktor")
@SerializedName("Faktor")
public Double factor = null;
@DataMember(Name="Ablesung")
@SerializedName("Ablesung")
public Double reading = null;
@DataMember(Name="Verbrauch")
@SerializedName("Verbrauch")
public Double consumption = null;
@DataMember(Name="Aenderungsdatum")
@SerializedName("Aenderungsdatum")
public Date changeDate = null;
@DataMember(Name="Schaetzung")
@SerializedName("Schaetzung")
public EstimationKind estimation = null;
@DataMember(Name="Status")
@SerializedName("Status")
public DeviceConsumptionState state = null;
@DataMember(Name="Anmerkung")
@SerializedName("Anmerkung")
public String note = null;
@DataMember(Name="IstRekonstruiert")
@SerializedName("IstRekonstruiert")
public Boolean isReconstructed = null;
@DataMember(Name="Manuell")
@SerializedName("Manuell")
public Double manual = null;
@DataMember(Name="Herkunft")
@SerializedName("Herkunft")
public DeviceConsumptionOrigin origin = null;
@DataMember(Name="Lufttemperatur")
@SerializedName("Lufttemperatur")
public BigDecimal airTemperature = null;
@DataMember(Name="HeizkörperTemperatur")
@SerializedName("HeizkörperTemperatur")
public BigDecimal radiatorTemperature = null;
@DataMember(Name="LetzterfehlerDatum")
@SerializedName("LetzterfehlerDatum")
public Date lastErrorDate = null;
@DataMember(Name="Fehler")
@SerializedName("Fehler")
public String error = null;
@DataMember(Name="Ampullenfarbe")
@SerializedName("Ampullenfarbe")
public String ampouleColour = null;
@DataMember(Name="AbleseartGuid")
@SerializedName("AbleseartGuid")
public UUID readindKindGuid = null;
public UUID getGuid() { return guid; }
public DeviceConsumption setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public DeviceConsumption setLastModified(Date value) { this.lastModified = value; return this; }
public Date getReadingDate() { return readingDate; }
public DeviceConsumption setReadingDate(Date value) { this.readingDate = value; return this; }
public Double getFactor() { return factor; }
public DeviceConsumption setFactor(Double value) { this.factor = value; return this; }
public Double getReading() { return reading; }
public DeviceConsumption setReading(Double value) { this.reading = value; return this; }
public Double getConsumption() { return consumption; }
public DeviceConsumption setConsumption(Double value) { this.consumption = value; return this; }
public Date getChangeDate() { return changeDate; }
public DeviceConsumption setChangeDate(Date value) { this.changeDate = value; return this; }
public EstimationKind getEstimation() { return estimation; }
public DeviceConsumption setEstimation(EstimationKind value) { this.estimation = value; return this; }
public DeviceConsumptionState getState() { return state; }
public DeviceConsumption setState(DeviceConsumptionState value) { this.state = value; return this; }
public String getNote() { return note; }
public DeviceConsumption setNote(String value) { this.note = value; return this; }
public Boolean getIsReconstructed() { return isReconstructed; }
public DeviceConsumption setIsReconstructed(Boolean value) { this.isReconstructed = value; return this; }
public Double getManual() { return manual; }
public DeviceConsumption setManual(Double value) { this.manual = value; return this; }
public DeviceConsumptionOrigin getOrigin() { return origin; }
public DeviceConsumption setOrigin(DeviceConsumptionOrigin value) { this.origin = value; return this; }
public BigDecimal getAirTemperature() { return airTemperature; }
public DeviceConsumption setAirTemperature(BigDecimal value) { this.airTemperature = value; return this; }
public BigDecimal getRadiatorTemperature() { return radiatorTemperature; }
public DeviceConsumption setRadiatorTemperature(BigDecimal value) { this.radiatorTemperature = value; return this; }
public Date getLastErrorDate() { return lastErrorDate; }
public DeviceConsumption setLastErrorDate(Date value) { this.lastErrorDate = value; return this; }
public String getError() { return error; }
public DeviceConsumption setError(String value) { this.error = value; return this; }
public String getAmpouleColour() { return ampouleColour; }
public DeviceConsumption setAmpouleColour(String value) { this.ampouleColour = value; return this; }
public UUID getReadindKindGuid() { return readindKindGuid; }
public DeviceConsumption setReadindKindGuid(UUID value) { this.readindKindGuid = value; return this; }
}
public static enum DeviceConsumptionState
{
Null,
RmInOrdnung,
RmFehler,
RmNichtGepr,
RmFehlerTausch,
KeinWohnungszutritt,
Defekt,
FalschLaufend,
Überlauf,
EichungBeachten,
ProbeEntnommen,
ProbeZumLabor,
ProbePositiv,
ProbeNegativ;
}
public static enum DeviceConsumptionOrigin
{
Unbekannt,
Manual,
Emr,
Walkby,
Deleted;
}
@DataContract
public static class Photo
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="Timestamp")
@SerializedName("Timestamp")
public Date recordedDate = null;
public UUID getGuid() { return guid; }
public Photo setGuid(UUID value) { this.guid = value; return this; }
public Date getRecordedDate() { return recordedDate; }
public Photo setRecordedDate(Date value) { this.recordedDate = value; return this; }
}
@DataContract
public static class DeviceAdditionalArticle
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID additionalArticleGuid = null;
@DataMember(Name="Menge")
@SerializedName("Menge")
public BigDecimal quantity = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
public UUID getAdditionalArticleGuid() { return additionalArticleGuid; }
public DeviceAdditionalArticle setAdditionalArticleGuid(UUID value) { this.additionalArticleGuid = value; return this; }
public BigDecimal getQuantity() { return quantity; }
public DeviceAdditionalArticle setQuantity(BigDecimal value) { this.quantity = value; return this; }
public Date getLastModified() { return lastModified; }
public DeviceAdditionalArticle setLastModified(Date value) { this.lastModified = value; return this; }
}
@DataContract
public static class Nutzer
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
@DataMember(Name="ArtDerNutzung")
@SerializedName("ArtDerNutzung")
public NutzerKind kind = null;
@DataMember(Name="Einzug")
@SerializedName("Einzug")
public Date moveInDate = null;
@DataMember(Name="Auszug")
@SerializedName("Auszug")
public Date moveOutDate = null;
@DataMember(Name="Name1")
@SerializedName("Name1")
public String name1 = null;
@DataMember(Name="Name2")
@SerializedName("Name2")
public String name2 = null;
@DataMember(Name="Name3")
@SerializedName("Name3")
public String name3 = null;
@DataMember(Name="Name4")
@SerializedName("Name4")
public String name4 = null;
@DataMember(Name="Anmerkung")
@SerializedName("Anmerkung")
public String note = null;
@DataMember(Name="NaechsterTermin")
@SerializedName("NaechsterTermin")
public Date nextAppointmentDate = null;
@DataMember(Name="Anrede")
@SerializedName("Anrede")
public String salutation = null;
@DataMember(Name="Titel")
@SerializedName("Titel")
public String title = null;
@DataMember(Name="NutzerKommunikationen")
@SerializedName("NutzerKommunikationen")
public ArrayList<NutzerCommunication> nutzerCommunications = null;
@DataMember(Name="NutzerPersonen")
@SerializedName("NutzerPersonen")
public ArrayList<NutzerPersonen> nutzerPersonen = null;
@DataMember(Name="NutzerCoOwnership")
@SerializedName("NutzerCoOwnership")
public ArrayList<NutzerCoOwnership> nutzerCoOwnership = null;
@DataMember(Name="NutzerQuadratmeter")
@SerializedName("NutzerQuadratmeter")
public ArrayList<NutzerQuadratmeter> nutzerQuadratmeter = null;
public UUID getGuid() { return guid; }
public Nutzer setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public Nutzer setLastModified(Date value) { this.lastModified = value; return this; }
public NutzerKind getKind() { return kind; }
public Nutzer setKind(NutzerKind value) { this.kind = value; return this; }
public Date getMoveInDate() { return moveInDate; }
public Nutzer setMoveInDate(Date value) { this.moveInDate = value; return this; }
public Date getMoveOutDate() { return moveOutDate; }
public Nutzer setMoveOutDate(Date value) { this.moveOutDate = value; return this; }
public String getName1() { return name1; }
public Nutzer setName1(String value) { this.name1 = value; return this; }
public String getName2() { return name2; }
public Nutzer setName2(String value) { this.name2 = value; return this; }
public String getName3() { return name3; }
public Nutzer setName3(String value) { this.name3 = value; return this; }
public String getName4() { return name4; }
public Nutzer setName4(String value) { this.name4 = value; return this; }
public String getNote() { return note; }
public Nutzer setNote(String value) { this.note = value; return this; }
public Date getNextAppointmentDate() { return nextAppointmentDate; }
public Nutzer setNextAppointmentDate(Date value) { this.nextAppointmentDate = value; return this; }
public String getSalutation() { return salutation; }
public Nutzer setSalutation(String value) { this.salutation = value; return this; }
public String getTitle() { return title; }
public Nutzer setTitle(String value) { this.title = value; return this; }
public ArrayList<NutzerCommunication> getNutzerCommunications() { return nutzerCommunications; }
public Nutzer setNutzerCommunications(ArrayList<NutzerCommunication> value) { this.nutzerCommunications = value; return this; }
public ArrayList<NutzerPersonen> getNutzerPersonen() { return nutzerPersonen; }
public Nutzer setNutzerPersonen(ArrayList<NutzerPersonen> value) { this.nutzerPersonen = value; return this; }
public ArrayList<NutzerCoOwnership> getNutzerCoOwnership() { return nutzerCoOwnership; }
public Nutzer setNutzerCoOwnership(ArrayList<NutzerCoOwnership> value) { this.nutzerCoOwnership = value; return this; }
public ArrayList<NutzerQuadratmeter> getNutzerQuadratmeter() { return nutzerQuadratmeter; }
public Nutzer setNutzerQuadratmeter(ArrayList<NutzerQuadratmeter> value) { this.nutzerQuadratmeter = value; return this; }
}
public static enum NutzerKind
{
Leerstand,
Gewerblich,
Privat,
AllgemeineNutzung;
}
@DataContract
public static class NutzerCommunication
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
@DataMember(Name="Adresse")
@SerializedName("Adresse")
public String address = null;
@DataMember(Name="Anmerkung")
@SerializedName("Anmerkung")
public String note = null;
@DataMember(Name="KommunikationsFunktionGuid")
@SerializedName("KommunikationsFunktionGuid")
public UUID communicationFeatureGuid = null;
public UUID getGuid() { return guid; }
public NutzerCommunication setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public NutzerCommunication setLastModified(Date value) { this.lastModified = value; return this; }
public String getAddress() { return address; }
public NutzerCommunication setAddress(String value) { this.address = value; return this; }
public String getNote() { return note; }
public NutzerCommunication setNote(String value) { this.note = value; return this; }
public UUID getCommunicationFeatureGuid() { return communicationFeatureGuid; }
public NutzerCommunication setCommunicationFeatureGuid(UUID value) { this.communicationFeatureGuid = value; return this; }
}
@DataContract
public static class NutzerPersonen
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
@DataMember(Name="Personen")
@SerializedName("Personen")
public Integer numberOfPeople = null;
@DataMember(Name="Von")
@SerializedName("Von")
public Date rangeFrom = null;
@DataMember(Name="Bis")
@SerializedName("Bis")
public Date rangeTo = null;
public UUID getGuid() { return guid; }
public NutzerPersonen setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public NutzerPersonen setLastModified(Date value) { this.lastModified = value; return this; }
public Integer getNumberOfPeople() { return numberOfPeople; }
public NutzerPersonen setNumberOfPeople(Integer value) { this.numberOfPeople = value; return this; }
public Date getRangeFrom() { return rangeFrom; }
public NutzerPersonen setRangeFrom(Date value) { this.rangeFrom = value; return this; }
public Date getRangeTo() { return rangeTo; }
public NutzerPersonen setRangeTo(Date value) { this.rangeTo = value; return this; }
}
@DataContract
public static class NutzerCoOwnership
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
@DataMember(Name="ShareValue")
@SerializedName("ShareValue")
public BigDecimal shareValue = null;
@DataMember(Name="Von")
@SerializedName("Von")
public Date rangeFrom = null;
@DataMember(Name="Bis")
@SerializedName("Bis")
public Date rangeTo = null;
public UUID getGuid() { return guid; }
public NutzerCoOwnership setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public NutzerCoOwnership setLastModified(Date value) { this.lastModified = value; return this; }
public BigDecimal getShareValue() { return shareValue; }
public NutzerCoOwnership setShareValue(BigDecimal value) { this.shareValue = value; return this; }
public Date getRangeFrom() { return rangeFrom; }
public NutzerCoOwnership setRangeFrom(Date value) { this.rangeFrom = value; return this; }
public Date getRangeTo() { return rangeTo; }
public NutzerCoOwnership setRangeTo(Date value) { this.rangeTo = value; return this; }
}
@DataContract
public static class NutzerQuadratmeter
{
@DataMember(Name="Guid")
@SerializedName("Guid")
public UUID guid = null;
@DataMember(Name="LastModified")
@SerializedName("LastModified")
public Date lastModified = null;
@DataMember(Name="Quadratmeter_Hzg")
@SerializedName("Quadratmeter_Hzg")
public BigDecimal squareMeters_Hzg = null;
@DataMember(Name="Quadratmeter_Ww")
@SerializedName("Quadratmeter_Ww")
public BigDecimal squareMeters_Ww = null;
@DataMember(Name="Quadratmeter_Nk")
@SerializedName("Quadratmeter_Nk")
public BigDecimal squareMeters_Nk = null;
@DataMember(Name="Von")
@SerializedName("Von")
public Date rangeFrom = null;
@DataMember(Name="Bis")
@SerializedName("Bis")
public Date rangeTo = null;
public UUID getGuid() { return guid; }
public NutzerQuadratmeter setGuid(UUID value) { this.guid = value; return this; }
public Date getLastModified() { return lastModified; }
public NutzerQuadratmeter setLastModified(Date value) { this.lastModified = value; return this; }
public BigDecimal getSquareMetersHzg() { return squareMeters_Hzg; }
public NutzerQuadratmeter setSquareMetersHzg(BigDecimal value) { this.squareMeters_Hzg = value; return this; }
public BigDecimal getSquareMetersWw() { return squareMeters_Ww; }
public NutzerQuadratmeter setSquareMetersWw(BigDecimal value) { this.squareMeters_Ww = value; return this; }
public BigDecimal getSquareMetersNk() { return squareMeters_Nk; }
public NutzerQuadratmeter setSquareMetersNk(BigDecimal value) { this.squareMeters_Nk = value; return this; }
public Date getRangeFrom() { return rangeFrom; }
public NutzerQuadratmeter setRangeFrom(Date value) { this.rangeFrom = value; return this; }
public Date getRangeTo() { return rangeTo; }
public NutzerQuadratmeter setRangeTo(Date value) { this.rangeTo = value; return this; }
}
public static class AddNutzeinheitResponse
{
public ResponseStatus responseStatus = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public AddNutzeinheitResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /App/{UserId}/Nutzeinheit HTTP/1.1
Host: marneth-messdienst-servamw.eras-online.de
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Nutzeinheit":{"Guid":"00000000000000000000000000000000","LastModified":"0001-01-01T00:00:00.0000000Z","NeNummerInt":"String","Lage":"String","BegeReihenfolge":"String","Anmerkung":"String","AbrechnungseinheitGuid":"00000000000000000000000000000000","Adresse":{"Guid":"00000000000000000000000000000000","Straße":"String","Straße2":"String","Hausnummer":"String","Postleitzahl":"String","Ort":"String","Postfach":"String","Adresszusatz":"String","Breitengrad":0,"Laengengrad":0}},"UserId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"nutzeinheit":{"Guid":"00000000000000000000000000000000","LastModified":"0001-01-01T00:00:00.0000000Z","NeNummerInt":"String","Lage":"String","BegeReihenfolge":"String","Anmerkung":"String","AbrechnungseinheitGuid":"00000000000000000000000000000000","Adresse":{"Guid":"00000000000000000000000000000000","Straße":"String","Straße2":"String","Hausnummer":"String","Postleitzahl":"String","Ort":"String","Postfach":"String","Adresszusatz":"String","Breitengrad":0,"Laengengrad":0}}}