diff options
Diffstat (limited to 'src/main/java/com/wipro/www/sonhms/model')
24 files changed, 1620 insertions, 0 deletions
diff --git a/src/main/java/com/wipro/www/sonhms/model/CellConfig.java b/src/main/java/com/wipro/www/sonhms/model/CellConfig.java new file mode 100644 index 0000000..1fab733 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/CellConfig.java @@ -0,0 +1,47 @@ +/*- + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class CellConfig { + + @JsonProperty(value = "LTE") + private Lte lte; + + public CellConfig() { + + } + + public CellConfig(Lte lte) { + super(); + this.lte = lte; + } + + public Lte getLte() { + return lte; + } + + public void setLte(Lte lte) { + this.lte = lte; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/CellNeighbourList.java b/src/main/java/com/wipro/www/sonhms/model/CellNeighbourList.java new file mode 100644 index 0000000..5bbff6d --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/CellNeighbourList.java @@ -0,0 +1,69 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +public class CellNeighbourList { + + private String cellId; + private int physicalCellId; + private String neighbours; + + public String getCellId() { + return cellId; + } + + public void setCellId(String cellId) { + this.cellId = cellId; + } + + public int getPhysicalCellId() { + return physicalCellId; + } + + public void setPhysicalCellId(int physicalCellId) { + this.physicalCellId = physicalCellId; + } + + public String getNeighbours() { + return neighbours; + } + + public void setNeighbours(String neighbours) { + this.neighbours = neighbours; + } + + /** + * constructor. + */ + public CellNeighbourList() { + + } + + /** + * Parameterized constructor. + */ + public CellNeighbourList(String cellId, int physicalCellId, String neighbours) { + super(); + this.cellId = cellId; + this.physicalCellId = physicalCellId; + this.neighbours = neighbours; + } +} diff --git a/src/main/java/com/wipro/www/sonhms/model/CellPciPair.java b/src/main/java/com/wipro/www/sonhms/model/CellPciPair.java new file mode 100644 index 0000000..fb4c91a --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/CellPciPair.java @@ -0,0 +1,98 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class CellPciPair { + @JsonProperty("cellId") + private String cellId; + + @JsonProperty("physicalCellId") + private int physicalCellId; + + @Override + public String toString() { + return "CellPciPair [cellId=" + cellId + ", physicalCellId=" + physicalCellId + "]"; + } + + public CellPciPair() { + + } + + /** + * Parameterized constructor. + */ + public CellPciPair(String cellId, int physicalCellId) { + super(); + this.cellId = cellId; + this.physicalCellId = physicalCellId; + } + + public String getCellId() { + return cellId; + } + + public void setCellId(String cellId) { + this.cellId = cellId; + } + + public int getPhysicalCellId() { + return physicalCellId; + } + + public void setPhysicalCellId(int physicalCellId) { + this.physicalCellId = physicalCellId; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = (prime * result) + ((cellId == null) ? 0 : cellId.hashCode()); + result = (prime * result) + physicalCellId; + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + + } + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + CellPciPair other = (CellPciPair) obj; + if (cellId == null) { + if (other.cellId != null) { + return false; + } + } else if (!cellId.equals(other.cellId)) { + return false; + } + return (physicalCellId == other.physicalCellId); + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Common.java b/src/main/java/com/wipro/www/sonhms/model/Common.java new file mode 100644 index 0000000..f317467 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Common.java @@ -0,0 +1,47 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Common { + + @JsonProperty(value = "CellIdentity") + private String cellIdentity; + + public Common() { + + } + + public Common(String cellIdentity) { + super(); + this.cellIdentity = cellIdentity; + } + + public String getCellIdentity() { + return cellIdentity; + } + + public void setCellIdentity(String cellIdentity) { + this.cellIdentity = cellIdentity; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Configurations.java b/src/main/java/com/wipro/www/sonhms/model/Configurations.java new file mode 100644 index 0000000..f5dcd7e --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Configurations.java @@ -0,0 +1,54 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Configurations { + @JsonProperty("data") + private Data data; + + /** + * constructor. + * + */ + public Configurations() { + + } + + /** + * Parameterized constructor. + * + */ + public Configurations(Data data) { + super(); + this.data = data; + } + + public Data getData() { + return data; + } + + public void setData(Data data) { + this.data = data; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Data.java b/src/main/java/com/wipro/www/sonhms/model/Data.java new file mode 100644 index 0000000..6bff144 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Data.java @@ -0,0 +1,47 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Data { + + @JsonProperty("FAPService") + private FapService fapservice; + + public Data() { + + } + + public Data(FapService fapservice) { + super(); + this.fapservice = fapservice; + } + + public FapService getFapservice() { + return fapservice; + } + + public void setFapservice(FapService fapservice) { + this.fapservice = fapservice; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/FapService.java b/src/main/java/com/wipro/www/sonhms/model/FapService.java new file mode 100644 index 0000000..c949922 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/FapService.java @@ -0,0 +1,74 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class FapService { + + @JsonProperty("alias") + private String alias; + + @JsonProperty("X0005b9Lte") + private X0005b9Lte x0005b9Lte; + + @JsonProperty("CellConfig") + private CellConfig cellConfig; + + public FapService() { + + } + + /** + * Parameterized constructor. + */ + public FapService(String alias, X0005b9Lte x0005b9Lte, CellConfig cellConfig) { + super(); + this.alias = alias; + this.x0005b9Lte = x0005b9Lte; + this.cellConfig = cellConfig; + } + + public String getAlias() { + return alias; + } + + public void setAlias(String alias) { + this.alias = alias; + } + + public CellConfig getCellConfig() { + return cellConfig; + } + + public void setCellConfig(CellConfig cellConfig) { + this.cellConfig = cellConfig; + } + + public X0005b9Lte getX0005b9Lte() { + return x0005b9Lte; + } + + public void setX0005b9Lte(X0005b9Lte x0005b9Lte) { + this.x0005b9Lte = x0005b9Lte; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/FapServiceList.java b/src/main/java/com/wipro/www/sonhms/model/FapServiceList.java new file mode 100644 index 0000000..96cde4c --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/FapServiceList.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class FapServiceList { + + @Override + public String toString() { + return "FapServiceList [alias=" + alias + ", x0005b9Lte=" + x0005b9Lte + ", cellConfig=" + cellConfig + "]"; + } + + @JsonProperty("alias") + private String alias; + + @JsonProperty("X0005b9Lte") + private X0005b9Lte x0005b9Lte; + + @JsonProperty("CellConfig") + private NotificationCellConfig cellConfig; + + public FapServiceList() { + + } + + /** + * Parameterized Constructor. + */ + + public FapServiceList(String alias, X0005b9Lte x0005b9Lte, NotificationCellConfig cellConfig) { + super(); + this.alias = alias; + this.x0005b9Lte = x0005b9Lte; + this.cellConfig = cellConfig; + } + + public String getAlias() { + return alias; + } + + public void setAlias(String alias) { + this.alias = alias; + } + + public X0005b9Lte getX0005b9Lte() { + return x0005b9Lte; + } + + public void setX0005b9Lte(X0005b9Lte x0005b9Lte) { + this.x0005b9Lte = x0005b9Lte; + } + + public NotificationCellConfig getCellConfig() { + return cellConfig; + } + + public void setCellConfig(NotificationCellConfig cellConfig) { + this.cellConfig = cellConfig; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Lte.java b/src/main/java/com/wipro/www/sonhms/model/Lte.java new file mode 100644 index 0000000..871f100 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Lte.java @@ -0,0 +1,47 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Lte { + + @JsonProperty(value = "RAN") + private Ran ran; + + public Lte() { + + } + + public Lte(Ran ran) { + super(); + this.ran = ran; + } + + public Ran getRan() { + return ran; + } + + public void setRan(Ran ran) { + this.ran = ran; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/LteNeighborListInUseLteCell.java b/src/main/java/com/wipro/www/sonhms/model/LteNeighborListInUseLteCell.java new file mode 100644 index 0000000..fe85d47 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/LteNeighborListInUseLteCell.java @@ -0,0 +1,135 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class LteNeighborListInUseLteCell { + @JsonProperty("pnfName") + private String pnfName; + + @JsonProperty("enable") + private String enable; + + @JsonProperty("alias") + private String alias; + + @JsonProperty("mustInclude") + private String mustInclude; + + @JsonProperty("plmnid") + private String plmnId; + + @JsonProperty("cid") + private String cid; + + @JsonProperty("phyCellId") + private int phyCellId; + + @JsonProperty("blacklisted") + private String blacklisted; + + public LteNeighborListInUseLteCell() { + + } + + /** + * Parameterized Constructor. + */ + + public LteNeighborListInUseLteCell(String pnfName, String enable, String alias, String mustInclude, String plmnId, + String cid, int phyCellId, String blacklisted) { + super(); + this.pnfName = pnfName; + this.enable = enable; + this.alias = alias; + this.mustInclude = mustInclude; + this.plmnId = plmnId; + this.cid = cid; + this.phyCellId = phyCellId; + this.blacklisted = blacklisted; + } + + public String getMustInclude() { + return mustInclude; + } + + public void setMustInclude(String mustInclude) { + this.mustInclude = mustInclude; + } + + public int getPhyCellId() { + return phyCellId; + } + + public void setPhyCellId(int phyCellId) { + this.phyCellId = phyCellId; + } + + public String getAlias() { + return alias; + } + + public void setAlias(String alias) { + this.alias = alias; + } + + public String getEnable() { + return enable; + } + + public void setEnable(String enable) { + this.enable = enable; + } + + public String getBlacklisted() { + return blacklisted; + } + + public void setBlacklisted(String blacklisted) { + this.blacklisted = blacklisted; + } + + public String getCid() { + return cid; + } + + public void setCid(String cid) { + this.cid = cid; + } + + public String getPnfName() { + return pnfName; + } + + public void setPnfName(String pnfName) { + this.pnfName = pnfName; + } + + public String getPlmnid() { + return plmnId; + } + + public void setPlmnid(String plmnId) { + this.plmnId = plmnId; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/NeighborListInUse.java b/src/main/java/com/wipro/www/sonhms/model/NeighborListInUse.java new file mode 100644 index 0000000..d240a88 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/NeighborListInUse.java @@ -0,0 +1,64 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +public class NeighborListInUse { + @JsonProperty("LTENeighborListInUseLTECell") + private List<LteNeighborListInUseLteCell> lteNeighborListInUseLteCell; + + @JsonProperty("LTECellNumberOfEntries") + private String lteCellNumberOfEntries; + + public NeighborListInUse() { + + } + + /** + * Parameterized Constructor. + */ + + public NeighborListInUse(List<LteNeighborListInUseLteCell> lteNeighborListInUseLteCell, + String lteCellNumberOfEntries) { + super(); + this.lteNeighborListInUseLteCell = lteNeighborListInUseLteCell; + this.lteCellNumberOfEntries = lteCellNumberOfEntries; + } + + public List<LteNeighborListInUseLteCell> getLteNeighborListInUseLteCell() { + return lteNeighborListInUseLteCell; + } + + public void setLteNeighborListInUseLteCell(List<LteNeighborListInUseLteCell> lteNeighborListInUseLteCell) { + this.lteNeighborListInUseLteCell = lteNeighborListInUseLteCell; + } + + public String getLteCellNumberOfEntries() { + return lteCellNumberOfEntries; + } + + public void setLteCellNumberOfEntries(String lteCellNumberOfEntries) { + this.lteCellNumberOfEntries = lteCellNumberOfEntries; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Notification.java b/src/main/java/com/wipro/www/sonhms/model/Notification.java new file mode 100644 index 0000000..417e443 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Notification.java @@ -0,0 +1,112 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Notification { + + @JsonProperty("requestID") + private String requestId; + + @JsonProperty("AAI") + private Object aai; + + @JsonProperty("from") + private String from; + + @JsonProperty("version") + private String version; + + @JsonProperty("Action") + private String action; + + @JsonProperty("Payload") + private NotificationPayload payload; + + public Notification() { + + } + + /** + * Parameterized Constructor. + */ + + public Notification(String requestId, Object aai, String from, String version, String action, + NotificationPayload payload) { + super(); + this.requestId = requestId; + this.aai = aai; + this.from = from; + this.version = version; + this.action = action; + this.payload = payload; + } + + public NotificationPayload getPayload() { + return payload; + } + + public void setPayload(NotificationPayload payload) { + this.payload = payload; + } + + public String getAction() { + return action; + } + + public void setAction(String action) { + this.action = action; + } + + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getFrom() { + return from; + } + + public void setFrom(String from) { + this.from = from; + } + + public Object getAai() { + return aai; + } + + public void setAai(Object aai) { + this.aai = aai; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/NotificationCellConfig.java b/src/main/java/com/wipro/www/sonhms/model/NotificationCellConfig.java new file mode 100644 index 0000000..a3acaf0 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/NotificationCellConfig.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class NotificationCellConfig { + + @JsonProperty("LTE") + private NotificationLte lte; + + public NotificationCellConfig() { + + } + + /** + * Parameterized Constructor. + */ + + public NotificationCellConfig(NotificationLte lte) { + super(); + this.lte = lte; + } + + public NotificationLte getLte() { + return lte; + } + + public void setLte(NotificationLte lte) { + this.lte = lte; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/NotificationLte.java b/src/main/java/com/wipro/www/sonhms/model/NotificationLte.java new file mode 100644 index 0000000..f1e26e7 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/NotificationLte.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class NotificationLte { + + @JsonProperty("RAN") + private NotificationRan ran; + + public NotificationLte() { + + } + + /** + * Parameterized Constructor. + */ + + public NotificationLte(NotificationRan ran) { + super(); + this.ran = ran; + } + + public NotificationRan getRan() { + return ran; + } + + public void setRan(NotificationRan ran) { + this.ran = ran; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/NotificationPayload.java b/src/main/java/com/wipro/www/sonhms/model/NotificationPayload.java new file mode 100644 index 0000000..fea882b --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/NotificationPayload.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class NotificationPayload { + + @JsonProperty("RadioAccess") + private RadioAccess radioAccess; + + public NotificationPayload() { + + } + + /** + * Parameterized Constructor. + */ + + public NotificationPayload(RadioAccess radioAccess) { + super(); + this.radioAccess = radioAccess; + } + + public RadioAccess getRadioAccess() { + return radioAccess; + } + + public void setRadioAccess(RadioAccess radioAccess) { + this.radioAccess = radioAccess; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/NotificationRan.java b/src/main/java/com/wipro/www/sonhms/model/NotificationRan.java new file mode 100644 index 0000000..cc0e085 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/NotificationRan.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class NotificationRan { + + @JsonProperty("NeighborListInUse") + private NeighborListInUse neighborListInUse; + + @JsonProperty("CellIdentity") + private String cellIdentity; + + public NotificationRan() { + + } + + /** + * Parameterized Constructor. + */ + + public NotificationRan(NeighborListInUse neighborListInUse, String cellIdentity) { + super(); + this.neighborListInUse = neighborListInUse; + this.cellIdentity = cellIdentity; + } + + public NeighborListInUse getNeighborListInUse() { + return neighborListInUse; + } + + public void setNeighborListInUse(NeighborListInUse neighborListInUse) { + this.neighborListInUse = neighborListInUse; + } + + public String getCellIdentity() { + return cellIdentity; + } + + public void setCellIdentity(String cellIdentity) { + this.cellIdentity = cellIdentity; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Payload.java b/src/main/java/com/wipro/www/sonhms/model/Payload.java new file mode 100644 index 0000000..9f10acb --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Payload.java @@ -0,0 +1,54 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +public class Payload { + + @JsonProperty("Configurations") + private List<Configurations> configuration; + + public Payload() { + + } + + public Payload(List<Configurations> configuration) { + super(); + this.configuration = configuration; + } + + public List<Configurations> getConfiguration() { + return configuration; + } + + public void setConfiguration(List<Configurations> configuration) { + this.configuration = configuration; + } + + @Override + public String toString() { + return "Payload [configuration=" + configuration + "]"; + + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/PolicyNotification.java b/src/main/java/com/wipro/www/sonhms/model/PolicyNotification.java new file mode 100644 index 0000000..e367b0b --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/PolicyNotification.java @@ -0,0 +1,179 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; + +public class PolicyNotification { + + private String closedLoopControlName; + private long closedLoopAlarmStart; + private String closedLoopEventClient; + private String closedLoopEventStatus; + + @JsonProperty("target_type") + private String targetType; + + private String target; + + @JsonProperty("requestID") + private String requestId; + + @JsonProperty("AAI") + private Map<String, String> aai; + + private String from; + private String version; + + @JsonProperty("Action") + private String action; + private String payload; + + /** + * constructor. + */ + public PolicyNotification() { + this.requestId = UUID.randomUUID().toString(); + this.closedLoopEventClient = "microservice.PCI"; + this.closedLoopEventStatus = "ONSET"; + this.closedLoopAlarmStart = System.currentTimeMillis(); + this.from = "PCIMS"; + this.version = "1.0.2"; + this.action = "ModifyConfig"; + this.target = "generic-vnf.vnf-id"; + this.targetType = "VNF"; + this.aai = new HashMap<>(); + aai.put("generic-vnf.is-closed-loop-disabled", "false"); + aai.put("generic-vnf.prov-status", "ACTIVE"); + aai.put("generic-vnf.vnf-id", "notused"); + + } + + public long getClosedLoopAlarmStart() { + return closedLoopAlarmStart; + } + + public void setClosedLoopAlarmStart(long closedLoopAlarmStart) { + this.closedLoopAlarmStart = closedLoopAlarmStart; + } + + public String getClosedLoopEventClient() { + return closedLoopEventClient; + } + + public void setClosedLoopEventClient(String closedLoopEventClient) { + this.closedLoopEventClient = closedLoopEventClient; + } + + public String getClosedLoopEventStatus() { + return closedLoopEventStatus; + } + + public void setClosedLoopEventStatus(String closedLoopEventStatus) { + this.closedLoopEventStatus = closedLoopEventStatus; + } + + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getFrom() { + return from; + } + + public void setFrom(String from) { + this.from = from; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public String getAction() { + return action; + } + + public void setAction(String action) { + this.action = action; + } + + public String getClosedLoopControlName() { + return closedLoopControlName; + } + + public void setClosedLoopControlName(String closedLoopControlName) { + this.closedLoopControlName = closedLoopControlName; + } + + public String getPayload() { + return payload; + } + + public void setPayload(String payload) { + this.payload = payload; + } + + public String getTargetType() { + return targetType; + } + + public void setTargetType(String targetType) { + this.targetType = targetType; + } + + public String getTarget() { + return target; + } + + public void setTarget(String target) { + this.target = target; + } + + public Map<String, String> getAai() { + return aai; + } + + public void setAai(Map<String, String> aai) { + this.aai = aai; + } + + @Override + public String toString() { + return "PolicyNotification [closedLoopControlName=" + closedLoopControlName + ", closedLoopAlarmStart=" + + closedLoopAlarmStart + ", closedLoopEventClient=" + closedLoopEventClient + ", closedLoopEventStatus=" + + closedLoopEventStatus + ", targetType=" + targetType + ", target=" + target + ", requestId=" + + requestId + ", aai=" + aai + ", from=" + from + ", version=" + version + ", action=" + action + + ", payload=" + payload + "]"; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/RadioAccess.java b/src/main/java/com/wipro/www/sonhms/model/RadioAccess.java new file mode 100644 index 0000000..cc1ee4a --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/RadioAccess.java @@ -0,0 +1,64 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +public class RadioAccess { + + @JsonProperty("FAPServiceNumberOfEntries") + private String fapServiceNumberOfEntries; + + @JsonProperty("FAPServiceList") + private List<FapServiceList> fapServiceList; + + public RadioAccess() { + + } + + /** + * Parameterized Constructor. + */ + + public RadioAccess(String fapServiceNumberOfEntries, List<FapServiceList> fapServiceList) { + super(); + this.fapServiceNumberOfEntries = fapServiceNumberOfEntries; + this.fapServiceList = fapServiceList; + } + + public String getFapServiceNumberOfEntries() { + return fapServiceNumberOfEntries; + } + + public void setFapServiceNumberOfEntries(String fapServiceNumberOfEntries) { + this.fapServiceNumberOfEntries = fapServiceNumberOfEntries; + } + + public List<FapServiceList> getFapServiceList() { + return fapServiceList; + } + + public void setFapServiceList(List<FapServiceList> fapServiceList) { + this.fapServiceList = fapServiceList; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Ran.java b/src/main/java/com/wipro/www/sonhms/model/Ran.java new file mode 100644 index 0000000..d4dda3a --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Ran.java @@ -0,0 +1,50 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Ran { + + @JsonProperty(value = "Common") + private Common common; + + public Ran() { + + } + + /** + * Parameterized constructor. + */ + public Ran(Common common) { + super(); + this.common = common; + } + + public Common getCommon() { + return common; + } + + public void setCommon(Common common) { + this.common = common; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/Response.java b/src/main/java/com/wipro/www/sonhms/model/Response.java new file mode 100644 index 0000000..e34c10f --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/Response.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Response { + + @JsonProperty(value = "cellId") + private String cellId; + + private int pci; + + public String getCellId() { + return cellId; + } + + public void setCellId(String cellId) { + this.cellId = cellId; + } + + public int getPci() { + return pci; + } + + public void setPci(int pci) { + this.pci = pci; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/SdnrResponse.java b/src/main/java/com/wipro/www/sonhms/model/SdnrResponse.java new file mode 100644 index 0000000..b57b20e --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/SdnrResponse.java @@ -0,0 +1,37 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import java.util.List; + +public class SdnrResponse { + + private List<Response> response; + + public List<Response> getResponse() { + return response; + } + + public void setResponse(List<Response> response) { + this.response = response; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/ThreadId.java b/src/main/java/com/wipro/www/sonhms/model/ThreadId.java new file mode 100644 index 0000000..d0139f2 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/ThreadId.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +public class ThreadId { + + private long childThreadId; + + public long getChildThreadId() { + return childThreadId; + } + + public void setChildThreadId(long childThreadId) { + this.childThreadId = childThreadId; + } + +} diff --git a/src/main/java/com/wipro/www/sonhms/model/X0005b9Lte.java b/src/main/java/com/wipro/www/sonhms/model/X0005b9Lte.java new file mode 100644 index 0000000..cb52715 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/model/X0005b9Lte.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.model; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class X0005b9Lte { + + @JsonProperty("phyCellIdInUse") + private int phyCellIdInUse; + + @JsonProperty("pnfName") + private String pnfName; + + public X0005b9Lte() { + + } + + /** + * Parameterized Constructor. + */ + + public X0005b9Lte(int phyCellIdInUse, String pnfName) { + super(); + this.phyCellIdInUse = phyCellIdInUse; + this.pnfName = pnfName; + } + + public int getPhyCellIdInUse() { + return phyCellIdInUse; + } + + public void setPhyCellIdInUse(int phyCellIdInUse) { + this.phyCellIdInUse = phyCellIdInUse; + } + + public String getPnfName() { + return pnfName; + } + + public void setPnfName(String pnfName) { + this.pnfName = pnfName; + } + +} |