3d0f70805c25f0391f628b8f513d621b11a78d97
[so.git] / common / src / main / java / org / onap / so / beans / nsmf / AnSliceProfile.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 lombok.ToString;
27 import java.io.Serializable;
28 import java.util.List;
29
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @Data
32 @ToString
33 public class AnSliceProfile implements Serializable {
34     /*
35      * Reference 3GPP TS 28.541 V16.5.0.
36      */
37
38     private static final long serialVersionUID = -3057342171549542794L;
39
40     @JsonProperty(value = "sliceProfileId", required = true)
41     private String sliceProfileId;
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 = "perfReq", required = true)
50     private PerfReq perfReq;
51
52     @JsonInclude(JsonInclude.Include.NON_DEFAULT)
53     @JsonProperty(value = "maxNumberofUEs")
54     private int maxNumberOfUEs;
55
56     @JsonProperty(value = "coverageAreaTAList")
57     private List<Integer> coverageAreaTAList;
58
59     @JsonInclude(JsonInclude.Include.NON_DEFAULT)
60     @JsonProperty(value = "latency")
61     private int latency;
62
63     @JsonProperty(value = "uEMobilityLevel")
64     private UeMobilityLevel ueMobilityLevel;
65
66     @JsonProperty(value = "resourceSharingLevel")
67     private ResourceSharingLevel resourceSharingLevel;
68
69 }