• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GuillaumeDmns / website-back / 24

02 Dec 2025 09:32PM UTC coverage: 0.0%. Remained the same
24

push

github

GuillaumeDmns
Add best boarding positions in section object

0 of 234 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 17 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

0 of 4211 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/gdamiens/website/idfm/navitia/Section.java
1
package com.gdamiens.website.idfm.navitia;
2

3
import com.fasterxml.jackson.annotation.JsonAnyGetter;
4
import com.fasterxml.jackson.annotation.JsonAnySetter;
5
import com.fasterxml.jackson.annotation.JsonIgnore;
6
import com.fasterxml.jackson.annotation.JsonInclude;
7
import com.fasterxml.jackson.annotation.JsonProperty;
8
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
9
import jakarta.annotation.Generated;
10

11
import java.util.HashMap;
12
import java.util.List;
13
import java.util.Map;
14

15
@JsonInclude(JsonInclude.Include.NON_NULL)
16
@JsonPropertyOrder({
17
    "status",
18
    "distances",
19
    "from",
20
    "tags",
21
    "nb_transfers",
22
    "durations",
23
    "arrival_date_time",
24
    "calendars",
25
    "departure_date_time",
26
    "to",
27
    "requested_date_time",
28
    "fare",
29
    "co2_emission",
30
    "type",
31
    "duration",
32
    "sections",
33
    "debug"
34
})
35
@Generated("jsonschema2pojo")
36
public class Section {
×
37

38
    private VJDisplayInformation displayInformations;
39

40
    @JsonProperty("from")
41
    private Place from;
42

43
    @JsonProperty("links")
×
44
    private List<LinkSchema> links = null;
45

46
    private SectionTransferTypeEnum transferType;
47

48
    private String arrivalDateTime = null;
×
49

50
    private List<SectionAdditionalInformationsEnum> additionalInformations = null;
×
51

52
    private String departureDateTime;
53

54
//    private RidesharingInformation ridesharingInformations;
55

56
    @JsonProperty("to")
57
    private Place to;
58

59
    private String baseArrivalDateTime;
60

61
    private String baseDepartureDateTime;
62

63
    private Amount co2Emission;
64

65
    private List<Journey> ridesharingJourneys = null;
×
66

67
    @JsonProperty("geojson")
68
    private SectionGeoJsonSchema geojson;
69

70
    @JsonProperty("duration")
71
    private Integer duration;
72

73
    @JsonProperty("path")
×
74
    private List<Path> path = null;
75

76
    private List<StopDateTime> stopDateTimes = null;
×
77

78
    @JsonProperty("type")
79
    private SectionTypeEnum type;
80

81
    @JsonProperty("id")
82
    private String id;
83

84
    private SectionDataFreshnessEnum dataFreshness;
85

86
    @JsonProperty("mode")
87
    private SectionModeEnum mode;
88

NEW
89
    private List<BoardingPositionEnum> bestBoardingPositions = null;
×
90

UNCOV
91
    @JsonIgnore
×
92
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
93

94
    @JsonProperty("displayInformations")
95
    public VJDisplayInformation getDisplayInformations() {
96
        return displayInformations;
×
97
    }
98

99
    @JsonProperty("display_informations")
100
    public void setDisplayInformations(VJDisplayInformation displayInformations) {
101
        this.displayInformations = displayInformations;
×
102
    }
×
103

104
    @JsonProperty("from")
105
    public Place getFrom() {
106
        return from;
×
107
    }
108

109
    @JsonProperty("from")
110
    public void setFrom(Place from) {
111
        this.from = from;
×
112
    }
×
113

114
    @JsonProperty("links")
115
    public List<LinkSchema> getLinks() {
116
        return links;
×
117
    }
118

119
    @JsonProperty("links")
120
    public void setLinks(List<LinkSchema> links) {
121
        this.links = links;
×
122
    }
×
123

124
    @JsonProperty("transferType")
125
    public SectionTransferTypeEnum getTransferType() {
126
        return transferType;
×
127
    }
128

129
    @JsonProperty("transfer_type")
130
    public void setTransferType(SectionTransferTypeEnum transferType) {
131
        this.transferType = transferType;
×
132
    }
×
133

134
    @JsonProperty("arrivalDateTime")
135
    public String getArrivalDateTime() {
136
        return arrivalDateTime;
×
137
    }
138

139
    @JsonProperty("arrival_date_time")
140
    public void setArrivalDateTime(String arrivalDateTime) {
141
        this.arrivalDateTime = arrivalDateTime;
×
142
    }
×
143

144
    @JsonProperty("additionalInformations")
145
    public List<SectionAdditionalInformationsEnum> getAdditionalInformations() {
146
        return additionalInformations;
×
147
    }
148

149
    @JsonProperty("additional_informations")
150
    public void setAdditionalInformations(List<SectionAdditionalInformationsEnum> additionalInformations) {
151
        this.additionalInformations = additionalInformations;
×
152
    }
×
153

154
    @JsonProperty("departureDateTime")
155
    public String getDepartureDateTime() {
156
        return departureDateTime;
×
157
    }
158

159
    @JsonProperty("departure_date_time")
160
    public void setDepartureDateTime(String departureDateTime) {
161
        this.departureDateTime = departureDateTime;
×
162
    }
×
163

164
//    @JsonProperty("ridesharingInformations")
165
//    public RidesharingInformation getRidesharingInformations() {
166
//        return ridesharingInformations;
167
//    }
168
//
169
//    @JsonProperty("ridesharing_informations")
170
//    public void setRidesharingInformations(RidesharingInformation ridesharingInformations) {
171
//        this.ridesharingInformations = ridesharingInformations;
172
//    }
173

174
    @JsonProperty("to")
175
    public Place getTo() {
176
        return to;
×
177
    }
178

179
    @JsonProperty("to")
180
    public void setTo(Place to) {
181
        this.to = to;
×
182
    }
×
183

184
    @JsonProperty("baseArrivalDateTime")
185
    public String getBaseArrivalDateTime() {
186
        return baseArrivalDateTime;
×
187
    }
188

189
    @JsonProperty("base_arrival_date_time")
190
    public void setBaseArrivalDateTime(String baseArrivalDateTime) {
191
        this.baseArrivalDateTime = baseArrivalDateTime;
×
192
    }
×
193

194
    @JsonProperty("baseDepartureDateTime")
195
    public String getBaseDepartureDateTime() {
196
        return baseDepartureDateTime;
×
197
    }
198

199
    @JsonProperty("base_departure_date_time")
200
    public void setBaseDepartureDateTime(String baseDepartureDateTime) {
201
        this.baseDepartureDateTime = baseDepartureDateTime;
×
202
    }
×
203

204
    @JsonProperty("co2Emission")
205
    public Amount getCo2Emission() {
206
        return co2Emission;
×
207
    }
208

209
    @JsonProperty("co2_emission")
210
    public void setCo2Emission(Amount co2Emission) {
211
        this.co2Emission = co2Emission;
×
212
    }
×
213

214
    @JsonProperty("ridesharingJourneys")
215
    public List<Journey> getRidesharingJourneys() {
216
        return ridesharingJourneys;
×
217
    }
218

219
    @JsonProperty("ridesharing_journeys")
220
    public void setRidesharingJourneys(List<Journey> ridesharingJourneys) {
221
        this.ridesharingJourneys = ridesharingJourneys;
×
222
    }
×
223

224
    @JsonProperty("geojson")
225
    public SectionGeoJsonSchema getGeojson() {
226
        return geojson;
×
227
    }
228

229
    @JsonProperty("geojson")
230
    public void setGeojson(SectionGeoJsonSchema geojson) {
231
        this.geojson = geojson;
×
232
    }
×
233

234
    @JsonProperty("duration")
235
    public Integer getDuration() {
236
        return duration;
×
237
    }
238

239
    @JsonProperty("duration")
240
    public void setDuration(Integer duration) {
241
        this.duration = duration;
×
242
    }
×
243

244
    @JsonProperty("path")
245
    public List<Path> getPath() {
246
        return path;
×
247
    }
248

249
    @JsonProperty("path")
250
    public void setPath(List<Path> path) {
251
        this.path = path;
×
252
    }
×
253

254
    @JsonProperty("stopDateTimes")
255
    public List<StopDateTime> getStopDateTimes() {
256
        return stopDateTimes;
×
257
    }
258

259
    @JsonProperty("stop_date_times")
260
    public void setStopDateTimes(List<StopDateTime> stopDateTimes) {
261
        this.stopDateTimes = stopDateTimes;
×
262
    }
×
263

264
    @JsonProperty("type")
265
    public SectionTypeEnum getType() {
266
        return type;
×
267
    }
268

269
    @JsonProperty("type")
270
    public void setType(SectionTypeEnum type) {
271
        this.type = type;
×
272
    }
×
273

274
    @JsonProperty("id")
275
    public String getId() {
276
        return id;
×
277
    }
278

279
    @JsonProperty("id")
280
    public void setId(String id) {
281
        this.id = id;
×
282
    }
×
283

284
    @JsonProperty("dataFreshness")
285
    public SectionDataFreshnessEnum getDataFreshness() {
286
        return dataFreshness;
×
287
    }
288

289
    @JsonProperty("data_freshness")
290
    public void setDataFreshness(SectionDataFreshnessEnum dataFreshness) {
291
        this.dataFreshness = dataFreshness;
×
292
    }
×
293

294
    @JsonProperty("mode")
295
    public SectionModeEnum getMode() {
296
        return mode;
×
297
    }
298

299
    @JsonProperty("mode")
300
    public void setMode(SectionModeEnum mode) {
301
        this.mode = mode;
×
302
    }
×
303

304
    @JsonProperty("bestBoardingPositions")
305
    public List<BoardingPositionEnum> getBestBoardingPositions() {
NEW
306
        return bestBoardingPositions;
×
307
    }
308

309
    @JsonProperty("best_boarding_positions")
310
    public void setBestBoardingPositions(List<BoardingPositionEnum> bestBoardingPositions) {
NEW
311
        this.bestBoardingPositions = bestBoardingPositions;
×
NEW
312
    }
×
313

314
    @JsonAnyGetter
315
    public Map<String, Object> getAdditionalProperties() {
316
        return this.additionalProperties;
×
317
    }
318

319
    @JsonAnySetter
320
    public void setAdditionalProperty(String name, Object value) {
321
        this.additionalProperties.put(name, value);
×
322
    }
×
323

324
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc