diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2018-07-25 18:25:36 +0800 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2018-07-25 18:25:36 +0800 |
commit | ce3d8addd91c0828fefbcd13544b148351cbb59d (patch) | |
tree | 32dde385821a8bf6ebd922a90fae2e8e43d73180 /keystone-model | |
parent | a5653b265d45f70c49a472b9298829cb06afe75e (diff) |
Issue fix for keystone models
Issue-ID: SO-729
Change-Id: I1ccaba586970295bfe32fa30eed9f53ee34a27e0
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'keystone-model')
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<Domain>, Serializable { - @JsonProperty("domains") - private List<Domain> list; + @JsonProperty("domains") + private List<Domain> list; - /** - * @return the list - */ - public List<Domain> getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Domains [list=" + list + "]"; - } + /** + * @return the list + */ + public List<Domain> getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Domains [list=" + list + "]"; + } - @Override - public Iterator<Domain> iterator() { - return list.iterator(); - } - + @Override + public Iterator<Domain> 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<Endpoint>, Serializable { - @JsonProperty("endpoints") - private List<Endpoint> list; + @JsonProperty("endpoints") + private List<Endpoint> list; - /** - * @return the list - */ - public List<Endpoint> getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Endpoints [list=" + list + "]"; - } + /** + * @return the list + */ + public List<Endpoint> getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Endpoints [list=" + list + "]"; + } - @Override - public Iterator<Endpoint> iterator() { - return list.iterator(); - } - + @Override + public Iterator<Endpoint> 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<Group>, Serializable { - @JsonProperty("groups") - private List<Group> list; + @JsonProperty("groups") + private List<Group> list; - /** - * @return the list - */ - public List<Group> getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Groups [list=" + list + "]"; - } + /** + * @return the list + */ + public List<Group> getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Groups [list=" + list + "]"; + } - @Override - public Iterator<Group> iterator() { - return list.iterator(); - } - + @Override + public Iterator<Group> 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<Policy>, Serializable { - @JsonProperty("policies") - private List<Policy> list; + @JsonProperty("policies") + private List<Policy> list; - /** - * @return the list - */ - public List<Policy> getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Policies [list=" + list + "]"; - } + /** + * @return the list + */ + public List<Policy> getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Policies [list=" + list + "]"; + } - @Override - public Iterator<Policy> iterator() { - return list.iterator(); - } - + @Override + public Iterator<Policy> 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<String, String> blob = new HashMap<>(); + private String projectId; + + private String type; + + private String userId; + + private Map<String, String> 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<String, String> getBlob() { - return blob; - } + public Map<String, String> getBlob() { + return blob; + } - public void setBlob(Map<String, String> blob) { - this.blob = blob; - } - + public void setBlob(Map<String, String> 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<Project>, Serializable { - @JsonProperty("projects") - private List<Project> list; + @JsonProperty("projects") + private List<Project> list; - /** - * @return the list - */ - public List<Project> getList() { - return list; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Projects [list=" + list + "]"; - } + /** + * @return the list + */ + public List<Project> getList() { + return list; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Projects [list=" + list + "]"; + } - @Override - public Iterator<Project> iterator() { - return list.iterator(); - } - + @Override + public Iterator<Project> iterator() { + return list.iterator(); + } + } |