Update license headers
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiGetNetworkCollectionDetails / Vnf.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
22
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import org.onap.vid.aai.model.interfaces.AaiModelWithRelationships;
26
27 @JsonIgnoreProperties(ignoreUnknown = true)
28 public class Vnf implements AaiModelWithRelationships {
29     @JsonProperty("vnf-id")
30     private String vnfId;
31     @JsonProperty("vnf-name")
32     private String vnfName;
33     @JsonProperty("vnf-type")
34     private String vnfType;
35     @JsonProperty("resource-version")
36     private String resourceVersion;
37     @JsonProperty("orchestration-status")
38     private String orchestrationStatus;
39     @JsonProperty("relationship-list")
40     private RelationshipList relationshipList;
41
42
43     @JsonProperty("vnf-id")
44     public String getVnfId() {
45         return vnfId;
46     }
47
48     @JsonProperty("vnf-id")
49     public void setVnfId(String vnfId) {
50         this.vnfId = vnfId;
51     }
52
53     @JsonProperty("vnf-name")
54     public String getVnfName() {
55         return vnfName;
56     }
57
58     @JsonProperty("vnf-name")
59     public void setVnfName(String vnfName) {
60         this.vnfName = vnfName;
61     }
62
63     @JsonProperty("vnf-type")
64     public String getVnfType() {
65         return vnfType;
66     }
67
68     @JsonProperty("vnf-type")
69     public void setVnfType(String vnfType) {
70         this.vnfType = vnfType;
71     }
72
73     @JsonProperty("resource-version")
74     public String getResourceVersion() {
75         return resourceVersion;
76     }
77
78     @JsonProperty("resource-version")
79     public void setResourceVersion(String resourceVersion) {
80         this.resourceVersion = resourceVersion;
81     }
82
83     @JsonProperty("orchestration-status")
84     public String getOrchestrationStatus() {
85         return orchestrationStatus;
86     }
87
88     @JsonProperty("orchestration-status")
89     public void setOrchestrationStatus(String orchestrationStatus) {
90         this.orchestrationStatus = orchestrationStatus;
91     }
92
93     @Override
94     @JsonProperty("relationship-list")
95     public RelationshipList getRelationshipList() {
96         return relationshipList;
97     }
98
99     @JsonProperty("relationship-list")
100     public void setRelationshipList(RelationshipList relationshipList) {
101         this.relationshipList = relationshipList;
102     }
103
104 }