AAI Query optimization for VID
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / CustomerSpecificServiceInstance.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 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.vid.aai;
22
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 public class CustomerSpecificServiceInstance {
28         
29         @JsonProperty("service-instance-id")
30         public String serviceInstanceId;
31
32         @JsonProperty("service-instance-name")
33         public String serviceInstanceName;
34
35         @JsonProperty("orchestration-status")
36         public String orchestrationStatus;
37
38         @JsonProperty("model-invariant-id")
39         public String modelInvariantId;
40
41         @JsonProperty("model-version-id")
42         public String modelVersionId;
43
44         public String getServiceInstanceId() {
45                 return serviceInstanceId;
46         }
47
48         public void setServiceInstanceId(String serviceInstanceId) {
49                 this.serviceInstanceId = serviceInstanceId;
50         }
51
52         public String getServiceInstanceName() {
53                 return serviceInstanceName;
54         }
55
56         public void setServiceInstanceName(String serviceInstanceName) {
57                 this.serviceInstanceName = serviceInstanceName;
58         }
59
60         public String getOrchestrationStatus() {
61                 return orchestrationStatus;
62         }
63
64         public void setOrchestrationStatus(String orchestrationStatus) {
65                 this.orchestrationStatus = orchestrationStatus;
66         }
67
68         public String getModelInvariantId() {
69                 return modelInvariantId;
70         }
71
72         public void setModelInvariantId(String modelInvariantId) {
73                 this.modelInvariantId = modelInvariantId;
74         }
75
76         public String getModelVersionId() {
77                 return modelVersionId;
78         }
79
80         public void setModelVersionId(String modelVersionId) {
81                 this.modelVersionId = modelVersionId;
82         }
83
84         public String getSelfLink() {
85                 return selfLink;
86         }
87
88         public void setSelfLink(String selfLink) {
89                 this.selfLink = selfLink;
90         }
91
92         public String getServiceRole() {
93                 return serviceRole;
94         }
95
96         public void setServiceRole(String serviceRole) {
97                 this.serviceRole = serviceRole;
98         }
99
100         public String getServiceType() {
101                 return serviceType;
102         }
103
104         public void setServiceType(String serviceType) {
105                 this.serviceType = serviceType;
106         }
107
108         public String getEnvironmentContext() {
109                 return environmentContext;
110         }
111
112         public void setEnvironmentContext(String environmentContext) {
113                 this.environmentContext = environmentContext;
114         }
115
116         public String getWorkloadContext() {
117                 return workloadContext;
118         }
119
120         public void setWorkloadContext(String workloadContext) {
121                 this.workloadContext = workloadContext;
122         }
123
124         public String getResourceVersion() {
125                 return resourceVersion;
126         }
127
128         public void setResourceVersion(String resourceVersion) {
129                 this.resourceVersion = resourceVersion;
130         }
131
132         @JsonProperty("selflink")
133         public String selfLink;
134
135         @JsonProperty("service-role")
136         public String serviceRole;
137
138         @JsonProperty("service-type")
139         public String serviceType;
140
141         @JsonProperty("environment-context")
142         public String environmentContext;
143
144         @JsonProperty("workload-context")
145         public String workloadContext;
146
147         @JsonProperty("resource-version")
148         public String resourceVersion;
149
150 }