Update Request Bean
[so.git] / common / src / main / java / org / onap / so / beans / nsmf / UpdateCnNssi.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2020 Huawei Technologies Co., Ltd. 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.beans.nsmf;
22
23 import com.fasterxml.jackson.annotation.JsonInclude;
24
25 @JsonInclude(JsonInclude.Include.NON_NULL)
26 public class UpdateCnNssi {
27
28     public final static String URL = "/api/rest/provMns/v1/NSS/SliceProfiles/%s";
29
30     private String snssai;
31
32     private String nssiId;
33
34     private String nsstId;
35
36     private String flavorId;
37
38     private UpdateSliceProfile sliceProfile;
39
40     private String scriptName;
41
42     private String extension;
43
44     private NsiInfo nsiInfo;
45
46     private NewNsst newNsst;
47
48     public String getSnssai() {
49         return snssai;
50     }
51
52     public void setSnssai(String snssai) {
53         this.snssai = snssai;
54     }
55
56     public String getNssiId() {
57         return nssiId;
58     }
59
60     public void setNssiId(String nssiId) {
61         this.nssiId = nssiId;
62     }
63
64     public String getNsstId() {
65         return nsstId;
66     }
67
68     public void setNsstId(String nsstId) {
69         this.nsstId = nsstId;
70     }
71
72     public String getFlavorId() {
73         return flavorId;
74     }
75
76     public void setFlavorId(String flavorId) {
77         this.flavorId = flavorId;
78     }
79
80     public UpdateSliceProfile getSliceProfile() {
81         return sliceProfile;
82     }
83
84     public void setSliceProfile(UpdateSliceProfile sliceProfile) {
85         this.sliceProfile = sliceProfile;
86     }
87
88     public String getScriptName() {
89         return scriptName;
90     }
91
92     public void setScriptName(String scriptName) {
93         this.scriptName = scriptName;
94     }
95
96     public String getExtension() {
97         return extension;
98     }
99
100     public void setExtension(String extension) {
101         this.extension = extension;
102     }
103
104     public NsiInfo getNsiInfo() {
105         return nsiInfo;
106     }
107
108     public void setNsiInfo(NsiInfo nsiInfo) {
109         this.nsiInfo = nsiInfo;
110     }
111
112     public NewNsst getNewNsst() {
113         return newNsst;
114     }
115
116     public void setNewNsst(NewNsst newNsst) {
117         this.newNsst = newNsst;
118     }
119 }