From 8f697e59e83afbc0a231dfcf72fd976b2c7e323e Mon Sep 17 00:00:00 2001 From: Daniel Goldman Date: Mon, 29 Apr 2019 22:29:34 -0400 Subject: [PATCH] Trying something https://github.com/FasterXML/jackson-module-kotlin/issues/56#issuecomment-321932309 --- .../main/java/ca/mcgill/science/tepid/models/data/PrintJob.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/src/main/java/ca/mcgill/science/tepid/models/data/PrintJob.kt b/models/src/main/java/ca/mcgill/science/tepid/models/data/PrintJob.kt index d71a33e..b05de56 100644 --- a/models/src/main/java/ca/mcgill/science/tepid/models/data/PrintJob.kt +++ b/models/src/main/java/ca/mcgill/science/tepid/models/data/PrintJob.kt @@ -23,7 +23,7 @@ data class PrintJob( var failed: Long = -1, var received: Long = -1, @Access(AccessType.FIELD) - @JsonProperty(value="refunded") + @field:JsonProperty(value="refunded") var isRefunded: Boolean = false, var eta: Long = 0, var deleteDataOn: Long = 0