View Javadoc

1   package com.atlassian.plugins.rest.doclet.generators.schema.beans.issue;
2   
3   import org.codehaus.jackson.annotate.JsonProperty;
4   
5   /**
6    * JSON-marshalling version of JsonType
7    *
8    * @since v5.0
9    */
10  @SuppressWarnings("UnusedDeclaration")
11  public class JsonTypeBean {
12      @JsonProperty
13      private String type;
14      @JsonProperty
15      private String items;
16      @JsonProperty
17      private String system;
18      @JsonProperty
19      private String custom;
20      @JsonProperty
21      private Long customId;
22  
23      public JsonTypeBean() {
24      }
25  
26      public JsonTypeBean(String type, String items, String system, String custom, Long customId) {
27          this.type = type;
28          this.items = items;
29          this.system = system;
30          this.custom = custom;
31          this.customId = customId;
32      }
33  
34      public String getType() {
35          return type;
36      }
37  
38      public String getItems() {
39          return items;
40      }
41  
42      public String getSystem() {
43          return system;
44      }
45  
46      public String getCustom() {
47          return custom;
48      }
49  
50      public Long getCustomId() {
51          return customId;
52      }
53  }