From ce3d8addd91c0828fefbcd13544b148351cbb59d Mon Sep 17 00:00:00 2001 From: seshukm Date: Wed, 25 Jul 2018 18:25:36 +0800 Subject: Issue fix for keystone models Issue-ID: SO-729 Change-Id: I1ccaba586970295bfe32fa30eed9f53ee34a27e0 Signed-off-by: seshukm --- .../openstack/keystone/v3/model/Domains.java | 42 ++++++------ .../openstack/keystone/v3/model/Endpoint.java | 68 +++++++++--------- .../openstack/keystone/v3/model/Endpoints.java | 42 ++++++------ .../woorea/openstack/keystone/v3/model/Group.java | 66 +++++++++--------- .../woorea/openstack/keystone/v3/model/Groups.java | 42 ++++++------ .../openstack/keystone/v3/model/Policies.java | 42 ++++++------ .../woorea/openstack/keystone/v3/model/Policy.java | 80 +++++++++++----------- .../openstack/keystone/v3/model/Project.java | 68 +++++++++--------- .../openstack/keystone/v3/model/Projects.java | 42 ++++++------ 9 files changed, 246 insertions(+), 246 deletions(-) diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Domains.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Domains.java index c6c317b..27765ef 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Domains.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Domains.java @@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty; public class Domains implements Iterable, Serializable { - @JsonProperty("domains") - private List list; + @JsonProperty("domains") + private List list; - /** - * @return the list - */ - public List getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Domains [list=" + list + "]"; - } + /** + * @return the list + */ + public List getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Domains [list=" + list + "]"; + } - @Override - public Iterator iterator() { - return list.iterator(); - } - + @Override + public Iterator iterator() { + return list.iterator(); + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoint.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoint.java index 9a66d08..5fa9afe 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoint.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoint.java @@ -22,46 +22,46 @@ import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("endpoint") public class Endpoint { - private String id; - - @JsonProperty("interface") - private String iface; - - private String name; - - @JsonProperty("service_id") - private String serviceId; + private String id; + + @JsonProperty("interface") + private String iface; + + private String name; + + @JsonProperty("service_id") + private String serviceId; - public String getId() { - return id; - } + public String getId() { + return id; + } - public void setId(String id) { - this.id = id; - } + public void setId(String id) { + this.id = id; + } - public String getInterface() { - return iface; - } + public String getInterface() { + return iface; + } - public void setInterface(String iface) { - this.iface = iface; - } + public void setInterface(String iface) { + this.iface = iface; + } - public String getName() { - return name; - } + public String getName() { + return name; + } - public void setName(String name) { - this.name = name; - } + public void setName(String name) { + this.name = name; + } - public String getServiceId() { - return serviceId; - } + public String getServiceId() { + return serviceId; + } - public void setServiceId(String serviceId) { - this.serviceId = serviceId; - } - + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoints.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoints.java index 7094be7..ac5f9a5 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoints.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Endpoints.java @@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty; public class Endpoints implements Iterable, Serializable { - @JsonProperty("endpoints") - private List list; + @JsonProperty("endpoints") + private List list; - /** - * @return the list - */ - public List getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Endpoints [list=" + list + "]"; - } + /** + * @return the list + */ + public List getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Endpoints [list=" + list + "]"; + } - @Override - public Iterator iterator() { - return list.iterator(); - } - + @Override + public Iterator iterator() { + return list.iterator(); + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Group.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Group.java index 5d93186..ed7f3a0 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Group.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Group.java @@ -22,45 +22,45 @@ import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("group") public class Group { - private String id; - - @JsonProperty("domain_id") - private String domainId; - - private String name; - - private String description; + private String id; + + @JsonProperty("domain_id") + private String domainId; + + private String name; + + private String description; - public String getId() { - return id; - } + public String getId() { + return id; + } - public void setId(String id) { - this.id = id; - } + public void setId(String id) { + this.id = id; + } - public String getDomainId() { - return domainId; - } + public String getDomainId() { + return domainId; + } - public void setDomainId(String domainId) { - this.domainId = domainId; - } + public void setDomainId(String domainId) { + this.domainId = domainId; + } - public String getName() { - return name; - } + public String getName() { + return name; + } - public void setName(String name) { - this.name = name; - } + public void setName(String name) { + this.name = name; + } - public String getDescription() { - return description; - } + public String getDescription() { + return description; + } - public void setDescription(String description) { - this.description = description; - } - + public void setDescription(String description) { + this.description = description; + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Groups.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Groups.java index 2bcc531..ec9e558 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Groups.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Groups.java @@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty; public class Groups implements Iterable, Serializable { - @JsonProperty("groups") - private List list; + @JsonProperty("groups") + private List list; - /** - * @return the list - */ - public List getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Groups [list=" + list + "]"; - } + /** + * @return the list + */ + public List getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Groups [list=" + list + "]"; + } - @Override - public Iterator iterator() { - return list.iterator(); - } - + @Override + public Iterator iterator() { + return list.iterator(); + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policies.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policies.java index 34a3854..a82d1b6 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policies.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policies.java @@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty; public class Policies implements Iterable, Serializable { - @JsonProperty("policies") - private List list; + @JsonProperty("policies") + private List list; - /** - * @return the list - */ - public List getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Policies [list=" + list + "]"; - } + /** + * @return the list + */ + public List getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Policies [list=" + list + "]"; + } - @Override - public Iterator iterator() { - return list.iterator(); - } - + @Override + public Iterator iterator() { + return list.iterator(); + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java index f14a004..12c6f04 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java @@ -23,55 +23,55 @@ import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("policy") public class Policy { - - private String id; + + private String id; - private String projectId; - - private String type; - - private String userId; - - private Map blob = new HashMap<>(); + private String projectId; + + private String type; + + private String userId; + + private Map blob = new HashMap<>(); - public String getId() { - return id; - } + public String getId() { + return id; + } - public void setId(String id) { - this.id = id; - } + public void setId(String id) { + this.id = id; + } - public String getProjectId() { - return projectId; - } + public String getProjectId() { + return projectId; + } - public void setProjectId(String projectId) { - this.projectId = projectId; - } + public void setProjectId(String projectId) { + this.projectId = projectId; + } - public String getType() { - return type; - } + public String getType() { + return type; + } - public void setType(String type) { - this.type = type; - } + public void setType(String type) { + this.type = type; + } - public String getUserId() { - return userId; - } + public String getUserId() { + return userId; + } - public void setUserId(String userId) { - this.userId = userId; - } + public void setUserId(String userId) { + this.userId = userId; + } - public Map getBlob() { - return blob; - } + public Map getBlob() { + return blob; + } - public void setBlob(Map blob) { - this.blob = blob; - } - + public void setBlob(Map blob) { + this.blob = blob; + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Project.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Project.java index 5edd7ae..b0f6288 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Project.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Project.java @@ -22,45 +22,45 @@ import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("project") public class Project { - private String id; - - @JsonProperty("domain_id") - private String domainId; - - private String name; - - private Boolean enabled; + private String id; + + @JsonProperty("domain_id") + private String domainId; + + private String name; + + private Boolean enabled; - public String getId() { - return id; - } + public String getId() { + return id; + } - public void setId(String id) { - this.id = id; - } + public void setId(String id) { + this.id = id; + } - public String getDomainId() { - return domainId; - } + public String getDomainId() { + return domainId; + } - public void setDomainId(String domainId) { - this.domainId = domainId; - } + public void setDomainId(String domainId) { + this.domainId = domainId; + } - public String getName() { - return name; - } + public String getName() { + return name; + } - public void setName(String name) { - this.name = name; - } - - public Boolean getEnabled() { - return enabled; - } + public void setName(String name) { + this.name = name; + } + + public Boolean getEnabled() { + return enabled; + } - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + } diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Projects.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Projects.java index e7799b0..984c4d2 100644 --- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Projects.java +++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Projects.java @@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty; public class Projects implements Iterable, Serializable { - @JsonProperty("projects") - private List list; + @JsonProperty("projects") + private List list; - /** - * @return the list - */ - public List getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Projects [list=" + list + "]"; - } + /** + * @return the list + */ + public List getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Projects [list=" + list + "]"; + } - @Override - public Iterator iterator() { - return list.iterator(); - } - + @Override + public Iterator iterator() { + return list.iterator(); + } + } -- cgit 1.2.3-korg