2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6 * Modifications Copyright (C) 2019 Nordix Foundation.
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file excthe License at
10 * ept in compliance with the License.
11 * You may obtain a copy of
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.policy.aai;
24 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
27 public class AaiGetVnfResponse extends AaiGetResponse implements Serializable {
29 private static final long serialVersionUID = -6247505944905898871L;
31 @SerializedName("vnf-id")
34 @SerializedName("vnf-name")
35 private String vnfName;
37 @SerializedName("vnf-type")
38 private String vnfType;
40 @SerializedName("service-id")
41 private String serviceId;
43 @SerializedName("orchestration-status")
44 private String orchestrationStatus;
46 @SerializedName("in-maint")
47 private boolean inMaint;
49 @SerializedName("is-closed-loop-disabled")
50 private boolean isClosedLoopDisabled;
52 @SerializedName("model-invariant-id")
53 private String modelInvariantId;
55 @SerializedName("prov-status")
56 private String provStatus;
58 @SerializedName("resource-version")
59 private String resourceVersion;
61 @SerializedName("relationship-list")
62 private RelationshipList relationshipList;
64 public String getVnfId() {
68 public String getVnfName() {
72 public String getVnfType() {
76 public String getServiceId() {
80 public String getOrchestrationStatus() {
81 return orchestrationStatus;
84 public boolean getInMaint() {
88 public boolean getIsClosedLoopDisabled() {
89 return isClosedLoopDisabled;
92 public String getModelInvariantId() {
93 return modelInvariantId;
96 public String getProvStatus() {
100 public String getResourceVersion() {
101 return resourceVersion;
104 public RelationshipList getRelationshipList() {
105 return relationshipList;
108 public void setVnfId(String vnfId) {
112 public void setVnfName(String vnfName) {
113 this.vnfName = vnfName;
116 public void setVnfType(String vnfType) {
117 this.vnfType = vnfType;
120 public void setServiceId(String serviceId) {
121 this.serviceId = serviceId;
124 public void setOrchestrationStatus(String orchestrationStatus) {
125 this.orchestrationStatus = orchestrationStatus;
128 public void setInMaint(boolean inMaint) {
129 this.inMaint = inMaint;
132 public void setIsClosedLoopDisabled(boolean isClosedLoopDisabled) {
133 this.isClosedLoopDisabled = isClosedLoopDisabled;
136 public void setModelInvariantId(String modelInvariantId) {
137 this.modelInvariantId = modelInvariantId;
140 public void setProvStatus(String provStatus) {
141 this.provStatus = provStatus;
144 public void setResourceVersion(String resourceVersion) {
145 this.resourceVersion = resourceVersion;
148 public void setRelationshipList(RelationshipList relationshipList) {
149 this.relationshipList = relationshipList;