-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5668796
commit 53ba48a
Showing
2 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
clients/src/main/java/no/unit/nva/clients/GetCustomerResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
package no.unit.nva.clients; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.net.URI; | ||
import java.util.UUID; | ||
import no.unit.nva.commons.json.JsonSerializable; | ||
|
||
public record GetCustomerResponse(URI id, UUID identifier, String name, String displayName, String shortName, | ||
public record GetCustomerResponse(@JsonProperty("id") URI id, UUID identifier, String name, String displayName, | ||
String shortName, | ||
URI cristinId) implements JsonSerializable { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters