Skip to content

Commit

Permalink
DTSCCI_202: Add Ignore Unknown and Non Null Properties to Document
Browse files Browse the repository at this point in the history
  • Loading branch information
ruban72 committed May 2, 2024
1 parent 451d0b8 commit 1aa2ffb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package uk.gov.hmcts.reform.civil.documentmanagement.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

@Data
@Builder(toBuilder = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Document {

String documentUrl;
Expand Down

0 comments on commit 1aa2ffb

Please sign in to comment.