@@ -15,7 +15,7 @@ import com.tryfinch.api.errors.FinchInvalidDataException
1515import java.util.Collections
1616import java.util.Objects
1717
18- class EnrolledIndividualBenefit
18+ class EnrolledIndividualBenefitResponse
1919private constructor (
2020 private val jobId: JsonField <String >,
2121 private val additionalProperties: MutableMap <String , JsonValue >,
@@ -54,7 +54,8 @@ private constructor(
5454 companion object {
5555
5656 /* *
57- * Returns a mutable builder for constructing an instance of [EnrolledIndividualBenefit].
57+ * Returns a mutable builder for constructing an instance of
58+ * [EnrolledIndividualBenefitResponse].
5859 *
5960 * The following fields are required:
6061 * ```java
@@ -64,17 +65,19 @@ private constructor(
6465 @JvmStatic fun builder () = Builder ()
6566 }
6667
67- /* * A builder for [EnrolledIndividualBenefit ]. */
68+ /* * A builder for [EnrolledIndividualBenefitResponse ]. */
6869 class Builder internal constructor() {
6970
7071 private var jobId: JsonField <String >? = null
7172 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
7273
7374 @JvmSynthetic
74- internal fun from (enrolledIndividualBenefit : EnrolledIndividualBenefit ) = apply {
75- jobId = enrolledIndividualBenefit.jobId
76- additionalProperties = enrolledIndividualBenefit.additionalProperties.toMutableMap()
77- }
75+ internal fun from (enrolledIndividualBenefitResponse : EnrolledIndividualBenefitResponse ) =
76+ apply {
77+ jobId = enrolledIndividualBenefitResponse.jobId
78+ additionalProperties =
79+ enrolledIndividualBenefitResponse.additionalProperties.toMutableMap()
80+ }
7881
7982 fun jobId (jobId : String ) = jobId(JsonField .of(jobId))
8083
@@ -106,7 +109,7 @@ private constructor(
106109 }
107110
108111 /* *
109- * Returns an immutable instance of [EnrolledIndividualBenefit ].
112+ * Returns an immutable instance of [EnrolledIndividualBenefitResponse ].
110113 *
111114 * Further updates to this [Builder] will not mutate the returned instance.
112115 *
@@ -117,16 +120,16 @@ private constructor(
117120 *
118121 * @throws IllegalStateException if any required field is unset.
119122 */
120- fun build (): EnrolledIndividualBenefit =
121- EnrolledIndividualBenefit (
123+ fun build (): EnrolledIndividualBenefitResponse =
124+ EnrolledIndividualBenefitResponse (
122125 checkRequired(" jobId" , jobId),
123126 additionalProperties.toMutableMap(),
124127 )
125128 }
126129
127130 private var validated: Boolean = false
128131
129- fun validate (): EnrolledIndividualBenefit = apply {
132+ fun validate (): EnrolledIndividualBenefitResponse = apply {
130133 if (validated) {
131134 return @apply
132135 }
@@ -155,7 +158,7 @@ private constructor(
155158 return true
156159 }
157160
158- return /* spotless:off */ other is EnrolledIndividualBenefit && jobId == other.jobId && additionalProperties == other.additionalProperties /* spotless:on */
161+ return /* spotless:off */ other is EnrolledIndividualBenefitResponse && jobId == other.jobId && additionalProperties == other.additionalProperties /* spotless:on */
159162 }
160163
161164 /* spotless:off */
@@ -165,5 +168,5 @@ private constructor(
165168 override fun hashCode (): Int = hashCode
166169
167170 override fun toString () =
168- " EnrolledIndividualBenefit {jobId=$jobId , additionalProperties=$additionalProperties }"
171+ " EnrolledIndividualBenefitResponse {jobId=$jobId , additionalProperties=$additionalProperties }"
169172}
0 commit comments