2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Modifications Copyright (C) 2018 IBM.
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
23 package org.onap.so.adapters.nwrest;
27 import javax.xml.bind.annotation.XmlRootElement;
28 import org.onap.so.entity.MsoRequest;
29 import com.fasterxml.jackson.annotation.JsonRootName;
32 @JsonRootName("deleteNetworkRequest")
33 @XmlRootElement(name = "deleteNetworkRequest")
34 public class DeleteNetworkRequest extends NetworkRequestCommon {
39 private static final long serialVersionUID = -2445072708572065058L;
40 private String cloudSiteId;
41 private String tenantId;
42 private String networkId;
43 private String networkStackId;
44 private String networkType;
45 private String modelCustomizationUuid;
46 private MsoRequest msoRequest = new MsoRequest();
48 public DeleteNetworkRequest() {
49 // empty default constructor
52 public String getCloudSiteId() {
56 public void setCloudSiteId(String cloudSiteId) {
57 this.cloudSiteId = cloudSiteId;
60 public String getTenantId() {
64 public void setTenantId(String tenantId) {
65 this.tenantId = tenantId;
68 public String getNetworkId() {
72 public void setNetworkId(String networkId) {
73 this.networkId = networkId;
76 public String getNetworkStackId() {
77 return networkStackId;
80 public void setNetworkStackId(String networkStackId) {
81 this.networkStackId = networkStackId;
84 public String getNetworkType() {
88 public void setNetworkType(String networkType) {
89 this.networkType = networkType;
92 public String getModelCustomizationUuid() {
93 return this.modelCustomizationUuid;
96 public void setModelCustomizationUuid(String modelCustomizationUuid) {
97 this.modelCustomizationUuid = modelCustomizationUuid;
100 public MsoRequest getMsoRequest() {
104 public void setMsoRequest(MsoRequest msoRequest) {
105 this.msoRequest = msoRequest;