@@ -29,7 +29,7 @@ private constructor(
2929
3030 fun response (): Response = response
3131
32- fun items (): List <IndividualUnenrollManyResponse > = response().items()
32+ fun items (): List <UnenrolledIndividual > = response().items()
3333
3434 override fun equals (other : Any? ): Boolean {
3535 if (this == = other) {
@@ -71,21 +71,19 @@ private constructor(
7171 }
7272
7373 class Response (
74- private val items : JsonField <List <IndividualUnenrollManyResponse >>,
74+ private val items : JsonField <List <UnenrolledIndividual >>,
7575 private val additionalProperties : MutableMap <String , JsonValue >,
7676 ) {
7777
7878 @JsonCreator
7979 private constructor (
80- @JsonProperty(" items" )
81- items: JsonField <List <IndividualUnenrollManyResponse >> = JsonMissing .of()
80+ @JsonProperty(" items" ) items: JsonField <List <UnenrolledIndividual >> = JsonMissing .of()
8281 ) : this (items, mutableMapOf ())
8382
84- fun items (): List <IndividualUnenrollManyResponse > = items.getNullable(" items" ) ? : listOf ()
83+ fun items (): List <UnenrolledIndividual > = items.getNullable(" items" ) ? : listOf ()
8584
8685 @JsonProperty(" items" )
87- fun _items (): Optional <JsonField <List <IndividualUnenrollManyResponse >>> =
88- Optional .ofNullable(items)
86+ fun _items (): Optional <JsonField <List <UnenrolledIndividual >>> = Optional .ofNullable(items)
8987
9088 @JsonAnySetter
9189 private fun putAdditionalProperty (key : String , value : JsonValue ) {
@@ -142,7 +140,7 @@ private constructor(
142140
143141 class Builder {
144142
145- private var items: JsonField <List <IndividualUnenrollManyResponse >> = JsonMissing .of()
143+ private var items: JsonField <List <UnenrolledIndividual >> = JsonMissing .of()
146144 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
147145
148146 @JvmSynthetic
@@ -151,11 +149,9 @@ private constructor(
151149 this .additionalProperties.putAll(page.additionalProperties)
152150 }
153151
154- fun items (items : List <IndividualUnenrollManyResponse >) = items(JsonField .of(items))
152+ fun items (items : List <UnenrolledIndividual >) = items(JsonField .of(items))
155153
156- fun items (items : JsonField <List <IndividualUnenrollManyResponse >>) = apply {
157- this .items = items
158- }
154+ fun items (items : JsonField <List <UnenrolledIndividual >>) = apply { this .items = items }
159155
160156 fun putAdditionalProperty (key : String , value : JsonValue ) = apply {
161157 this .additionalProperties.put(key, value)
@@ -173,11 +169,11 @@ private constructor(
173169 class AutoPager (private val firstPage : HrisBenefitIndividualUnenrollManyPageAsync ) {
174170
175171 fun forEach (
176- action : Predicate <IndividualUnenrollManyResponse >,
172+ action : Predicate <UnenrolledIndividual >,
177173 executor : Executor ,
178174 ): CompletableFuture <Void > {
179175 fun CompletableFuture<Optional<HrisBenefitIndividualUnenrollManyPageAsync>>.forEach (
180- action : (IndividualUnenrollManyResponse ) -> Boolean ,
176+ action : (UnenrolledIndividual ) -> Boolean ,
181177 executor : Executor ,
182178 ): CompletableFuture <Void > =
183179 thenComposeAsync(
@@ -193,8 +189,8 @@ private constructor(
193189 .forEach(action::test, executor)
194190 }
195191
196- fun toList (executor : Executor ): CompletableFuture <List <IndividualUnenrollManyResponse >> {
197- val values = mutableListOf<IndividualUnenrollManyResponse >()
192+ fun toList (executor : Executor ): CompletableFuture <List <UnenrolledIndividual >> {
193+ val values = mutableListOf<UnenrolledIndividual >()
198194 return forEach(values::add, executor).thenApply { values }
199195 }
200196 }
0 commit comments