Initial OpenECOMP MSO commit
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / nwrest / DeleteNetworkRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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.openecomp.mso.adapters.nwrest;
22
23
24
25 import org.openecomp.mso.entity.MsoRequest;
26
27 import javax.xml.bind.annotation.XmlRootElement;
28
29 import org.jboss.resteasy.annotations.providers.NoJackson;
30 import org.codehaus.jackson.map.annotate.JsonRootName;
31
32 @JsonRootName("deleteNetworkRequest")
33 @XmlRootElement(name = "deleteNetworkRequest")
34 @NoJackson
35 public class DeleteNetworkRequest extends NetworkRequestCommon {
36
37         private String cloudSiteId;
38         private String tenantId;
39         private String networkId;
40         private String networkStackId;
41         private String networkType;
42         private MsoRequest msoRequest = new MsoRequest();
43
44         public DeleteNetworkRequest() {}
45         
46         public String getCloudSiteId() {
47                 return cloudSiteId;
48         }
49
50         public void setCloudSiteId(String cloudSiteId) {
51                 this.cloudSiteId = cloudSiteId;
52         }
53
54         public String getTenantId() {
55                 return tenantId;
56         }
57
58         public void setTenantId(String tenantId) {
59                 this.tenantId = tenantId;
60         }
61
62         public String getNetworkId() {
63                 return networkId;
64         }
65
66         public void setNetworkId(String networkId) {
67                 this.networkId = networkId;
68         }
69
70         public String getNetworkStackId() {
71                 return networkStackId;
72         }
73
74         public void setNetworkStackId(String networkStackId) {
75                 this.networkStackId = networkStackId;
76         }
77
78         public String getNetworkType() {
79                 return networkType;
80         }
81
82         public void setNetworkType(String networkType) {
83                 this.networkType = networkType;
84         }
85
86         public MsoRequest getMsoRequest() {
87                 return msoRequest;
88         }
89
90         public void setMsoRequest(MsoRequest msoRequest) {
91                 this.msoRequest = msoRequest;
92         }
93 }