Dimitrios Mavrommatis | 96b255a | 2017-12-06 13:09:25 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017-present Open Networking Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package org.onosproject.xran.impl.entities; |
| 18 | |
| 19 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| 20 | import com.fasterxml.jackson.annotation.JsonProperty; |
| 21 | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| 22 | |
| 23 | import java.util.Set; |
| 24 | |
| 25 | /** |
| 26 | * Created by dimitris on 7/22/17. |
| 27 | */ |
| 28 | @JsonPropertyOrder({ |
| 29 | "Identifier", |
| 30 | "Description", |
| 31 | "UE-IDs", |
| 32 | "Links", |
| 33 | "ValidityPeriod", |
| 34 | "DesiredKPIs", |
| 35 | "DeliveredKPIs", |
| 36 | "RRMConfiguration" |
| 37 | }) |
| 38 | @JsonIgnoreProperties(ignoreUnknown = true) |
| 39 | public class RnibSlice { |
| 40 | @JsonProperty("Identifier") |
| 41 | private long sliceId; |
| 42 | @JsonProperty("Description") |
| 43 | private String description; |
| 44 | @JsonProperty("UE-IDs") |
| 45 | private Set<Long> ueID; |
| 46 | @JsonProperty("Links") |
| 47 | private Set<RnibLink> links; |
| 48 | @JsonProperty("ValidityPeriod") |
| 49 | private long validityPeriod; |
| 50 | @JsonProperty("DesiredKPIs") |
| 51 | private Object desiredKpis; |
| 52 | @JsonProperty("DeliveredKPIs") |
| 53 | private Object deliveredKpis; |
| 54 | @JsonProperty("RRMConfiguration") |
| 55 | private Object rrmConfiguration; |
| 56 | |
| 57 | public long getSliceId() { |
| 58 | return sliceId; |
| 59 | } |
| 60 | |
| 61 | public void setSliceId(long sliceId) { |
| 62 | this.sliceId = sliceId; |
| 63 | } |
| 64 | |
| 65 | public String getDescription() { |
| 66 | return description; |
| 67 | } |
| 68 | |
| 69 | public void setDescription(String description) { |
| 70 | this.description = description; |
| 71 | } |
| 72 | |
| 73 | public Set<Long> getUeID() { |
| 74 | return ueID; |
| 75 | } |
| 76 | |
| 77 | public void setUeID(Set<Long> ueID) { |
| 78 | this.ueID = ueID; |
| 79 | } |
| 80 | |
| 81 | public Set<RnibLink> getLinks() { |
| 82 | return links; |
| 83 | } |
| 84 | |
| 85 | public void setLinks(Set<RnibLink> links) { |
| 86 | this.links = links; |
| 87 | } |
| 88 | |
| 89 | public long getValidityPeriod() { |
| 90 | return validityPeriod; |
| 91 | } |
| 92 | |
| 93 | public void setValidityPeriod(long validityPeriod) { |
| 94 | this.validityPeriod = validityPeriod; |
| 95 | } |
| 96 | |
| 97 | public Object getDesiredKpis() { |
| 98 | return desiredKpis; |
| 99 | } |
| 100 | |
| 101 | public void setDesiredKpis(Object desiredKpis) { |
| 102 | this.desiredKpis = desiredKpis; |
| 103 | } |
| 104 | |
| 105 | public Object getDeliveredKpis() { |
| 106 | return deliveredKpis; |
| 107 | } |
| 108 | |
| 109 | public void setDeliveredKpis(Object deliveredKpis) { |
| 110 | this.deliveredKpis = deliveredKpis; |
| 111 | } |
| 112 | |
| 113 | public Object getRrmConfiguration() { |
| 114 | return rrmConfiguration; |
| 115 | } |
| 116 | |
| 117 | public void setRrmConfiguration(Object rrmConfiguration) { |
| 118 | this.rrmConfiguration = rrmConfiguration; |
| 119 | } |
| 120 | } |