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 except in compliance with the License.
10 * You may obtain a copy of the License at
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;
26 import java.io.Serializable;
28 public class AaiNqVServer implements Serializable {
29 private static final long serialVersionUID = -6718526692734215643L;
31 @SerializedName("vserver-id")
32 private String vserverId;
34 @SerializedName("vserver-name")
35 private String vserverName;
37 @SerializedName("vserver-name2")
38 private String vserverName2;
40 @SerializedName("prov-status")
41 private String provStatus;
43 @SerializedName("vserver-selflink")
44 private String vserverSelflink;
46 @SerializedName("in-maint")
47 private Boolean inMaint;
49 @SerializedName("is-closed-loop-disabled")
50 private Boolean isClosedLoopDisabled;
52 @SerializedName("resource-version")
53 private String resourceVersion;
55 @SerializedName("relationship-list")
56 private RelationshipList relationshipList;
58 public String getVserverId() {
62 public String getVserverName() {
66 public String getVserverName2() {
70 public String getProvStatus() {
74 public String getVserverSelflink() {
75 return vserverSelflink;
78 public Boolean getInMaint() {
82 public Boolean getIsClosedLoopDisabled() {
83 return isClosedLoopDisabled;
86 public String getResourceVersion() {
87 return resourceVersion;
90 public RelationshipList getRelationshipList() {
91 return relationshipList;
94 public void setVserverId(String vserverId) {
95 this.vserverId = vserverId;
98 public void setVserverName(String vserverName) {
99 this.vserverName = vserverName;
102 public void setVserverName2(String vserverName2) {
103 this.vserverName2 = vserverName2;
106 public void setProvStatus(String provStatus) {
107 this.provStatus = provStatus;
110 public void setVserverSelflink(String vserverSelflink) {
111 this.vserverSelflink = vserverSelflink;
114 public void setInMaint(Boolean inMaint) {
115 this.inMaint = inMaint;
118 public void setIsClosedLoopDisabled(Boolean isClosedLoopDisabled) {
119 this.isClosedLoopDisabled = isClosedLoopDisabled;
122 public void setResourceVersion(String resourceVersion) {
123 this.resourceVersion = resourceVersion;
126 public void setRelationshipList(RelationshipList relationshipList) {
127 this.relationshipList = relationshipList;