1 package com.atlassian.plugins.rest.sample.entities;
2
3 import javax.xml.bind.annotation.XmlAccessType;
4 import javax.xml.bind.annotation.XmlAccessorType;
5 import javax.xml.bind.annotation.XmlRootElement;
6
7 @XmlAccessorType(XmlAccessType.FIELD)
8 @XmlRootElement
9 public class Apple
10 {
11 String name;
12 String reqContentType;
13 String reqAccept;
14
15 public Apple()
16 {
17 }
18
19 public Apple(final String name, final String reqContentType, final String reqAccept)
20 {
21 this.name = name;
22 this.reqContentType = reqContentType;
23 this.reqAccept = reqAccept;
24 }
25
26 public String getName()
27 {
28 return name;
29 }
30
31 public String getReqContentType()
32 {
33 return reqContentType;
34 }
35
36 public String getReqAccept()
37 {
38 return reqAccept;
39 }
40 }