Subnet Type update for respective TN domain
[so.git] / common / src / main / java / org / onap / so / beans / nsmf / TnSliceProfile.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 import com.fasterxml.jackson.annotation.JsonProperty;
25 import lombok.Data;
26 import java.io.Serializable;
27 import java.util.List;
28
29 @JsonInclude(JsonInclude.Include.NON_NULL)
30 @Data
31 public class TnSliceProfile implements Serializable {
32
33     private static final long serialVersionUID = 3767943556195823439L;
34
35     private String sliceProfileId;
36
37     @JsonProperty(value = "maxBandwidth")
38     private int maxBandwidth;
39
40     @JsonInclude(JsonInclude.Include.NON_DEFAULT)
41     private int latency;
42
43     @JsonProperty(value = "snssaiList", required = true)
44     private List<String> sNSSAIList;
45
46     @JsonProperty(value = "plmnIdList", required = true)
47     private List<String> pLMNIdList;
48
49     @JsonProperty(value = "jitter")
50     private int jitter;
51
52     @JsonProperty(value = "domainType")
53     private String domainType;
54
55     @JsonProperty(value = "resourceSharingLevel")
56     private ResourceSharingLevel resourceSharingLevel;
57 }