2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.beans.nsmf;
23 import com.fasterxml.jackson.annotation.JsonInclude;
25 @JsonInclude(JsonInclude.Include.NON_NULL)
26 public class AllocateTnNssi {
28 public final static String URL = "/api/rest/provMns/v1/tn/NSS" + "/SliceProfiles";
30 private String nsstId;
32 private String flavorId;
34 private String nssiId;
36 private String nssiName;
38 private TnSliceProfile sliceProfile;
40 private String scriptName;
42 private Object extension;
44 private NsiInfo nsiInfo;
46 public String getNsstId() {
50 public void setNsstId(String nsstId) {
54 public String getFlavorId() {
58 public void setFlavorId(String flavorId) {
59 this.flavorId = flavorId;
62 public String getNssiId() {
66 public void setNssiId(String nssiId) {
70 public String getNssiName() {
74 public void setNssiName(String nssiName) {
75 this.nssiName = nssiName;
78 public TnSliceProfile getSliceProfile() {
82 public void setSliceProfile(TnSliceProfile sliceProfile) {
83 this.sliceProfile = sliceProfile;
86 public String getScriptName() {
90 public void setScriptName(String scriptName) {
91 this.scriptName = scriptName;
94 public Object getExtension() {
98 public void setExtension(Object extension) {
99 this.extension = extension;
102 public NsiInfo getNsiInfo() {
106 public void setNsiInfo(NsiInfo nsiInfo) {
107 this.nsiInfo = nsiInfo;