@@ -18,7 +18,7 @@ import java.util.Collections
1818import java.util.Objects
1919import kotlin.jvm.optionals.getOrNull
2020
21- class HrisDirectoryListIndividualsPageResponse
21+ class DirectoryListIndividualsResponse
2222@JsonCreator(mode = JsonCreator .Mode .DISABLED )
2323private constructor (
2424 private val individuals: JsonField <List <IndividualInDirectory >>,
@@ -80,7 +80,7 @@ private constructor(
8080
8181 /* *
8282 * Returns a mutable builder for constructing an instance of
83- * [HrisDirectoryListIndividualsPageResponse ].
83+ * [DirectoryListIndividualsResponse ].
8484 *
8585 * The following fields are required:
8686 * ```java
@@ -91,23 +91,22 @@ private constructor(
9191 @JvmStatic fun builder () = Builder ()
9292 }
9393
94- /* * A builder for [HrisDirectoryListIndividualsPageResponse ]. */
94+ /* * A builder for [DirectoryListIndividualsResponse ]. */
9595 class Builder internal constructor() {
9696
9797 private var individuals: JsonField <MutableList <IndividualInDirectory >>? = null
9898 private var paging: JsonField <Paging >? = null
9999 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
100100
101101 @JvmSynthetic
102- internal fun from (
103- hrisDirectoryListIndividualsPageResponse : HrisDirectoryListIndividualsPageResponse
104- ) = apply {
105- individuals =
106- hrisDirectoryListIndividualsPageResponse.individuals.map { it.toMutableList() }
107- paging = hrisDirectoryListIndividualsPageResponse.paging
108- additionalProperties =
109- hrisDirectoryListIndividualsPageResponse.additionalProperties.toMutableMap()
110- }
102+ internal fun from (directoryListIndividualsResponse : DirectoryListIndividualsResponse ) =
103+ apply {
104+ individuals =
105+ directoryListIndividualsResponse.individuals.map { it.toMutableList() }
106+ paging = directoryListIndividualsResponse.paging
107+ additionalProperties =
108+ directoryListIndividualsResponse.additionalProperties.toMutableMap()
109+ }
111110
112111 /* * The array of employees. */
113112 fun individuals (individuals : List <IndividualInDirectory >) =
@@ -166,7 +165,7 @@ private constructor(
166165 }
167166
168167 /* *
169- * Returns an immutable instance of [HrisDirectoryListIndividualsPageResponse ].
168+ * Returns an immutable instance of [DirectoryListIndividualsResponse ].
170169 *
171170 * Further updates to this [Builder] will not mutate the returned instance.
172171 *
@@ -178,8 +177,8 @@ private constructor(
178177 *
179178 * @throws IllegalStateException if any required field is unset.
180179 */
181- fun build (): HrisDirectoryListIndividualsPageResponse =
182- HrisDirectoryListIndividualsPageResponse (
180+ fun build (): DirectoryListIndividualsResponse =
181+ DirectoryListIndividualsResponse (
183182 checkRequired(" individuals" , individuals).map { it.toImmutable() },
184183 checkRequired(" paging" , paging),
185184 additionalProperties.toMutableMap(),
@@ -188,7 +187,7 @@ private constructor(
188187
189188 private var validated: Boolean = false
190189
191- fun validate (): HrisDirectoryListIndividualsPageResponse = apply {
190+ fun validate (): DirectoryListIndividualsResponse = apply {
192191 if (validated) {
193192 return @apply
194193 }
@@ -221,7 +220,7 @@ private constructor(
221220 return true
222221 }
223222
224- return other is HrisDirectoryListIndividualsPageResponse &&
223+ return other is DirectoryListIndividualsResponse &&
225224 individuals == other.individuals &&
226225 paging == other.paging &&
227226 additionalProperties == other.additionalProperties
@@ -232,5 +231,5 @@ private constructor(
232231 override fun hashCode (): Int = hashCode
233232
234233 override fun toString () =
235- " HrisDirectoryListIndividualsPageResponse {individuals=$individuals , paging=$paging , additionalProperties=$additionalProperties }"
234+ " DirectoryListIndividualsResponse {individuals=$individuals , paging=$paging , additionalProperties=$additionalProperties }"
236235}
0 commit comments