Skip to content

Commit

Permalink
chore: formatting and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Nov 29, 2024
1 parent 358ba91 commit 94e5a7b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ private constructor(

fun routeIds(): kotlin.collections.List<String> = routeIds.getRequired("routeIds")

fun staticRouteIds(): kotlin.collections.List<String> = staticRouteIds.getRequired("staticRouteIds")
fun staticRouteIds(): kotlin.collections.List<String> =
staticRouteIds.getRequired("staticRouteIds")

fun wheelchairBoarding(): Optional<String> =
Optional.ofNullable(wheelchairBoarding.getNullable("wheelchairBoarding"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private constructor(
private val version: JsonField<Long>,
private val limitExceeded: JsonField<Boolean>,
private val outOfRange: JsonField<Boolean>,
private val list: JsonField<List<List>>,
private val list: JsonField<kotlin.collections.List<List>>,
private val references: JsonField<References>,
private val additionalProperties: Map<String, JsonValue>,
) {
Expand All @@ -44,7 +44,7 @@ private constructor(

fun outOfRange(): Optional<Boolean> = Optional.ofNullable(outOfRange.getNullable("outOfRange"))

fun list(): List<List> = list.getRequired("list")
fun list(): kotlin.collections.List<List> = list.getRequired("list")

fun references(): References = references.getRequired("references")

Expand Down Expand Up @@ -105,7 +105,7 @@ private constructor(
private var version: JsonField<Long> = JsonMissing.of()
private var limitExceeded: JsonField<Boolean> = JsonMissing.of()
private var outOfRange: JsonField<Boolean> = JsonMissing.of()
private var list: JsonField<List<List>> = JsonMissing.of()
private var list: JsonField<kotlin.collections.List<List>> = JsonMissing.of()
private var references: JsonField<References> = JsonMissing.of()
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()

Expand Down Expand Up @@ -160,11 +160,11 @@ private constructor(
@ExcludeMissing
fun outOfRange(outOfRange: JsonField<Boolean>) = apply { this.outOfRange = outOfRange }

fun list(list: List<List>) = list(JsonField.of(list))
fun list(list: kotlin.collections.List<List>) = list(JsonField.of(list))

@JsonProperty("list")
@ExcludeMissing
fun list(list: JsonField<List<List>>) = apply { this.list = list }
fun list(list: JsonField<kotlin.collections.List<List>>) = apply { this.list = list }

fun references(references: References) = references(JsonField.of(references))

Expand Down Expand Up @@ -212,8 +212,8 @@ private constructor(
private val lon: JsonField<Double>,
private val name: JsonField<String>,
private val parent: JsonField<String>,
private val routeIds: JsonField<List<String>>,
private val staticRouteIds: JsonField<List<String>>,
private val routeIds: JsonField<kotlin.collections.List<String>>,
private val staticRouteIds: JsonField<kotlin.collections.List<String>>,
private val wheelchairBoarding: JsonField<String>,
private val additionalProperties: Map<String, JsonValue>,
) {
Expand All @@ -237,9 +237,10 @@ private constructor(

fun parent(): String = parent.getRequired("parent")

fun routeIds(): List<String> = routeIds.getRequired("routeIds")
fun routeIds(): kotlin.collections.List<String> = routeIds.getRequired("routeIds")

fun staticRouteIds(): List<String> = staticRouteIds.getRequired("staticRouteIds")
fun staticRouteIds(): kotlin.collections.List<String> =
staticRouteIds.getRequired("staticRouteIds")

fun wheelchairBoarding(): Optional<String> =
Optional.ofNullable(wheelchairBoarding.getNullable("wheelchairBoarding"))
Expand Down Expand Up @@ -306,8 +307,9 @@ private constructor(
private var lon: JsonField<Double> = JsonMissing.of()
private var name: JsonField<String> = JsonMissing.of()
private var parent: JsonField<String> = JsonMissing.of()
private var routeIds: JsonField<List<String>> = JsonMissing.of()
private var staticRouteIds: JsonField<List<String>> = JsonMissing.of()
private var routeIds: JsonField<kotlin.collections.List<String>> = JsonMissing.of()
private var staticRouteIds: JsonField<kotlin.collections.List<String>> =
JsonMissing.of()
private var wheelchairBoarding: JsonField<String> = JsonMissing.of()
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()

Expand Down Expand Up @@ -377,18 +379,21 @@ private constructor(
@ExcludeMissing
fun parent(parent: JsonField<String>) = apply { this.parent = parent }

fun routeIds(routeIds: List<String>) = routeIds(JsonField.of(routeIds))
fun routeIds(routeIds: kotlin.collections.List<String>) =
routeIds(JsonField.of(routeIds))

@JsonProperty("routeIds")
@ExcludeMissing
fun routeIds(routeIds: JsonField<List<String>>) = apply { this.routeIds = routeIds }
fun routeIds(routeIds: JsonField<kotlin.collections.List<String>>) = apply {
this.routeIds = routeIds
}

fun staticRouteIds(staticRouteIds: List<String>) =
fun staticRouteIds(staticRouteIds: kotlin.collections.List<String>) =
staticRouteIds(JsonField.of(staticRouteIds))

@JsonProperty("staticRouteIds")
@ExcludeMissing
fun staticRouteIds(staticRouteIds: JsonField<List<String>>) = apply {
fun staticRouteIds(staticRouteIds: JsonField<kotlin.collections.List<String>>) = apply {
this.staticRouteIds = staticRouteIds
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ private constructor(

fun routeIds(): kotlin.collections.List<String> = routeIds.getRequired("routeIds")

fun staticRouteIds(): kotlin.collections.List<String> = staticRouteIds.getRequired("staticRouteIds")
fun staticRouteIds(): kotlin.collections.List<String> =
staticRouteIds.getRequired("staticRouteIds")

fun wheelchairBoarding(): Optional<String> =
Optional.ofNullable(wheelchairBoarding.getNullable("wheelchairBoarding"))
Expand Down Expand Up @@ -381,7 +382,8 @@ private constructor(
private var name: JsonField<String> = JsonMissing.of()
private var parent: JsonField<String> = JsonMissing.of()
private var routeIds: JsonField<kotlin.collections.List<String>> = JsonMissing.of()
private var staticRouteIds: JsonField<kotlin.collections.List<String>> = JsonMissing.of()
private var staticRouteIds: JsonField<kotlin.collections.List<String>> =
JsonMissing.of()
private var wheelchairBoarding: JsonField<String> = JsonMissing.of()
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()

Expand Down Expand Up @@ -451,20 +453,24 @@ private constructor(
@ExcludeMissing
fun parent(parent: JsonField<String>) = apply { this.parent = parent }

fun routeIds(routeIds: kotlin.collections.List<String>) = routeIds(JsonField.of(routeIds))
fun routeIds(routeIds: kotlin.collections.List<String>) =
routeIds(JsonField.of(routeIds))

@JsonProperty("routeIds")
@ExcludeMissing
fun routeIds(routeIds: JsonField<kotlin.collections.List<String>>) = apply { this.routeIds = routeIds }
fun routeIds(routeIds: JsonField<kotlin.collections.List<String>>) = apply {
this.routeIds = routeIds
}

fun staticRouteIds(staticRouteIds: kotlin.collections.List<String>) =
staticRouteIds(JsonField.of(staticRouteIds))

@JsonProperty("staticRouteIds")
@ExcludeMissing
fun staticRouteIds(staticRouteIds: JsonField<kotlin.collections.List<String>>) = apply {
this.staticRouteIds = staticRouteIds
}
fun staticRouteIds(staticRouteIds: JsonField<kotlin.collections.List<String>>) =
apply {
this.staticRouteIds = staticRouteIds
}

fun wheelchairBoarding(wheelchairBoarding: String) =
wheelchairBoarding(JsonField.of(wheelchairBoarding))
Expand Down Expand Up @@ -568,4 +574,4 @@ private constructor(

override fun toString() =
"StopsForLocationListResponse{code=$code, currentTime=$currentTime, text=$text, version=$version, data=$data, additionalProperties=$additionalProperties}"
}
}

0 comments on commit 94e5a7b

Please sign in to comment.