*
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.onap.aai.sparky.search;
+package org.onap.aai.sparky.editattributes.entity;
-public class Suggestion {
+import java.util.HashMap;
+import java.util.Map;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The Class EditRequest.
+ */
+public class EditRequest {
+
+ @JsonProperty("entity-uri")
+ private String entityUri;
+
+ @JsonProperty("entity-type")
private String entityType;
- private String searchTags;
- private SearchEntityProperties properties;
- public Suggestion(SearchEntityProperties properties) {
- this.properties = properties;
- }
+ @JsonProperty("attributes")
+ private Map<String, Object> attributes = new HashMap<>();
- public String getEntityType() {
- return entityType;
+ public String getEntityUri() {
+ return entityUri;
}
- public String getSearchTags() {
- return searchTags;
+ public void setEntityUri(String entityUri) {
+ this.entityUri = entityUri;
}
- public SearchEntityProperties getProperties() {
- return properties;
+ public String getEntityType() {
+ return entityType;
}
public void setEntityType(String entityType) {
this.entityType = entityType;
}
- public void setSearchTags(String searchTags) {
- this.searchTags = searchTags;
+ public Map<String, Object> getAttributes() {
+ return attributes;
}
- public void setProperties(SearchEntityProperties properties) {
- this.properties = properties;
+ public void setAttributes(Map<String, Object> attributes) {
+ this.attributes = attributes;
}
}