a3aa659207a7f432ca0a3307bd516ddeb920fc9d
[policy/drools-applications.git] / controlloop / common / model-impl / aai / src / main / java / org / onap / policy / aai / AaiNqServiceInstance.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * aai
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.policy.aai;
22
23 import com.google.gson.annotations.SerializedName;
24
25 import java.io.Serializable;
26
27 public class AaiNqServiceInstance implements Serializable {
28     private static final long serialVersionUID = -8000944396593889586L;
29
30     @SerializedName("service-instance-id")
31     private String serviceInstanceId;
32
33     @SerializedName("service-instance-name")
34     private String serviceInstanceName;
35
36     @SerializedName("persona-model-id")
37     private String personaModelId;
38
39     @SerializedName("persona-model-version")
40     private String personaModelVersion;
41
42     @SerializedName("service-instance-location-id")
43     private String serviceInstanceLocationId;
44
45     @SerializedName("resource-version")
46     private String resourceVersion;
47
48     @SerializedName("model-invariant-id")
49     private String modelInvariantId;
50
51     @SerializedName("model-version-id")
52     private String modelVersionId;
53
54     public String getServiceInstanceId() {
55         return serviceInstanceId;
56     }
57
58     public String getServiceInstanceName() {
59         return serviceInstanceName;
60     }
61
62     public String getPersonaModelId() {
63         return personaModelId;
64     }
65
66     public String getPersonaModelVersion() {
67         return personaModelVersion;
68     }
69
70     public String getServiceInstanceLocationId() {
71         return serviceInstanceLocationId;
72     }
73
74     public String getResourceVersion() {
75         return resourceVersion;
76     }
77
78     public String getModelInvariantId() {
79         return modelInvariantId;
80     }
81
82     public String getModelVersionId() {
83         return modelVersionId;
84     }
85
86     public void setServiceInstanceId(String serviceInstanceId) {
87         this.serviceInstanceId = serviceInstanceId;
88     }
89
90     public void setServiceInstanceName(String serviceInstanceName) {
91         this.serviceInstanceName = serviceInstanceName;
92     }
93
94     public void setPersonaModelId(String personaModelId) {
95         this.personaModelId = personaModelId;
96     }
97
98     public void setPersonaModelVersion(String personaModelVersion) {
99         this.personaModelVersion = personaModelVersion;
100     }
101
102     public void setServiceInstanceLocationId(String serviceInstanceLocationId) {
103         this.serviceInstanceLocationId = serviceInstanceLocationId;
104     }
105
106     public void setResourceVersion(String resourceVersion) {
107         this.resourceVersion = resourceVersion;
108     }
109
110     public void setModelInvariantId(String modelInvariantId) {
111         this.modelInvariantId = modelInvariantId;
112     }
113
114     public void setModelVersionId(String modelVersionId) {
115         this.modelVersionId = modelVersionId;
116     }
117 }