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

GuillaumeDmns / website-back / 26

07 Dec 2025 10:45PM UTC coverage: 0.0%. Remained the same
26

push

github

GuillaumeDmns
Add some more Navitia fields

0 of 234 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 42 new or added lines in 4 files covered. (0.0%)

3 existing lines in 3 files now uncovered.

0 of 4249 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
    "vias"
35
})
36
@Generated("jsonschema2pojo")
37
public class Section {
×
38

39
    private VJDisplayInformation displayInformations;
40

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

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

47
    private SectionTransferTypeEnum transferType;
48

49
    private String arrivalDateTime = null;
×
50

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

53
    private String departureDateTime;
54

55
//    private RidesharingInformation ridesharingInformations;
56

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

60
    private String baseArrivalDateTime;
61

62
    private String baseDepartureDateTime;
63

64
    private Amount co2Emission;
65

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

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

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

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

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

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

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

85
    private SectionDataFreshnessEnum dataFreshness;
86

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

90
    private List<BoardingPositionEnum> bestBoardingPositions = null;
×
91

NEW
92
    @JsonProperty("via")
×
93
    private List<Via> vias = null;
94

UNCOV
95
    @JsonIgnore
×
96
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
97

98
    @JsonProperty("displayInformations")
99
    public VJDisplayInformation getDisplayInformations() {
100
        return displayInformations;
×
101
    }
102

103
    @JsonProperty("display_informations")
104
    public void setDisplayInformations(VJDisplayInformation displayInformations) {
105
        this.displayInformations = displayInformations;
×
106
    }
×
107

108
    @JsonProperty("from")
109
    public Place getFrom() {
110
        return from;
×
111
    }
112

113
    @JsonProperty("from")
114
    public void setFrom(Place from) {
115
        this.from = from;
×
116
    }
×
117

118
    @JsonProperty("links")
119
    public List<LinkSchema> getLinks() {
120
        return links;
×
121
    }
122

123
    @JsonProperty("links")
124
    public void setLinks(List<LinkSchema> links) {
125
        this.links = links;
×
126
    }
×
127

128
    @JsonProperty("transferType")
129
    public SectionTransferTypeEnum getTransferType() {
130
        return transferType;
×
131
    }
132

133
    @JsonProperty("transfer_type")
134
    public void setTransferType(SectionTransferTypeEnum transferType) {
135
        this.transferType = transferType;
×
136
    }
×
137

138
    @JsonProperty("arrivalDateTime")
139
    public String getArrivalDateTime() {
140
        return arrivalDateTime;
×
141
    }
142

143
    @JsonProperty("arrival_date_time")
144
    public void setArrivalDateTime(String arrivalDateTime) {
145
        this.arrivalDateTime = arrivalDateTime;
×
146
    }
×
147

148
    @JsonProperty("additionalInformations")
149
    public List<SectionAdditionalInformationsEnum> getAdditionalInformations() {
150
        return additionalInformations;
×
151
    }
152

153
    @JsonProperty("additional_informations")
154
    public void setAdditionalInformations(List<SectionAdditionalInformationsEnum> additionalInformations) {
155
        this.additionalInformations = additionalInformations;
×
156
    }
×
157

158
    @JsonProperty("departureDateTime")
159
    public String getDepartureDateTime() {
160
        return departureDateTime;
×
161
    }
162

163
    @JsonProperty("departure_date_time")
164
    public void setDepartureDateTime(String departureDateTime) {
165
        this.departureDateTime = departureDateTime;
×
166
    }
×
167

168
//    @JsonProperty("ridesharingInformations")
169
//    public RidesharingInformation getRidesharingInformations() {
170
//        return ridesharingInformations;
171
//    }
172
//
173
//    @JsonProperty("ridesharing_informations")
174
//    public void setRidesharingInformations(RidesharingInformation ridesharingInformations) {
175
//        this.ridesharingInformations = ridesharingInformations;
176
//    }
177

178
    @JsonProperty("to")
179
    public Place getTo() {
180
        return to;
×
181
    }
182

183
    @JsonProperty("to")
184
    public void setTo(Place to) {
185
        this.to = to;
×
186
    }
×
187

188
    @JsonProperty("baseArrivalDateTime")
189
    public String getBaseArrivalDateTime() {
190
        return baseArrivalDateTime;
×
191
    }
192

193
    @JsonProperty("base_arrival_date_time")
194
    public void setBaseArrivalDateTime(String baseArrivalDateTime) {
195
        this.baseArrivalDateTime = baseArrivalDateTime;
×
196
    }
×
197

198
    @JsonProperty("baseDepartureDateTime")
199
    public String getBaseDepartureDateTime() {
200
        return baseDepartureDateTime;
×
201
    }
202

203
    @JsonProperty("base_departure_date_time")
204
    public void setBaseDepartureDateTime(String baseDepartureDateTime) {
205
        this.baseDepartureDateTime = baseDepartureDateTime;
×
206
    }
×
207

208
    @JsonProperty("co2Emission")
209
    public Amount getCo2Emission() {
210
        return co2Emission;
×
211
    }
212

213
    @JsonProperty("co2_emission")
214
    public void setCo2Emission(Amount co2Emission) {
215
        this.co2Emission = co2Emission;
×
216
    }
×
217

218
    @JsonProperty("ridesharingJourneys")
219
    public List<Journey> getRidesharingJourneys() {
220
        return ridesharingJourneys;
×
221
    }
222

223
    @JsonProperty("ridesharing_journeys")
224
    public void setRidesharingJourneys(List<Journey> ridesharingJourneys) {
225
        this.ridesharingJourneys = ridesharingJourneys;
×
226
    }
×
227

228
    @JsonProperty("geojson")
229
    public SectionGeoJsonSchema getGeojson() {
230
        return geojson;
×
231
    }
232

233
    @JsonProperty("geojson")
234
    public void setGeojson(SectionGeoJsonSchema geojson) {
235
        this.geojson = geojson;
×
236
    }
×
237

238
    @JsonProperty("duration")
239
    public Integer getDuration() {
240
        return duration;
×
241
    }
242

243
    @JsonProperty("duration")
244
    public void setDuration(Integer duration) {
245
        this.duration = duration;
×
246
    }
×
247

248
    @JsonProperty("path")
249
    public List<Path> getPath() {
250
        return path;
×
251
    }
252

253
    @JsonProperty("path")
254
    public void setPath(List<Path> path) {
255
        this.path = path;
×
256
    }
×
257

258
    @JsonProperty("stopDateTimes")
259
    public List<StopDateTime> getStopDateTimes() {
260
        return stopDateTimes;
×
261
    }
262

263
    @JsonProperty("stop_date_times")
264
    public void setStopDateTimes(List<StopDateTime> stopDateTimes) {
265
        this.stopDateTimes = stopDateTimes;
×
266
    }
×
267

268
    @JsonProperty("type")
269
    public SectionTypeEnum getType() {
270
        return type;
×
271
    }
272

273
    @JsonProperty("type")
274
    public void setType(SectionTypeEnum type) {
275
        this.type = type;
×
276
    }
×
277

278
    @JsonProperty("id")
279
    public String getId() {
280
        return id;
×
281
    }
282

283
    @JsonProperty("id")
284
    public void setId(String id) {
285
        this.id = id;
×
286
    }
×
287

288
    @JsonProperty("dataFreshness")
289
    public SectionDataFreshnessEnum getDataFreshness() {
290
        return dataFreshness;
×
291
    }
292

293
    @JsonProperty("data_freshness")
294
    public void setDataFreshness(SectionDataFreshnessEnum dataFreshness) {
295
        this.dataFreshness = dataFreshness;
×
296
    }
×
297

298
    @JsonProperty("mode")
299
    public SectionModeEnum getMode() {
300
        return mode;
×
301
    }
302

303
    @JsonProperty("mode")
304
    public void setMode(SectionModeEnum mode) {
305
        this.mode = mode;
×
306
    }
×
307

308
    @JsonProperty("bestBoardingPositions")
309
    public List<BoardingPositionEnum> getBestBoardingPositions() {
310
        return bestBoardingPositions;
×
311
    }
312

313
    @JsonProperty("best_boarding_positions")
314
    public void setBestBoardingPositions(List<BoardingPositionEnum> bestBoardingPositions) {
315
        this.bestBoardingPositions = bestBoardingPositions;
×
316
    }
×
317

318
    @JsonProperty("vias")
319
    public List<Via> getVias() {
NEW
320
        return vias;
×
321
    }
322

323
    @JsonProperty("vias")
324
    public void setVias(List<Via> vias) {
NEW
325
        this.vias = vias;
×
NEW
326
    }
×
327

328
    @JsonAnyGetter
329
    public Map<String, Object> getAdditionalProperties() {
330
        return this.additionalProperties;
×
331
    }
332

333
    @JsonAnySetter
334
    public void setAdditionalProperty(String name, Object value) {
335
        this.additionalProperties.put(name, value);
×
336
    }
×
337

338
}
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