2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import org.onap.vid.aai.model.interfaces.AaiModelWithRelationships;
27 @JsonIgnoreProperties(ignoreUnknown = true)
28 public class Vnf implements AaiModelWithRelationships {
29 @JsonProperty("vnf-id")
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;
43 @JsonProperty("vnf-id")
44 public String getVnfId() {
48 @JsonProperty("vnf-id")
49 public void setVnfId(String vnfId) {
53 @JsonProperty("vnf-name")
54 public String getVnfName() {
58 @JsonProperty("vnf-name")
59 public void setVnfName(String vnfName) {
60 this.vnfName = vnfName;
63 @JsonProperty("vnf-type")
64 public String getVnfType() {
68 @JsonProperty("vnf-type")
69 public void setVnfType(String vnfType) {
70 this.vnfType = vnfType;
73 @JsonProperty("resource-version")
74 public String getResourceVersion() {
75 return resourceVersion;
78 @JsonProperty("resource-version")
79 public void setResourceVersion(String resourceVersion) {
80 this.resourceVersion = resourceVersion;
83 @JsonProperty("orchestration-status")
84 public String getOrchestrationStatus() {
85 return orchestrationStatus;
88 @JsonProperty("orchestration-status")
89 public void setOrchestrationStatus(String orchestrationStatus) {
90 this.orchestrationStatus = orchestrationStatus;
94 @JsonProperty("relationship-list")
95 public RelationshipList getRelationshipList() {
96 return relationshipList;
99 @JsonProperty("relationship-list")
100 public void setRelationshipList(RelationshipList relationshipList) {
101 this.relationshipList = relationshipList;