2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.serviceinstancebeans;
23 import java.io.Serializable;
25 import com.fasterxml.jackson.annotation.JsonProperty;
27 public class ServiceInstancesRequest implements Serializable {
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;
47 public RequestDetails getRequestDetails() {
48 return requestDetails;
51 public void setRequestDetails(RequestDetails requestDetails) {
52 this.requestDetails = requestDetails;
55 public String getServiceInstanceId() {
56 return serviceInstanceId;
59 public void setServiceInstanceId(String serviceInstanceId) {
60 this.serviceInstanceId = serviceInstanceId;
63 public String getVnfInstanceId() {
67 public void setVnfInstanceId(String vnfInstanceId) {
68 this.vnfInstanceId = vnfInstanceId;
71 public String getNetworkInstanceId() {
72 return networkInstanceId;
75 public void setNetworkInstanceId(String networkInstanceId) {
76 this.networkInstanceId = networkInstanceId;
79 public String getVolumeGroupInstanceId() {
80 return volumeGroupInstanceId;
83 public void setVolumeGroupInstanceId(String volumeGroupInstanceId) {
84 this.volumeGroupInstanceId = volumeGroupInstanceId;
87 public String getVfModuleInstanceId() {
88 return vfModuleInstanceId;
91 public void setVfModuleInstanceId(String vfModuleInstanceId) {
92 this.vfModuleInstanceId = vfModuleInstanceId;
95 public String getConfigurationId() {
96 return configurationId;
99 public void setConfigurationId(String configurationId) {
100 this.configurationId = configurationId;
103 public String getInstanceGroupId() {
104 return instanceGroupId;
107 public void setInstanceGroupId(String instanceGroupId) {
108 this.instanceGroupId = instanceGroupId;
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('\'');
122 return sb.toString();