Merge "Update SO SIM project"
[so.git] / common / src / main / java / org / onap / so / beans / nsmf / AllocateAnNssi.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 AllocateAnNssi {
27
28     public final static String URL = "/api/rest/provMns/v1/an/NSS" + "/SliceProfiles";
29
30     private String nsstId;
31
32     private String flavorId;
33
34     private String nssiId;
35
36     private String nssiName;
37
38     private AnSliceProfile sliceProfile;
39
40     private String scriptName;
41
42     private Object extension;
43
44     private NsiInfo nsiInfo;
45
46     public String getNsstId() {
47         return nsstId;
48     }
49
50     public void setNsstId(String nsstId) {
51         this.nsstId = nsstId;
52     }
53
54     public String getFlavorId() {
55         return flavorId;
56     }
57
58     public void setFlavorId(String flavorId) {
59         this.flavorId = flavorId;
60     }
61
62     public String getNssiId() {
63         return nssiId;
64     }
65
66     public void setNssiId(String nssiId) {
67         this.nssiId = nssiId;
68     }
69
70     public String getNssiName() {
71         return nssiName;
72     }
73
74     public void setNssiName(String nssiName) {
75         this.nssiName = nssiName;
76     }
77
78     public AnSliceProfile getSliceProfile() {
79         return sliceProfile;
80     }
81
82     public void setSliceProfile(AnSliceProfile sliceProfile) {
83         this.sliceProfile = sliceProfile;
84     }
85
86     public String getScriptName() {
87         return scriptName;
88     }
89
90     public void setScriptName(String scriptName) {
91         this.scriptName = scriptName;
92     }
93
94     public Object getExtension() {
95         return extension;
96     }
97
98     public void setExtension(Object extension) {
99         this.extension = extension;
100     }
101
102     public NsiInfo getNsiInfo() {
103         return nsiInfo;
104     }
105
106     public void setNsiInfo(NsiInfo nsiInfo) {
107         this.nsiInfo = nsiInfo;
108     }
109 }