You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/dev/bileto/motis/client/api/GeocodeApi.java
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
importdev.bileto.motis.client.model.Error;
7
7
importdev.bileto.motis.client.model.LocationType;
8
8
importdev.bileto.motis.client.model.Match;
9
+
importdev.bileto.motis.client.model.Mode;
9
10
10
11
importjava.util.HashMap;
11
12
importjava.util.List;
@@ -57,12 +58,13 @@ public void setApiClient(ApiClient apiClient) {
57
58
* @param text the (potentially partially typed) address to resolve
58
59
* @param language language tags as used in OpenStreetMap (usually ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
59
60
* @param type Optional. Default is all types. Only return results of the given types. For example, this can be used to allow only `ADDRESS` and `STOP` results.
61
+
* @param mode Optional. Filter stops by available transport modes. Defaults to applying no filter.
60
62
* @param place Optional. Used for biasing results towards the coordinate. Format: latitude,longitude in degrees
61
63
* @param placeBias Optional. Used for biasing results towards the coordinate. Higher number = higher bias.
62
64
* @return List<Match>
63
65
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -103,14 +106,15 @@ private ResponseSpec geocodeRequestCreation(@jakarta.annotation.Nonnull String t
103
106
* @param text the (potentially partially typed) address to resolve
104
107
* @param language language tags as used in OpenStreetMap (usually ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
105
108
* @param type Optional. Default is all types. Only return results of the given types. For example, this can be used to allow only `ADDRESS` and `STOP` results.
109
+
* @param mode Optional. Filter stops by available transport modes. Defaults to applying no filter.
106
110
* @param place Optional. Used for biasing results towards the coordinate. Format: latitude,longitude in degrees
107
111
* @param placeBias Optional. Used for biasing results towards the coordinate. Higher number = higher bias.
108
112
* @return List<Match>
109
113
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -121,14 +125,15 @@ public List<Match> geocode(@jakarta.annotation.Nonnull String text, @jakarta.ann
121
125
* @param text the (potentially partially typed) address to resolve
122
126
* @param language language tags as used in OpenStreetMap (usually ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
123
127
* @param type Optional. Default is all types. Only return results of the given types. For example, this can be used to allow only `ADDRESS` and `STOP` results.
128
+
* @param mode Optional. Filter stops by available transport modes. Defaults to applying no filter.
124
129
* @param place Optional. Used for biasing results towards the coordinate. Format: latitude,longitude in degrees
125
130
* @param placeBias Optional. Used for biasing results towards the coordinate. Higher number = higher bias.
126
131
* @return ResponseEntity<List<Match>>
127
132
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -139,13 +144,14 @@ public ResponseEntity<List<Match>> geocodeWithHttpInfo(@jakarta.annotation.Nonnu
139
144
* @param text the (potentially partially typed) address to resolve
140
145
* @param language language tags as used in OpenStreetMap (usually ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
141
146
* @param type Optional. Default is all types. Only return results of the given types. For example, this can be used to allow only `ADDRESS` and `STOP` results.
147
+
* @param mode Optional. Filter stops by available transport modes. Defaults to applying no filter.
142
148
* @param place Optional. Used for biasing results towards the coordinate. Format: latitude,longitude in degrees
143
149
* @param placeBias Optional. Used for biasing results towards the coordinate. Higher number = higher bias.
144
150
* @return ResponseSpec
145
151
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
0 commit comments