summaryrefslogtreecommitdiffstats
path: root/keystone-model/src/main/java/com/woorea/openstack/keystone/model/Service.java
diff options
context:
space:
mode:
Diffstat (limited to 'keystone-model/src/main/java/com/woorea/openstack/keystone/model/Service.java')
-rw-r--r--keystone-model/src/main/java/com/woorea/openstack/keystone/model/Service.java76
1 files changed, 76 insertions, 0 deletions
diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/model/Service.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/model/Service.java
new file mode 100644
index 0000000..ed9eb53
--- /dev/null
+++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/model/Service.java
@@ -0,0 +1,76 @@
+package com.woorea.openstack.keystone.model;
+
+import java.io.Serializable;
+
+import org.codehaus.jackson.map.annotate.JsonRootName;
+
+@JsonRootName("OS-KSADM:service")
+public class Service implements Serializable {
+
+ private String id;
+
+ private String type;
+
+ private String name;
+
+ private String description;
+
+ /**
+ * @return the id
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * @return the type
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * @param type the type to set
+ */
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ /**
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param name the name to set
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return the description
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * @param description the description to set
+ */
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Service [id=" + id + ", type=" + type + ", name=" + name
+ + ", description=" + description + "]";
+ }
+
+}