CorrelationId cleanup
[so.git] / common / src / main / java / org / onap / so / serviceinstancebeans / ServiceInstancesRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 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.so.serviceinstancebeans;
22
23 import java.io.Serializable;
24
25 import com.fasterxml.jackson.annotation.JsonProperty;
26
27 public class ServiceInstancesRequest implements Serializable {
28
29         private static final long serialVersionUID = -4959169541182257787L;
30         @JsonProperty("requestDetails")
31         private RequestDetails requestDetails;
32         @JsonProperty("serviceInstanceId")
33         private String serviceInstanceId;
34         @JsonProperty("vnfInstanceId")
35         private String vnfInstanceId;
36         @JsonProperty("networkInstanceId")
37         private String networkInstanceId;
38         @JsonProperty("volumeGroupInstanceId")
39         private String volumeGroupInstanceId;
40         @JsonProperty("vfModuleInstanceId")
41         private String vfModuleInstanceId;
42         @JsonProperty("configurationId")
43         private String configurationId;
44         @JsonProperty("instanceGroupId")
45         private String instanceGroupId;
46
47         public RequestDetails getRequestDetails() {
48                 return requestDetails;
49         }
50
51         public void setRequestDetails(RequestDetails requestDetails) {
52                 this.requestDetails = requestDetails;
53         }
54
55         public String getServiceInstanceId() {
56                 return serviceInstanceId;
57         }
58
59         public void setServiceInstanceId(String serviceInstanceId) {
60                 this.serviceInstanceId = serviceInstanceId;
61         }
62
63         public String getVnfInstanceId() {
64                 return vnfInstanceId;
65         }
66
67         public void setVnfInstanceId(String vnfInstanceId) {
68                 this.vnfInstanceId = vnfInstanceId;
69         }
70
71         public String getNetworkInstanceId() {
72                 return networkInstanceId;
73         }
74
75         public void setNetworkInstanceId(String networkInstanceId) {
76                 this.networkInstanceId = networkInstanceId;
77         }
78
79         public String getVolumeGroupInstanceId() {
80                 return volumeGroupInstanceId;
81         }
82
83         public void setVolumeGroupInstanceId(String volumeGroupInstanceId) {
84                 this.volumeGroupInstanceId = volumeGroupInstanceId;
85         }
86
87         public String getVfModuleInstanceId() {
88                 return vfModuleInstanceId;
89         }
90
91         public void setVfModuleInstanceId(String vfModuleInstanceId) {
92                 this.vfModuleInstanceId = vfModuleInstanceId;
93         }
94
95         public String getConfigurationId() {
96                 return configurationId;
97         }
98
99         public void setConfigurationId(String configurationId) {
100                 this.configurationId = configurationId;
101         }
102
103         public String getInstanceGroupId() {
104                 return instanceGroupId;
105         }
106         
107         public void setInstanceGroupId(String instanceGroupId) {
108                 this.instanceGroupId = instanceGroupId;
109         }
110
111         @Override
112         public String toString() {
113                 final StringBuilder sb = new StringBuilder("ServiceInstancesRequest{");
114                 sb.append("requestDetails=").append(requestDetails);
115                 sb.append(", serviceInstanceId='").append(serviceInstanceId).append('\'');
116                 sb.append(", vnfInstanceId='").append(vnfInstanceId).append('\'');
117                 sb.append(", networkInstanceId='").append(networkInstanceId).append('\'');
118                 sb.append(", volumeGroupInstanceId='").append(volumeGroupInstanceId).append('\'');
119                 sb.append(", vfModuleInstanceId='").append(vfModuleInstanceId).append('\'');
120                 sb.append(", configurationId='").append(configurationId).append('\'');
121                 sb.append('}');
122                 return sb.toString();
123         }
124 }