Skip to content

Commit

Permalink
kommentar
Browse files Browse the repository at this point in the history
  • Loading branch information
vegardlu committed Feb 26, 2024
1 parent ae4d694 commit bfe740c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class EuxOppgaveClient(
.body(TildelEnhetsnr(
journalpostId = journalpostId,
tildeltEnhetsnr = enhetsnr,
kommentar = kommentar
kommentar = OppgavePatchKommentar(tekst = kommentar)
))
.contentType(APPLICATION_JSON)
.accept(MediaType.ALL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ package no.nav.eux.journal.integration.client.eux.oppgave
data class TildelEnhetsnr(
val journalpostId: String,
val tildeltEnhetsnr: String,
val kommentar: String,
val kommentar: OppgavePatchKommentar,
)

data class OppgavePatchKommentar(
val tekst: String,
val automatiskGenerert: Boolean = false
)

0 comments on commit bfe740c

Please sign in to comment.