2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 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.policy.aai;
23 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
27 public class AaiNqVServer implements Serializable {
28 private static final long serialVersionUID = -6718526692734215643L;
30 @SerializedName("vserver-id")
31 private String vserverId;
33 @SerializedName("vserver-name")
34 private String vserverName;
36 @SerializedName("vserver-name2")
37 private String vserverName2;
39 @SerializedName("prov-status")
40 private String provStatus;
42 @SerializedName("vserver-selflink")
43 private String vserverSelflink;
45 @SerializedName("in-maint")
46 private Boolean inMaint;
48 @SerializedName("is-closed-loop-disabled")
49 private Boolean isClosedLoopDisabled;
51 @SerializedName("resource-version")
52 private String resourceVersion;
54 @SerializedName("relationship-list")
55 private RelationshipList relationshipList;
57 public String getVserverId() {
61 public String getVserverName() {
65 public String getVserverName2() {
69 public String getProvStatus() {
73 public String getVserverSelflink() {
74 return vserverSelflink;
77 public Boolean getInMaint() {
81 public Boolean getIsClosedLoopDisabled() {
82 return isClosedLoopDisabled;
85 public String getResourceVersion() {
86 return resourceVersion;
89 public RelationshipList getRelationshipList() {
90 return relationshipList;
93 public void setVserverId(String vserverId) {
94 this.vserverId = vserverId;
97 public void setVserverName(String vserverName) {
98 this.vserverName = vserverName;
101 public void setVserverName2(String vserverName2) {
102 this.vserverName2 = vserverName2;
105 public void setProvStatus(String provStatus) {
106 this.provStatus = provStatus;
109 public void setVserverSelflink(String vserverSelflink) {
110 this.vserverSelflink = vserverSelflink;
113 public void setInMaint(Boolean inMaint) {
114 this.inMaint = inMaint;
117 public void setIsClosedLoopDisabled(Boolean isClosedLoopDisabled) {
118 this.isClosedLoopDisabled = isClosedLoopDisabled;
121 public void setResourceVersion(String resourceVersion) {
122 this.resourceVersion = resourceVersion;
125 public void setRelationshipList(RelationshipList relationshipList) {
126 this.relationshipList = relationshipList;