Skip to content

Commit

Permalink
Merge pull request #240 from HSLdevcom/qualifier_park
Browse files Browse the repository at this point in the history
Description for PARK qualifier
  • Loading branch information
vesameskanen committed Aug 17, 2018
2 parents 6577fe6 + d73c91c commit ac4fa61
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ public static String experimental(String message) {

public static GraphQLEnumType qualifierEnum = GraphQLEnumType.newEnum()
.name("Qualifier")
.description("Additional qualifier for a transport mode")
.description("Additional qualifier for a transport mode. \n Note that qualifiers can only be used with certain transport modes.")
.value("RENT", QualifiedMode.Qualifier.RENT, "The vehicle used for transport can be rented")
.value("HAVE", QualifiedMode.Qualifier.HAVE, "~~HAVE~~ **Currently not used**")
.value("PARK", QualifiedMode.Qualifier.PARK, "~~PARK~~ **Currently not used**")
.value("KEEP", QualifiedMode.Qualifier.KEEP, "~~KEEP~~ **Currently not used**")
.value("HAVE", QualifiedMode.Qualifier.HAVE, "~~HAVE~~ \n **Currently not used**")
.value("PARK", QualifiedMode.Qualifier.PARK, "The vehicle used must be left to a parking area before continuing the journey. This qualifier is usable with transport modes `CAR` and `BICYCLE`. \n Note that the vehicle is only parked if the journey is continued with public transportation (e.g. if only `CAR` and `WALK` transport modes are allowed to be used, the car will not be parked as it is used for the whole journey).")
.value("KEEP", QualifiedMode.Qualifier.KEEP, "~~KEEP~~ \n **Currently not used**")
.value("PICKUP", QualifiedMode.Qualifier.PICKUP, "The user can be picked up by someone else riding a vehicle")
.build();

Expand Down

0 comments on commit ac4fa61

Please sign in to comment.