diff --git a/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/oppdragservice/v1/OppdragRequest.java b/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/oppdragservice/v1/OppdragRequest.java index 56edb93735a..09a973c7f3d 100644 --- a/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/oppdragservice/v1/OppdragRequest.java +++ b/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/oppdragservice/v1/OppdragRequest.java @@ -28,7 +28,7 @@ public class OppdragRequest { private Ompostering ompostering; private List oppdragslinje; @NotBlank - private String kodeEndring; + private KodeEndring kodeEndring; private KodeStatus kodeStatus; private String datoStatusFom; @NotBlank @@ -336,6 +336,12 @@ public enum KodeStatus { FEIL; } + public enum KodeEndring { + NY, + ENDR, + UEND + } + @Data @Builder @NoArgsConstructor