blob: 554449b96d90eb682d74e5908965e21df0d464f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
package org.onap.vid.aai.model;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class SimpleResult {
private String id;
private String nodeType;
private String url;
private Properties properties;
private List<RelatedTo> relatedTo = null;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<>();
public String getId() {
return id;
}
@JsonProperty("id")
public void setJsonId(String id) {
this.id = id;
}
public String getNodeType() {
return nodeType;
}
@JsonProperty("node-type")
public void setJsonNodeType(String nodeType) {
this.nodeType = nodeType;
}
public String getUrl() {
return url;
}
@JsonProperty("url")
public void setJsonUrl(String url) {
this.url = url;
}
public Properties getProperties() {
return properties;
}
@JsonProperty("properties")
public void setJsonProperties(Properties properties) {
this.properties = properties;
}
public List<RelatedTo> getRelatedTo() {
return relatedTo;
}
@JsonProperty("related-to")
public void setJsonRelatedTo(List<RelatedTo> relatedTo) {
this.relatedTo = relatedTo;
}
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setJsonAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
|