Skip to content

Commit 3ee0ce7

Browse files
fix(api): improve formatting and annotations in StopsForAgencyListResponse
1 parent 3da2b52 commit 3ee0ce7

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListResponse.kt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,9 @@ private constructor(
318318

319319
@JsonCreator
320320
private constructor(
321-
@JsonProperty("list") @ExcludeMissing list: JsonField<kotlin.collections.List<List>> = JsonMissing.of(),
321+
@JsonProperty("list")
322+
@ExcludeMissing
323+
list: JsonField<kotlin.collections.List<List>> = JsonMissing.of(),
322324
@JsonProperty("references")
323325
@ExcludeMissing
324326
references: JsonField<References> = JsonMissing.of(),
@@ -359,7 +361,9 @@ private constructor(
359361
*
360362
* Unlike [list], this method doesn't throw if the JSON field has an unexpected type.
361363
*/
362-
@JsonProperty("list") @ExcludeMissing fun _list(): JsonField<kotlin.collections.List<List>> = list
364+
@JsonProperty("list")
365+
@ExcludeMissing
366+
fun _list(): JsonField<kotlin.collections.List<List>> = list
363367

364368
/**
365369
* Returns the raw JSON value of [references].
@@ -438,9 +442,9 @@ private constructor(
438442
/**
439443
* Sets [Builder.list] to an arbitrary JSON value.
440444
*
441-
* You should usually call [Builder.list] with a well-typed `kotlin.collections.List<List>` value instead.
442-
* This method is primarily for setting the field to an undocumented or not yet
443-
* supported value.
445+
* You should usually call [Builder.list] with a well-typed
446+
* `kotlin.collections.List<List>` value instead. This method is primarily for setting
447+
* the field to an undocumented or not yet supported value.
444448
*/
445449
fun list(list: JsonField<kotlin.collections.List<List>>) = apply {
446450
this.list = list.map { it.toMutableList() }

0 commit comments

Comments
 (0)