Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiGetNetworkCollectionDetails / Vnf.java
1 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
2
3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4 import com.fasterxml.jackson.annotation.JsonProperty;
5 import org.onap.vid.aai.model.interfaces.AaiModelWithRelationships;
6
7 @JsonIgnoreProperties(ignoreUnknown = true)
8 public class Vnf implements AaiModelWithRelationships {
9     @JsonProperty("vnf-id")
10     private String vnfId;
11     @JsonProperty("vnf-name")
12     private String vnfName;
13     @JsonProperty("vnf-type")
14     private String vnfType;
15     @JsonProperty("resource-version")
16     private String resourceVersion;
17     @JsonProperty("orchestration-status")
18     private String orchestrationStatus;
19     @JsonProperty("relationship-list")
20     private RelationshipList relationshipList;
21
22
23     @JsonProperty("vnf-id")
24     public String getVnfId() {
25         return vnfId;
26     }
27
28     @JsonProperty("vnf-id")
29     public void setVnfId(String vnfId) {
30         this.vnfId = vnfId;
31     }
32
33     @JsonProperty("vnf-name")
34     public String getVnfName() {
35         return vnfName;
36     }
37
38     @JsonProperty("vnf-name")
39     public void setVnfName(String vnfName) {
40         this.vnfName = vnfName;
41     }
42
43     @JsonProperty("vnf-type")
44     public String getVnfType() {
45         return vnfType;
46     }
47
48     @JsonProperty("vnf-type")
49     public void setVnfType(String vnfType) {
50         this.vnfType = vnfType;
51     }
52
53     @JsonProperty("resource-version")
54     public String getResourceVersion() {
55         return resourceVersion;
56     }
57
58     @JsonProperty("resource-version")
59     public void setResourceVersion(String resourceVersion) {
60         this.resourceVersion = resourceVersion;
61     }
62
63     @JsonProperty("orchestration-status")
64     public String getOrchestrationStatus() {
65         return orchestrationStatus;
66     }
67
68     @JsonProperty("orchestration-status")
69     public void setOrchestrationStatus(String orchestrationStatus) {
70         this.orchestrationStatus = orchestrationStatus;
71     }
72
73     @Override
74     @JsonProperty("relationship-list")
75     public RelationshipList getRelationshipList() {
76         return relationshipList;
77     }
78
79     @JsonProperty("relationship-list")
80     public void setRelationshipList(RelationshipList relationshipList) {
81         this.relationshipList = relationshipList;
82     }
83
84 }