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;
29 import org.onap.so.entity.MsoRequest;
31 import com.fasterxml.jackson.annotation.JsonRootName;
34 @JsonRootName("deleteNetworkRequest")
35 @XmlRootElement(name = "deleteNetworkRequest")
36 public class DeleteNetworkRequest extends NetworkRequestCommon {
41 private static final long serialVersionUID = -2445072708572065058L;
42 private String cloudSiteId;
43 private String tenantId;
44 private String networkId;
45 private String networkStackId;
46 private String networkType;
47 private String modelCustomizationUuid;
48 private MsoRequest msoRequest = new MsoRequest();
50 public DeleteNetworkRequest() {
51 //empty default constructor
54 public String getCloudSiteId() {
58 public void setCloudSiteId(String cloudSiteId) {
59 this.cloudSiteId = cloudSiteId;
62 public String getTenantId() {
66 public void setTenantId(String tenantId) {
67 this.tenantId = tenantId;
70 public String getNetworkId() {
74 public void setNetworkId(String networkId) {
75 this.networkId = networkId;
78 public String getNetworkStackId() {
79 return networkStackId;
82 public void setNetworkStackId(String networkStackId) {
83 this.networkStackId = networkStackId;
86 public String getNetworkType() {
90 public void setNetworkType(String networkType) {
91 this.networkType = networkType;
94 public String getModelCustomizationUuid() {
95 return this.modelCustomizationUuid;
98 public void setModelCustomizationUuid(String modelCustomizationUuid) {
99 this.modelCustomizationUuid = modelCustomizationUuid;
102 public MsoRequest getMsoRequest() {
106 public void setMsoRequest(MsoRequest msoRequest) {
107 this.msoRequest = msoRequest;