View Javadoc
1   package com.kodexa.client.remote;
2   
3   import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4   import com.fasterxml.jackson.annotation.JsonProperty;
5   import lombok.Data;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  @Data
11  @JsonIgnoreProperties(ignoreUnknown = true)
12  public class ContentObject {
13  
14      private String id;
15      private String name;
16  
17      private List<String> labels = new ArrayList<>();
18  
19      /**
20       * The content type (DOCUMENT/NATIVE)
21       */
22      @JsonProperty("content_type")
23      private String contentType;
24  
25      /**
26       * The reference to the store holding this content object
27       * if it is null then the content object is in cache and part of a
28       * session
29       */
30      @JsonProperty("store_ref")
31      private String storeRef;
32  }