migrate model-impl from drools-applications
[policy/models.git] / models-interactions / model-impl / aai / src / main / java / org / onap / policy / aai / AaiGetVnfResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * aai
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
13  *
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=========================================================
20  */
21
22 package org.onap.policy.aai;
23
24 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
26
27 public class AaiGetVnfResponse extends AaiGetResponse implements Serializable {
28
29     private static final long serialVersionUID = -6247505944905898871L;
30
31     @SerializedName("vnf-id")
32     private String vnfId;
33
34     @SerializedName("vnf-name")
35     private String vnfName;
36
37     @SerializedName("vnf-type")
38     private String vnfType;
39
40     @SerializedName("service-id")
41     private String serviceId;
42
43     @SerializedName("orchestration-status")
44     private String orchestrationStatus;
45
46     @SerializedName("in-maint")
47     private boolean inMaint;
48
49     @SerializedName("is-closed-loop-disabled")
50     private boolean isClosedLoopDisabled;
51
52     @SerializedName("model-invariant-id")
53     private String modelInvariantId;
54
55     @SerializedName("prov-status")
56     private String provStatus;
57
58     @SerializedName("resource-version")
59     private String resourceVersion;
60
61     @SerializedName("relationship-list")
62     private RelationshipList relationshipList;
63
64     public String getVnfId() {
65         return vnfId;
66     }
67
68     public String getVnfName() {
69         return vnfName;
70     }
71
72     public String getVnfType() {
73         return vnfType;
74     }
75
76     public String getServiceId() {
77         return serviceId;
78     }
79
80     public String getOrchestrationStatus() {
81         return orchestrationStatus;
82     }
83
84     public boolean getInMaint() {
85         return inMaint;
86     }
87
88     public boolean getIsClosedLoopDisabled() {
89         return isClosedLoopDisabled;
90     }
91
92     public String getModelInvariantId() {
93         return modelInvariantId;
94     }
95
96     public String getProvStatus() {
97         return provStatus;
98     }
99
100     public String getResourceVersion() {
101         return resourceVersion;
102     }
103
104     public RelationshipList getRelationshipList() {
105         return relationshipList;
106     }
107
108     public void setVnfId(String vnfId) {
109         this.vnfId = vnfId;
110     }
111
112     public void setVnfName(String vnfName) {
113         this.vnfName = vnfName;
114     }
115
116     public void setVnfType(String vnfType) {
117         this.vnfType = vnfType;
118     }
119
120     public void setServiceId(String serviceId) {
121         this.serviceId = serviceId;
122     }
123
124     public void setOrchestrationStatus(String orchestrationStatus) {
125         this.orchestrationStatus = orchestrationStatus;
126     }
127
128     public void setInMaint(boolean inMaint) {
129         this.inMaint = inMaint;
130     }
131
132     public void setIsClosedLoopDisabled(boolean isClosedLoopDisabled) {
133         this.isClosedLoopDisabled = isClosedLoopDisabled;
134     }
135
136     public void setModelInvariantId(String modelInvariantId) {
137         this.modelInvariantId = modelInvariantId;
138     }
139
140     public void setProvStatus(String provStatus) {
141         this.provStatus = provStatus;
142     }
143
144     public void setResourceVersion(String resourceVersion) {
145         this.resourceVersion = resourceVersion;
146     }
147
148     public void setRelationshipList(RelationshipList relationshipList) {
149         this.relationshipList = relationshipList;
150     }
151 }