diff --git a/sdk/src/main/java/ch/opentransportdata/ojp/data/dto/response/tir/leg/TrackSectionDto.kt b/sdk/src/main/java/ch/opentransportdata/ojp/data/dto/response/tir/leg/TrackSectionDto.kt index 29c36bd..fd38c6e 100644 --- a/sdk/src/main/java/ch/opentransportdata/ojp/data/dto/response/tir/leg/TrackSectionDto.kt +++ b/sdk/src/main/java/ch/opentransportdata/ojp/data/dto/response/tir/leg/TrackSectionDto.kt @@ -14,10 +14,10 @@ import nl.adaptivity.xmlutil.serialization.XmlSerialName @Serializable @XmlSerialName("TrackSection", OJP_NAME_SPACE, "") data class TrackSectionDto( - //todo: check if needed or can be summarized -// val trackSectionStart: TrackSectionStopPlaceRef?, -// val trackSectionEnd: TrackSectionStopPlaceRef?, @XmlElement(true) @XmlSerialName("LinkProjection", OJP_NAME_SPACE, "") - val linkProjection: LinearShapeDto? = null + val linkProjection: LinearShapeDto? = null, + @XmlElement(true) + @XmlSerialName("Length", OJP_NAME_SPACE, "") + val length: Int? = null ) : Parcelable \ No newline at end of file