From f85db5fee0f7358443ccbb5c2088804e898943f6 Mon Sep 17 00:00:00 2001 From: Rachik ABIDI Date: Wed, 14 Feb 2018 10:44:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Release=201.1.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improving api accessibility --- Cartfile | 2 +- package.json | 2 +- plugin.xml | 2 +- src/android/build.gradle | 2 +- .../kisio/CDVNavitiaSDK/CDVNavitiaSDK.java | 56 +++++++++++++ src/ios/CDVNavitiaSDK.swift | 42 ++++++++++ www/NavitiaSDK.js | 84 +++++++++++++++++++ 7 files changed, 186 insertions(+), 4 deletions(-) diff --git a/Cartfile b/Cartfile index 197bfe7..c884285 100644 --- a/Cartfile +++ b/Cartfile @@ -1 +1 @@ -github "CanalTP/NavitiaSDK_ios" ~> 1.1.0 \ No newline at end of file +github "CanalTP/NavitiaSDK_ios" ~> 1.1.1 \ No newline at end of file diff --git a/package.json b/package.json index 0209060..bc3f784 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-navitia-sdk", - "version": "1.1.0", + "version": "1.1.1", "description": "Cordova plugin for NavitiaSDK iOS & Android", "cordova": { "id": "org-kisio-plugins-navitia-sdk", diff --git a/plugin.xml b/plugin.xml index 65ad3b9..5c09a23 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + NavitiaSDK diff --git a/src/android/build.gradle b/src/android/build.gradle index 9f96cd7..e71bd2e 100644 --- a/src/android/build.gradle +++ b/src/android/build.gradle @@ -6,5 +6,5 @@ repositories { } dependencies { - compile 'org.kisio.sdk:navitia-sdk:1.0.0' + compile 'org.kisio.sdk:navitia-sdk:1.0.1' } \ No newline at end of file diff --git a/src/android/org/kisio/CDVNavitiaSDK/CDVNavitiaSDK.java b/src/android/org/kisio/CDVNavitiaSDK/CDVNavitiaSDK.java index 86b3a38..48b9872 100644 --- a/src/android/org/kisio/CDVNavitiaSDK/CDVNavitiaSDK.java +++ b/src/android/org/kisio/CDVNavitiaSDK/CDVNavitiaSDK.java @@ -8201,6 +8201,10 @@ public void run() { // Param: maxCarDurationToPt, Type: Integer graphicalIsochroneRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt"))); } + if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) { + // Param: maxRidesharingDurationToPt, Type: Integer + graphicalIsochroneRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt"))); + } if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) { // Param: walkingSpeed, Type: Float graphicalIsochroneRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed"))); @@ -8217,6 +8221,10 @@ public void run() { // Param: carSpeed, Type: Float graphicalIsochroneRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed"))); } + if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) { + // Param: ridesharingSpeed, Type: Float + graphicalIsochroneRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed"))); + } if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) { // Param: forbiddenUris, Type: List graphicalIsochroneRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris"))); @@ -8358,6 +8366,10 @@ public void run() { // Param: maxCarDurationToPt, Type: Integer graphicalIsochroneRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt"))); } + if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) { + // Param: maxRidesharingDurationToPt, Type: Integer + graphicalIsochroneRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt"))); + } if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) { // Param: walkingSpeed, Type: Float graphicalIsochroneRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed"))); @@ -8374,6 +8386,10 @@ public void run() { // Param: carSpeed, Type: Float graphicalIsochroneRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed"))); } + if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) { + // Param: ridesharingSpeed, Type: Float + graphicalIsochroneRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed"))); + } if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) { // Param: forbiddenUris, Type: List graphicalIsochroneRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris"))); @@ -8519,6 +8535,10 @@ public void run() { // Param: maxCarDurationToPt, Type: Integer heatMapRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt"))); } + if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) { + // Param: maxRidesharingDurationToPt, Type: Integer + heatMapRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt"))); + } if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) { // Param: walkingSpeed, Type: Float heatMapRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed"))); @@ -8535,6 +8555,10 @@ public void run() { // Param: carSpeed, Type: Float heatMapRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed"))); } + if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) { + // Param: ridesharingSpeed, Type: Float + heatMapRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed"))); + } if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) { // Param: forbiddenUris, Type: List heatMapRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris"))); @@ -8672,6 +8696,10 @@ public void run() { // Param: maxCarDurationToPt, Type: Integer heatMapRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt"))); } + if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) { + // Param: maxRidesharingDurationToPt, Type: Integer + heatMapRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt"))); + } if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) { // Param: walkingSpeed, Type: Float heatMapRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed"))); @@ -8688,6 +8716,10 @@ public void run() { // Param: carSpeed, Type: Float heatMapRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed"))); } + if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) { + // Param: ridesharingSpeed, Type: Float + heatMapRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed"))); + } if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) { // Param: forbiddenUris, Type: List heatMapRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris"))); @@ -10573,6 +10605,10 @@ public void run() { // Param: maxCarDurationToPt, Type: Integer journeysRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt"))); } + if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) { + // Param: maxRidesharingDurationToPt, Type: Integer + journeysRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt"))); + } if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) { // Param: walkingSpeed, Type: Float journeysRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed"))); @@ -10589,6 +10625,10 @@ public void run() { // Param: carSpeed, Type: Float journeysRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed"))); } + if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) { + // Param: ridesharingSpeed, Type: Float + journeysRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed"))); + } if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) { // Param: forbiddenUris, Type: List journeysRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris"))); @@ -10746,6 +10786,10 @@ public void run() { // Param: maxCarDurationToPt, Type: Integer journeysRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt"))); } + if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) { + // Param: maxRidesharingDurationToPt, Type: Integer + journeysRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt"))); + } if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) { // Param: walkingSpeed, Type: Float journeysRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed"))); @@ -10762,6 +10806,10 @@ public void run() { // Param: carSpeed, Type: Float journeysRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed"))); } + if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) { + // Param: ridesharingSpeed, Type: Float + journeysRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed"))); + } if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) { // Param: forbiddenUris, Type: List journeysRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris"))); @@ -10915,6 +10963,10 @@ public void run() { // Param: maxCarDurationToPt, Type: Integer journeysRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt"))); } + if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) { + // Param: maxRidesharingDurationToPt, Type: Integer + journeysRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt"))); + } if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) { // Param: walkingSpeed, Type: Float journeysRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed"))); @@ -10931,6 +10983,10 @@ public void run() { // Param: carSpeed, Type: Float journeysRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed"))); } + if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) { + // Param: ridesharingSpeed, Type: Float + journeysRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed"))); + } if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) { // Param: forbiddenUris, Type: List journeysRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris"))); diff --git a/src/ios/CDVNavitiaSDK.swift b/src/ios/CDVNavitiaSDK.swift index 4a92c24..1225d04 100644 --- a/src/ios/CDVNavitiaSDK.swift +++ b/src/ios/CDVNavitiaSDK.swift @@ -5563,6 +5563,9 @@ import NavitiaSDK if params?.index(forKey: "maxCarDurationToPt") != nil { queryBuilder.withMaxCarDurationToPt(anyToInt(params!["maxCarDurationToPt"]!)) } + if params?.index(forKey: "maxRidesharingDurationToPt") != nil { + queryBuilder.withMaxRidesharingDurationToPt(anyToInt(params!["maxRidesharingDurationToPt"]!)) + } if params?.index(forKey: "walkingSpeed") != nil { queryBuilder.withWalkingSpeed(anyToFloat(params!["walkingSpeed"]!)) } @@ -5575,6 +5578,9 @@ import NavitiaSDK if params?.index(forKey: "carSpeed") != nil { queryBuilder.withCarSpeed(anyToFloat(params!["carSpeed"]!)) } + if params?.index(forKey: "ridesharingSpeed") != nil { + queryBuilder.withRidesharingSpeed(anyToFloat(params!["ridesharingSpeed"]!)) + } if params?.index(forKey: "forbiddenUris") != nil { queryBuilder.withForbiddenUris(arrayToStringDict(params!["forbiddenUris"]!)) } @@ -5694,6 +5700,9 @@ import NavitiaSDK if params?.index(forKey: "maxCarDurationToPt") != nil { queryBuilder.withMaxCarDurationToPt(anyToInt(params!["maxCarDurationToPt"]!)) } + if params?.index(forKey: "maxRidesharingDurationToPt") != nil { + queryBuilder.withMaxRidesharingDurationToPt(anyToInt(params!["maxRidesharingDurationToPt"]!)) + } if params?.index(forKey: "walkingSpeed") != nil { queryBuilder.withWalkingSpeed(anyToFloat(params!["walkingSpeed"]!)) } @@ -5706,6 +5715,9 @@ import NavitiaSDK if params?.index(forKey: "carSpeed") != nil { queryBuilder.withCarSpeed(anyToFloat(params!["carSpeed"]!)) } + if params?.index(forKey: "ridesharingSpeed") != nil { + queryBuilder.withRidesharingSpeed(anyToFloat(params!["ridesharingSpeed"]!)) + } if params?.index(forKey: "forbiddenUris") != nil { queryBuilder.withForbiddenUris(arrayToStringDict(params!["forbiddenUris"]!)) } @@ -5828,6 +5840,9 @@ import NavitiaSDK if params?.index(forKey: "maxCarDurationToPt") != nil { queryBuilder.withMaxCarDurationToPt(anyToInt(params!["maxCarDurationToPt"]!)) } + if params?.index(forKey: "maxRidesharingDurationToPt") != nil { + queryBuilder.withMaxRidesharingDurationToPt(anyToInt(params!["maxRidesharingDurationToPt"]!)) + } if params?.index(forKey: "walkingSpeed") != nil { queryBuilder.withWalkingSpeed(anyToFloat(params!["walkingSpeed"]!)) } @@ -5840,6 +5855,9 @@ import NavitiaSDK if params?.index(forKey: "carSpeed") != nil { queryBuilder.withCarSpeed(anyToFloat(params!["carSpeed"]!)) } + if params?.index(forKey: "ridesharingSpeed") != nil { + queryBuilder.withRidesharingSpeed(anyToFloat(params!["ridesharingSpeed"]!)) + } if params?.index(forKey: "forbiddenUris") != nil { queryBuilder.withForbiddenUris(arrayToStringDict(params!["forbiddenUris"]!)) } @@ -5956,6 +5974,9 @@ import NavitiaSDK if params?.index(forKey: "maxCarDurationToPt") != nil { queryBuilder.withMaxCarDurationToPt(anyToInt(params!["maxCarDurationToPt"]!)) } + if params?.index(forKey: "maxRidesharingDurationToPt") != nil { + queryBuilder.withMaxRidesharingDurationToPt(anyToInt(params!["maxRidesharingDurationToPt"]!)) + } if params?.index(forKey: "walkingSpeed") != nil { queryBuilder.withWalkingSpeed(anyToFloat(params!["walkingSpeed"]!)) } @@ -5968,6 +5989,9 @@ import NavitiaSDK if params?.index(forKey: "carSpeed") != nil { queryBuilder.withCarSpeed(anyToFloat(params!["carSpeed"]!)) } + if params?.index(forKey: "ridesharingSpeed") != nil { + queryBuilder.withRidesharingSpeed(anyToFloat(params!["ridesharingSpeed"]!)) + } if params?.index(forKey: "forbiddenUris") != nil { queryBuilder.withForbiddenUris(arrayToStringDict(params!["forbiddenUris"]!)) } @@ -7511,6 +7535,9 @@ import NavitiaSDK if params?.index(forKey: "maxCarDurationToPt") != nil { queryBuilder.withMaxCarDurationToPt(anyToInt(params!["maxCarDurationToPt"]!)) } + if params?.index(forKey: "maxRidesharingDurationToPt") != nil { + queryBuilder.withMaxRidesharingDurationToPt(anyToInt(params!["maxRidesharingDurationToPt"]!)) + } if params?.index(forKey: "walkingSpeed") != nil { queryBuilder.withWalkingSpeed(anyToFloat(params!["walkingSpeed"]!)) } @@ -7523,6 +7550,9 @@ import NavitiaSDK if params?.index(forKey: "carSpeed") != nil { queryBuilder.withCarSpeed(anyToFloat(params!["carSpeed"]!)) } + if params?.index(forKey: "ridesharingSpeed") != nil { + queryBuilder.withRidesharingSpeed(anyToFloat(params!["ridesharingSpeed"]!)) + } if params?.index(forKey: "forbiddenUris") != nil { queryBuilder.withForbiddenUris(arrayToStringDict(params!["forbiddenUris"]!)) } @@ -7654,6 +7684,9 @@ import NavitiaSDK if params?.index(forKey: "maxCarDurationToPt") != nil { queryBuilder.withMaxCarDurationToPt(anyToInt(params!["maxCarDurationToPt"]!)) } + if params?.index(forKey: "maxRidesharingDurationToPt") != nil { + queryBuilder.withMaxRidesharingDurationToPt(anyToInt(params!["maxRidesharingDurationToPt"]!)) + } if params?.index(forKey: "walkingSpeed") != nil { queryBuilder.withWalkingSpeed(anyToFloat(params!["walkingSpeed"]!)) } @@ -7666,6 +7699,9 @@ import NavitiaSDK if params?.index(forKey: "carSpeed") != nil { queryBuilder.withCarSpeed(anyToFloat(params!["carSpeed"]!)) } + if params?.index(forKey: "ridesharingSpeed") != nil { + queryBuilder.withRidesharingSpeed(anyToFloat(params!["ridesharingSpeed"]!)) + } if params?.index(forKey: "forbiddenUris") != nil { queryBuilder.withForbiddenUris(arrayToStringDict(params!["forbiddenUris"]!)) } @@ -7794,6 +7830,9 @@ import NavitiaSDK if params?.index(forKey: "maxCarDurationToPt") != nil { queryBuilder.withMaxCarDurationToPt(anyToInt(params!["maxCarDurationToPt"]!)) } + if params?.index(forKey: "maxRidesharingDurationToPt") != nil { + queryBuilder.withMaxRidesharingDurationToPt(anyToInt(params!["maxRidesharingDurationToPt"]!)) + } if params?.index(forKey: "walkingSpeed") != nil { queryBuilder.withWalkingSpeed(anyToFloat(params!["walkingSpeed"]!)) } @@ -7806,6 +7845,9 @@ import NavitiaSDK if params?.index(forKey: "carSpeed") != nil { queryBuilder.withCarSpeed(anyToFloat(params!["carSpeed"]!)) } + if params?.index(forKey: "ridesharingSpeed") != nil { + queryBuilder.withRidesharingSpeed(anyToFloat(params!["ridesharingSpeed"]!)) + } if params?.index(forKey: "forbiddenUris") != nil { queryBuilder.withForbiddenUris(arrayToStringDict(params!["forbiddenUris"]!)) } diff --git a/www/NavitiaSDK.js b/www/NavitiaSDK.js index 97c2e79..4a1336e 100644 --- a/www/NavitiaSDK.js +++ b/www/NavitiaSDK.js @@ -5327,10 +5327,12 @@ var request_builders = { this.maxBikeDurationToPt = null; this.maxBssDurationToPt = null; this.maxCarDurationToPt = null; + this.maxRidesharingDurationToPt = null; this.walkingSpeed = null; this.bikeSpeed = null; this.bssSpeed = null; this.carSpeed = null; + this.ridesharingSpeed = null; this.forbiddenUris = null; this.allowedId = null; this.disruptionActive = null; @@ -5402,6 +5404,10 @@ var request_builders = { this.maxCarDurationToPt = maxCarDurationToPt; return this; }; + this.withMaxRidesharingDurationToPt = function (maxRidesharingDurationToPt) { + this.maxRidesharingDurationToPt = maxRidesharingDurationToPt; + return this; + }; this.withWalkingSpeed = function (walkingSpeed) { this.walkingSpeed = walkingSpeed; return this; @@ -5418,6 +5424,10 @@ var request_builders = { this.carSpeed = carSpeed; return this; }; + this.withRidesharingSpeed = function (ridesharingSpeed) { + this.ridesharingSpeed = ridesharingSpeed; + return this; + }; this.withForbiddenUris = function (forbiddenUris) { this.forbiddenUris = forbiddenUris; return this; @@ -5475,10 +5485,12 @@ var request_builders = { maxBikeDurationToPt: this.maxBikeDurationToPt, maxBssDurationToPt: this.maxBssDurationToPt, maxCarDurationToPt: this.maxCarDurationToPt, + maxRidesharingDurationToPt: this.maxRidesharingDurationToPt, walkingSpeed: this.walkingSpeed, bikeSpeed: this.bikeSpeed, bssSpeed: this.bssSpeed, carSpeed: this.carSpeed, + ridesharingSpeed: this.ridesharingSpeed, forbiddenUris: this.forbiddenUris, allowedId: this.allowedId, disruptionActive: this.disruptionActive, @@ -5508,10 +5520,12 @@ var request_builders = { this.maxBikeDurationToPt = null; this.maxBssDurationToPt = null; this.maxCarDurationToPt = null; + this.maxRidesharingDurationToPt = null; this.walkingSpeed = null; this.bikeSpeed = null; this.bssSpeed = null; this.carSpeed = null; + this.ridesharingSpeed = null; this.forbiddenUris = null; this.allowedId = null; this.disruptionActive = null; @@ -5579,6 +5593,10 @@ var request_builders = { this.maxCarDurationToPt = maxCarDurationToPt; return this; }; + this.withMaxRidesharingDurationToPt = function (maxRidesharingDurationToPt) { + this.maxRidesharingDurationToPt = maxRidesharingDurationToPt; + return this; + }; this.withWalkingSpeed = function (walkingSpeed) { this.walkingSpeed = walkingSpeed; return this; @@ -5595,6 +5613,10 @@ var request_builders = { this.carSpeed = carSpeed; return this; }; + this.withRidesharingSpeed = function (ridesharingSpeed) { + this.ridesharingSpeed = ridesharingSpeed; + return this; + }; this.withForbiddenUris = function (forbiddenUris) { this.forbiddenUris = forbiddenUris; return this; @@ -5651,10 +5673,12 @@ var request_builders = { maxBikeDurationToPt: this.maxBikeDurationToPt, maxBssDurationToPt: this.maxBssDurationToPt, maxCarDurationToPt: this.maxCarDurationToPt, + maxRidesharingDurationToPt: this.maxRidesharingDurationToPt, walkingSpeed: this.walkingSpeed, bikeSpeed: this.bikeSpeed, bssSpeed: this.bssSpeed, carSpeed: this.carSpeed, + ridesharingSpeed: this.ridesharingSpeed, forbiddenUris: this.forbiddenUris, allowedId: this.allowedId, disruptionActive: this.disruptionActive, @@ -5685,10 +5709,12 @@ var request_builders = { this.maxBikeDurationToPt = null; this.maxBssDurationToPt = null; this.maxCarDurationToPt = null; + this.maxRidesharingDurationToPt = null; this.walkingSpeed = null; this.bikeSpeed = null; this.bssSpeed = null; this.carSpeed = null; + this.ridesharingSpeed = null; this.forbiddenUris = null; this.allowedId = null; this.disruptionActive = null; @@ -5759,6 +5785,10 @@ var request_builders = { this.maxCarDurationToPt = maxCarDurationToPt; return this; }; + this.withMaxRidesharingDurationToPt = function (maxRidesharingDurationToPt) { + this.maxRidesharingDurationToPt = maxRidesharingDurationToPt; + return this; + }; this.withWalkingSpeed = function (walkingSpeed) { this.walkingSpeed = walkingSpeed; return this; @@ -5775,6 +5805,10 @@ var request_builders = { this.carSpeed = carSpeed; return this; }; + this.withRidesharingSpeed = function (ridesharingSpeed) { + this.ridesharingSpeed = ridesharingSpeed; + return this; + }; this.withForbiddenUris = function (forbiddenUris) { this.forbiddenUris = forbiddenUris; return this; @@ -5828,10 +5862,12 @@ var request_builders = { maxBikeDurationToPt: this.maxBikeDurationToPt, maxBssDurationToPt: this.maxBssDurationToPt, maxCarDurationToPt: this.maxCarDurationToPt, + maxRidesharingDurationToPt: this.maxRidesharingDurationToPt, walkingSpeed: this.walkingSpeed, bikeSpeed: this.bikeSpeed, bssSpeed: this.bssSpeed, carSpeed: this.carSpeed, + ridesharingSpeed: this.ridesharingSpeed, forbiddenUris: this.forbiddenUris, allowedId: this.allowedId, disruptionActive: this.disruptionActive, @@ -5860,10 +5896,12 @@ var request_builders = { this.maxBikeDurationToPt = null; this.maxBssDurationToPt = null; this.maxCarDurationToPt = null; + this.maxRidesharingDurationToPt = null; this.walkingSpeed = null; this.bikeSpeed = null; this.bssSpeed = null; this.carSpeed = null; + this.ridesharingSpeed = null; this.forbiddenUris = null; this.allowedId = null; this.disruptionActive = null; @@ -5930,6 +5968,10 @@ var request_builders = { this.maxCarDurationToPt = maxCarDurationToPt; return this; }; + this.withMaxRidesharingDurationToPt = function (maxRidesharingDurationToPt) { + this.maxRidesharingDurationToPt = maxRidesharingDurationToPt; + return this; + }; this.withWalkingSpeed = function (walkingSpeed) { this.walkingSpeed = walkingSpeed; return this; @@ -5946,6 +5988,10 @@ var request_builders = { this.carSpeed = carSpeed; return this; }; + this.withRidesharingSpeed = function (ridesharingSpeed) { + this.ridesharingSpeed = ridesharingSpeed; + return this; + }; this.withForbiddenUris = function (forbiddenUris) { this.forbiddenUris = forbiddenUris; return this; @@ -5998,10 +6044,12 @@ var request_builders = { maxBikeDurationToPt: this.maxBikeDurationToPt, maxBssDurationToPt: this.maxBssDurationToPt, maxCarDurationToPt: this.maxCarDurationToPt, + maxRidesharingDurationToPt: this.maxRidesharingDurationToPt, walkingSpeed: this.walkingSpeed, bikeSpeed: this.bikeSpeed, bssSpeed: this.bssSpeed, carSpeed: this.carSpeed, + ridesharingSpeed: this.ridesharingSpeed, forbiddenUris: this.forbiddenUris, allowedId: this.allowedId, disruptionActive: this.disruptionActive, @@ -7695,10 +7743,12 @@ var request_builders = { this.maxBikeDurationToPt = null; this.maxBssDurationToPt = null; this.maxCarDurationToPt = null; + this.maxRidesharingDurationToPt = null; this.walkingSpeed = null; this.bikeSpeed = null; this.bssSpeed = null; this.carSpeed = null; + this.ridesharingSpeed = null; this.forbiddenUris = null; this.allowedId = null; this.disruptionActive = null; @@ -7774,6 +7824,10 @@ var request_builders = { this.maxCarDurationToPt = maxCarDurationToPt; return this; }; + this.withMaxRidesharingDurationToPt = function (maxRidesharingDurationToPt) { + this.maxRidesharingDurationToPt = maxRidesharingDurationToPt; + return this; + }; this.withWalkingSpeed = function (walkingSpeed) { this.walkingSpeed = walkingSpeed; return this; @@ -7790,6 +7844,10 @@ var request_builders = { this.carSpeed = carSpeed; return this; }; + this.withRidesharingSpeed = function (ridesharingSpeed) { + this.ridesharingSpeed = ridesharingSpeed; + return this; + }; this.withForbiddenUris = function (forbiddenUris) { this.forbiddenUris = forbiddenUris; return this; @@ -7863,10 +7921,12 @@ var request_builders = { maxBikeDurationToPt: this.maxBikeDurationToPt, maxBssDurationToPt: this.maxBssDurationToPt, maxCarDurationToPt: this.maxCarDurationToPt, + maxRidesharingDurationToPt: this.maxRidesharingDurationToPt, walkingSpeed: this.walkingSpeed, bikeSpeed: this.bikeSpeed, bssSpeed: this.bssSpeed, carSpeed: this.carSpeed, + ridesharingSpeed: this.ridesharingSpeed, forbiddenUris: this.forbiddenUris, allowedId: this.allowedId, disruptionActive: this.disruptionActive, @@ -7900,10 +7960,12 @@ var request_builders = { this.maxBikeDurationToPt = null; this.maxBssDurationToPt = null; this.maxCarDurationToPt = null; + this.maxRidesharingDurationToPt = null; this.walkingSpeed = null; this.bikeSpeed = null; this.bssSpeed = null; this.carSpeed = null; + this.ridesharingSpeed = null; this.forbiddenUris = null; this.allowedId = null; this.disruptionActive = null; @@ -7975,6 +8037,10 @@ var request_builders = { this.maxCarDurationToPt = maxCarDurationToPt; return this; }; + this.withMaxRidesharingDurationToPt = function (maxRidesharingDurationToPt) { + this.maxRidesharingDurationToPt = maxRidesharingDurationToPt; + return this; + }; this.withWalkingSpeed = function (walkingSpeed) { this.walkingSpeed = walkingSpeed; return this; @@ -7991,6 +8057,10 @@ var request_builders = { this.carSpeed = carSpeed; return this; }; + this.withRidesharingSpeed = function (ridesharingSpeed) { + this.ridesharingSpeed = ridesharingSpeed; + return this; + }; this.withForbiddenUris = function (forbiddenUris) { this.forbiddenUris = forbiddenUris; return this; @@ -8063,10 +8133,12 @@ var request_builders = { maxBikeDurationToPt: this.maxBikeDurationToPt, maxBssDurationToPt: this.maxBssDurationToPt, maxCarDurationToPt: this.maxCarDurationToPt, + maxRidesharingDurationToPt: this.maxRidesharingDurationToPt, walkingSpeed: this.walkingSpeed, bikeSpeed: this.bikeSpeed, bssSpeed: this.bssSpeed, carSpeed: this.carSpeed, + ridesharingSpeed: this.ridesharingSpeed, forbiddenUris: this.forbiddenUris, allowedId: this.allowedId, disruptionActive: this.disruptionActive, @@ -8099,10 +8171,12 @@ var request_builders = { this.maxBikeDurationToPt = null; this.maxBssDurationToPt = null; this.maxCarDurationToPt = null; + this.maxRidesharingDurationToPt = null; this.walkingSpeed = null; this.bikeSpeed = null; this.bssSpeed = null; this.carSpeed = null; + this.ridesharingSpeed = null; this.forbiddenUris = null; this.allowedId = null; this.disruptionActive = null; @@ -8170,6 +8244,10 @@ var request_builders = { this.maxCarDurationToPt = maxCarDurationToPt; return this; }; + this.withMaxRidesharingDurationToPt = function (maxRidesharingDurationToPt) { + this.maxRidesharingDurationToPt = maxRidesharingDurationToPt; + return this; + }; this.withWalkingSpeed = function (walkingSpeed) { this.walkingSpeed = walkingSpeed; return this; @@ -8186,6 +8264,10 @@ var request_builders = { this.carSpeed = carSpeed; return this; }; + this.withRidesharingSpeed = function (ridesharingSpeed) { + this.ridesharingSpeed = ridesharingSpeed; + return this; + }; this.withForbiddenUris = function (forbiddenUris) { this.forbiddenUris = forbiddenUris; return this; @@ -8257,10 +8339,12 @@ var request_builders = { maxBikeDurationToPt: this.maxBikeDurationToPt, maxBssDurationToPt: this.maxBssDurationToPt, maxCarDurationToPt: this.maxCarDurationToPt, + maxRidesharingDurationToPt: this.maxRidesharingDurationToPt, walkingSpeed: this.walkingSpeed, bikeSpeed: this.bikeSpeed, bssSpeed: this.bssSpeed, carSpeed: this.carSpeed, + ridesharingSpeed: this.ridesharingSpeed, forbiddenUris: this.forbiddenUris, allowedId: this.allowedId, disruptionActive: this.disruptionActive,