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 AaiNqServiceInstance implements Serializable {
29 private static final long serialVersionUID = -8000944396593889586L;
31 @SerializedName("service-instance-id")
32 private String serviceInstanceId;
34 @SerializedName("service-instance-name")
35 private String serviceInstanceName;
37 @SerializedName("persona-model-id")
38 private String personaModelId;
40 @SerializedName("persona-model-version")
41 private String personaModelVersion;
43 @SerializedName("service-instance-location-id")
44 private String serviceInstanceLocationId;
46 @SerializedName("resource-version")
47 private String resourceVersion;
49 @SerializedName("model-invariant-id")
50 private String modelInvariantId;
52 @SerializedName("model-version-id")
53 private String modelVersionId;
55 public String getServiceInstanceId() {
56 return serviceInstanceId;
59 public String getServiceInstanceName() {
60 return serviceInstanceName;
63 public String getPersonaModelId() {
64 return personaModelId;
67 public String getPersonaModelVersion() {
68 return personaModelVersion;
71 public String getServiceInstanceLocationId() {
72 return serviceInstanceLocationId;
75 public String getResourceVersion() {
76 return resourceVersion;
79 public String getModelInvariantId() {
80 return modelInvariantId;
83 public String getModelVersionId() {
84 return modelVersionId;
87 public void setServiceInstanceId(String serviceInstanceId) {
88 this.serviceInstanceId = serviceInstanceId;
91 public void setServiceInstanceName(String serviceInstanceName) {
92 this.serviceInstanceName = serviceInstanceName;
95 public void setPersonaModelId(String personaModelId) {
96 this.personaModelId = personaModelId;
99 public void setPersonaModelVersion(String personaModelVersion) {
100 this.personaModelVersion = personaModelVersion;
103 public void setServiceInstanceLocationId(String serviceInstanceLocationId) {
104 this.serviceInstanceLocationId = serviceInstanceLocationId;
107 public void setResourceVersion(String resourceVersion) {
108 this.resourceVersion = resourceVersion;
111 public void setModelInvariantId(String modelInvariantId) {
112 this.modelInvariantId = modelInvariantId;
115 public void setModelVersionId(String modelVersionId) {
116 this.modelVersionId = modelVersionId;