Skip to content

Commit

Permalink
Make values nullable.
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Jonsson <[email protected]>
  • Loading branch information
oyvind-wedoe and flexable777 committed Nov 3, 2023
1 parent f694ca2 commit f69e059
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package no.nav.klage.oppgave.clients.pdl.graphql

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import java.time.LocalDate


@JsonIgnoreProperties(ignoreUnknown = true)
data class HentPersonResponse(val data: DataWrapper?, val errors: List<PdlError>? = null)

data class DataWrapper(val hentPerson: PdlPerson?)
Expand Down Expand Up @@ -60,8 +62,8 @@ data class PdlPerson(
) {
data class VergeEllerFullmektig(
val motpartsPersonident: String,
val omfang: String,
val omfangetErInnenPersonligOmraad: Boolean
val omfang: String?,
val omfangetErInnenPersonligOmraad: Boolean?
)
}

Expand Down

0 comments on commit f69e059

Please sign in to comment.