diff --git a/examples/notification_server/Dockerfile b/examples/notification_server/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..68f76091e5fd69ea2e4877fd863f2d2b26f7149b --- /dev/null +++ b/examples/notification_server/Dockerfile @@ -0,0 +1,30 @@ +##Docker file containing the environment for running robot3.1 based on python3.9 +## As example, MEC016 test suite are used +##How to run this container. + +## Build the image using this docker file, make sure the server side is up and running and eventually run the tests. + +FROM python:3.10-slim + +RUN addgroup robot && adduser -D -G robot -h /home/robot robot +WORKDIR /home/robot + +# Install system packages +RUN apt-get update && apt-get install -y \ + git \ + wget \ + build-essential \ + python3-dev \ + libssl-dev \ + libffi-dev \ + python3-pip + + + +COPY requirements.txt . +RUN pip install -r requirements.txt + +COPY tests tests +COPY libraries libraries +COPY run_tests.sh . +ENTRYPOINT ./run_tests.sh diff --git a/examples/notification_server/RNIS/.keepme b/examples/notification_server/RNIS/.keepme new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/notification_server/RNIS/dummy_mec012_server/.dockerignore b/examples/notification_server/RNIS/dummy_mec012_server/.dockerignore new file mode 100644 index 0000000000000000000000000000000000000000..cdd823e64e7e91ae85da84f22410ecb7eb370ae2 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/.dockerignore @@ -0,0 +1,72 @@ +.travis.yaml +.swagger-codegen-ignore +README.md +tox.ini +git_push.sh +test-requirements.txt +setup.py + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ +venv/ +.python-version + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +#Ipython Notebook +.ipynb_checkpoints diff --git a/examples/notification_server/RNIS/dummy_mec012_server/.gitignore b/examples/notification_server/RNIS/dummy_mec012_server/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..a655050c2631466828b5b8bfc59ae27f9ac02dc5 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/.gitignore @@ -0,0 +1,64 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ +venv/ +.python-version + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +#Ipython Notebook +.ipynb_checkpoints diff --git a/examples/notification_server/RNIS/dummy_mec012_server/.swagger-codegen-ignore b/examples/notification_server/RNIS/dummy_mec012_server/.swagger-codegen-ignore new file mode 100644 index 0000000000000000000000000000000000000000..c5fa491b4c557bf997d5dd21797de782545dc9e5 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/examples/notification_server/RNIS/dummy_mec012_server/.swagger-codegen/VERSION b/examples/notification_server/RNIS/dummy_mec012_server/.swagger-codegen/VERSION new file mode 100644 index 0000000000000000000000000000000000000000..1617617651b9d9b08e0adc47f3e1393f8a9876f1 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/.swagger-codegen/VERSION @@ -0,0 +1 @@ +3.0.46 \ No newline at end of file diff --git a/examples/notification_server/RNIS/dummy_mec012_server/.travis.yml b/examples/notification_server/RNIS/dummy_mec012_server/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..dd6c4450aa902ae68479c3d76d45145e18d6052e --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/.travis.yml @@ -0,0 +1,13 @@ +# ref: https://docs.travis-ci.com/user/languages/python +language: python +python: + - "3.2" + - "3.3" + - "3.4" + - "3.5" + #- "3.5-dev" # 3.5 development branch + #- "nightly" # points to the latest development branch e.g. 3.6-dev +# command to install dependencies +install: "pip install -r requirements.txt" +# command to run tests +script: nosetests diff --git a/examples/notification_server/RNIS/dummy_mec012_server/Dockerfile b/examples/notification_server/RNIS/dummy_mec012_server/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f9243a5ad0d025c5481e5a81bac213f716242100 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.6-alpine + +RUN mkdir -p /usr/src/app +WORKDIR /usr/src/app + +COPY requirements.txt /usr/src/app/ + +RUN pip3 install --no-cache-dir -r requirements.txt + +COPY . /usr/src/app + +EXPOSE 8080 + +ENTRYPOINT ["python3"] + +CMD ["-m", "swagger_server"] \ No newline at end of file diff --git a/examples/notification_server/RNIS/dummy_mec012_server/README.md b/examples/notification_server/RNIS/dummy_mec012_server/README.md new file mode 100644 index 0000000000000000000000000000000000000000..f9ca4565e01dfc5295cd8edd9223538ff4349e04 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/README.md @@ -0,0 +1,49 @@ +# Swagger generated server + +## Overview +This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the +[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This +is an example of building a swagger-enabled Flask server. + +This example uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask. + +## Requirements +Python 3.5.2+ + +## Usage +To run the server, please execute the following from the root directory: + +``` +pip3 install -r requirements.txt +python3 -m swagger_server +``` + +and open your browser to here: + +``` +http://localhost:8080/rni/v2/ui/ +``` + +Your Swagger definition lives here: + +``` +http://localhost:8080/rni/v2/swagger.json +``` + +To launch the integration tests, use tox: +``` +sudo pip install tox +tox +``` + +## Running with Docker + +To run the server on a Docker container, please execute the following from the root directory: + +```bash +# building the image +docker build -t swagger_server . + +# starting up a container +docker run -p 8080:8080 swagger_server +``` \ No newline at end of file diff --git a/examples/notification_server/RNIS/dummy_mec012_server/git_push.sh b/examples/notification_server/RNIS/dummy_mec012_server/git_push.sh new file mode 100644 index 0000000000000000000000000000000000000000..160f6f213999c7ae67839fbd6fc2ba0b72675832 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/git_push.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=`git remote` +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' + diff --git a/examples/notification_server/RNIS/dummy_mec012_server/requirements.txt b/examples/notification_server/RNIS/dummy_mec012_server/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..62c7fffac8b5bc20011c481e6ae3601eca6d4a08 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/requirements.txt @@ -0,0 +1,5 @@ +connexion >= 2.6.0 +connexion[swagger-ui] >= 2.6.0 +python_dateutil == 2.6.0 +setuptools >= 21.0.0 +swagger-ui-bundle >= 0.0.2 diff --git a/examples/notification_server/RNIS/dummy_mec012_server/setup.py b/examples/notification_server/RNIS/dummy_mec012_server/setup.py new file mode 100644 index 0000000000000000000000000000000000000000..b7b29a1f014dc5d8edea8fda1c9432f2bf8719d0 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/setup.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +import sys +from setuptools import setup, find_packages + +NAME = "swagger_server" +VERSION = "1.0.0" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = [ + "connexion", + "swagger-ui-bundle>=0.0.2" +] + +setup( + name=NAME, + version=VERSION, + description="ETSI GS MEC 012 - Radio Network Information API", + author_email="", + url="", + keywords=["Swagger", "ETSI GS MEC 012 - Radio Network Information API"], + install_requires=REQUIRES, + packages=find_packages(), + package_data={'': ['swagger/swagger.yaml']}, + include_package_data=True, + entry_points={ + 'console_scripts': ['swagger_server=swagger_server.__main__:main']}, + long_description="""\ + The ETSI MEC ISG MEC012 Radio Network Information API described using OpenAPI. + """ +) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/sub_payload.json b/examples/notification_server/RNIS/dummy_mec012_server/sub_payload.json new file mode 100644 index 0000000000000000000000000000000000000000..e2531e5cf3964f89d12215b05126698fead9d633 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/sub_payload.json @@ -0,0 +1,13 @@ +{ + "subscriptionType": "CellChangeSubscription", + "callbackReference": "https://10.30.8.200:8080/notificationEndpoint", + "filterCriteriaAssocHo": { + "ecgi": [{ + "plmn": { + "mnc": "01", + "mcc": "001" + }, + "cellId": "ACBDEFA" + }] + } +} diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/__init__.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/__main__.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..f3108da939e184545686e156d46378e8385034db --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/__main__.py @@ -0,0 +1,16 @@ +#!/usr/bin/env python3 + +import connexion + +from swagger_server import encoder + + +def main(): + app = connexion.App(__name__, specification_dir='./swagger/') + app.app.json_encoder = encoder.JSONEncoder + app.add_api('swagger.yaml', arguments={'title': 'ETSI GS MEC 012 - Radio Network Information API'}, pythonic_params=True) + app.run(port=8080) + + +if __name__ == '__main__': + main() diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/__init__.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/async_task.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/async_task.py new file mode 100644 index 0000000000000000000000000000000000000000..a4a3065be616e3f21ee3291d9344a3bcf4c978e0 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/async_task.py @@ -0,0 +1,46 @@ +import sys +import time +import atexit +from flask import current_app +from threading import Thread +import logging +import random +import logging + +logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG) + +## Each second an output_msg is shown and eventually the method with name callback_name belonging to this_object is called. +def simulate_processing(min_time_sec, max_time_sec, output_msg, this_object, callback_name, pars): + iterations = random.randint(min_time_sec, max_time_sec) + logging.info("The process will take around " + str(iterations) + " seconds") + for i in range(0, iterations): + time.sleep(1) + + logging.info(output_msg + " completed!") + class_method = getattr(this_object.__class__, callback_name) + class_method(this_object, pars) + + +def start_sim_process(min_time_sec, max_time_sec, output_msg, this_object, callback_name, pars): + if min_time_sec > max_time_sec: + logging.warn( + "Min time cannot be greater than max time. Setting min to 10 seconds and max to 20 seconds, respectively.") + min_time_sec = 10 + max_time_sec = 20 + logging.info("Starting the process simulator...") + thr = Thread(target=simulate_processing, + args=[min_time_sec, max_time_sec, output_msg, this_object, callback_name, pars]) + thr.start() + + +##What does this function do ? It triggers the callback after a given timeout +def trigger_callback_after_timeout(timeout, this_object, callback_name, pars): + logging.info("Waiting " + str(timeout) + " seconds before triggering the process") + time.sleep(timeout) + class_method = getattr(this_object.__class__, callback_name) + class_method(this_object, pars) + + +def start_workflow(waiting_time, this_object, callback_name, pars): + thr = Thread(target=trigger_callback_after_timeout, args=[waiting_time, this_object, callback_name, pars]) + thr.start() diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/authorization_controller.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/authorization_controller.py new file mode 100644 index 0000000000000000000000000000000000000000..2f7b0bb3e281b3fb9efb588dfc8ba4c8cc3a59ed --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/authorization_controller.py @@ -0,0 +1,6 @@ +from typing import List +""" +controller generated to handled auth operation described at: +https://connexion.readthedocs.io/en/latest/security.html +""" + diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/dummy_service.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/dummy_service.py new file mode 100644 index 0000000000000000000000000000000000000000..39cd5fff87f3f947772ccebafbeaa2cce6882051 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/dummy_service.py @@ -0,0 +1,22 @@ +import logging +logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG) +import requests + +import swagger_server.controllers.async_task as at + +class DummyService: + def async_task(self, pars): + notification_url = pars[0] + data = {} + data["_links"]={} + data["_links"]["self"]="XX" + data["expiryDeadline"]={} + data["expiryDeadline"]["seconds"]=1234 + data["expiryDeadline"]["nanoseconds"]=1234 + logging.info(notification_url) + logging.info(data) + response = requests.post(notification_url, json=data) + status_code = response.status_code + + def invoke_sth(self,notification_url): + at.start_workflow(5, self, "async_task", [notification_url]) \ No newline at end of file diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/rni_controller.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/rni_controller.py new file mode 100644 index 0000000000000000000000000000000000000000..41db3fc4db82bdc6c43f7cb0394ca78505f19f79 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/controllers/rni_controller.py @@ -0,0 +1,261 @@ +import connexion +import six + +import swagger_server.controllers.dummy_service as ds + +from swagger_server.models.inline_subscription import InlineSubscription # noqa: E501 +from swagger_server.models.l2_meas import L2Meas # noqa: E501 +from swagger_server.models.plmn_info import PlmnInfo # noqa: E501 +from swagger_server.models.problem_details import ProblemDetails # noqa: E501 +from swagger_server.models.rab_info import RabInfo # noqa: E501 +from swagger_server.models.s1_bearer_info import S1BearerInfo # noqa: E501 +from swagger_server.models.subscription_link_list import SubscriptionLinkList # noqa: E501 +from swagger_server import util +import logging +from flask import Response +import json +from swagger_server.controllers.dummy_service import DummyService + +logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG) + +def layer2_meas_info_get(app_ins_id=None, cell_id=None, ue_ipv4_address=None, ue_ipv6_address=None, nated_ip_address=None, gtp_teid=None, dl_gbr_prb_usage_cell=None, ul_gbr_prb_usage_cell=None, dl_nongbr_prb_usage_cell=None, ul_nongbr_prb_usage_cell=None, dl_total_prb_usage_cell=None, ul_total_prb_usage_cell=None, received_dedicated_preambles_cell=None, received_randomly_selected_preambles_low_range_cell=None, received_randomly_selected_preambles_high_range_cell=None, number_of_active_ue_dl_gbr_cell=None, number_of_active_ue_ul_gbr_cell=None, number_of_active_ue_dl_nongbr_cell=None, number_of_active_ue_ul_nongbr_cell=None, dl_gbr_pdr_cell=None, ul_gbr_pdr_cell=None, dl_nongbr_pdr_cell=None, ul_nongbr_pdr_cell=None, dl_gbr_delay_ue=None, ul_gbr_delay_ue=None, dl_nongbr_delay_ue=None, ul_nongbr_delay_ue=None, dl_gbr_pdr_ue=None, ul_gbr_pdr_ue=None, dl_nongbr_pdr_ue=None, ul_nongbr_pdr_ue=None, dl_gbr_throughput_ue=None, ul_gbr_throughput_ue=None, dl_nongbr_throughput_ue=None, ul_nongbr_throughput_ue=None, dl_gbr_data_volume_ue=None, ul_gbr_data_volume_ue=None, dl_nongbr_data_volume_ue=None, ul_nongbr_data_volume_ue=None): # noqa: E501 + """Retrieve information on layer 2 measurements + + Queries information about the layer 2 measurements. # noqa: E501 + + :param app_ins_id: Application instance identifier + :type app_ins_id: str + :param cell_id: Comma separated list of E-UTRAN Cell Identities + :type cell_id: List[str] + :param ue_ipv4_address: Comma separated list of IE IPv4 addresses as defined for the type for AssociateId + :type ue_ipv4_address: List[str] + :param ue_ipv6_address: Comma separated list of IE IPv6 addresses as defined for the type for AssociateId + :type ue_ipv6_address: List[str] + :param nated_ip_address: Comma separated list of IE NATed IP addresses as defined for the type for AssociateId + :type nated_ip_address: List[str] + :param gtp_teid: Comma separated list of GTP TEID addresses as defined for the type for AssociateId + :type gtp_teid: List[str] + :param dl_gbr_prb_usage_cell: PRB usage for downlink GBR traffic in percentage as defined in ETSI TS 136 314 + :type dl_gbr_prb_usage_cell: int + :param ul_gbr_prb_usage_cell: PRB usage for uplink GBR traffic in percentage as defined in ETSI TS 136 314 + :type ul_gbr_prb_usage_cell: int + :param dl_nongbr_prb_usage_cell: PRB usage for downlink non-GBR traffic in percentage as defined in ETSI TS 136 314 + :type dl_nongbr_prb_usage_cell: int + :param ul_nongbr_prb_usage_cell: PRB usage for uplink non-GBR traffic in percentage as defined in ETSI TS 136 314 + :type ul_nongbr_prb_usage_cell: int + :param dl_total_prb_usage_cell: PRB usage for total downlink traffic in percentage as defined in ETSI TS 136 314 + :type dl_total_prb_usage_cell: int + :param ul_total_prb_usage_cell: PRB usage for total uplink traffic in percentage as defined in ETSI TS 136 314 + :type ul_total_prb_usage_cell: int + :param received_dedicated_preambles_cell: Received dedicated preambles in percentage as defined in ETSI TS 136 314 + :type received_dedicated_preambles_cell: int + :param received_randomly_selected_preambles_low_range_cell: Received randomly selected preambles in the low range in percentage as defined in ETSI TS 136 314 + :type received_randomly_selected_preambles_low_range_cell: int + :param received_randomly_selected_preambles_high_range_cell: Received rendomly selected preambles in the high range in percentage as defined in ETSI TS 136 314 + :type received_randomly_selected_preambles_high_range_cell: int + :param number_of_active_ue_dl_gbr_cell: Number of active UEs with downlink GBR traffic as defined in ETSI TS 136 314 + :type number_of_active_ue_dl_gbr_cell: int + :param number_of_active_ue_ul_gbr_cell: Number of active UEs with uplink GBR traffic as defined in ETSI TS 136 314 + :type number_of_active_ue_ul_gbr_cell: int + :param number_of_active_ue_dl_nongbr_cell: Number of active UEs with downlink non-GBR traffic as defined in ETSI TS 136 314 + :type number_of_active_ue_dl_nongbr_cell: int + :param number_of_active_ue_ul_nongbr_cell: Number of active UEs with uplink non-GBR traffic as defined in ETSI TS 136 314 + :type number_of_active_ue_ul_nongbr_cell: int + :param dl_gbr_pdr_cell: Packet discard rate for downlink GBR traffic in percentage as defined in ETSI TS 136 314 + :type dl_gbr_pdr_cell: int + :param ul_gbr_pdr_cell: Packet discard rate for uplink GBR traffic in percentage as defined in ETSI TS 136 314 + :type ul_gbr_pdr_cell: int + :param dl_nongbr_pdr_cell: Packet discard rate for downlink non-GBR traffic in percentage as defined in ETSI TS 136 314 + :type dl_nongbr_pdr_cell: int + :param ul_nongbr_pdr_cell: Packet discard rate for uplink non-GBR traffic in percentage as defined in ETSI TS 136 314 + :type ul_nongbr_pdr_cell: int + :param dl_gbr_delay_ue: Packet delay of downlink GBR traffic of a UE as defined in ETSI TS 136 314 + :type dl_gbr_delay_ue: int + :param ul_gbr_delay_ue: Packet delay of uplink GBR traffic of a UE as defined in ETSI TS 136 314 + :type ul_gbr_delay_ue: int + :param dl_nongbr_delay_ue: Packet delay of downlink non-GBR traffic of a UE as defined in ETSI TS 136 314 + :type dl_nongbr_delay_ue: int + :param ul_nongbr_delay_ue: Packet delay of uplink non-GBR traffic of a UE as defined in ETSI TS 136 314 + :type ul_nongbr_delay_ue: int + :param dl_gbr_pdr_ue: Packet discard rate of downlink GBR traffic of a UE in percentage as defined in ETSI TS 136 314 + :type dl_gbr_pdr_ue: int + :param ul_gbr_pdr_ue: Packet discard rate of uplink GBR traffic of a UE in percentage as defined in ETSI TS 136 314 + :type ul_gbr_pdr_ue: int + :param dl_nongbr_pdr_ue: Packet discard rate of downlink non-GBR traffic of a UE in percentage as defined in ETSI TS 136 314 + :type dl_nongbr_pdr_ue: int + :param ul_nongbr_pdr_ue: Packet discard rate of uplink non-GBR traffic of a UE in percentage as defined in ETSI TS 136 314 + :type ul_nongbr_pdr_ue: int + :param dl_gbr_throughput_ue: Scheduled throughput of downlink GBR traffic of a UE as defined in ETSI TS 136 314 + :type dl_gbr_throughput_ue: int + :param ul_gbr_throughput_ue: Scheduled throughput of uplink GBR traffic of a UE as defined in ETSI TS 136 314 + :type ul_gbr_throughput_ue: int + :param dl_nongbr_throughput_ue: Scheduled throughput of downlink non-GBR traffic of a UE as defined in ETSI TS 136 314 + :type dl_nongbr_throughput_ue: int + :param ul_nongbr_throughput_ue: Scheduled throughput of uplink non-GBR traffic of a UE as defined in ETSI TS 136 314 + :type ul_nongbr_throughput_ue: int + :param dl_gbr_data_volume_ue: Data volume of downlink GBR traffic of a UE as defined in ETSI TS 136 314 + :type dl_gbr_data_volume_ue: int + :param ul_gbr_data_volume_ue: Data volume of uplink GBR traffic of a UE as defined in ETSI TS 136 314 + :type ul_gbr_data_volume_ue: int + :param dl_nongbr_data_volume_ue: Data volume of downlink non-GBR traffic of a UE as defined in ETSI TS 136 314 + :type dl_nongbr_data_volume_ue: int + :param ul_nongbr_data_volume_ue: Data volume of uplink non-GBR traffic of a UE as defined in ETSI TS 136 314 + :type ul_nongbr_data_volume_ue: int + + :rtype: L2Meas + """ + return 'do some magic!' + + +def plmn_info_get(app_ins_id): # noqa: E501 + """Retrieve information on the underlying Mobile Network that the MEC application is associated to + + Queries information about the Mobile Network # noqa: E501 + + :param app_ins_id: Comma separated list of Application instance identifiers + :type app_ins_id: List[str] + + :rtype: List[PlmnInfo] + """ + return 'do some magic!' + + +def rab_info_get(app_ins_id=None, cell_id=None, ue_ipv4_address=None, ue_ipv6_address=None, nated_ip_address=None, gtp_teid=None, erab_id=None, qci=None, erab_mbr_dl=None, erab_mbr_ul=None, erab_gbr_dl=None, erab_gbr_ul=None): # noqa: E501 + """Retrieve information on Radio Access Bearers + + Queries information about the Radio Access Bearers # noqa: E501 + + :param app_ins_id: Application instance identifier + :type app_ins_id: str + :param cell_id: Comma separated list of E-UTRAN Cell Identities + :type cell_id: List[str] + :param ue_ipv4_address: Comma separated list of IE IPv4 addresses as defined for the type for AssociateId + :type ue_ipv4_address: List[str] + :param ue_ipv6_address: Comma separated list of IE IPv6 addresses as defined for the type for AssociateId + :type ue_ipv6_address: List[str] + :param nated_ip_address: Comma separated list of IE NATed IP addresses as defined for the type for AssociateId + :type nated_ip_address: List[str] + :param gtp_teid: Comma separated list of GTP TEID addresses as defined for the type for AssociateId + :type gtp_teid: List[str] + :param erab_id: E-RAB identifier + :type erab_id: int + :param qci: QoS Class Identifier as defined in ETSI TS 123 401 + :type qci: int + :param erab_mbr_dl: Maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 + :type erab_mbr_dl: int + :param erab_mbr_ul: Maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 + :type erab_mbr_ul: int + :param erab_gbr_dl: Guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 + :type erab_gbr_dl: int + :param erab_gbr_ul: Guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 + :type erab_gbr_ul: int + + :rtype: RabInfo + """ + return 'do some magic!' + + +def s1_bearer_info_get(temp_ue_id=None, ue_ipv4_address=None, ue_ipv6_address=None, nated_ip_address=None, gtp_teid=None, cell_id=None, erab_id=None): # noqa: E501 + """Retrieve S1-U bearer information related to specific UE(s) + + Queries information about the S1 bearer(s) # noqa: E501 + + :param temp_ue_id: Comma separated list of temporary identifiers allocated for the specific UE as defined in ETSI TS 136 413 + :type temp_ue_id: List[str] + :param ue_ipv4_address: Comma separated list of IE IPv4 addresses as defined for the type for AssociateId + :type ue_ipv4_address: List[str] + :param ue_ipv6_address: Comma separated list of IE IPv6 addresses as defined for the type for AssociateId + :type ue_ipv6_address: List[str] + :param nated_ip_address: Comma separated list of IE NATed IP addresses as defined for the type for AssociateId + :type nated_ip_address: List[str] + :param gtp_teid: Comma separated list of GTP TEID addresses as defined for the type for AssociateId + :type gtp_teid: List[str] + :param cell_id: Comma separated list of E-UTRAN Cell Identities + :type cell_id: List[str] + :param erab_id: Comma separated list of E-RAB identifiers + :type erab_id: List[int] + + :rtype: S1BearerInfo + """ + return 'do some magic!' + + +def subscription_link_list_subscriptions_get(subscription_type=None): # noqa: E501 + """Retrieve information on subscriptions for notifications + + Queries information on subscriptions for notifications # noqa: E501 + + :param subscription_type: Filter on a specific subscription type. Permitted values: cell_change, rab_est, rab_mod, rab_rel, meas_rep_ue, nr_meas_rep_ue, timing_advance_ue, ca_reconf, s1_bearer. + :type subscription_type: str + + :rtype: SubscriptionLinkList + """ + return 'do some magic!' + + +def subscriptions_delete(subscription_id): # noqa: E501 + """Cancel an existing subscription + + Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST) # noqa: E501 + + :param subscription_id: Subscription Id, specifically the \"Self-referring URI\" returned in the subscription request + :type subscription_id: str + + :rtype: None + """ + return 'do some magic!' + + +def subscriptions_get(subscription_id): # noqa: E501 + """Retrieve information on current specific subscription + + Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST) # noqa: E501 + + :param subscription_id: Subscription Id, specifically the \"Self-referring URI\" returned in the subscription request + :type subscription_id: str + + :rtype: InlineSubscription + """ + return 'do some magic!' + + + +def subscriptions_post(body): # noqa: E501 + + """Create a new subscription + + Creates a new subscription to Radio Network Information notifications # noqa: E501 + + :param body: Subscription to be created + :type body: dict | bytes + + :rtype: InlineSubscription + """ + + logging.info(body) + if connexion.request.is_json: + body = InlineSubscription.from_dict(connexion.request.get_json()) # noqa: E501 + resp = Response(response=json.dumps(body), status=201) + dummy_service = DummyService() + + notification_url = connexion.request.get_json()["callbackReference"] + #dummy_service.async_task(notification_url) + dummy_service.invoke_sth(notification_url) + return resp + + +def subscriptions_put(body, subscription_id): # noqa: E501 + """Modify an existing subscription + + Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST) # noqa: E501 + + :param body: Subscription to be modified + :type body: dict | bytes + :param subscription_id: Subscription Id, specifically the \"Self-referring URI\" returned in the subscription request + :type subscription_id: str + + :rtype: InlineSubscription + """ + if connexion.request.is_json: + body = InlineSubscription.from_dict(connexion.request.get_json()) # noqa: E501 + return 'do some magic!' diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/encoder.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/encoder.py new file mode 100644 index 0000000000000000000000000000000000000000..61ba4721961a65d38af5d5ce2948b0abe9c7aa58 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/encoder.py @@ -0,0 +1,20 @@ +from connexion.apps.flask_app import FlaskJSONEncoder +import six + +from swagger_server.models.base_model_ import Model + + +class JSONEncoder(FlaskJSONEncoder): + include_nulls = False + + def default(self, o): + if isinstance(o, Model): + dikt = {} + for attr, _ in six.iteritems(o.swagger_types): + value = getattr(o, attr) + if value is None and not self.include_nulls: + continue + attr = o.attribute_map[attr] + dikt[attr] = value + return dikt + return FlaskJSONEncoder.default(self, o) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/__init__.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..2d7b4cb1352f48bde5a1648a9c2918e94e6b7bcc --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/__init__.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +# flake8: noqa +from __future__ import absolute_import +# import models into model package +from swagger_server.models.associate_id import AssociateId +from swagger_server.models.ca_reconf_notification import CaReconfNotification +from swagger_server.models.ca_reconf_notification_carrier_aggregation_meas_info import CaReconfNotificationCarrierAggregationMeasInfo +from swagger_server.models.ca_reconf_notification_secondary_cell_add import CaReconfNotificationSecondaryCellAdd +from swagger_server.models.ca_reconf_subscription import CaReconfSubscription +from swagger_server.models.ca_reconf_subscription_filter_criteria_assoc import CaReconfSubscriptionFilterCriteriaAssoc +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks +from swagger_server.models.cell_change_notification import CellChangeNotification +from swagger_server.models.cell_change_notification_temp_ue_id import CellChangeNotificationTempUeId +from swagger_server.models.cell_change_subscription import CellChangeSubscription +from swagger_server.models.cell_change_subscription_filter_criteria_assoc_ho import CellChangeSubscriptionFilterCriteriaAssocHo +from swagger_server.models.cell_id import CellId +from swagger_server.models.ecgi import Ecgi +from swagger_server.models.enum import Enum +from swagger_server.models.expiry_notification import ExpiryNotification +from swagger_server.models.expiry_notification_links import ExpiryNotificationLinks +from swagger_server.models.inline_notification import InlineNotification +from swagger_server.models.inline_subscription import InlineSubscription +from swagger_server.models.l2_meas import L2Meas +from swagger_server.models.l2_meas_cell_info import L2MeasCellInfo +from swagger_server.models.l2_meas_cell_ue_info import L2MeasCellUEInfo +from swagger_server.models.link_type import LinkType +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr +from swagger_server.models.meas_rep_ue_notification import MeasRepUeNotification +from swagger_server.models.meas_rep_ue_notification_carrier_aggregation_meas_info import MeasRepUeNotificationCarrierAggregationMeasInfo +from swagger_server.models.meas_rep_ue_notification_eutran_neighbour_cell_meas_info import MeasRepUeNotificationEutranNeighbourCellMeasInfo +from swagger_server.models.meas_rep_ue_notification_new_radio_meas_info import MeasRepUeNotificationNewRadioMeasInfo +from swagger_server.models.meas_rep_ue_notification_new_radio_meas_nei_info import MeasRepUeNotificationNewRadioMeasNeiInfo +from swagger_server.models.meas_rep_ue_notification_nr_bncs import MeasRepUeNotificationNrBNCs +from swagger_server.models.meas_rep_ue_notification_nr_bncs_nr_bn_cell_info import MeasRepUeNotificationNrBNCsNrBNCellInfo +from swagger_server.models.meas_rep_ue_notification_nr_n_cell_info import MeasRepUeNotificationNrNCellInfo +from swagger_server.models.meas_rep_ue_notification_nr_scs import MeasRepUeNotificationNrSCs +from swagger_server.models.meas_rep_ue_notification_nr_scs_nr_s_cell_info import MeasRepUeNotificationNrSCsNrSCellInfo +from swagger_server.models.meas_rep_ue_subscription import MeasRepUeSubscription +from swagger_server.models.meas_rep_ue_subscription_filter_criteria_assoc_tri import MeasRepUeSubscriptionFilterCriteriaAssocTri +from swagger_server.models.meas_ta_notification import MeasTaNotification +from swagger_server.models.meas_ta_subscription import MeasTaSubscription +from swagger_server.models.n_rcgi import NRcgi +from swagger_server.models.nr_cell_id import NrCellId +from swagger_server.models.nr_meas_rep_ue_notification import NrMeasRepUeNotification +from swagger_server.models.nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info import NrMeasRepUeNotificationEutraNeighCellMeasInfo +from swagger_server.models.nr_meas_rep_ue_notification_n_cell import NrMeasRepUeNotificationNCell +from swagger_server.models.nr_meas_rep_ue_notification_nr_neigh_cell_meas_info import NrMeasRepUeNotificationNrNeighCellMeasInfo +from swagger_server.models.nr_meas_rep_ue_notification_s_cell import NrMeasRepUeNotificationSCell +from swagger_server.models.nr_meas_rep_ue_notification_serv_cell_meas_info import NrMeasRepUeNotificationServCellMeasInfo +from swagger_server.models.nr_meas_rep_ue_subscription import NrMeasRepUeSubscription +from swagger_server.models.nr_meas_rep_ue_subscription_filter_criteria_nr_mrs import NrMeasRepUeSubscriptionFilterCriteriaNrMrs +from swagger_server.models.plmn import Plmn +from swagger_server.models.plmn_info import PlmnInfo +from swagger_server.models.problem_details import ProblemDetails +from swagger_server.models.rab_est_notification import RabEstNotification +from swagger_server.models.rab_est_notification_erab_qos_parameters import RabEstNotificationErabQosParameters +from swagger_server.models.rab_est_notification_erab_qos_parameters_qos_information import RabEstNotificationErabQosParametersQosInformation +from swagger_server.models.rab_est_notification_temp_ue_id import RabEstNotificationTempUeId +from swagger_server.models.rab_est_subscription import RabEstSubscription +from swagger_server.models.rab_est_subscription_filter_criteria_qci import RabEstSubscriptionFilterCriteriaQci +from swagger_server.models.rab_info import RabInfo +from swagger_server.models.rab_info_cell_user_info import RabInfoCellUserInfo +from swagger_server.models.rab_info_erab_info import RabInfoErabInfo +from swagger_server.models.rab_info_ue_info import RabInfoUeInfo +from swagger_server.models.rab_mod_notification import RabModNotification +from swagger_server.models.rab_mod_notification_erab_qos_parameters import RabModNotificationErabQosParameters +from swagger_server.models.rab_mod_notification_erab_qos_parameters_qos_information import RabModNotificationErabQosParametersQosInformation +from swagger_server.models.rab_mod_subscription import RabModSubscription +from swagger_server.models.rab_mod_subscription_filter_criteria_qci import RabModSubscriptionFilterCriteriaQci +from swagger_server.models.rab_rel_notification import RabRelNotification +from swagger_server.models.rab_rel_notification_erab_release_info import RabRelNotificationErabReleaseInfo +from swagger_server.models.rab_rel_subscription import RabRelSubscription +from swagger_server.models.results_per_csi_rs_index import ResultsPerCsiRsIndex +from swagger_server.models.results_per_csi_rs_index_list import ResultsPerCsiRsIndexList +from swagger_server.models.results_per_csi_rs_index_list_results_per_csi_rs_index import ResultsPerCsiRsIndexListResultsPerCsiRsIndex +from swagger_server.models.results_per_ssb_index import ResultsPerSsbIndex +from swagger_server.models.results_per_ssb_index_list import ResultsPerSsbIndexList +from swagger_server.models.results_per_ssb_index_list_results_per_ssb_index import ResultsPerSsbIndexListResultsPerSsbIndex +from swagger_server.models.rs_index_results import RsIndexResults +from swagger_server.models.s1_bearer_info import S1BearerInfo +from swagger_server.models.s1_bearer_info_enb_info import S1BearerInfoEnbInfo +from swagger_server.models.s1_bearer_info_s1_bearer_info_detailed import S1BearerInfoS1BearerInfoDetailed +from swagger_server.models.s1_bearer_info_s1_ue_info import S1BearerInfoS1UeInfo +from swagger_server.models.s1_bearer_info_sgw_info import S1BearerInfoSGwInfo +from swagger_server.models.s1_bearer_notification import S1BearerNotification +from swagger_server.models.s1_bearer_notification_s1_ue_info import S1BearerNotificationS1UeInfo +from swagger_server.models.s1_bearer_subscription import S1BearerSubscription +from swagger_server.models.s1_bearer_subscription_s1_bearer_subscription_criteria import S1BearerSubscriptionS1BearerSubscriptionCriteria +from swagger_server.models.subscription_link_list import SubscriptionLinkList +from swagger_server.models.subscription_link_list_links import SubscriptionLinkListLinks +from swagger_server.models.subscription_link_list_links_subscription import SubscriptionLinkListLinksSubscription +from swagger_server.models.time_stamp import TimeStamp +from swagger_server.models.trigger import Trigger +from swagger_server.models.trigger_nr import TriggerNr diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/associate_id.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/associate_id.py new file mode 100644 index 0000000000000000000000000000000000000000..6aec0078c42509d2c4244dbdd5107f29b7405b66 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/associate_id.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class AssociateId(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, type: int=None, value: str=None): # noqa: E501 + """AssociateId - a model defined in Swagger + + :param type: The type of this AssociateId. # noqa: E501 + :type type: int + :param value: The value of this AssociateId. # noqa: E501 + :type value: str + """ + self.swagger_types = { + 'type': int, + 'value': str + } + + self.attribute_map = { + 'type': 'type', + 'value': 'value' + } + self._type = type + self._value = value + + @classmethod + def from_dict(cls, dikt) -> 'AssociateId': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The AssociateId of this AssociateId. # noqa: E501 + :rtype: AssociateId + """ + return util.deserialize_model(dikt, cls) + + @property + def type(self) -> int: + """Gets the type of this AssociateId. + + Numeric value (0-255) corresponding to specified type of identifier as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.

3 = NATED_IP_ADDRESS.

4 = GTP_TEID. # noqa: E501 + + :return: The type of this AssociateId. + :rtype: int + """ + return self._type + + @type.setter + def type(self, type: int): + """Sets the type of this AssociateId. + + Numeric value (0-255) corresponding to specified type of identifier as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.

3 = NATED_IP_ADDRESS.

4 = GTP_TEID. # noqa: E501 + + :param type: The type of this AssociateId. + :type type: int + """ + allowed_values = ["0", "1", "2", "3", "4"] # noqa: E501 + if type not in allowed_values: + raise ValueError( + "Invalid value for `type` ({0}), must be one of {1}" + .format(type, allowed_values) + ) + + self._type = type + + @property + def value(self) -> str: + """Gets the value of this AssociateId. + + Value for the identifier. # noqa: E501 + + :return: The value of this AssociateId. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value: str): + """Sets the value of this AssociateId. + + Value for the identifier. # noqa: E501 + + :param value: The value of this AssociateId. + :type value: str + """ + + self._value = value diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/base_model_.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/base_model_.py new file mode 100644 index 0000000000000000000000000000000000000000..97999c3d3237c287013b2139acb9858a52b454e8 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/base_model_.py @@ -0,0 +1,69 @@ +import pprint + +import six +import typing + +from swagger_server import util + +T = typing.TypeVar('T') + + +class Model(object): + # swaggerTypes: The key is attribute name and the + # value is attribute type. + swagger_types = {} + + # attributeMap: The key is attribute name and the + # value is json key in definition. + attribute_map = {} + + @classmethod + def from_dict(cls: typing.Type[T], dikt) -> T: + """Returns the dict as a model""" + return util.deserialize_model(dikt, cls) + + def to_dict(self): + """Returns the model properties as a dict + + :rtype: dict + """ + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model + + :rtype: str + """ + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..aff8b59e8a0baf4e618947804caf456e27182d07 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification.py @@ -0,0 +1,233 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ca_reconf_notification_carrier_aggregation_meas_info import CaReconfNotificationCarrierAggregationMeasInfo # noqa: F401,E501 +from swagger_server.models.ca_reconf_notification_secondary_cell_add import CaReconfNotificationSecondaryCellAdd # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class CaReconfNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, carrier_aggregation_meas_info: List[CaReconfNotificationCarrierAggregationMeasInfo]=None, ecgi: Ecgi=None, notification_type: str=None, secondary_cell_add: List[CaReconfNotificationSecondaryCellAdd]=None, secondary_cell_remove: List[CaReconfNotificationSecondaryCellAdd]=None, time_stamp: TimeStamp=None): # noqa: E501 + """CaReconfNotification - a model defined in Swagger + + :param associate_id: The associate_id of this CaReconfNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param carrier_aggregation_meas_info: The carrier_aggregation_meas_info of this CaReconfNotification. # noqa: E501 + :type carrier_aggregation_meas_info: List[CaReconfNotificationCarrierAggregationMeasInfo] + :param ecgi: The ecgi of this CaReconfNotification. # noqa: E501 + :type ecgi: Ecgi + :param notification_type: The notification_type of this CaReconfNotification. # noqa: E501 + :type notification_type: str + :param secondary_cell_add: The secondary_cell_add of this CaReconfNotification. # noqa: E501 + :type secondary_cell_add: List[CaReconfNotificationSecondaryCellAdd] + :param secondary_cell_remove: The secondary_cell_remove of this CaReconfNotification. # noqa: E501 + :type secondary_cell_remove: List[CaReconfNotificationSecondaryCellAdd] + :param time_stamp: The time_stamp of this CaReconfNotification. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'carrier_aggregation_meas_info': List[CaReconfNotificationCarrierAggregationMeasInfo], + 'ecgi': Ecgi, + 'notification_type': str, + 'secondary_cell_add': List[CaReconfNotificationSecondaryCellAdd], + 'secondary_cell_remove': List[CaReconfNotificationSecondaryCellAdd], + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'carrier_aggregation_meas_info': 'carrierAggregationMeasInfo', + 'ecgi': 'ecgi', + 'notification_type': 'notificationType', + 'secondary_cell_add': 'secondaryCellAdd', + 'secondary_cell_remove': 'secondaryCellRemove', + 'time_stamp': 'timeStamp' + } + self._associate_id = associate_id + self._carrier_aggregation_meas_info = carrier_aggregation_meas_info + self._ecgi = ecgi + self._notification_type = notification_type + self._secondary_cell_add = secondary_cell_add + self._secondary_cell_remove = secondary_cell_remove + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'CaReconfNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CaReconfNotification of this CaReconfNotification. # noqa: E501 + :rtype: CaReconfNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this CaReconfNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this CaReconfNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this CaReconfNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this CaReconfNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def carrier_aggregation_meas_info(self) -> List[CaReconfNotificationCarrierAggregationMeasInfo]: + """Gets the carrier_aggregation_meas_info of this CaReconfNotification. + + This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. # noqa: E501 + + :return: The carrier_aggregation_meas_info of this CaReconfNotification. + :rtype: List[CaReconfNotificationCarrierAggregationMeasInfo] + """ + return self._carrier_aggregation_meas_info + + @carrier_aggregation_meas_info.setter + def carrier_aggregation_meas_info(self, carrier_aggregation_meas_info: List[CaReconfNotificationCarrierAggregationMeasInfo]): + """Sets the carrier_aggregation_meas_info of this CaReconfNotification. + + This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. # noqa: E501 + + :param carrier_aggregation_meas_info: The carrier_aggregation_meas_info of this CaReconfNotification. + :type carrier_aggregation_meas_info: List[CaReconfNotificationCarrierAggregationMeasInfo] + """ + + self._carrier_aggregation_meas_info = carrier_aggregation_meas_info + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this CaReconfNotification. + + + :return: The ecgi of this CaReconfNotification. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this CaReconfNotification. + + + :param ecgi: The ecgi of this CaReconfNotification. + :type ecgi: Ecgi + """ + if ecgi is None: + raise ValueError("Invalid value for `ecgi`, must not be `None`") # noqa: E501 + + self._ecgi = ecgi + + @property + def notification_type(self) -> str: + """Gets the notification_type of this CaReconfNotification. + + Shall be set to \"CaReConfNotification\". # noqa: E501 + + :return: The notification_type of this CaReconfNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this CaReconfNotification. + + Shall be set to \"CaReConfNotification\". # noqa: E501 + + :param notification_type: The notification_type of this CaReconfNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def secondary_cell_add(self) -> List[CaReconfNotificationSecondaryCellAdd]: + """Gets the secondary_cell_add of this CaReconfNotification. + + + :return: The secondary_cell_add of this CaReconfNotification. + :rtype: List[CaReconfNotificationSecondaryCellAdd] + """ + return self._secondary_cell_add + + @secondary_cell_add.setter + def secondary_cell_add(self, secondary_cell_add: List[CaReconfNotificationSecondaryCellAdd]): + """Sets the secondary_cell_add of this CaReconfNotification. + + + :param secondary_cell_add: The secondary_cell_add of this CaReconfNotification. + :type secondary_cell_add: List[CaReconfNotificationSecondaryCellAdd] + """ + + self._secondary_cell_add = secondary_cell_add + + @property + def secondary_cell_remove(self) -> List[CaReconfNotificationSecondaryCellAdd]: + """Gets the secondary_cell_remove of this CaReconfNotification. + + + :return: The secondary_cell_remove of this CaReconfNotification. + :rtype: List[CaReconfNotificationSecondaryCellAdd] + """ + return self._secondary_cell_remove + + @secondary_cell_remove.setter + def secondary_cell_remove(self, secondary_cell_remove: List[CaReconfNotificationSecondaryCellAdd]): + """Sets the secondary_cell_remove of this CaReconfNotification. + + + :param secondary_cell_remove: The secondary_cell_remove of this CaReconfNotification. + :type secondary_cell_remove: List[CaReconfNotificationSecondaryCellAdd] + """ + + self._secondary_cell_remove = secondary_cell_remove + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this CaReconfNotification. + + + :return: The time_stamp of this CaReconfNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this CaReconfNotification. + + + :param time_stamp: The time_stamp of this CaReconfNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification_carrier_aggregation_meas_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification_carrier_aggregation_meas_info.py new file mode 100644 index 0000000000000000000000000000000000000000..df16785611ee7feaac93fc2207970b3e27e3321a --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification_carrier_aggregation_meas_info.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.cell_id import CellId # noqa: F401,E501 +from swagger_server import util + + +class CaReconfNotificationCarrierAggregationMeasInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, cell_id_nei: CellId=None, cell_id_srv: CellId=None, rsrp_nei: int=None, rsrp_srv: int=None, rsrq_nei: int=None, rsrq_srv: int=None): # noqa: E501 + """CaReconfNotificationCarrierAggregationMeasInfo - a model defined in Swagger + + :param cell_id_nei: The cell_id_nei of this CaReconfNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type cell_id_nei: CellId + :param cell_id_srv: The cell_id_srv of this CaReconfNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type cell_id_srv: CellId + :param rsrp_nei: The rsrp_nei of this CaReconfNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrp_nei: int + :param rsrp_srv: The rsrp_srv of this CaReconfNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrp_srv: int + :param rsrq_nei: The rsrq_nei of this CaReconfNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrq_nei: int + :param rsrq_srv: The rsrq_srv of this CaReconfNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrq_srv: int + """ + self.swagger_types = { + 'cell_id_nei': CellId, + 'cell_id_srv': CellId, + 'rsrp_nei': int, + 'rsrp_srv': int, + 'rsrq_nei': int, + 'rsrq_srv': int + } + + self.attribute_map = { + 'cell_id_nei': 'cellIdNei', + 'cell_id_srv': 'cellIdSrv', + 'rsrp_nei': 'rsrpNei', + 'rsrp_srv': 'rsrpSrv', + 'rsrq_nei': 'rsrqNei', + 'rsrq_srv': 'rsrqSrv' + } + self._cell_id_nei = cell_id_nei + self._cell_id_srv = cell_id_srv + self._rsrp_nei = rsrp_nei + self._rsrp_srv = rsrp_srv + self._rsrq_nei = rsrq_nei + self._rsrq_srv = rsrq_srv + + @classmethod + def from_dict(cls, dikt) -> 'CaReconfNotificationCarrierAggregationMeasInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CaReconfNotification_carrierAggregationMeasInfo of this CaReconfNotificationCarrierAggregationMeasInfo. # noqa: E501 + :rtype: CaReconfNotificationCarrierAggregationMeasInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def cell_id_nei(self) -> CellId: + """Gets the cell_id_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + + + :return: The cell_id_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + :rtype: CellId + """ + return self._cell_id_nei + + @cell_id_nei.setter + def cell_id_nei(self, cell_id_nei: CellId): + """Sets the cell_id_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + + + :param cell_id_nei: The cell_id_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + :type cell_id_nei: CellId + """ + + self._cell_id_nei = cell_id_nei + + @property + def cell_id_srv(self) -> CellId: + """Gets the cell_id_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + + + :return: The cell_id_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + :rtype: CellId + """ + return self._cell_id_srv + + @cell_id_srv.setter + def cell_id_srv(self, cell_id_srv: CellId): + """Sets the cell_id_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + + + :param cell_id_srv: The cell_id_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + :type cell_id_srv: CellId + """ + + self._cell_id_srv = cell_id_srv + + @property + def rsrp_nei(self) -> int: + """Gets the rsrp_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrp_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrp_nei + + @rsrp_nei.setter + def rsrp_nei(self, rsrp_nei: int): + """Sets the rsrp_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrp_nei: The rsrp_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + :type rsrp_nei: int + """ + + self._rsrp_nei = rsrp_nei + + @property + def rsrp_srv(self) -> int: + """Gets the rsrp_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrp_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrp_srv + + @rsrp_srv.setter + def rsrp_srv(self, rsrp_srv: int): + """Sets the rsrp_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrp_srv: The rsrp_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + :type rsrp_srv: int + """ + + self._rsrp_srv = rsrp_srv + + @property + def rsrq_nei(self) -> int: + """Gets the rsrq_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrq_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrq_nei + + @rsrq_nei.setter + def rsrq_nei(self, rsrq_nei: int): + """Sets the rsrq_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrq_nei: The rsrq_nei of this CaReconfNotificationCarrierAggregationMeasInfo. + :type rsrq_nei: int + """ + + self._rsrq_nei = rsrq_nei + + @property + def rsrq_srv(self) -> int: + """Gets the rsrq_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrq_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrq_srv + + @rsrq_srv.setter + def rsrq_srv(self, rsrq_srv: int): + """Sets the rsrq_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrq_srv: The rsrq_srv of this CaReconfNotificationCarrierAggregationMeasInfo. + :type rsrq_srv: int + """ + + self._rsrq_srv = rsrq_srv diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification_secondary_cell_add.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification_secondary_cell_add.py new file mode 100644 index 0000000000000000000000000000000000000000..4b61a5fbb52b38dc2133fefddbd2fa8c911515b5 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_notification_secondary_cell_add.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class CaReconfNotificationSecondaryCellAdd(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ecgi: Ecgi=None): # noqa: E501 + """CaReconfNotificationSecondaryCellAdd - a model defined in Swagger + + :param ecgi: The ecgi of this CaReconfNotificationSecondaryCellAdd. # noqa: E501 + :type ecgi: Ecgi + """ + self.swagger_types = { + 'ecgi': Ecgi + } + + self.attribute_map = { + 'ecgi': 'ecgi' + } + self._ecgi = ecgi + + @classmethod + def from_dict(cls, dikt) -> 'CaReconfNotificationSecondaryCellAdd': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CaReconfNotification_secondaryCellAdd of this CaReconfNotificationSecondaryCellAdd. # noqa: E501 + :rtype: CaReconfNotificationSecondaryCellAdd + """ + return util.deserialize_model(dikt, cls) + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this CaReconfNotificationSecondaryCellAdd. + + + :return: The ecgi of this CaReconfNotificationSecondaryCellAdd. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this CaReconfNotificationSecondaryCellAdd. + + + :param ecgi: The ecgi of this CaReconfNotificationSecondaryCellAdd. + :type ecgi: Ecgi + """ + + self._ecgi = ecgi diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..f65e7a37f7c73e4ab55afbf49727ee938f65cfc8 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_filter_criteria_assoc import CaReconfSubscriptionFilterCriteriaAssoc # noqa: F401,E501 +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class CaReconfSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc=None, subscription_type: str=None): # noqa: E501 + """CaReconfSubscription - a model defined in Swagger + + :param links: The links of this CaReconfSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this CaReconfSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this CaReconfSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_assoc: The filter_criteria_assoc of this CaReconfSubscription. # noqa: E501 + :type filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc + :param subscription_type: The subscription_type of this CaReconfSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_assoc': CaReconfSubscriptionFilterCriteriaAssoc, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_assoc': 'filterCriteriaAssoc', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_assoc = filter_criteria_assoc + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'CaReconfSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CaReconfSubscription of this CaReconfSubscription. # noqa: E501 + :rtype: CaReconfSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this CaReconfSubscription. + + + :return: The links of this CaReconfSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this CaReconfSubscription. + + + :param links: The links of this CaReconfSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this CaReconfSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this CaReconfSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this CaReconfSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this CaReconfSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this CaReconfSubscription. + + + :return: The expiry_deadline of this CaReconfSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this CaReconfSubscription. + + + :param expiry_deadline: The expiry_deadline of this CaReconfSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_assoc(self) -> CaReconfSubscriptionFilterCriteriaAssoc: + """Gets the filter_criteria_assoc of this CaReconfSubscription. + + + :return: The filter_criteria_assoc of this CaReconfSubscription. + :rtype: CaReconfSubscriptionFilterCriteriaAssoc + """ + return self._filter_criteria_assoc + + @filter_criteria_assoc.setter + def filter_criteria_assoc(self, filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc): + """Sets the filter_criteria_assoc of this CaReconfSubscription. + + + :param filter_criteria_assoc: The filter_criteria_assoc of this CaReconfSubscription. + :type filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc + """ + if filter_criteria_assoc is None: + raise ValueError("Invalid value for `filter_criteria_assoc`, must not be `None`") # noqa: E501 + + self._filter_criteria_assoc = filter_criteria_assoc + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this CaReconfSubscription. + + Shall be set to \"CaReconfSubscription\". # noqa: E501 + + :return: The subscription_type of this CaReconfSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this CaReconfSubscription. + + Shall be set to \"CaReconfSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this CaReconfSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription_filter_criteria_assoc.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription_filter_criteria_assoc.py new file mode 100644 index 0000000000000000000000000000000000000000..28d133c027542f3459b62ac3186f2cf0178906e3 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription_filter_criteria_assoc.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class CaReconfSubscriptionFilterCriteriaAssoc(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, associate_id: List[AssociateId]=None, ecgi: List[Ecgi]=None): # noqa: E501 + """CaReconfSubscriptionFilterCriteriaAssoc - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this CaReconfSubscriptionFilterCriteriaAssoc. # noqa: E501 + :type app_instance_id: str + :param associate_id: The associate_id of this CaReconfSubscriptionFilterCriteriaAssoc. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this CaReconfSubscriptionFilterCriteriaAssoc. # noqa: E501 + :type ecgi: List[Ecgi] + """ + self.swagger_types = { + 'app_instance_id': str, + 'associate_id': List[AssociateId], + 'ecgi': List[Ecgi] + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'associate_id': 'associateId', + 'ecgi': 'ecgi' + } + self._app_instance_id = app_instance_id + self._associate_id = associate_id + self._ecgi = ecgi + + @classmethod + def from_dict(cls, dikt) -> 'CaReconfSubscriptionFilterCriteriaAssoc': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CaReconfSubscription_filterCriteriaAssoc of this CaReconfSubscriptionFilterCriteriaAssoc. # noqa: E501 + :rtype: CaReconfSubscriptionFilterCriteriaAssoc + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this CaReconfSubscriptionFilterCriteriaAssoc. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this CaReconfSubscriptionFilterCriteriaAssoc. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this CaReconfSubscriptionFilterCriteriaAssoc. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this CaReconfSubscriptionFilterCriteriaAssoc. + :type app_instance_id: str + """ + + self._app_instance_id = app_instance_id + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this CaReconfSubscriptionFilterCriteriaAssoc. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this CaReconfSubscriptionFilterCriteriaAssoc. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this CaReconfSubscriptionFilterCriteriaAssoc. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this CaReconfSubscriptionFilterCriteriaAssoc. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this CaReconfSubscriptionFilterCriteriaAssoc. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this CaReconfSubscriptionFilterCriteriaAssoc. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this CaReconfSubscriptionFilterCriteriaAssoc. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this CaReconfSubscriptionFilterCriteriaAssoc. + :type ecgi: List[Ecgi] + """ + + self._ecgi = ecgi diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription_links.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription_links.py new file mode 100644 index 0000000000000000000000000000000000000000..b1f665b5a04e11e5a605fed7e5d772ede4e91f50 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ca_reconf_subscription_links.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.link_type import LinkType # noqa: F401,E501 +from swagger_server import util + + +class CaReconfSubscriptionLinks(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, _self: LinkType=None): # noqa: E501 + """CaReconfSubscriptionLinks - a model defined in Swagger + + :param _self: The _self of this CaReconfSubscriptionLinks. # noqa: E501 + :type _self: LinkType + """ + self.swagger_types = { + '_self': LinkType + } + + self.attribute_map = { + '_self': 'self' + } + self.__self = _self + + @classmethod + def from_dict(cls, dikt) -> 'CaReconfSubscriptionLinks': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CaReconfSubscription__links of this CaReconfSubscriptionLinks. # noqa: E501 + :rtype: CaReconfSubscriptionLinks + """ + return util.deserialize_model(dikt, cls) + + @property + def _self(self) -> LinkType: + """Gets the _self of this CaReconfSubscriptionLinks. + + + :return: The _self of this CaReconfSubscriptionLinks. + :rtype: LinkType + """ + return self.__self + + @_self.setter + def _self(self, _self: LinkType): + """Sets the _self of this CaReconfSubscriptionLinks. + + + :param _self: The _self of this CaReconfSubscriptionLinks. + :type _self: LinkType + """ + if _self is None: + raise ValueError("Invalid value for `_self`, must not be `None`") # noqa: E501 + + self.__self = _self diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..584356ca26839ef9d4a73dc3b34cd9afa87b3f14 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_notification.py @@ -0,0 +1,242 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.cell_change_notification_temp_ue_id import CellChangeNotificationTempUeId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class CellChangeNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ho_status: int=None, notification_type: str=None, src_ecgi: Ecgi=None, temp_ue_id: CellChangeNotificationTempUeId=None, time_stamp: TimeStamp=None, trg_ecgi: List[Ecgi]=None): # noqa: E501 + """CellChangeNotification - a model defined in Swagger + + :param associate_id: The associate_id of this CellChangeNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param ho_status: The ho_status of this CellChangeNotification. # noqa: E501 + :type ho_status: int + :param notification_type: The notification_type of this CellChangeNotification. # noqa: E501 + :type notification_type: str + :param src_ecgi: The src_ecgi of this CellChangeNotification. # noqa: E501 + :type src_ecgi: Ecgi + :param temp_ue_id: The temp_ue_id of this CellChangeNotification. # noqa: E501 + :type temp_ue_id: CellChangeNotificationTempUeId + :param time_stamp: The time_stamp of this CellChangeNotification. # noqa: E501 + :type time_stamp: TimeStamp + :param trg_ecgi: The trg_ecgi of this CellChangeNotification. # noqa: E501 + :type trg_ecgi: List[Ecgi] + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ho_status': int, + 'notification_type': str, + 'src_ecgi': Ecgi, + 'temp_ue_id': CellChangeNotificationTempUeId, + 'time_stamp': TimeStamp, + 'trg_ecgi': List[Ecgi] + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ho_status': 'hoStatus', + 'notification_type': 'notificationType', + 'src_ecgi': 'srcEcgi', + 'temp_ue_id': 'tempUeId', + 'time_stamp': 'timeStamp', + 'trg_ecgi': 'trgEcgi' + } + self._associate_id = associate_id + self._ho_status = ho_status + self._notification_type = notification_type + self._src_ecgi = src_ecgi + self._temp_ue_id = temp_ue_id + self._time_stamp = time_stamp + self._trg_ecgi = trg_ecgi + + @classmethod + def from_dict(cls, dikt) -> 'CellChangeNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CellChangeNotification of this CellChangeNotification. # noqa: E501 + :rtype: CellChangeNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this CellChangeNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this CellChangeNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this CellChangeNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this CellChangeNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ho_status(self) -> int: + """Gets the ho_status of this CellChangeNotification. + + Indicate the status of the UE handover procedure. Values are defined as following:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 = REJECTED.

5 = CANCELLED. # noqa: E501 + + :return: The ho_status of this CellChangeNotification. + :rtype: int + """ + return self._ho_status + + @ho_status.setter + def ho_status(self, ho_status: int): + """Sets the ho_status of this CellChangeNotification. + + Indicate the status of the UE handover procedure. Values are defined as following:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 = REJECTED.

5 = CANCELLED. # noqa: E501 + + :param ho_status: The ho_status of this CellChangeNotification. + :type ho_status: int + """ + allowed_values = ["1", "2", "3", "4", "5"] # noqa: E501 + if ho_status not in allowed_values: + raise ValueError( + "Invalid value for `ho_status` ({0}), must be one of {1}" + .format(ho_status, allowed_values) + ) + + self._ho_status = ho_status + + @property + def notification_type(self) -> str: + """Gets the notification_type of this CellChangeNotification. + + Shall be set to \"CellChangeNotification\". # noqa: E501 + + :return: The notification_type of this CellChangeNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this CellChangeNotification. + + Shall be set to \"CellChangeNotification\". # noqa: E501 + + :param notification_type: The notification_type of this CellChangeNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def src_ecgi(self) -> Ecgi: + """Gets the src_ecgi of this CellChangeNotification. + + + :return: The src_ecgi of this CellChangeNotification. + :rtype: Ecgi + """ + return self._src_ecgi + + @src_ecgi.setter + def src_ecgi(self, src_ecgi: Ecgi): + """Sets the src_ecgi of this CellChangeNotification. + + + :param src_ecgi: The src_ecgi of this CellChangeNotification. + :type src_ecgi: Ecgi + """ + if src_ecgi is None: + raise ValueError("Invalid value for `src_ecgi`, must not be `None`") # noqa: E501 + + self._src_ecgi = src_ecgi + + @property + def temp_ue_id(self) -> CellChangeNotificationTempUeId: + """Gets the temp_ue_id of this CellChangeNotification. + + + :return: The temp_ue_id of this CellChangeNotification. + :rtype: CellChangeNotificationTempUeId + """ + return self._temp_ue_id + + @temp_ue_id.setter + def temp_ue_id(self, temp_ue_id: CellChangeNotificationTempUeId): + """Sets the temp_ue_id of this CellChangeNotification. + + + :param temp_ue_id: The temp_ue_id of this CellChangeNotification. + :type temp_ue_id: CellChangeNotificationTempUeId + """ + + self._temp_ue_id = temp_ue_id + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this CellChangeNotification. + + + :return: The time_stamp of this CellChangeNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this CellChangeNotification. + + + :param time_stamp: The time_stamp of this CellChangeNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp + + @property + def trg_ecgi(self) -> List[Ecgi]: + """Gets the trg_ecgi of this CellChangeNotification. + + E-UTRAN Cell Global Identifier of the target cell. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. # noqa: E501 + + :return: The trg_ecgi of this CellChangeNotification. + :rtype: List[Ecgi] + """ + return self._trg_ecgi + + @trg_ecgi.setter + def trg_ecgi(self, trg_ecgi: List[Ecgi]): + """Sets the trg_ecgi of this CellChangeNotification. + + E-UTRAN Cell Global Identifier of the target cell. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. # noqa: E501 + + :param trg_ecgi: The trg_ecgi of this CellChangeNotification. + :type trg_ecgi: List[Ecgi] + """ + if trg_ecgi is None: + raise ValueError("Invalid value for `trg_ecgi`, must not be `None`") # noqa: E501 + + self._trg_ecgi = trg_ecgi diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_notification_temp_ue_id.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_notification_temp_ue_id.py new file mode 100644 index 0000000000000000000000000000000000000000..df6be17ac7df5f58d92f51aa2a7ce5530045779b --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_notification_temp_ue_id.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class CellChangeNotificationTempUeId(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, mmec: str=None, mtmsi: str=None): # noqa: E501 + """CellChangeNotificationTempUeId - a model defined in Swagger + + :param mmec: The mmec of this CellChangeNotificationTempUeId. # noqa: E501 + :type mmec: str + :param mtmsi: The mtmsi of this CellChangeNotificationTempUeId. # noqa: E501 + :type mtmsi: str + """ + self.swagger_types = { + 'mmec': str, + 'mtmsi': str + } + + self.attribute_map = { + 'mmec': 'mmec', + 'mtmsi': 'mtmsi' + } + self._mmec = mmec + self._mtmsi = mtmsi + + @classmethod + def from_dict(cls, dikt) -> 'CellChangeNotificationTempUeId': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CellChangeNotification_tempUeId of this CellChangeNotificationTempUeId. # noqa: E501 + :rtype: CellChangeNotificationTempUeId + """ + return util.deserialize_model(dikt, cls) + + @property + def mmec(self) -> str: + """Gets the mmec of this CellChangeNotificationTempUeId. + + MMEC as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The mmec of this CellChangeNotificationTempUeId. + :rtype: str + """ + return self._mmec + + @mmec.setter + def mmec(self, mmec: str): + """Sets the mmec of this CellChangeNotificationTempUeId. + + MMEC as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param mmec: The mmec of this CellChangeNotificationTempUeId. + :type mmec: str + """ + if mmec is None: + raise ValueError("Invalid value for `mmec`, must not be `None`") # noqa: E501 + + self._mmec = mmec + + @property + def mtmsi(self) -> str: + """Gets the mtmsi of this CellChangeNotificationTempUeId. + + M-TMSI as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The mtmsi of this CellChangeNotificationTempUeId. + :rtype: str + """ + return self._mtmsi + + @mtmsi.setter + def mtmsi(self, mtmsi: str): + """Sets the mtmsi of this CellChangeNotificationTempUeId. + + M-TMSI as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param mtmsi: The mtmsi of this CellChangeNotificationTempUeId. + :type mtmsi: str + """ + if mtmsi is None: + raise ValueError("Invalid value for `mtmsi`, must not be `None`") # noqa: E501 + + self._mtmsi = mtmsi diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..a34c2c90961fbb4ac2165c6d565300baf57f9907 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.cell_change_subscription_filter_criteria_assoc_ho import CellChangeSubscriptionFilterCriteriaAssocHo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class CellChangeSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_assoc_ho: CellChangeSubscriptionFilterCriteriaAssocHo=None, subscription_type: str=None): # noqa: E501 + """CellChangeSubscription - a model defined in Swagger + + :param links: The links of this CellChangeSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this CellChangeSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this CellChangeSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_assoc_ho: The filter_criteria_assoc_ho of this CellChangeSubscription. # noqa: E501 + :type filter_criteria_assoc_ho: CellChangeSubscriptionFilterCriteriaAssocHo + :param subscription_type: The subscription_type of this CellChangeSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_assoc_ho': CellChangeSubscriptionFilterCriteriaAssocHo, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_assoc_ho': 'filterCriteriaAssocHo', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_assoc_ho = filter_criteria_assoc_ho + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'CellChangeSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CellChangeSubscription of this CellChangeSubscription. # noqa: E501 + :rtype: CellChangeSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this CellChangeSubscription. + + + :return: The links of this CellChangeSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this CellChangeSubscription. + + + :param links: The links of this CellChangeSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this CellChangeSubscription. + + URI selected by the service consumerto receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this CellChangeSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this CellChangeSubscription. + + URI selected by the service consumerto receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this CellChangeSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this CellChangeSubscription. + + + :return: The expiry_deadline of this CellChangeSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this CellChangeSubscription. + + + :param expiry_deadline: The expiry_deadline of this CellChangeSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_assoc_ho(self) -> CellChangeSubscriptionFilterCriteriaAssocHo: + """Gets the filter_criteria_assoc_ho of this CellChangeSubscription. + + + :return: The filter_criteria_assoc_ho of this CellChangeSubscription. + :rtype: CellChangeSubscriptionFilterCriteriaAssocHo + """ + return self._filter_criteria_assoc_ho + + @filter_criteria_assoc_ho.setter + def filter_criteria_assoc_ho(self, filter_criteria_assoc_ho: CellChangeSubscriptionFilterCriteriaAssocHo): + """Sets the filter_criteria_assoc_ho of this CellChangeSubscription. + + + :param filter_criteria_assoc_ho: The filter_criteria_assoc_ho of this CellChangeSubscription. + :type filter_criteria_assoc_ho: CellChangeSubscriptionFilterCriteriaAssocHo + """ + if filter_criteria_assoc_ho is None: + raise ValueError("Invalid value for `filter_criteria_assoc_ho`, must not be `None`") # noqa: E501 + + self._filter_criteria_assoc_ho = filter_criteria_assoc_ho + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this CellChangeSubscription. + + Shall be set to \"CellChangeSubscription\". # noqa: E501 + + :return: The subscription_type of this CellChangeSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this CellChangeSubscription. + + Shall be set to \"CellChangeSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this CellChangeSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_subscription_filter_criteria_assoc_ho.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_subscription_filter_criteria_assoc_ho.py new file mode 100644 index 0000000000000000000000000000000000000000..da9a6f880b3f8a005019ac2b8ead84246c7a76a7 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_change_subscription_filter_criteria_assoc_ho.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.enum import Enum # noqa: F401,E501 +from swagger_server import util + + +class CellChangeSubscriptionFilterCriteriaAssocHo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, associate_id: List[AssociateId]=None, ecgi: List[Ecgi]=None, ho_status: List[Enum]=None): # noqa: E501 + """CellChangeSubscriptionFilterCriteriaAssocHo - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this CellChangeSubscriptionFilterCriteriaAssocHo. # noqa: E501 + :type app_instance_id: str + :param associate_id: The associate_id of this CellChangeSubscriptionFilterCriteriaAssocHo. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this CellChangeSubscriptionFilterCriteriaAssocHo. # noqa: E501 + :type ecgi: List[Ecgi] + :param ho_status: The ho_status of this CellChangeSubscriptionFilterCriteriaAssocHo. # noqa: E501 + :type ho_status: List[Enum] + """ + self.swagger_types = { + 'app_instance_id': str, + 'associate_id': List[AssociateId], + 'ecgi': List[Ecgi], + 'ho_status': List[Enum] + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 'ho_status': 'hoStatus' + } + self._app_instance_id = app_instance_id + self._associate_id = associate_id + self._ecgi = ecgi + self._ho_status = ho_status + + @classmethod + def from_dict(cls, dikt) -> 'CellChangeSubscriptionFilterCriteriaAssocHo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CellChangeSubscription_filterCriteriaAssocHo of this CellChangeSubscriptionFilterCriteriaAssocHo. # noqa: E501 + :rtype: CellChangeSubscriptionFilterCriteriaAssocHo + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + :type app_instance_id: str + """ + + self._app_instance_id = app_instance_id + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this CellChangeSubscriptionFilterCriteriaAssocHo. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this CellChangeSubscriptionFilterCriteriaAssocHo. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this CellChangeSubscriptionFilterCriteriaAssocHo. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this CellChangeSubscriptionFilterCriteriaAssocHo. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this CellChangeSubscriptionFilterCriteriaAssocHo. + :type ecgi: List[Ecgi] + """ + + self._ecgi = ecgi + + @property + def ho_status(self) -> List[Enum]: + """Gets the ho_status of this CellChangeSubscriptionFilterCriteriaAssocHo. + + In case hoStatus is not included in the subscription request, the default value 3 = COMPLETED shall be used and included in the response:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 = REJECTED.

5 = CANCELLED. # noqa: E501 + + :return: The ho_status of this CellChangeSubscriptionFilterCriteriaAssocHo. + :rtype: List[Enum] + """ + return self._ho_status + + @ho_status.setter + def ho_status(self, ho_status: List[Enum]): + """Sets the ho_status of this CellChangeSubscriptionFilterCriteriaAssocHo. + + In case hoStatus is not included in the subscription request, the default value 3 = COMPLETED shall be used and included in the response:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 = REJECTED.

5 = CANCELLED. # noqa: E501 + + :param ho_status: The ho_status of this CellChangeSubscriptionFilterCriteriaAssocHo. + :type ho_status: List[Enum] + """ + + self._ho_status = ho_status diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_id.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_id.py new file mode 100644 index 0000000000000000000000000000000000000000..6b1156824fd54e4c31f01df6be4da632701d93e0 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/cell_id.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class CellId(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self): # noqa: E501 + """CellId - a model defined in Swagger + + """ + self.swagger_types = { + } + + self.attribute_map = { + } + + @classmethod + def from_dict(cls, dikt) -> 'CellId': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The CellId of this CellId. # noqa: E501 + :rtype: CellId + """ + return util.deserialize_model(dikt, cls) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ecgi.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ecgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e8cd95a835bfadb0cf80181b98ca5127d6841feb --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/ecgi.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.cell_id import CellId # noqa: F401,E501 +from swagger_server.models.plmn import Plmn # noqa: F401,E501 +from swagger_server import util + + +class Ecgi(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, cell_id: CellId=None, plmn: Plmn=None): # noqa: E501 + """Ecgi - a model defined in Swagger + + :param cell_id: The cell_id of this Ecgi. # noqa: E501 + :type cell_id: CellId + :param plmn: The plmn of this Ecgi. # noqa: E501 + :type plmn: Plmn + """ + self.swagger_types = { + 'cell_id': CellId, + 'plmn': Plmn + } + + self.attribute_map = { + 'cell_id': 'cellId', + 'plmn': 'plmn' + } + self._cell_id = cell_id + self._plmn = plmn + + @classmethod + def from_dict(cls, dikt) -> 'Ecgi': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The Ecgi of this Ecgi. # noqa: E501 + :rtype: Ecgi + """ + return util.deserialize_model(dikt, cls) + + @property + def cell_id(self) -> CellId: + """Gets the cell_id of this Ecgi. + + + :return: The cell_id of this Ecgi. + :rtype: CellId + """ + return self._cell_id + + @cell_id.setter + def cell_id(self, cell_id: CellId): + """Sets the cell_id of this Ecgi. + + + :param cell_id: The cell_id of this Ecgi. + :type cell_id: CellId + """ + if cell_id is None: + raise ValueError("Invalid value for `cell_id`, must not be `None`") # noqa: E501 + + self._cell_id = cell_id + + @property + def plmn(self) -> Plmn: + """Gets the plmn of this Ecgi. + + + :return: The plmn of this Ecgi. + :rtype: Plmn + """ + return self._plmn + + @plmn.setter + def plmn(self, plmn: Plmn): + """Sets the plmn of this Ecgi. + + + :param plmn: The plmn of this Ecgi. + :type plmn: Plmn + """ + if plmn is None: + raise ValueError("Invalid value for `plmn`, must not be `None`") # noqa: E501 + + self._plmn = plmn diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/enum.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/enum.py new file mode 100644 index 0000000000000000000000000000000000000000..cc1d21d52423db50bb8a7d8cc5c8df6d62842157 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class Enum(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self): # noqa: E501 + """Enum - a model defined in Swagger + + """ + self.swagger_types = { + } + + self.attribute_map = { + } + + @classmethod + def from_dict(cls, dikt) -> 'Enum': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The Enum of this Enum. # noqa: E501 + :rtype: Enum + """ + return util.deserialize_model(dikt, cls) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/expiry_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/expiry_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..26e084e612275474b95e55905003df0c149c5186 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/expiry_notification.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.expiry_notification_links import ExpiryNotificationLinks # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class ExpiryNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: ExpiryNotificationLinks=None, expiry_deadline: TimeStamp=None, time_stamp: TimeStamp=None): # noqa: E501 + """ExpiryNotification - a model defined in Swagger + + :param links: The links of this ExpiryNotification. # noqa: E501 + :type links: ExpiryNotificationLinks + :param expiry_deadline: The expiry_deadline of this ExpiryNotification. # noqa: E501 + :type expiry_deadline: TimeStamp + :param time_stamp: The time_stamp of this ExpiryNotification. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'links': ExpiryNotificationLinks, + 'expiry_deadline': TimeStamp, + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'links': '_links', + 'expiry_deadline': 'expiryDeadline', + 'time_stamp': 'timeStamp' + } + self._links = links + self._expiry_deadline = expiry_deadline + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'ExpiryNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ExpiryNotification of this ExpiryNotification. # noqa: E501 + :rtype: ExpiryNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> ExpiryNotificationLinks: + """Gets the links of this ExpiryNotification. + + + :return: The links of this ExpiryNotification. + :rtype: ExpiryNotificationLinks + """ + return self._links + + @links.setter + def links(self, links: ExpiryNotificationLinks): + """Sets the links of this ExpiryNotification. + + + :param links: The links of this ExpiryNotification. + :type links: ExpiryNotificationLinks + """ + if links is None: + raise ValueError("Invalid value for `links`, must not be `None`") # noqa: E501 + + self._links = links + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this ExpiryNotification. + + + :return: The expiry_deadline of this ExpiryNotification. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this ExpiryNotification. + + + :param expiry_deadline: The expiry_deadline of this ExpiryNotification. + :type expiry_deadline: TimeStamp + """ + if expiry_deadline is None: + raise ValueError("Invalid value for `expiry_deadline`, must not be `None`") # noqa: E501 + + self._expiry_deadline = expiry_deadline + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this ExpiryNotification. + + + :return: The time_stamp of this ExpiryNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this ExpiryNotification. + + + :param time_stamp: The time_stamp of this ExpiryNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/expiry_notification_links.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/expiry_notification_links.py new file mode 100644 index 0000000000000000000000000000000000000000..b918c6a0807c6f7a6c91f3ad1c304f08495c3a24 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/expiry_notification_links.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class ExpiryNotificationLinks(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, _self: str=None): # noqa: E501 + """ExpiryNotificationLinks - a model defined in Swagger + + :param _self: The _self of this ExpiryNotificationLinks. # noqa: E501 + :type _self: str + """ + self.swagger_types = { + '_self': str + } + + self.attribute_map = { + '_self': 'self' + } + self.__self = _self + + @classmethod + def from_dict(cls, dikt) -> 'ExpiryNotificationLinks': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ExpiryNotification__links of this ExpiryNotificationLinks. # noqa: E501 + :rtype: ExpiryNotificationLinks + """ + return util.deserialize_model(dikt, cls) + + @property + def _self(self) -> str: + """Gets the _self of this ExpiryNotificationLinks. + + Self referring URI. This shall be included in the response from the RNIS. The URI shall be unique within the RNI API as it acts as an ID for the subscription. # noqa: E501 + + :return: The _self of this ExpiryNotificationLinks. + :rtype: str + """ + return self.__self + + @_self.setter + def _self(self, _self: str): + """Sets the _self of this ExpiryNotificationLinks. + + Self referring URI. This shall be included in the response from the RNIS. The URI shall be unique within the RNI API as it acts as an ID for the subscription. # noqa: E501 + + :param _self: The _self of this ExpiryNotificationLinks. + :type _self: str + """ + if _self is None: + raise ValueError("Invalid value for `_self`, must not be `None`") # noqa: E501 + + self.__self = _self diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/inline_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/inline_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..a242006a2ff554bc71cde45021bd6e4ab779ea55 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/inline_notification.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class InlineNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self): # noqa: E501 + """InlineNotification - a model defined in Swagger + + """ + self.swagger_types = { + } + + self.attribute_map = { + } + + @classmethod + def from_dict(cls, dikt) -> 'InlineNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The InlineNotification of this InlineNotification. # noqa: E501 + :rtype: InlineNotification + """ + return util.deserialize_model(dikt, cls) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/inline_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/inline_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..b590bbaaf1535f72e66e5fe7f02b3119f256aba7 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/inline_subscription.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class InlineSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self): # noqa: E501 + """InlineSubscription - a model defined in Swagger + + """ + self.swagger_types = { + } + + self.attribute_map = { + } + + @classmethod + def from_dict(cls, dikt) -> 'InlineSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The InlineSubscription of this InlineSubscription. # noqa: E501 + :rtype: InlineSubscription + """ + return util.deserialize_model(dikt, cls) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas.py new file mode 100644 index 0000000000000000000000000000000000000000..4328d37aeaca5d49421a526a0f24b46454d124d5 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.l2_meas_cell_info import L2MeasCellInfo # noqa: F401,E501 +from swagger_server.models.l2_meas_cell_ue_info import L2MeasCellUEInfo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class L2Meas(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, cell_info: List[L2MeasCellInfo]=None, cell_ue_info: List[L2MeasCellUEInfo]=None, time_stamp: TimeStamp=None): # noqa: E501 + """L2Meas - a model defined in Swagger + + :param cell_info: The cell_info of this L2Meas. # noqa: E501 + :type cell_info: List[L2MeasCellInfo] + :param cell_ue_info: The cell_ue_info of this L2Meas. # noqa: E501 + :type cell_ue_info: List[L2MeasCellUEInfo] + :param time_stamp: The time_stamp of this L2Meas. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'cell_info': List[L2MeasCellInfo], + 'cell_ue_info': List[L2MeasCellUEInfo], + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'cell_info': 'cellInfo', + 'cell_ue_info': 'cellUEInfo', + 'time_stamp': 'timeStamp' + } + self._cell_info = cell_info + self._cell_ue_info = cell_ue_info + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'L2Meas': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The L2Meas of this L2Meas. # noqa: E501 + :rtype: L2Meas + """ + return util.deserialize_model(dikt, cls) + + @property + def cell_info(self) -> List[L2MeasCellInfo]: + """Gets the cell_info of this L2Meas. + + The per cell measurement information as defined below. # noqa: E501 + + :return: The cell_info of this L2Meas. + :rtype: List[L2MeasCellInfo] + """ + return self._cell_info + + @cell_info.setter + def cell_info(self, cell_info: List[L2MeasCellInfo]): + """Sets the cell_info of this L2Meas. + + The per cell measurement information as defined below. # noqa: E501 + + :param cell_info: The cell_info of this L2Meas. + :type cell_info: List[L2MeasCellInfo] + """ + + self._cell_info = cell_info + + @property + def cell_ue_info(self) -> List[L2MeasCellUEInfo]: + """Gets the cell_ue_info of this L2Meas. + + The per cell per UE layer 2 measurements information as defined below. # noqa: E501 + + :return: The cell_ue_info of this L2Meas. + :rtype: List[L2MeasCellUEInfo] + """ + return self._cell_ue_info + + @cell_ue_info.setter + def cell_ue_info(self, cell_ue_info: List[L2MeasCellUEInfo]): + """Sets the cell_ue_info of this L2Meas. + + The per cell per UE layer 2 measurements information as defined below. # noqa: E501 + + :param cell_ue_info: The cell_ue_info of this L2Meas. + :type cell_ue_info: List[L2MeasCellUEInfo] + """ + + self._cell_ue_info = cell_ue_info + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this L2Meas. + + + :return: The time_stamp of this L2Meas. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this L2Meas. + + + :param time_stamp: The time_stamp of this L2Meas. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas_cell_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas_cell_info.py new file mode 100644 index 0000000000000000000000000000000000000000..57f5133775b80896350875087c6a7de2b5e254f8 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas_cell_info.py @@ -0,0 +1,539 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class L2MeasCellInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, dl_gbr_pdr_cell: int=None, dl_gbr_prb_usage_cell: int=None, dl_nongbr_pdr_cell: int=None, dl_nongbr_prb_usage_cell: int=None, dl_total_prb_usage_cell: int=None, ecgi: Ecgi=None, number_of_active_ue_dl_gbr_cell: int=None, number_of_active_ue_dl_nongbr_cell: int=None, number_of_active_ue_ul_gbr_cell: int=None, number_of_active_ue_ul_nongbr_cell: int=None, received_dedicated_preambles_cell: int=None, received_randomly_selected_preambles_high_range_cell: int=None, received_randomly_selected_preambles_low_range_cell: int=None, ul_gbr_pdr_cell: int=None, ul_gbr_prb_usage_cell: int=None, ul_nongbr_pdr_cell: int=None, ul_nongbr_prb_usage_cell: int=None, ul_total_prb_usage_cell: int=None): # noqa: E501 + """L2MeasCellInfo - a model defined in Swagger + + :param dl_gbr_pdr_cell: The dl_gbr_pdr_cell of this L2MeasCellInfo. # noqa: E501 + :type dl_gbr_pdr_cell: int + :param dl_gbr_prb_usage_cell: The dl_gbr_prb_usage_cell of this L2MeasCellInfo. # noqa: E501 + :type dl_gbr_prb_usage_cell: int + :param dl_nongbr_pdr_cell: The dl_nongbr_pdr_cell of this L2MeasCellInfo. # noqa: E501 + :type dl_nongbr_pdr_cell: int + :param dl_nongbr_prb_usage_cell: The dl_nongbr_prb_usage_cell of this L2MeasCellInfo. # noqa: E501 + :type dl_nongbr_prb_usage_cell: int + :param dl_total_prb_usage_cell: The dl_total_prb_usage_cell of this L2MeasCellInfo. # noqa: E501 + :type dl_total_prb_usage_cell: int + :param ecgi: The ecgi of this L2MeasCellInfo. # noqa: E501 + :type ecgi: Ecgi + :param number_of_active_ue_dl_gbr_cell: The number_of_active_ue_dl_gbr_cell of this L2MeasCellInfo. # noqa: E501 + :type number_of_active_ue_dl_gbr_cell: int + :param number_of_active_ue_dl_nongbr_cell: The number_of_active_ue_dl_nongbr_cell of this L2MeasCellInfo. # noqa: E501 + :type number_of_active_ue_dl_nongbr_cell: int + :param number_of_active_ue_ul_gbr_cell: The number_of_active_ue_ul_gbr_cell of this L2MeasCellInfo. # noqa: E501 + :type number_of_active_ue_ul_gbr_cell: int + :param number_of_active_ue_ul_nongbr_cell: The number_of_active_ue_ul_nongbr_cell of this L2MeasCellInfo. # noqa: E501 + :type number_of_active_ue_ul_nongbr_cell: int + :param received_dedicated_preambles_cell: The received_dedicated_preambles_cell of this L2MeasCellInfo. # noqa: E501 + :type received_dedicated_preambles_cell: int + :param received_randomly_selected_preambles_high_range_cell: The received_randomly_selected_preambles_high_range_cell of this L2MeasCellInfo. # noqa: E501 + :type received_randomly_selected_preambles_high_range_cell: int + :param received_randomly_selected_preambles_low_range_cell: The received_randomly_selected_preambles_low_range_cell of this L2MeasCellInfo. # noqa: E501 + :type received_randomly_selected_preambles_low_range_cell: int + :param ul_gbr_pdr_cell: The ul_gbr_pdr_cell of this L2MeasCellInfo. # noqa: E501 + :type ul_gbr_pdr_cell: int + :param ul_gbr_prb_usage_cell: The ul_gbr_prb_usage_cell of this L2MeasCellInfo. # noqa: E501 + :type ul_gbr_prb_usage_cell: int + :param ul_nongbr_pdr_cell: The ul_nongbr_pdr_cell of this L2MeasCellInfo. # noqa: E501 + :type ul_nongbr_pdr_cell: int + :param ul_nongbr_prb_usage_cell: The ul_nongbr_prb_usage_cell of this L2MeasCellInfo. # noqa: E501 + :type ul_nongbr_prb_usage_cell: int + :param ul_total_prb_usage_cell: The ul_total_prb_usage_cell of this L2MeasCellInfo. # noqa: E501 + :type ul_total_prb_usage_cell: int + """ + self.swagger_types = { + 'dl_gbr_pdr_cell': int, + 'dl_gbr_prb_usage_cell': int, + 'dl_nongbr_pdr_cell': int, + 'dl_nongbr_prb_usage_cell': int, + 'dl_total_prb_usage_cell': int, + 'ecgi': Ecgi, + 'number_of_active_ue_dl_gbr_cell': int, + 'number_of_active_ue_dl_nongbr_cell': int, + 'number_of_active_ue_ul_gbr_cell': int, + 'number_of_active_ue_ul_nongbr_cell': int, + 'received_dedicated_preambles_cell': int, + 'received_randomly_selected_preambles_high_range_cell': int, + 'received_randomly_selected_preambles_low_range_cell': int, + 'ul_gbr_pdr_cell': int, + 'ul_gbr_prb_usage_cell': int, + 'ul_nongbr_pdr_cell': int, + 'ul_nongbr_prb_usage_cell': int, + 'ul_total_prb_usage_cell': int + } + + self.attribute_map = { + 'dl_gbr_pdr_cell': 'dl_gbr_pdr_cell', + 'dl_gbr_prb_usage_cell': 'dl_gbr_prb_usage_cell', + 'dl_nongbr_pdr_cell': 'dl_nongbr_pdr_cell', + 'dl_nongbr_prb_usage_cell': 'dl_nongbr_prb_usage_cell', + 'dl_total_prb_usage_cell': 'dl_total_prb_usage_cell', + 'ecgi': 'ecgi', + 'number_of_active_ue_dl_gbr_cell': 'number_of_active_ue_dl_gbr_cell', + 'number_of_active_ue_dl_nongbr_cell': 'number_of_active_ue_dl_nongbr_cell', + 'number_of_active_ue_ul_gbr_cell': 'number_of_active_ue_ul_gbr_cell', + 'number_of_active_ue_ul_nongbr_cell': 'number_of_active_ue_ul_nongbr_cell', + 'received_dedicated_preambles_cell': 'received_dedicated_preambles_cell', + 'received_randomly_selected_preambles_high_range_cell': 'received_randomly_selected_preambles_high_range_cell', + 'received_randomly_selected_preambles_low_range_cell': 'received_randomly_selected_preambles_low_range_cell', + 'ul_gbr_pdr_cell': 'ul_gbr_pdr_cell', + 'ul_gbr_prb_usage_cell': 'ul_gbr_prb_usage_cell', + 'ul_nongbr_pdr_cell': 'ul_nongbr_pdr_cell', + 'ul_nongbr_prb_usage_cell': 'ul_nongbr_prb_usage_cell', + 'ul_total_prb_usage_cell': 'ul_total_prb_usage_cell' + } + self._dl_gbr_pdr_cell = dl_gbr_pdr_cell + self._dl_gbr_prb_usage_cell = dl_gbr_prb_usage_cell + self._dl_nongbr_pdr_cell = dl_nongbr_pdr_cell + self._dl_nongbr_prb_usage_cell = dl_nongbr_prb_usage_cell + self._dl_total_prb_usage_cell = dl_total_prb_usage_cell + self._ecgi = ecgi + self._number_of_active_ue_dl_gbr_cell = number_of_active_ue_dl_gbr_cell + self._number_of_active_ue_dl_nongbr_cell = number_of_active_ue_dl_nongbr_cell + self._number_of_active_ue_ul_gbr_cell = number_of_active_ue_ul_gbr_cell + self._number_of_active_ue_ul_nongbr_cell = number_of_active_ue_ul_nongbr_cell + self._received_dedicated_preambles_cell = received_dedicated_preambles_cell + self._received_randomly_selected_preambles_high_range_cell = received_randomly_selected_preambles_high_range_cell + self._received_randomly_selected_preambles_low_range_cell = received_randomly_selected_preambles_low_range_cell + self._ul_gbr_pdr_cell = ul_gbr_pdr_cell + self._ul_gbr_prb_usage_cell = ul_gbr_prb_usage_cell + self._ul_nongbr_pdr_cell = ul_nongbr_pdr_cell + self._ul_nongbr_prb_usage_cell = ul_nongbr_prb_usage_cell + self._ul_total_prb_usage_cell = ul_total_prb_usage_cell + + @classmethod + def from_dict(cls, dikt) -> 'L2MeasCellInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The L2Meas_cellInfo of this L2MeasCellInfo. # noqa: E501 + :rtype: L2MeasCellInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def dl_gbr_pdr_cell(self) -> int: + """Gets the dl_gbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the downlink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_gbr_pdr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._dl_gbr_pdr_cell + + @dl_gbr_pdr_cell.setter + def dl_gbr_pdr_cell(self, dl_gbr_pdr_cell: int): + """Sets the dl_gbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the downlink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_gbr_pdr_cell: The dl_gbr_pdr_cell of this L2MeasCellInfo. + :type dl_gbr_pdr_cell: int + """ + + self._dl_gbr_pdr_cell = dl_gbr_pdr_cell + + @property + def dl_gbr_prb_usage_cell(self) -> int: + """Gets the dl_gbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates the PRB usage for downlink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :return: The dl_gbr_prb_usage_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._dl_gbr_prb_usage_cell + + @dl_gbr_prb_usage_cell.setter + def dl_gbr_prb_usage_cell(self, dl_gbr_prb_usage_cell: int): + """Sets the dl_gbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates the PRB usage for downlink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :param dl_gbr_prb_usage_cell: The dl_gbr_prb_usage_cell of this L2MeasCellInfo. + :type dl_gbr_prb_usage_cell: int + """ + + self._dl_gbr_prb_usage_cell = dl_gbr_prb_usage_cell + + @property + def dl_nongbr_pdr_cell(self) -> int: + """Gets the dl_nongbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the downlink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_nongbr_pdr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._dl_nongbr_pdr_cell + + @dl_nongbr_pdr_cell.setter + def dl_nongbr_pdr_cell(self, dl_nongbr_pdr_cell: int): + """Sets the dl_nongbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the downlink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_nongbr_pdr_cell: The dl_nongbr_pdr_cell of this L2MeasCellInfo. + :type dl_nongbr_pdr_cell: int + """ + + self._dl_nongbr_pdr_cell = dl_nongbr_pdr_cell + + @property + def dl_nongbr_prb_usage_cell(self) -> int: + """Gets the dl_nongbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :return: The dl_nongbr_prb_usage_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._dl_nongbr_prb_usage_cell + + @dl_nongbr_prb_usage_cell.setter + def dl_nongbr_prb_usage_cell(self, dl_nongbr_prb_usage_cell: int): + """Sets the dl_nongbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :param dl_nongbr_prb_usage_cell: The dl_nongbr_prb_usage_cell of this L2MeasCellInfo. + :type dl_nongbr_prb_usage_cell: int + """ + + self._dl_nongbr_prb_usage_cell = dl_nongbr_prb_usage_cell + + @property + def dl_total_prb_usage_cell(self) -> int: + """Gets the dl_total_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for total downlink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :return: The dl_total_prb_usage_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._dl_total_prb_usage_cell + + @dl_total_prb_usage_cell.setter + def dl_total_prb_usage_cell(self, dl_total_prb_usage_cell: int): + """Sets the dl_total_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for total downlink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :param dl_total_prb_usage_cell: The dl_total_prb_usage_cell of this L2MeasCellInfo. + :type dl_total_prb_usage_cell: int + """ + + self._dl_total_prb_usage_cell = dl_total_prb_usage_cell + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this L2MeasCellInfo. + + + :return: The ecgi of this L2MeasCellInfo. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this L2MeasCellInfo. + + + :param ecgi: The ecgi of this L2MeasCellInfo. + :type ecgi: Ecgi + """ + + self._ecgi = ecgi + + @property + def number_of_active_ue_dl_gbr_cell(self) -> int: + """Gets the number_of_active_ue_dl_gbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with downlink GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The number_of_active_ue_dl_gbr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._number_of_active_ue_dl_gbr_cell + + @number_of_active_ue_dl_gbr_cell.setter + def number_of_active_ue_dl_gbr_cell(self, number_of_active_ue_dl_gbr_cell: int): + """Sets the number_of_active_ue_dl_gbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with downlink GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param number_of_active_ue_dl_gbr_cell: The number_of_active_ue_dl_gbr_cell of this L2MeasCellInfo. + :type number_of_active_ue_dl_gbr_cell: int + """ + + self._number_of_active_ue_dl_gbr_cell = number_of_active_ue_dl_gbr_cell + + @property + def number_of_active_ue_dl_nongbr_cell(self) -> int: + """Gets the number_of_active_ue_dl_nongbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The number_of_active_ue_dl_nongbr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._number_of_active_ue_dl_nongbr_cell + + @number_of_active_ue_dl_nongbr_cell.setter + def number_of_active_ue_dl_nongbr_cell(self, number_of_active_ue_dl_nongbr_cell: int): + """Sets the number_of_active_ue_dl_nongbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param number_of_active_ue_dl_nongbr_cell: The number_of_active_ue_dl_nongbr_cell of this L2MeasCellInfo. + :type number_of_active_ue_dl_nongbr_cell: int + """ + + self._number_of_active_ue_dl_nongbr_cell = number_of_active_ue_dl_nongbr_cell + + @property + def number_of_active_ue_ul_gbr_cell(self) -> int: + """Gets the number_of_active_ue_ul_gbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with uplink GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The number_of_active_ue_ul_gbr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._number_of_active_ue_ul_gbr_cell + + @number_of_active_ue_ul_gbr_cell.setter + def number_of_active_ue_ul_gbr_cell(self, number_of_active_ue_ul_gbr_cell: int): + """Sets the number_of_active_ue_ul_gbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with uplink GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param number_of_active_ue_ul_gbr_cell: The number_of_active_ue_ul_gbr_cell of this L2MeasCellInfo. + :type number_of_active_ue_ul_gbr_cell: int + """ + + self._number_of_active_ue_ul_gbr_cell = number_of_active_ue_ul_gbr_cell + + @property + def number_of_active_ue_ul_nongbr_cell(self) -> int: + """Gets the number_of_active_ue_ul_nongbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The number_of_active_ue_ul_nongbr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._number_of_active_ue_ul_nongbr_cell + + @number_of_active_ue_ul_nongbr_cell.setter + def number_of_active_ue_ul_nongbr_cell(self, number_of_active_ue_ul_nongbr_cell: int): + """Sets the number_of_active_ue_ul_nongbr_cell of this L2MeasCellInfo. + + It indicates the number of active UEs with uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param number_of_active_ue_ul_nongbr_cell: The number_of_active_ue_ul_nongbr_cell of this L2MeasCellInfo. + :type number_of_active_ue_ul_nongbr_cell: int + """ + + self._number_of_active_ue_ul_nongbr_cell = number_of_active_ue_ul_nongbr_cell + + @property + def received_dedicated_preambles_cell(self) -> int: + """Gets the received_dedicated_preambles_cell of this L2MeasCellInfo. + + It indicates (in percentage) the received dedicated preamples, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The received_dedicated_preambles_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._received_dedicated_preambles_cell + + @received_dedicated_preambles_cell.setter + def received_dedicated_preambles_cell(self, received_dedicated_preambles_cell: int): + """Sets the received_dedicated_preambles_cell of this L2MeasCellInfo. + + It indicates (in percentage) the received dedicated preamples, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param received_dedicated_preambles_cell: The received_dedicated_preambles_cell of this L2MeasCellInfo. + :type received_dedicated_preambles_cell: int + """ + + self._received_dedicated_preambles_cell = received_dedicated_preambles_cell + + @property + def received_randomly_selected_preambles_high_range_cell(self) -> int: + """Gets the received_randomly_selected_preambles_high_range_cell of this L2MeasCellInfo. + + It indicates (in percentage) the received randomly selected preambles in the high range, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The received_randomly_selected_preambles_high_range_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._received_randomly_selected_preambles_high_range_cell + + @received_randomly_selected_preambles_high_range_cell.setter + def received_randomly_selected_preambles_high_range_cell(self, received_randomly_selected_preambles_high_range_cell: int): + """Sets the received_randomly_selected_preambles_high_range_cell of this L2MeasCellInfo. + + It indicates (in percentage) the received randomly selected preambles in the high range, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param received_randomly_selected_preambles_high_range_cell: The received_randomly_selected_preambles_high_range_cell of this L2MeasCellInfo. + :type received_randomly_selected_preambles_high_range_cell: int + """ + + self._received_randomly_selected_preambles_high_range_cell = received_randomly_selected_preambles_high_range_cell + + @property + def received_randomly_selected_preambles_low_range_cell(self) -> int: + """Gets the received_randomly_selected_preambles_low_range_cell of this L2MeasCellInfo. + + It indicates (in percentage) the received randomly selected preambles in the low range, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The received_randomly_selected_preambles_low_range_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._received_randomly_selected_preambles_low_range_cell + + @received_randomly_selected_preambles_low_range_cell.setter + def received_randomly_selected_preambles_low_range_cell(self, received_randomly_selected_preambles_low_range_cell: int): + """Sets the received_randomly_selected_preambles_low_range_cell of this L2MeasCellInfo. + + It indicates (in percentage) the received randomly selected preambles in the low range, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param received_randomly_selected_preambles_low_range_cell: The received_randomly_selected_preambles_low_range_cell of this L2MeasCellInfo. + :type received_randomly_selected_preambles_low_range_cell: int + """ + + self._received_randomly_selected_preambles_low_range_cell = received_randomly_selected_preambles_low_range_cell + + @property + def ul_gbr_pdr_cell(self) -> int: + """Gets the ul_gbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the uplink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_gbr_pdr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._ul_gbr_pdr_cell + + @ul_gbr_pdr_cell.setter + def ul_gbr_pdr_cell(self, ul_gbr_pdr_cell: int): + """Sets the ul_gbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the uplink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_gbr_pdr_cell: The ul_gbr_pdr_cell of this L2MeasCellInfo. + :type ul_gbr_pdr_cell: int + """ + + self._ul_gbr_pdr_cell = ul_gbr_pdr_cell + + @property + def ul_gbr_prb_usage_cell(self) -> int: + """Gets the ul_gbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for uplink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :return: The ul_gbr_prb_usage_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._ul_gbr_prb_usage_cell + + @ul_gbr_prb_usage_cell.setter + def ul_gbr_prb_usage_cell(self, ul_gbr_prb_usage_cell: int): + """Sets the ul_gbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for uplink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :param ul_gbr_prb_usage_cell: The ul_gbr_prb_usage_cell of this L2MeasCellInfo. + :type ul_gbr_prb_usage_cell: int + """ + + self._ul_gbr_prb_usage_cell = ul_gbr_prb_usage_cell + + @property + def ul_nongbr_pdr_cell(self) -> int: + """Gets the ul_nongbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the uplink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_nongbr_pdr_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._ul_nongbr_pdr_cell + + @ul_nongbr_pdr_cell.setter + def ul_nongbr_pdr_cell(self, ul_nongbr_pdr_cell: int): + """Sets the ul_nongbr_pdr_cell of this L2MeasCellInfo. + + It indicates the packet discard rate in percentage of the uplink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_nongbr_pdr_cell: The ul_nongbr_pdr_cell of this L2MeasCellInfo. + :type ul_nongbr_pdr_cell: int + """ + + self._ul_nongbr_pdr_cell = ul_nongbr_pdr_cell + + @property + def ul_nongbr_prb_usage_cell(self) -> int: + """Gets the ul_nongbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :return: The ul_nongbr_prb_usage_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._ul_nongbr_prb_usage_cell + + @ul_nongbr_prb_usage_cell.setter + def ul_nongbr_prb_usage_cell(self, ul_nongbr_prb_usage_cell: int): + """Sets the ul_nongbr_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :param ul_nongbr_prb_usage_cell: The ul_nongbr_prb_usage_cell of this L2MeasCellInfo. + :type ul_nongbr_prb_usage_cell: int + """ + + self._ul_nongbr_prb_usage_cell = ul_nongbr_prb_usage_cell + + @property + def ul_total_prb_usage_cell(self) -> int: + """Gets the ul_total_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for total uplink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :return: The ul_total_prb_usage_cell of this L2MeasCellInfo. + :rtype: int + """ + return self._ul_total_prb_usage_cell + + @ul_total_prb_usage_cell.setter + def ul_total_prb_usage_cell(self, ul_total_prb_usage_cell: int): + """Sets the ul_total_prb_usage_cell of this L2MeasCellInfo. + + It indicates (in percentage) the PRB usage for total uplink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. # noqa: E501 + + :param ul_total_prb_usage_cell: The ul_total_prb_usage_cell of this L2MeasCellInfo. + :type ul_total_prb_usage_cell: int + """ + + self._ul_total_prb_usage_cell = ul_total_prb_usage_cell diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas_cell_ue_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas_cell_ue_info.py new file mode 100644 index 0000000000000000000000000000000000000000..9de23b2c5293b522f4e4c2ff4b9c384f496d990b --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/l2_meas_cell_ue_info.py @@ -0,0 +1,538 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class L2MeasCellUEInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: AssociateId=None, dl_gbr_data_volume_ue: int=None, dl_gbr_delay_ue: int=None, dl_gbr_pdr_ue: int=None, dl_gbr_throughput_ue: int=None, dl_nongbr_data_volume_ue: int=None, dl_nongbr_delay_ue: int=None, dl_nongbr_pdr_ue: int=None, dl_nongbr_throughput_ue: int=None, ecgi: Ecgi=None, ul_gbr_data_volume_ue: int=None, ul_gbr_delay_ue: int=None, ul_gbr_pdr_ue: int=None, ul_gbr_throughput_ue: int=None, ul_nongbr_data_volume_ue: int=None, ul_nongbr_delay_ue: int=None, ul_nongbr_pdr_ue: int=None, ul_nongbr_throughput_ue: int=None): # noqa: E501 + """L2MeasCellUEInfo - a model defined in Swagger + + :param associate_id: The associate_id of this L2MeasCellUEInfo. # noqa: E501 + :type associate_id: AssociateId + :param dl_gbr_data_volume_ue: The dl_gbr_data_volume_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_gbr_data_volume_ue: int + :param dl_gbr_delay_ue: The dl_gbr_delay_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_gbr_delay_ue: int + :param dl_gbr_pdr_ue: The dl_gbr_pdr_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_gbr_pdr_ue: int + :param dl_gbr_throughput_ue: The dl_gbr_throughput_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_gbr_throughput_ue: int + :param dl_nongbr_data_volume_ue: The dl_nongbr_data_volume_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_nongbr_data_volume_ue: int + :param dl_nongbr_delay_ue: The dl_nongbr_delay_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_nongbr_delay_ue: int + :param dl_nongbr_pdr_ue: The dl_nongbr_pdr_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_nongbr_pdr_ue: int + :param dl_nongbr_throughput_ue: The dl_nongbr_throughput_ue of this L2MeasCellUEInfo. # noqa: E501 + :type dl_nongbr_throughput_ue: int + :param ecgi: The ecgi of this L2MeasCellUEInfo. # noqa: E501 + :type ecgi: Ecgi + :param ul_gbr_data_volume_ue: The ul_gbr_data_volume_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_gbr_data_volume_ue: int + :param ul_gbr_delay_ue: The ul_gbr_delay_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_gbr_delay_ue: int + :param ul_gbr_pdr_ue: The ul_gbr_pdr_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_gbr_pdr_ue: int + :param ul_gbr_throughput_ue: The ul_gbr_throughput_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_gbr_throughput_ue: int + :param ul_nongbr_data_volume_ue: The ul_nongbr_data_volume_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_nongbr_data_volume_ue: int + :param ul_nongbr_delay_ue: The ul_nongbr_delay_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_nongbr_delay_ue: int + :param ul_nongbr_pdr_ue: The ul_nongbr_pdr_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_nongbr_pdr_ue: int + :param ul_nongbr_throughput_ue: The ul_nongbr_throughput_ue of this L2MeasCellUEInfo. # noqa: E501 + :type ul_nongbr_throughput_ue: int + """ + self.swagger_types = { + 'associate_id': AssociateId, + 'dl_gbr_data_volume_ue': int, + 'dl_gbr_delay_ue': int, + 'dl_gbr_pdr_ue': int, + 'dl_gbr_throughput_ue': int, + 'dl_nongbr_data_volume_ue': int, + 'dl_nongbr_delay_ue': int, + 'dl_nongbr_pdr_ue': int, + 'dl_nongbr_throughput_ue': int, + 'ecgi': Ecgi, + 'ul_gbr_data_volume_ue': int, + 'ul_gbr_delay_ue': int, + 'ul_gbr_pdr_ue': int, + 'ul_gbr_throughput_ue': int, + 'ul_nongbr_data_volume_ue': int, + 'ul_nongbr_delay_ue': int, + 'ul_nongbr_pdr_ue': int, + 'ul_nongbr_throughput_ue': int + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'dl_gbr_data_volume_ue': 'dl_gbr_data_volume_ue', + 'dl_gbr_delay_ue': 'dl_gbr_delay_ue', + 'dl_gbr_pdr_ue': 'dl_gbr_pdr_ue', + 'dl_gbr_throughput_ue': 'dl_gbr_throughput_ue', + 'dl_nongbr_data_volume_ue': 'dl_nongbr_data_volume_ue', + 'dl_nongbr_delay_ue': 'dl_nongbr_delay_ue', + 'dl_nongbr_pdr_ue': 'dl_nongbr_pdr_ue', + 'dl_nongbr_throughput_ue': 'dl_nongbr_throughput_ue', + 'ecgi': 'ecgi', + 'ul_gbr_data_volume_ue': 'ul_gbr_data_volume_ue', + 'ul_gbr_delay_ue': 'ul_gbr_delay_ue', + 'ul_gbr_pdr_ue': 'ul_gbr_pdr_ue', + 'ul_gbr_throughput_ue': 'ul_gbr_throughput_ue', + 'ul_nongbr_data_volume_ue': 'ul_nongbr_data_volume_ue', + 'ul_nongbr_delay_ue': 'ul_nongbr_delay_ue', + 'ul_nongbr_pdr_ue': 'ul_nongbr_pdr_ue', + 'ul_nongbr_throughput_ue': 'ul_nongbr_throughput_ue' + } + self._associate_id = associate_id + self._dl_gbr_data_volume_ue = dl_gbr_data_volume_ue + self._dl_gbr_delay_ue = dl_gbr_delay_ue + self._dl_gbr_pdr_ue = dl_gbr_pdr_ue + self._dl_gbr_throughput_ue = dl_gbr_throughput_ue + self._dl_nongbr_data_volume_ue = dl_nongbr_data_volume_ue + self._dl_nongbr_delay_ue = dl_nongbr_delay_ue + self._dl_nongbr_pdr_ue = dl_nongbr_pdr_ue + self._dl_nongbr_throughput_ue = dl_nongbr_throughput_ue + self._ecgi = ecgi + self._ul_gbr_data_volume_ue = ul_gbr_data_volume_ue + self._ul_gbr_delay_ue = ul_gbr_delay_ue + self._ul_gbr_pdr_ue = ul_gbr_pdr_ue + self._ul_gbr_throughput_ue = ul_gbr_throughput_ue + self._ul_nongbr_data_volume_ue = ul_nongbr_data_volume_ue + self._ul_nongbr_delay_ue = ul_nongbr_delay_ue + self._ul_nongbr_pdr_ue = ul_nongbr_pdr_ue + self._ul_nongbr_throughput_ue = ul_nongbr_throughput_ue + + @classmethod + def from_dict(cls, dikt) -> 'L2MeasCellUEInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The L2Meas_cellUEInfo of this L2MeasCellUEInfo. # noqa: E501 + :rtype: L2MeasCellUEInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> AssociateId: + """Gets the associate_id of this L2MeasCellUEInfo. + + + :return: The associate_id of this L2MeasCellUEInfo. + :rtype: AssociateId + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: AssociateId): + """Sets the associate_id of this L2MeasCellUEInfo. + + + :param associate_id: The associate_id of this L2MeasCellUEInfo. + :type associate_id: AssociateId + """ + + self._associate_id = associate_id + + @property + def dl_gbr_data_volume_ue(self) -> int: + """Gets the dl_gbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_gbr_data_volume_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_gbr_data_volume_ue + + @dl_gbr_data_volume_ue.setter + def dl_gbr_data_volume_ue(self, dl_gbr_data_volume_ue: int): + """Sets the dl_gbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_gbr_data_volume_ue: The dl_gbr_data_volume_ue of this L2MeasCellUEInfo. + :type dl_gbr_data_volume_ue: int + """ + + self._dl_gbr_data_volume_ue = dl_gbr_data_volume_ue + + @property + def dl_gbr_delay_ue(self) -> int: + """Gets the dl_gbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_gbr_delay_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_gbr_delay_ue + + @dl_gbr_delay_ue.setter + def dl_gbr_delay_ue(self, dl_gbr_delay_ue: int): + """Sets the dl_gbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_gbr_delay_ue: The dl_gbr_delay_ue of this L2MeasCellUEInfo. + :type dl_gbr_delay_ue: int + """ + + self._dl_gbr_delay_ue = dl_gbr_delay_ue + + @property + def dl_gbr_pdr_ue(self) -> int: + """Gets the dl_gbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_gbr_pdr_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_gbr_pdr_ue + + @dl_gbr_pdr_ue.setter + def dl_gbr_pdr_ue(self, dl_gbr_pdr_ue: int): + """Sets the dl_gbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_gbr_pdr_ue: The dl_gbr_pdr_ue of this L2MeasCellUEInfo. + :type dl_gbr_pdr_ue: int + """ + + self._dl_gbr_pdr_ue = dl_gbr_pdr_ue + + @property + def dl_gbr_throughput_ue(self) -> int: + """Gets the dl_gbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_gbr_throughput_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_gbr_throughput_ue + + @dl_gbr_throughput_ue.setter + def dl_gbr_throughput_ue(self, dl_gbr_throughput_ue: int): + """Sets the dl_gbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_gbr_throughput_ue: The dl_gbr_throughput_ue of this L2MeasCellUEInfo. + :type dl_gbr_throughput_ue: int + """ + + self._dl_gbr_throughput_ue = dl_gbr_throughput_ue + + @property + def dl_nongbr_data_volume_ue(self) -> int: + """Gets the dl_nongbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the downlink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_nongbr_data_volume_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_nongbr_data_volume_ue + + @dl_nongbr_data_volume_ue.setter + def dl_nongbr_data_volume_ue(self, dl_nongbr_data_volume_ue: int): + """Sets the dl_nongbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the downlink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_nongbr_data_volume_ue: The dl_nongbr_data_volume_ue of this L2MeasCellUEInfo. + :type dl_nongbr_data_volume_ue: int + """ + + self._dl_nongbr_data_volume_ue = dl_nongbr_data_volume_ue + + @property + def dl_nongbr_delay_ue(self) -> int: + """Gets the dl_nongbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the downlink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_nongbr_delay_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_nongbr_delay_ue + + @dl_nongbr_delay_ue.setter + def dl_nongbr_delay_ue(self, dl_nongbr_delay_ue: int): + """Sets the dl_nongbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the downlink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_nongbr_delay_ue: The dl_nongbr_delay_ue of this L2MeasCellUEInfo. + :type dl_nongbr_delay_ue: int + """ + + self._dl_nongbr_delay_ue = dl_nongbr_delay_ue + + @property + def dl_nongbr_pdr_ue(self) -> int: + """Gets the dl_nongbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_nongbr_pdr_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_nongbr_pdr_ue + + @dl_nongbr_pdr_ue.setter + def dl_nongbr_pdr_ue(self, dl_nongbr_pdr_ue: int): + """Sets the dl_nongbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_nongbr_pdr_ue: The dl_nongbr_pdr_ue of this L2MeasCellUEInfo. + :type dl_nongbr_pdr_ue: int + """ + + self._dl_nongbr_pdr_ue = dl_nongbr_pdr_ue + + @property + def dl_nongbr_throughput_ue(self) -> int: + """Gets the dl_nongbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The dl_nongbr_throughput_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._dl_nongbr_throughput_ue + + @dl_nongbr_throughput_ue.setter + def dl_nongbr_throughput_ue(self, dl_nongbr_throughput_ue: int): + """Sets the dl_nongbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param dl_nongbr_throughput_ue: The dl_nongbr_throughput_ue of this L2MeasCellUEInfo. + :type dl_nongbr_throughput_ue: int + """ + + self._dl_nongbr_throughput_ue = dl_nongbr_throughput_ue + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this L2MeasCellUEInfo. + + + :return: The ecgi of this L2MeasCellUEInfo. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this L2MeasCellUEInfo. + + + :param ecgi: The ecgi of this L2MeasCellUEInfo. + :type ecgi: Ecgi + """ + + self._ecgi = ecgi + + @property + def ul_gbr_data_volume_ue(self) -> int: + """Gets the ul_gbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_gbr_data_volume_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_gbr_data_volume_ue + + @ul_gbr_data_volume_ue.setter + def ul_gbr_data_volume_ue(self, ul_gbr_data_volume_ue: int): + """Sets the ul_gbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_gbr_data_volume_ue: The ul_gbr_data_volume_ue of this L2MeasCellUEInfo. + :type ul_gbr_data_volume_ue: int + """ + + self._ul_gbr_data_volume_ue = ul_gbr_data_volume_ue + + @property + def ul_gbr_delay_ue(self) -> int: + """Gets the ul_gbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_gbr_delay_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_gbr_delay_ue + + @ul_gbr_delay_ue.setter + def ul_gbr_delay_ue(self, ul_gbr_delay_ue: int): + """Sets the ul_gbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_gbr_delay_ue: The ul_gbr_delay_ue of this L2MeasCellUEInfo. + :type ul_gbr_delay_ue: int + """ + + self._ul_gbr_delay_ue = ul_gbr_delay_ue + + @property + def ul_gbr_pdr_ue(self) -> int: + """Gets the ul_gbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_gbr_pdr_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_gbr_pdr_ue + + @ul_gbr_pdr_ue.setter + def ul_gbr_pdr_ue(self, ul_gbr_pdr_ue: int): + """Sets the ul_gbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_gbr_pdr_ue: The ul_gbr_pdr_ue of this L2MeasCellUEInfo. + :type ul_gbr_pdr_ue: int + """ + + self._ul_gbr_pdr_ue = ul_gbr_pdr_ue + + @property + def ul_gbr_throughput_ue(self) -> int: + """Gets the ul_gbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_gbr_throughput_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_gbr_throughput_ue + + @ul_gbr_throughput_ue.setter + def ul_gbr_throughput_ue(self, ul_gbr_throughput_ue: int): + """Sets the ul_gbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_gbr_throughput_ue: The ul_gbr_throughput_ue of this L2MeasCellUEInfo. + :type ul_gbr_throughput_ue: int + """ + + self._ul_gbr_throughput_ue = ul_gbr_throughput_ue + + @property + def ul_nongbr_data_volume_ue(self) -> int: + """Gets the ul_nongbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_nongbr_data_volume_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_nongbr_data_volume_ue + + @ul_nongbr_data_volume_ue.setter + def ul_nongbr_data_volume_ue(self, ul_nongbr_data_volume_ue: int): + """Sets the ul_nongbr_data_volume_ue of this L2MeasCellUEInfo. + + It indicates the data volume of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_nongbr_data_volume_ue: The ul_nongbr_data_volume_ue of this L2MeasCellUEInfo. + :type ul_nongbr_data_volume_ue: int + """ + + self._ul_nongbr_data_volume_ue = ul_nongbr_data_volume_ue + + @property + def ul_nongbr_delay_ue(self) -> int: + """Gets the ul_nongbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_nongbr_delay_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_nongbr_delay_ue + + @ul_nongbr_delay_ue.setter + def ul_nongbr_delay_ue(self, ul_nongbr_delay_ue: int): + """Sets the ul_nongbr_delay_ue of this L2MeasCellUEInfo. + + It indicates the packet delay of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_nongbr_delay_ue: The ul_nongbr_delay_ue of this L2MeasCellUEInfo. + :type ul_nongbr_delay_ue: int + """ + + self._ul_nongbr_delay_ue = ul_nongbr_delay_ue + + @property + def ul_nongbr_pdr_ue(self) -> int: + """Gets the ul_nongbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the uplink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_nongbr_pdr_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_nongbr_pdr_ue + + @ul_nongbr_pdr_ue.setter + def ul_nongbr_pdr_ue(self, ul_nongbr_pdr_ue: int): + """Sets the ul_nongbr_pdr_ue of this L2MeasCellUEInfo. + + It indicates the packet discard rate in percentage of the uplink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_nongbr_pdr_ue: The ul_nongbr_pdr_ue of this L2MeasCellUEInfo. + :type ul_nongbr_pdr_ue: int + """ + + self._ul_nongbr_pdr_ue = ul_nongbr_pdr_ue + + @property + def ul_nongbr_throughput_ue(self) -> int: + """Gets the ul_nongbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :return: The ul_nongbr_throughput_ue of this L2MeasCellUEInfo. + :rtype: int + """ + return self._ul_nongbr_throughput_ue + + @ul_nongbr_throughput_ue.setter + def ul_nongbr_throughput_ue(self, ul_nongbr_throughput_ue: int): + """Sets the ul_nongbr_throughput_ue of this L2MeasCellUEInfo. + + It indicates the scheduled throughput of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. # noqa: E501 + + :param ul_nongbr_throughput_ue: The ul_nongbr_throughput_ue of this L2MeasCellUEInfo. + :type ul_nongbr_throughput_ue: int + """ + + self._ul_nongbr_throughput_ue = ul_nongbr_throughput_ue diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/link_type.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/link_type.py new file mode 100644 index 0000000000000000000000000000000000000000..fdfb9b2811ef9f10ddb12899c7183d11b0ebeb16 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/link_type.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class LinkType(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, href: str=None): # noqa: E501 + """LinkType - a model defined in Swagger + + :param href: The href of this LinkType. # noqa: E501 + :type href: str + """ + self.swagger_types = { + 'href': str + } + + self.attribute_map = { + 'href': 'href' + } + self._href = href + + @classmethod + def from_dict(cls, dikt) -> 'LinkType': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The LinkType of this LinkType. # noqa: E501 + :rtype: LinkType + """ + return util.deserialize_model(dikt, cls) + + @property + def href(self) -> str: + """Gets the href of this LinkType. + + URI referring to a resource # noqa: E501 + + :return: The href of this LinkType. + :rtype: str + """ + return self._href + + @href.setter + def href(self, href: str): + """Sets the href of this LinkType. + + URI referring to a resource # noqa: E501 + + :param href: The href of this LinkType. + :type href: str + """ + if href is None: + raise ValueError("Invalid value for `href`, must not be `None`") # noqa: E501 + + self._href = href diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_quantity_results_nr.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_quantity_results_nr.py new file mode 100644 index 0000000000000000000000000000000000000000..acb5079895db207db1265eb0ffa61c5ae59fc249 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_quantity_results_nr.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class MeasQuantityResultsNr(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, rsrp: int=None, rsrq: int=None, sinr: int=None): # noqa: E501 + """MeasQuantityResultsNr - a model defined in Swagger + + :param rsrp: The rsrp of this MeasQuantityResultsNr. # noqa: E501 + :type rsrp: int + :param rsrq: The rsrq of this MeasQuantityResultsNr. # noqa: E501 + :type rsrq: int + :param sinr: The sinr of this MeasQuantityResultsNr. # noqa: E501 + :type sinr: int + """ + self.swagger_types = { + 'rsrp': int, + 'rsrq': int, + 'sinr': int + } + + self.attribute_map = { + 'rsrp': 'rsrp', + 'rsrq': 'rsrq', + 'sinr': 'sinr' + } + self._rsrp = rsrp + self._rsrq = rsrq + self._sinr = sinr + + @classmethod + def from_dict(cls, dikt) -> 'MeasQuantityResultsNr': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasQuantityResultsNr of this MeasQuantityResultsNr. # noqa: E501 + :rtype: MeasQuantityResultsNr + """ + return util.deserialize_model(dikt, cls) + + @property + def rsrp(self) -> int: + """Gets the rsrp of this MeasQuantityResultsNr. + + Reference Signal Received Power as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :return: The rsrp of this MeasQuantityResultsNr. + :rtype: int + """ + return self._rsrp + + @rsrp.setter + def rsrp(self, rsrp: int): + """Sets the rsrp of this MeasQuantityResultsNr. + + Reference Signal Received Power as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :param rsrp: The rsrp of this MeasQuantityResultsNr. + :type rsrp: int + """ + + self._rsrp = rsrp + + @property + def rsrq(self) -> int: + """Gets the rsrq of this MeasQuantityResultsNr. + + Reference Signal Received Quality as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :return: The rsrq of this MeasQuantityResultsNr. + :rtype: int + """ + return self._rsrq + + @rsrq.setter + def rsrq(self, rsrq: int): + """Sets the rsrq of this MeasQuantityResultsNr. + + Reference Signal Received Quality as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :param rsrq: The rsrq of this MeasQuantityResultsNr. + :type rsrq: int + """ + + self._rsrq = rsrq + + @property + def sinr(self) -> int: + """Gets the sinr of this MeasQuantityResultsNr. + + Reference Signal to Interference & Noise Ratio as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :return: The sinr of this MeasQuantityResultsNr. + :rtype: int + """ + return self._sinr + + @sinr.setter + def sinr(self, sinr: int): + """Sets the sinr of this MeasQuantityResultsNr. + + Reference Signal to Interference & Noise Ratio as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :param sinr: The sinr of this MeasQuantityResultsNr. + :type sinr: int + """ + + self._sinr = sinr diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..1c4a660b7ee54368e306c2efb0fe0221f0935d04 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification.py @@ -0,0 +1,468 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.meas_rep_ue_notification_carrier_aggregation_meas_info import MeasRepUeNotificationCarrierAggregationMeasInfo # noqa: F401,E501 +from swagger_server.models.meas_rep_ue_notification_eutran_neighbour_cell_meas_info import MeasRepUeNotificationEutranNeighbourCellMeasInfo # noqa: F401,E501 +from swagger_server.models.meas_rep_ue_notification_new_radio_meas_info import MeasRepUeNotificationNewRadioMeasInfo # noqa: F401,E501 +from swagger_server.models.meas_rep_ue_notification_new_radio_meas_nei_info import MeasRepUeNotificationNewRadioMeasNeiInfo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server.models.trigger import Trigger # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, carrier_aggregation_meas_info: List[MeasRepUeNotificationCarrierAggregationMeasInfo]=None, ecgi: Ecgi=None, eutran_neighbour_cell_meas_info: List[MeasRepUeNotificationEutranNeighbourCellMeasInfo]=None, height_ue: int=None, new_radio_meas_info: List[MeasRepUeNotificationNewRadioMeasInfo]=None, new_radio_meas_nei_info: List[MeasRepUeNotificationNewRadioMeasNeiInfo]=None, notification_type: str=None, rsrp: int=None, rsrp_ex: int=None, rsrq: int=None, rsrq_ex: int=None, sinr: int=None, time_stamp: TimeStamp=None, trigger: Trigger=None): # noqa: E501 + """MeasRepUeNotification - a model defined in Swagger + + :param associate_id: The associate_id of this MeasRepUeNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param carrier_aggregation_meas_info: The carrier_aggregation_meas_info of this MeasRepUeNotification. # noqa: E501 + :type carrier_aggregation_meas_info: List[MeasRepUeNotificationCarrierAggregationMeasInfo] + :param ecgi: The ecgi of this MeasRepUeNotification. # noqa: E501 + :type ecgi: Ecgi + :param eutran_neighbour_cell_meas_info: The eutran_neighbour_cell_meas_info of this MeasRepUeNotification. # noqa: E501 + :type eutran_neighbour_cell_meas_info: List[MeasRepUeNotificationEutranNeighbourCellMeasInfo] + :param height_ue: The height_ue of this MeasRepUeNotification. # noqa: E501 + :type height_ue: int + :param new_radio_meas_info: The new_radio_meas_info of this MeasRepUeNotification. # noqa: E501 + :type new_radio_meas_info: List[MeasRepUeNotificationNewRadioMeasInfo] + :param new_radio_meas_nei_info: The new_radio_meas_nei_info of this MeasRepUeNotification. # noqa: E501 + :type new_radio_meas_nei_info: List[MeasRepUeNotificationNewRadioMeasNeiInfo] + :param notification_type: The notification_type of this MeasRepUeNotification. # noqa: E501 + :type notification_type: str + :param rsrp: The rsrp of this MeasRepUeNotification. # noqa: E501 + :type rsrp: int + :param rsrp_ex: The rsrp_ex of this MeasRepUeNotification. # noqa: E501 + :type rsrp_ex: int + :param rsrq: The rsrq of this MeasRepUeNotification. # noqa: E501 + :type rsrq: int + :param rsrq_ex: The rsrq_ex of this MeasRepUeNotification. # noqa: E501 + :type rsrq_ex: int + :param sinr: The sinr of this MeasRepUeNotification. # noqa: E501 + :type sinr: int + :param time_stamp: The time_stamp of this MeasRepUeNotification. # noqa: E501 + :type time_stamp: TimeStamp + :param trigger: The trigger of this MeasRepUeNotification. # noqa: E501 + :type trigger: Trigger + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'carrier_aggregation_meas_info': List[MeasRepUeNotificationCarrierAggregationMeasInfo], + 'ecgi': Ecgi, + 'eutran_neighbour_cell_meas_info': List[MeasRepUeNotificationEutranNeighbourCellMeasInfo], + 'height_ue': int, + 'new_radio_meas_info': List[MeasRepUeNotificationNewRadioMeasInfo], + 'new_radio_meas_nei_info': List[MeasRepUeNotificationNewRadioMeasNeiInfo], + 'notification_type': str, + 'rsrp': int, + 'rsrp_ex': int, + 'rsrq': int, + 'rsrq_ex': int, + 'sinr': int, + 'time_stamp': TimeStamp, + 'trigger': Trigger + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'carrier_aggregation_meas_info': 'carrierAggregationMeasInfo', + 'ecgi': 'ecgi', + 'eutran_neighbour_cell_meas_info': 'eutranNeighbourCellMeasInfo', + 'height_ue': 'heightUe', + 'new_radio_meas_info': 'newRadioMeasInfo', + 'new_radio_meas_nei_info': 'newRadioMeasNeiInfo', + 'notification_type': 'notificationType', + 'rsrp': 'rsrp', + 'rsrp_ex': 'rsrpEx', + 'rsrq': 'rsrq', + 'rsrq_ex': 'rsrqEx', + 'sinr': 'sinr', + 'time_stamp': 'timeStamp', + 'trigger': 'trigger' + } + self._associate_id = associate_id + self._carrier_aggregation_meas_info = carrier_aggregation_meas_info + self._ecgi = ecgi + self._eutran_neighbour_cell_meas_info = eutran_neighbour_cell_meas_info + self._height_ue = height_ue + self._new_radio_meas_info = new_radio_meas_info + self._new_radio_meas_nei_info = new_radio_meas_nei_info + self._notification_type = notification_type + self._rsrp = rsrp + self._rsrp_ex = rsrp_ex + self._rsrq = rsrq + self._rsrq_ex = rsrq_ex + self._sinr = sinr + self._time_stamp = time_stamp + self._trigger = trigger + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification of this MeasRepUeNotification. # noqa: E501 + :rtype: MeasRepUeNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this MeasRepUeNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this MeasRepUeNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this MeasRepUeNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this MeasRepUeNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def carrier_aggregation_meas_info(self) -> List[MeasRepUeNotificationCarrierAggregationMeasInfo]: + """Gets the carrier_aggregation_meas_info of this MeasRepUeNotification. + + This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. # noqa: E501 + + :return: The carrier_aggregation_meas_info of this MeasRepUeNotification. + :rtype: List[MeasRepUeNotificationCarrierAggregationMeasInfo] + """ + return self._carrier_aggregation_meas_info + + @carrier_aggregation_meas_info.setter + def carrier_aggregation_meas_info(self, carrier_aggregation_meas_info: List[MeasRepUeNotificationCarrierAggregationMeasInfo]): + """Sets the carrier_aggregation_meas_info of this MeasRepUeNotification. + + This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. # noqa: E501 + + :param carrier_aggregation_meas_info: The carrier_aggregation_meas_info of this MeasRepUeNotification. + :type carrier_aggregation_meas_info: List[MeasRepUeNotificationCarrierAggregationMeasInfo] + """ + + self._carrier_aggregation_meas_info = carrier_aggregation_meas_info + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this MeasRepUeNotification. + + + :return: The ecgi of this MeasRepUeNotification. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this MeasRepUeNotification. + + + :param ecgi: The ecgi of this MeasRepUeNotification. + :type ecgi: Ecgi + """ + if ecgi is None: + raise ValueError("Invalid value for `ecgi`, must not be `None`") # noqa: E501 + + self._ecgi = ecgi + + @property + def eutran_neighbour_cell_meas_info(self) -> List[MeasRepUeNotificationEutranNeighbourCellMeasInfo]: + """Gets the eutran_neighbour_cell_meas_info of this MeasRepUeNotification. + + This parameter can be repeated to contain information of all the neighbouring cells up to N. # noqa: E501 + + :return: The eutran_neighbour_cell_meas_info of this MeasRepUeNotification. + :rtype: List[MeasRepUeNotificationEutranNeighbourCellMeasInfo] + """ + return self._eutran_neighbour_cell_meas_info + + @eutran_neighbour_cell_meas_info.setter + def eutran_neighbour_cell_meas_info(self, eutran_neighbour_cell_meas_info: List[MeasRepUeNotificationEutranNeighbourCellMeasInfo]): + """Sets the eutran_neighbour_cell_meas_info of this MeasRepUeNotification. + + This parameter can be repeated to contain information of all the neighbouring cells up to N. # noqa: E501 + + :param eutran_neighbour_cell_meas_info: The eutran_neighbour_cell_meas_info of this MeasRepUeNotification. + :type eutran_neighbour_cell_meas_info: List[MeasRepUeNotificationEutranNeighbourCellMeasInfo] + """ + + self._eutran_neighbour_cell_meas_info = eutran_neighbour_cell_meas_info + + @property + def height_ue(self) -> int: + """Gets the height_ue of this MeasRepUeNotification. + + Indicates height of the UE in meters relative to the sea level as defined in ETSI TS 136.331 [i.7]. # noqa: E501 + + :return: The height_ue of this MeasRepUeNotification. + :rtype: int + """ + return self._height_ue + + @height_ue.setter + def height_ue(self, height_ue: int): + """Sets the height_ue of this MeasRepUeNotification. + + Indicates height of the UE in meters relative to the sea level as defined in ETSI TS 136.331 [i.7]. # noqa: E501 + + :param height_ue: The height_ue of this MeasRepUeNotification. + :type height_ue: int + """ + + self._height_ue = height_ue + + @property + def new_radio_meas_info(self) -> List[MeasRepUeNotificationNewRadioMeasInfo]: + """Gets the new_radio_meas_info of this MeasRepUeNotification. + + 5G New Radio secondary serving cells measurement information. # noqa: E501 + + :return: The new_radio_meas_info of this MeasRepUeNotification. + :rtype: List[MeasRepUeNotificationNewRadioMeasInfo] + """ + return self._new_radio_meas_info + + @new_radio_meas_info.setter + def new_radio_meas_info(self, new_radio_meas_info: List[MeasRepUeNotificationNewRadioMeasInfo]): + """Sets the new_radio_meas_info of this MeasRepUeNotification. + + 5G New Radio secondary serving cells measurement information. # noqa: E501 + + :param new_radio_meas_info: The new_radio_meas_info of this MeasRepUeNotification. + :type new_radio_meas_info: List[MeasRepUeNotificationNewRadioMeasInfo] + """ + + self._new_radio_meas_info = new_radio_meas_info + + @property + def new_radio_meas_nei_info(self) -> List[MeasRepUeNotificationNewRadioMeasNeiInfo]: + """Gets the new_radio_meas_nei_info of this MeasRepUeNotification. + + Measurement quantities concerning the 5G NR neighbours. # noqa: E501 + + :return: The new_radio_meas_nei_info of this MeasRepUeNotification. + :rtype: List[MeasRepUeNotificationNewRadioMeasNeiInfo] + """ + return self._new_radio_meas_nei_info + + @new_radio_meas_nei_info.setter + def new_radio_meas_nei_info(self, new_radio_meas_nei_info: List[MeasRepUeNotificationNewRadioMeasNeiInfo]): + """Sets the new_radio_meas_nei_info of this MeasRepUeNotification. + + Measurement quantities concerning the 5G NR neighbours. # noqa: E501 + + :param new_radio_meas_nei_info: The new_radio_meas_nei_info of this MeasRepUeNotification. + :type new_radio_meas_nei_info: List[MeasRepUeNotificationNewRadioMeasNeiInfo] + """ + + self._new_radio_meas_nei_info = new_radio_meas_nei_info + + @property + def notification_type(self) -> str: + """Gets the notification_type of this MeasRepUeNotification. + + Shall be set to \"MeasRepUeNotification\". # noqa: E501 + + :return: The notification_type of this MeasRepUeNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this MeasRepUeNotification. + + Shall be set to \"MeasRepUeNotification\". # noqa: E501 + + :param notification_type: The notification_type of this MeasRepUeNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def rsrp(self) -> int: + """Gets the rsrp of this MeasRepUeNotification. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrp of this MeasRepUeNotification. + :rtype: int + """ + return self._rsrp + + @rsrp.setter + def rsrp(self, rsrp: int): + """Sets the rsrp of this MeasRepUeNotification. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrp: The rsrp of this MeasRepUeNotification. + :type rsrp: int + """ + if rsrp is None: + raise ValueError("Invalid value for `rsrp`, must not be `None`") # noqa: E501 + + self._rsrp = rsrp + + @property + def rsrp_ex(self) -> int: + """Gets the rsrp_ex of this MeasRepUeNotification. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrp_ex of this MeasRepUeNotification. + :rtype: int + """ + return self._rsrp_ex + + @rsrp_ex.setter + def rsrp_ex(self, rsrp_ex: int): + """Sets the rsrp_ex of this MeasRepUeNotification. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrp_ex: The rsrp_ex of this MeasRepUeNotification. + :type rsrp_ex: int + """ + + self._rsrp_ex = rsrp_ex + + @property + def rsrq(self) -> int: + """Gets the rsrq of this MeasRepUeNotification. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrq of this MeasRepUeNotification. + :rtype: int + """ + return self._rsrq + + @rsrq.setter + def rsrq(self, rsrq: int): + """Sets the rsrq of this MeasRepUeNotification. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrq: The rsrq of this MeasRepUeNotification. + :type rsrq: int + """ + if rsrq is None: + raise ValueError("Invalid value for `rsrq`, must not be `None`") # noqa: E501 + + self._rsrq = rsrq + + @property + def rsrq_ex(self) -> int: + """Gets the rsrq_ex of this MeasRepUeNotification. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrq_ex of this MeasRepUeNotification. + :rtype: int + """ + return self._rsrq_ex + + @rsrq_ex.setter + def rsrq_ex(self, rsrq_ex: int): + """Sets the rsrq_ex of this MeasRepUeNotification. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrq_ex: The rsrq_ex of this MeasRepUeNotification. + :type rsrq_ex: int + """ + + self._rsrq_ex = rsrq_ex + + @property + def sinr(self) -> int: + """Gets the sinr of this MeasRepUeNotification. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The sinr of this MeasRepUeNotification. + :rtype: int + """ + return self._sinr + + @sinr.setter + def sinr(self, sinr: int): + """Sets the sinr of this MeasRepUeNotification. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param sinr: The sinr of this MeasRepUeNotification. + :type sinr: int + """ + + self._sinr = sinr + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this MeasRepUeNotification. + + + :return: The time_stamp of this MeasRepUeNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this MeasRepUeNotification. + + + :param time_stamp: The time_stamp of this MeasRepUeNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp + + @property + def trigger(self) -> Trigger: + """Gets the trigger of this MeasRepUeNotification. + + + :return: The trigger of this MeasRepUeNotification. + :rtype: Trigger + """ + return self._trigger + + @trigger.setter + def trigger(self, trigger: Trigger): + """Sets the trigger of this MeasRepUeNotification. + + + :param trigger: The trigger of this MeasRepUeNotification. + :type trigger: Trigger + """ + if trigger is None: + raise ValueError("Invalid value for `trigger`, must not be `None`") # noqa: E501 + + self._trigger = trigger diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_carrier_aggregation_meas_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_carrier_aggregation_meas_info.py new file mode 100644 index 0000000000000000000000000000000000000000..cb0b3684c078a976bff095d58f033358bcfe553e --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_carrier_aggregation_meas_info.py @@ -0,0 +1,369 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.cell_id import CellId # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationCarrierAggregationMeasInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, cell_id_nei: CellId=None, cell_id_srv: CellId=None, rsrp_nei: int=None, rsrp_nei_ex: int=None, rsrp_srv: int=None, rsrp_srv_ex: int=None, rsrq_nei: int=None, rsrq_nei_ex: int=None, rsrq_srv: int=None, rsrq_srv_ex: int=None, sinr_nei: int=None, sinr_srv: int=None): # noqa: E501 + """MeasRepUeNotificationCarrierAggregationMeasInfo - a model defined in Swagger + + :param cell_id_nei: The cell_id_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type cell_id_nei: CellId + :param cell_id_srv: The cell_id_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type cell_id_srv: CellId + :param rsrp_nei: The rsrp_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrp_nei: int + :param rsrp_nei_ex: The rsrp_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrp_nei_ex: int + :param rsrp_srv: The rsrp_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrp_srv: int + :param rsrp_srv_ex: The rsrp_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrp_srv_ex: int + :param rsrq_nei: The rsrq_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrq_nei: int + :param rsrq_nei_ex: The rsrq_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrq_nei_ex: int + :param rsrq_srv: The rsrq_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrq_srv: int + :param rsrq_srv_ex: The rsrq_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type rsrq_srv_ex: int + :param sinr_nei: The sinr_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type sinr_nei: int + :param sinr_srv: The sinr_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :type sinr_srv: int + """ + self.swagger_types = { + 'cell_id_nei': CellId, + 'cell_id_srv': CellId, + 'rsrp_nei': int, + 'rsrp_nei_ex': int, + 'rsrp_srv': int, + 'rsrp_srv_ex': int, + 'rsrq_nei': int, + 'rsrq_nei_ex': int, + 'rsrq_srv': int, + 'rsrq_srv_ex': int, + 'sinr_nei': int, + 'sinr_srv': int + } + + self.attribute_map = { + 'cell_id_nei': 'cellIdNei', + 'cell_id_srv': 'cellIdSrv', + 'rsrp_nei': 'rsrpNei', + 'rsrp_nei_ex': 'rsrpNeiEx', + 'rsrp_srv': 'rsrpSrv', + 'rsrp_srv_ex': 'rsrpSrvEx', + 'rsrq_nei': 'rsrqNei', + 'rsrq_nei_ex': 'rsrqNeiEx', + 'rsrq_srv': 'rsrqSrv', + 'rsrq_srv_ex': 'rsrqSrvEx', + 'sinr_nei': 'sinrNei', + 'sinr_srv': 'sinrSrv' + } + self._cell_id_nei = cell_id_nei + self._cell_id_srv = cell_id_srv + self._rsrp_nei = rsrp_nei + self._rsrp_nei_ex = rsrp_nei_ex + self._rsrp_srv = rsrp_srv + self._rsrp_srv_ex = rsrp_srv_ex + self._rsrq_nei = rsrq_nei + self._rsrq_nei_ex = rsrq_nei_ex + self._rsrq_srv = rsrq_srv + self._rsrq_srv_ex = rsrq_srv_ex + self._sinr_nei = sinr_nei + self._sinr_srv = sinr_srv + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationCarrierAggregationMeasInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_carrierAggregationMeasInfo of this MeasRepUeNotificationCarrierAggregationMeasInfo. # noqa: E501 + :rtype: MeasRepUeNotificationCarrierAggregationMeasInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def cell_id_nei(self) -> CellId: + """Gets the cell_id_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + + :return: The cell_id_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: CellId + """ + return self._cell_id_nei + + @cell_id_nei.setter + def cell_id_nei(self, cell_id_nei: CellId): + """Sets the cell_id_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + + :param cell_id_nei: The cell_id_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type cell_id_nei: CellId + """ + + self._cell_id_nei = cell_id_nei + + @property + def cell_id_srv(self) -> CellId: + """Gets the cell_id_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + + :return: The cell_id_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: CellId + """ + return self._cell_id_srv + + @cell_id_srv.setter + def cell_id_srv(self, cell_id_srv: CellId): + """Sets the cell_id_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + + :param cell_id_srv: The cell_id_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type cell_id_srv: CellId + """ + + self._cell_id_srv = cell_id_srv + + @property + def rsrp_nei(self) -> int: + """Gets the rsrp_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrp_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrp_nei + + @rsrp_nei.setter + def rsrp_nei(self, rsrp_nei: int): + """Sets the rsrp_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrp_nei: The rsrp_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrp_nei: int + """ + + self._rsrp_nei = rsrp_nei + + @property + def rsrp_nei_ex(self) -> int: + """Gets the rsrp_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrp_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrp_nei_ex + + @rsrp_nei_ex.setter + def rsrp_nei_ex(self, rsrp_nei_ex: int): + """Sets the rsrp_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrp_nei_ex: The rsrp_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrp_nei_ex: int + """ + + self._rsrp_nei_ex = rsrp_nei_ex + + @property + def rsrp_srv(self) -> int: + """Gets the rsrp_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrp_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrp_srv + + @rsrp_srv.setter + def rsrp_srv(self, rsrp_srv: int): + """Sets the rsrp_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrp_srv: The rsrp_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrp_srv: int + """ + + self._rsrp_srv = rsrp_srv + + @property + def rsrp_srv_ex(self) -> int: + """Gets the rsrp_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrp_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrp_srv_ex + + @rsrp_srv_ex.setter + def rsrp_srv_ex(self, rsrp_srv_ex: int): + """Sets the rsrp_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrp_srv_ex: The rsrp_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrp_srv_ex: int + """ + + self._rsrp_srv_ex = rsrp_srv_ex + + @property + def rsrq_nei(self) -> int: + """Gets the rsrq_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrq_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrq_nei + + @rsrq_nei.setter + def rsrq_nei(self, rsrq_nei: int): + """Sets the rsrq_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrq_nei: The rsrq_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrq_nei: int + """ + + self._rsrq_nei = rsrq_nei + + @property + def rsrq_nei_ex(self) -> int: + """Gets the rsrq_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrq_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrq_nei_ex + + @rsrq_nei_ex.setter + def rsrq_nei_ex(self, rsrq_nei_ex: int): + """Sets the rsrq_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrq_nei_ex: The rsrq_nei_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrq_nei_ex: int + """ + + self._rsrq_nei_ex = rsrq_nei_ex + + @property + def rsrq_srv(self) -> int: + """Gets the rsrq_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrq_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrq_srv + + @rsrq_srv.setter + def rsrq_srv(self, rsrq_srv: int): + """Sets the rsrq_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrq_srv: The rsrq_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrq_srv: int + """ + + self._rsrq_srv = rsrq_srv + + @property + def rsrq_srv_ex(self) -> int: + """Gets the rsrq_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrq_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._rsrq_srv_ex + + @rsrq_srv_ex.setter + def rsrq_srv_ex(self, rsrq_srv_ex: int): + """Sets the rsrq_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrq_srv_ex: The rsrq_srv_ex of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type rsrq_srv_ex: int + """ + + self._rsrq_srv_ex = rsrq_srv_ex + + @property + def sinr_nei(self) -> int: + """Gets the sinr_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The sinr_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._sinr_nei + + @sinr_nei.setter + def sinr_nei(self, sinr_nei: int): + """Sets the sinr_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param sinr_nei: The sinr_nei of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type sinr_nei: int + """ + + self._sinr_nei = sinr_nei + + @property + def sinr_srv(self) -> int: + """Gets the sinr_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The sinr_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :rtype: int + """ + return self._sinr_srv + + @sinr_srv.setter + def sinr_srv(self, sinr_srv: int): + """Sets the sinr_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param sinr_srv: The sinr_srv of this MeasRepUeNotificationCarrierAggregationMeasInfo. + :type sinr_srv: int + """ + + self._sinr_srv = sinr_srv diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_eutran_neighbour_cell_meas_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_eutran_neighbour_cell_meas_info.py new file mode 100644 index 0000000000000000000000000000000000000000..68b764cf5e08f1cd1e50e2b8ddeb9f90ac928c61 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_eutran_neighbour_cell_meas_info.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationEutranNeighbourCellMeasInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ecgi: Ecgi=None, rsrp: int=None, rsrp_ex: int=None, rsrq: int=None, rsrq_ex: int=None, sinr: int=None): # noqa: E501 + """MeasRepUeNotificationEutranNeighbourCellMeasInfo - a model defined in Swagger + + :param ecgi: The ecgi of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. # noqa: E501 + :type ecgi: Ecgi + :param rsrp: The rsrp of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. # noqa: E501 + :type rsrp: int + :param rsrp_ex: The rsrp_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. # noqa: E501 + :type rsrp_ex: int + :param rsrq: The rsrq of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. # noqa: E501 + :type rsrq: int + :param rsrq_ex: The rsrq_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. # noqa: E501 + :type rsrq_ex: int + :param sinr: The sinr of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. # noqa: E501 + :type sinr: int + """ + self.swagger_types = { + 'ecgi': Ecgi, + 'rsrp': int, + 'rsrp_ex': int, + 'rsrq': int, + 'rsrq_ex': int, + 'sinr': int + } + + self.attribute_map = { + 'ecgi': 'ecgi', + 'rsrp': 'rsrp', + 'rsrp_ex': 'rsrpEx', + 'rsrq': 'rsrq', + 'rsrq_ex': 'rsrqEx', + 'sinr': 'sinr' + } + self._ecgi = ecgi + self._rsrp = rsrp + self._rsrp_ex = rsrp_ex + self._rsrq = rsrq + self._rsrq_ex = rsrq_ex + self._sinr = sinr + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationEutranNeighbourCellMeasInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_eutranNeighbourCellMeasInfo of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. # noqa: E501 + :rtype: MeasRepUeNotificationEutranNeighbourCellMeasInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + + :return: The ecgi of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + + :param ecgi: The ecgi of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :type ecgi: Ecgi + """ + + self._ecgi = ecgi + + @property + def rsrp(self) -> int: + """Gets the rsrp of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrp of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :rtype: int + """ + return self._rsrp + + @rsrp.setter + def rsrp(self, rsrp: int): + """Sets the rsrp of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrp: The rsrp of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :type rsrp: int + """ + + self._rsrp = rsrp + + @property + def rsrp_ex(self) -> int: + """Gets the rsrp_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrp_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :rtype: int + """ + return self._rsrp_ex + + @rsrp_ex.setter + def rsrp_ex(self, rsrp_ex: int): + """Sets the rsrp_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrp_ex: The rsrp_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :type rsrp_ex: int + """ + + self._rsrp_ex = rsrp_ex + + @property + def rsrq(self) -> int: + """Gets the rsrq of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The rsrq of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :rtype: int + """ + return self._rsrq + + @rsrq.setter + def rsrq(self, rsrq: int): + """Sets the rsrq of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param rsrq: The rsrq of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :type rsrq: int + """ + + self._rsrq = rsrq + + @property + def rsrq_ex(self) -> int: + """Gets the rsrq_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The rsrq_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :rtype: int + """ + return self._rsrq_ex + + @rsrq_ex.setter + def rsrq_ex(self, rsrq_ex: int): + """Sets the rsrq_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param rsrq_ex: The rsrq_ex of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :type rsrq_ex: int + """ + + self._rsrq_ex = rsrq_ex + + @property + def sinr(self) -> int: + """Gets the sinr of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :return: The sinr of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :rtype: int + """ + return self._sinr + + @sinr.setter + def sinr(self, sinr: int): + """Sets the sinr of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + + Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. # noqa: E501 + + :param sinr: The sinr of this MeasRepUeNotificationEutranNeighbourCellMeasInfo. + :type sinr: int + """ + + self._sinr = sinr diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_new_radio_meas_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_new_radio_meas_info.py new file mode 100644 index 0000000000000000000000000000000000000000..c623848a7ed7c77fcde2f1ed118000ab9fa3f237 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_new_radio_meas_info.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_rep_ue_notification_nr_bncs import MeasRepUeNotificationNrBNCs # noqa: F401,E501 +from swagger_server.models.meas_rep_ue_notification_nr_scs import MeasRepUeNotificationNrSCs # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationNewRadioMeasInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nr_bncs: MeasRepUeNotificationNrBNCs=None, nr_carrier_freq: int=None, nr_scs: MeasRepUeNotificationNrSCs=None): # noqa: E501 + """MeasRepUeNotificationNewRadioMeasInfo - a model defined in Swagger + + :param nr_bncs: The nr_bncs of this MeasRepUeNotificationNewRadioMeasInfo. # noqa: E501 + :type nr_bncs: MeasRepUeNotificationNrBNCs + :param nr_carrier_freq: The nr_carrier_freq of this MeasRepUeNotificationNewRadioMeasInfo. # noqa: E501 + :type nr_carrier_freq: int + :param nr_scs: The nr_scs of this MeasRepUeNotificationNewRadioMeasInfo. # noqa: E501 + :type nr_scs: MeasRepUeNotificationNrSCs + """ + self.swagger_types = { + 'nr_bncs': MeasRepUeNotificationNrBNCs, + 'nr_carrier_freq': int, + 'nr_scs': MeasRepUeNotificationNrSCs + } + + self.attribute_map = { + 'nr_bncs': 'nrBNCs', + 'nr_carrier_freq': 'nrCarrierFreq', + 'nr_scs': 'nrSCs' + } + self._nr_bncs = nr_bncs + self._nr_carrier_freq = nr_carrier_freq + self._nr_scs = nr_scs + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationNewRadioMeasInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_newRadioMeasInfo of this MeasRepUeNotificationNewRadioMeasInfo. # noqa: E501 + :rtype: MeasRepUeNotificationNewRadioMeasInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def nr_bncs(self) -> MeasRepUeNotificationNrBNCs: + """Gets the nr_bncs of this MeasRepUeNotificationNewRadioMeasInfo. + + + :return: The nr_bncs of this MeasRepUeNotificationNewRadioMeasInfo. + :rtype: MeasRepUeNotificationNrBNCs + """ + return self._nr_bncs + + @nr_bncs.setter + def nr_bncs(self, nr_bncs: MeasRepUeNotificationNrBNCs): + """Sets the nr_bncs of this MeasRepUeNotificationNewRadioMeasInfo. + + + :param nr_bncs: The nr_bncs of this MeasRepUeNotificationNewRadioMeasInfo. + :type nr_bncs: MeasRepUeNotificationNrBNCs + """ + + self._nr_bncs = nr_bncs + + @property + def nr_carrier_freq(self) -> int: + """Gets the nr_carrier_freq of this MeasRepUeNotificationNewRadioMeasInfo. + + ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR carrier frequency, as defined in ETSI TS 138.101 [i.15]. # noqa: E501 + + :return: The nr_carrier_freq of this MeasRepUeNotificationNewRadioMeasInfo. + :rtype: int + """ + return self._nr_carrier_freq + + @nr_carrier_freq.setter + def nr_carrier_freq(self, nr_carrier_freq: int): + """Sets the nr_carrier_freq of this MeasRepUeNotificationNewRadioMeasInfo. + + ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR carrier frequency, as defined in ETSI TS 138.101 [i.15]. # noqa: E501 + + :param nr_carrier_freq: The nr_carrier_freq of this MeasRepUeNotificationNewRadioMeasInfo. + :type nr_carrier_freq: int + """ + + self._nr_carrier_freq = nr_carrier_freq + + @property + def nr_scs(self) -> MeasRepUeNotificationNrSCs: + """Gets the nr_scs of this MeasRepUeNotificationNewRadioMeasInfo. + + + :return: The nr_scs of this MeasRepUeNotificationNewRadioMeasInfo. + :rtype: MeasRepUeNotificationNrSCs + """ + return self._nr_scs + + @nr_scs.setter + def nr_scs(self, nr_scs: MeasRepUeNotificationNrSCs): + """Sets the nr_scs of this MeasRepUeNotificationNewRadioMeasInfo. + + + :param nr_scs: The nr_scs of this MeasRepUeNotificationNewRadioMeasInfo. + :type nr_scs: MeasRepUeNotificationNrSCs + """ + + self._nr_scs = nr_scs diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_new_radio_meas_nei_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_new_radio_meas_nei_info.py new file mode 100644 index 0000000000000000000000000000000000000000..0bb76376e3ea5e3a98f5100e2395a34512b219d6 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_new_radio_meas_nei_info.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_rep_ue_notification_nr_n_cell_info import MeasRepUeNotificationNrNCellInfo # noqa: F401,E501 +from swagger_server.models.rs_index_results import RsIndexResults # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationNewRadioMeasNeiInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nr_n_cell_info: List[MeasRepUeNotificationNrNCellInfo]=None, nr_n_cell_rsrp: int=None, nr_n_cell_rsrq: int=None, nr_n_cell_rssi: int=None, rs_index_results: RsIndexResults=None): # noqa: E501 + """MeasRepUeNotificationNewRadioMeasNeiInfo - a model defined in Swagger + + :param nr_n_cell_info: The nr_n_cell_info of this MeasRepUeNotificationNewRadioMeasNeiInfo. # noqa: E501 + :type nr_n_cell_info: List[MeasRepUeNotificationNrNCellInfo] + :param nr_n_cell_rsrp: The nr_n_cell_rsrp of this MeasRepUeNotificationNewRadioMeasNeiInfo. # noqa: E501 + :type nr_n_cell_rsrp: int + :param nr_n_cell_rsrq: The nr_n_cell_rsrq of this MeasRepUeNotificationNewRadioMeasNeiInfo. # noqa: E501 + :type nr_n_cell_rsrq: int + :param nr_n_cell_rssi: The nr_n_cell_rssi of this MeasRepUeNotificationNewRadioMeasNeiInfo. # noqa: E501 + :type nr_n_cell_rssi: int + :param rs_index_results: The rs_index_results of this MeasRepUeNotificationNewRadioMeasNeiInfo. # noqa: E501 + :type rs_index_results: RsIndexResults + """ + self.swagger_types = { + 'nr_n_cell_info': List[MeasRepUeNotificationNrNCellInfo], + 'nr_n_cell_rsrp': int, + 'nr_n_cell_rsrq': int, + 'nr_n_cell_rssi': int, + 'rs_index_results': RsIndexResults + } + + self.attribute_map = { + 'nr_n_cell_info': 'nrNCellInfo', + 'nr_n_cell_rsrp': 'nrNCellRsrp', + 'nr_n_cell_rsrq': 'nrNCellRsrq', + 'nr_n_cell_rssi': 'nrNCellRssi', + 'rs_index_results': 'rsIndexResults' + } + self._nr_n_cell_info = nr_n_cell_info + self._nr_n_cell_rsrp = nr_n_cell_rsrp + self._nr_n_cell_rsrq = nr_n_cell_rsrq + self._nr_n_cell_rssi = nr_n_cell_rssi + self._rs_index_results = rs_index_results + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationNewRadioMeasNeiInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_newRadioMeasNeiInfo of this MeasRepUeNotificationNewRadioMeasNeiInfo. # noqa: E501 + :rtype: MeasRepUeNotificationNewRadioMeasNeiInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def nr_n_cell_info(self) -> List[MeasRepUeNotificationNrNCellInfo]: + """Gets the nr_n_cell_info of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + 5G NR neighbour cell info. # noqa: E501 + + :return: The nr_n_cell_info of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :rtype: List[MeasRepUeNotificationNrNCellInfo] + """ + return self._nr_n_cell_info + + @nr_n_cell_info.setter + def nr_n_cell_info(self, nr_n_cell_info: List[MeasRepUeNotificationNrNCellInfo]): + """Sets the nr_n_cell_info of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + 5G NR neighbour cell info. # noqa: E501 + + :param nr_n_cell_info: The nr_n_cell_info of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :type nr_n_cell_info: List[MeasRepUeNotificationNrNCellInfo] + """ + + self._nr_n_cell_info = nr_n_cell_info + + @property + def nr_n_cell_rsrp(self) -> int: + """Gets the nr_n_cell_rsrp of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_n_cell_rsrp of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :rtype: int + """ + return self._nr_n_cell_rsrp + + @nr_n_cell_rsrp.setter + def nr_n_cell_rsrp(self, nr_n_cell_rsrp: int): + """Sets the nr_n_cell_rsrp of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_n_cell_rsrp: The nr_n_cell_rsrp of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :type nr_n_cell_rsrp: int + """ + + self._nr_n_cell_rsrp = nr_n_cell_rsrp + + @property + def nr_n_cell_rsrq(self) -> int: + """Gets the nr_n_cell_rsrq of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_n_cell_rsrq of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :rtype: int + """ + return self._nr_n_cell_rsrq + + @nr_n_cell_rsrq.setter + def nr_n_cell_rsrq(self, nr_n_cell_rsrq: int): + """Sets the nr_n_cell_rsrq of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_n_cell_rsrq: The nr_n_cell_rsrq of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :type nr_n_cell_rsrq: int + """ + + self._nr_n_cell_rsrq = nr_n_cell_rsrq + + @property + def nr_n_cell_rssi(self) -> int: + """Gets the nr_n_cell_rssi of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_n_cell_rssi of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :rtype: int + """ + return self._nr_n_cell_rssi + + @nr_n_cell_rssi.setter + def nr_n_cell_rssi(self, nr_n_cell_rssi: int): + """Sets the nr_n_cell_rssi of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_n_cell_rssi: The nr_n_cell_rssi of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :type nr_n_cell_rssi: int + """ + + self._nr_n_cell_rssi = nr_n_cell_rssi + + @property + def rs_index_results(self) -> RsIndexResults: + """Gets the rs_index_results of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + + :return: The rs_index_results of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :rtype: RsIndexResults + """ + return self._rs_index_results + + @rs_index_results.setter + def rs_index_results(self, rs_index_results: RsIndexResults): + """Sets the rs_index_results of this MeasRepUeNotificationNewRadioMeasNeiInfo. + + + :param rs_index_results: The rs_index_results of this MeasRepUeNotificationNewRadioMeasNeiInfo. + :type rs_index_results: RsIndexResults + """ + + self._rs_index_results = rs_index_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_bncs.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_bncs.py new file mode 100644 index 0000000000000000000000000000000000000000..e9d65140a9dcf7e7dc2f13a727fa64a094b11360 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_bncs.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_rep_ue_notification_nr_bncs_nr_bn_cell_info import MeasRepUeNotificationNrBNCsNrBNCellInfo # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationNrBNCs(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nr_bn_cell_info: List[MeasRepUeNotificationNrBNCsNrBNCellInfo]=None, nr_bn_cell_rsrp: int=None, nr_bn_cell_rsrq: int=None, nr_bn_cell_rssi: int=None): # noqa: E501 + """MeasRepUeNotificationNrBNCs - a model defined in Swagger + + :param nr_bn_cell_info: The nr_bn_cell_info of this MeasRepUeNotificationNrBNCs. # noqa: E501 + :type nr_bn_cell_info: List[MeasRepUeNotificationNrBNCsNrBNCellInfo] + :param nr_bn_cell_rsrp: The nr_bn_cell_rsrp of this MeasRepUeNotificationNrBNCs. # noqa: E501 + :type nr_bn_cell_rsrp: int + :param nr_bn_cell_rsrq: The nr_bn_cell_rsrq of this MeasRepUeNotificationNrBNCs. # noqa: E501 + :type nr_bn_cell_rsrq: int + :param nr_bn_cell_rssi: The nr_bn_cell_rssi of this MeasRepUeNotificationNrBNCs. # noqa: E501 + :type nr_bn_cell_rssi: int + """ + self.swagger_types = { + 'nr_bn_cell_info': List[MeasRepUeNotificationNrBNCsNrBNCellInfo], + 'nr_bn_cell_rsrp': int, + 'nr_bn_cell_rsrq': int, + 'nr_bn_cell_rssi': int + } + + self.attribute_map = { + 'nr_bn_cell_info': 'nrBNCellInfo', + 'nr_bn_cell_rsrp': 'nrBNCellRsrp', + 'nr_bn_cell_rsrq': 'nrBNCellRsrq', + 'nr_bn_cell_rssi': 'nrBNCellRssi' + } + self._nr_bn_cell_info = nr_bn_cell_info + self._nr_bn_cell_rsrp = nr_bn_cell_rsrp + self._nr_bn_cell_rsrq = nr_bn_cell_rsrq + self._nr_bn_cell_rssi = nr_bn_cell_rssi + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationNrBNCs': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_nrBNCs of this MeasRepUeNotificationNrBNCs. # noqa: E501 + :rtype: MeasRepUeNotificationNrBNCs + """ + return util.deserialize_model(dikt, cls) + + @property + def nr_bn_cell_info(self) -> List[MeasRepUeNotificationNrBNCsNrBNCellInfo]: + """Gets the nr_bn_cell_info of this MeasRepUeNotificationNrBNCs. + + Best neighbours of the secondary serving cell(s) info # noqa: E501 + + :return: The nr_bn_cell_info of this MeasRepUeNotificationNrBNCs. + :rtype: List[MeasRepUeNotificationNrBNCsNrBNCellInfo] + """ + return self._nr_bn_cell_info + + @nr_bn_cell_info.setter + def nr_bn_cell_info(self, nr_bn_cell_info: List[MeasRepUeNotificationNrBNCsNrBNCellInfo]): + """Sets the nr_bn_cell_info of this MeasRepUeNotificationNrBNCs. + + Best neighbours of the secondary serving cell(s) info # noqa: E501 + + :param nr_bn_cell_info: The nr_bn_cell_info of this MeasRepUeNotificationNrBNCs. + :type nr_bn_cell_info: List[MeasRepUeNotificationNrBNCsNrBNCellInfo] + """ + if nr_bn_cell_info is None: + raise ValueError("Invalid value for `nr_bn_cell_info`, must not be `None`") # noqa: E501 + + self._nr_bn_cell_info = nr_bn_cell_info + + @property + def nr_bn_cell_rsrp(self) -> int: + """Gets the nr_bn_cell_rsrp of this MeasRepUeNotificationNrBNCs. + + Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_bn_cell_rsrp of this MeasRepUeNotificationNrBNCs. + :rtype: int + """ + return self._nr_bn_cell_rsrp + + @nr_bn_cell_rsrp.setter + def nr_bn_cell_rsrp(self, nr_bn_cell_rsrp: int): + """Sets the nr_bn_cell_rsrp of this MeasRepUeNotificationNrBNCs. + + Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_bn_cell_rsrp: The nr_bn_cell_rsrp of this MeasRepUeNotificationNrBNCs. + :type nr_bn_cell_rsrp: int + """ + + self._nr_bn_cell_rsrp = nr_bn_cell_rsrp + + @property + def nr_bn_cell_rsrq(self) -> int: + """Gets the nr_bn_cell_rsrq of this MeasRepUeNotificationNrBNCs. + + Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_bn_cell_rsrq of this MeasRepUeNotificationNrBNCs. + :rtype: int + """ + return self._nr_bn_cell_rsrq + + @nr_bn_cell_rsrq.setter + def nr_bn_cell_rsrq(self, nr_bn_cell_rsrq: int): + """Sets the nr_bn_cell_rsrq of this MeasRepUeNotificationNrBNCs. + + Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_bn_cell_rsrq: The nr_bn_cell_rsrq of this MeasRepUeNotificationNrBNCs. + :type nr_bn_cell_rsrq: int + """ + + self._nr_bn_cell_rsrq = nr_bn_cell_rsrq + + @property + def nr_bn_cell_rssi(self) -> int: + """Gets the nr_bn_cell_rssi of this MeasRepUeNotificationNrBNCs. + + Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_bn_cell_rssi of this MeasRepUeNotificationNrBNCs. + :rtype: int + """ + return self._nr_bn_cell_rssi + + @nr_bn_cell_rssi.setter + def nr_bn_cell_rssi(self, nr_bn_cell_rssi: int): + """Sets the nr_bn_cell_rssi of this MeasRepUeNotificationNrBNCs. + + Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_bn_cell_rssi: The nr_bn_cell_rssi of this MeasRepUeNotificationNrBNCs. + :type nr_bn_cell_rssi: int + """ + + self._nr_bn_cell_rssi = nr_bn_cell_rssi diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_bncs_nr_bn_cell_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_bncs_nr_bn_cell_info.py new file mode 100644 index 0000000000000000000000000000000000000000..a654bc67ba0b36bced48e35b468471a57ff7670b --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_bncs_nr_bn_cell_info.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.nr_cell_id import NrCellId # noqa: F401,E501 +from swagger_server.models.plmn import Plmn # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationNrBNCsNrBNCellInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nr_bn_cell_gid: NrCellId=None, nr_bn_cell_plmn: List[Plmn]=None): # noqa: E501 + """MeasRepUeNotificationNrBNCsNrBNCellInfo - a model defined in Swagger + + :param nr_bn_cell_gid: The nr_bn_cell_gid of this MeasRepUeNotificationNrBNCsNrBNCellInfo. # noqa: E501 + :type nr_bn_cell_gid: NrCellId + :param nr_bn_cell_plmn: The nr_bn_cell_plmn of this MeasRepUeNotificationNrBNCsNrBNCellInfo. # noqa: E501 + :type nr_bn_cell_plmn: List[Plmn] + """ + self.swagger_types = { + 'nr_bn_cell_gid': NrCellId, + 'nr_bn_cell_plmn': List[Plmn] + } + + self.attribute_map = { + 'nr_bn_cell_gid': 'nrBNCellGId', + 'nr_bn_cell_plmn': 'nrBNCellPlmn' + } + self._nr_bn_cell_gid = nr_bn_cell_gid + self._nr_bn_cell_plmn = nr_bn_cell_plmn + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationNrBNCsNrBNCellInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_nrBNCs_nrBNCellInfo of this MeasRepUeNotificationNrBNCsNrBNCellInfo. # noqa: E501 + :rtype: MeasRepUeNotificationNrBNCsNrBNCellInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def nr_bn_cell_gid(self) -> NrCellId: + """Gets the nr_bn_cell_gid of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + + + :return: The nr_bn_cell_gid of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + :rtype: NrCellId + """ + return self._nr_bn_cell_gid + + @nr_bn_cell_gid.setter + def nr_bn_cell_gid(self, nr_bn_cell_gid: NrCellId): + """Sets the nr_bn_cell_gid of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + + + :param nr_bn_cell_gid: The nr_bn_cell_gid of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + :type nr_bn_cell_gid: NrCellId + """ + + self._nr_bn_cell_gid = nr_bn_cell_gid + + @property + def nr_bn_cell_plmn(self) -> List[Plmn]: + """Gets the nr_bn_cell_plmn of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + + Public land mobile network identities # noqa: E501 + + :return: The nr_bn_cell_plmn of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + :rtype: List[Plmn] + """ + return self._nr_bn_cell_plmn + + @nr_bn_cell_plmn.setter + def nr_bn_cell_plmn(self, nr_bn_cell_plmn: List[Plmn]): + """Sets the nr_bn_cell_plmn of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + + Public land mobile network identities # noqa: E501 + + :param nr_bn_cell_plmn: The nr_bn_cell_plmn of this MeasRepUeNotificationNrBNCsNrBNCellInfo. + :type nr_bn_cell_plmn: List[Plmn] + """ + + self._nr_bn_cell_plmn = nr_bn_cell_plmn diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_n_cell_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_n_cell_info.py new file mode 100644 index 0000000000000000000000000000000000000000..e210c312f460166144a98b86f11a96bf37e3468e --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_n_cell_info.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.nr_cell_id import NrCellId # noqa: F401,E501 +from swagger_server.models.plmn import Plmn # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationNrNCellInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nr_n_cell_gid: NrCellId=None, nr_n_cell_plmn: List[Plmn]=None): # noqa: E501 + """MeasRepUeNotificationNrNCellInfo - a model defined in Swagger + + :param nr_n_cell_gid: The nr_n_cell_gid of this MeasRepUeNotificationNrNCellInfo. # noqa: E501 + :type nr_n_cell_gid: NrCellId + :param nr_n_cell_plmn: The nr_n_cell_plmn of this MeasRepUeNotificationNrNCellInfo. # noqa: E501 + :type nr_n_cell_plmn: List[Plmn] + """ + self.swagger_types = { + 'nr_n_cell_gid': NrCellId, + 'nr_n_cell_plmn': List[Plmn] + } + + self.attribute_map = { + 'nr_n_cell_gid': 'nrNCellGId', + 'nr_n_cell_plmn': 'nrNCellPlmn' + } + self._nr_n_cell_gid = nr_n_cell_gid + self._nr_n_cell_plmn = nr_n_cell_plmn + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationNrNCellInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_nrNCellInfo of this MeasRepUeNotificationNrNCellInfo. # noqa: E501 + :rtype: MeasRepUeNotificationNrNCellInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def nr_n_cell_gid(self) -> NrCellId: + """Gets the nr_n_cell_gid of this MeasRepUeNotificationNrNCellInfo. + + + :return: The nr_n_cell_gid of this MeasRepUeNotificationNrNCellInfo. + :rtype: NrCellId + """ + return self._nr_n_cell_gid + + @nr_n_cell_gid.setter + def nr_n_cell_gid(self, nr_n_cell_gid: NrCellId): + """Sets the nr_n_cell_gid of this MeasRepUeNotificationNrNCellInfo. + + + :param nr_n_cell_gid: The nr_n_cell_gid of this MeasRepUeNotificationNrNCellInfo. + :type nr_n_cell_gid: NrCellId + """ + + self._nr_n_cell_gid = nr_n_cell_gid + + @property + def nr_n_cell_plmn(self) -> List[Plmn]: + """Gets the nr_n_cell_plmn of this MeasRepUeNotificationNrNCellInfo. + + Public land mobile network identities. # noqa: E501 + + :return: The nr_n_cell_plmn of this MeasRepUeNotificationNrNCellInfo. + :rtype: List[Plmn] + """ + return self._nr_n_cell_plmn + + @nr_n_cell_plmn.setter + def nr_n_cell_plmn(self, nr_n_cell_plmn: List[Plmn]): + """Sets the nr_n_cell_plmn of this MeasRepUeNotificationNrNCellInfo. + + Public land mobile network identities. # noqa: E501 + + :param nr_n_cell_plmn: The nr_n_cell_plmn of this MeasRepUeNotificationNrNCellInfo. + :type nr_n_cell_plmn: List[Plmn] + """ + + self._nr_n_cell_plmn = nr_n_cell_plmn diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_scs.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_scs.py new file mode 100644 index 0000000000000000000000000000000000000000..f4877e8b6090bcad86d4b489e002b90d30b18536 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_scs.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_rep_ue_notification_nr_scs_nr_s_cell_info import MeasRepUeNotificationNrSCsNrSCellInfo # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationNrSCs(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nr_s_cell_info: List[MeasRepUeNotificationNrSCsNrSCellInfo]=None, nr_s_cell_rsrp: int=None, nr_s_cell_rsrq: int=None, nr_s_cell_rssi: int=None): # noqa: E501 + """MeasRepUeNotificationNrSCs - a model defined in Swagger + + :param nr_s_cell_info: The nr_s_cell_info of this MeasRepUeNotificationNrSCs. # noqa: E501 + :type nr_s_cell_info: List[MeasRepUeNotificationNrSCsNrSCellInfo] + :param nr_s_cell_rsrp: The nr_s_cell_rsrp of this MeasRepUeNotificationNrSCs. # noqa: E501 + :type nr_s_cell_rsrp: int + :param nr_s_cell_rsrq: The nr_s_cell_rsrq of this MeasRepUeNotificationNrSCs. # noqa: E501 + :type nr_s_cell_rsrq: int + :param nr_s_cell_rssi: The nr_s_cell_rssi of this MeasRepUeNotificationNrSCs. # noqa: E501 + :type nr_s_cell_rssi: int + """ + self.swagger_types = { + 'nr_s_cell_info': List[MeasRepUeNotificationNrSCsNrSCellInfo], + 'nr_s_cell_rsrp': int, + 'nr_s_cell_rsrq': int, + 'nr_s_cell_rssi': int + } + + self.attribute_map = { + 'nr_s_cell_info': 'nrSCellInfo', + 'nr_s_cell_rsrp': 'nrSCellRsrp', + 'nr_s_cell_rsrq': 'nrSCellRsrq', + 'nr_s_cell_rssi': 'nrSCellRssi' + } + self._nr_s_cell_info = nr_s_cell_info + self._nr_s_cell_rsrp = nr_s_cell_rsrp + self._nr_s_cell_rsrq = nr_s_cell_rsrq + self._nr_s_cell_rssi = nr_s_cell_rssi + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationNrSCs': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_nrSCs of this MeasRepUeNotificationNrSCs. # noqa: E501 + :rtype: MeasRepUeNotificationNrSCs + """ + return util.deserialize_model(dikt, cls) + + @property + def nr_s_cell_info(self) -> List[MeasRepUeNotificationNrSCsNrSCellInfo]: + """Gets the nr_s_cell_info of this MeasRepUeNotificationNrSCs. + + Secondary serving cell(s) info. # noqa: E501 + + :return: The nr_s_cell_info of this MeasRepUeNotificationNrSCs. + :rtype: List[MeasRepUeNotificationNrSCsNrSCellInfo] + """ + return self._nr_s_cell_info + + @nr_s_cell_info.setter + def nr_s_cell_info(self, nr_s_cell_info: List[MeasRepUeNotificationNrSCsNrSCellInfo]): + """Sets the nr_s_cell_info of this MeasRepUeNotificationNrSCs. + + Secondary serving cell(s) info. # noqa: E501 + + :param nr_s_cell_info: The nr_s_cell_info of this MeasRepUeNotificationNrSCs. + :type nr_s_cell_info: List[MeasRepUeNotificationNrSCsNrSCellInfo] + """ + if nr_s_cell_info is None: + raise ValueError("Invalid value for `nr_s_cell_info`, must not be `None`") # noqa: E501 + + self._nr_s_cell_info = nr_s_cell_info + + @property + def nr_s_cell_rsrp(self) -> int: + """Gets the nr_s_cell_rsrp of this MeasRepUeNotificationNrSCs. + + Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_s_cell_rsrp of this MeasRepUeNotificationNrSCs. + :rtype: int + """ + return self._nr_s_cell_rsrp + + @nr_s_cell_rsrp.setter + def nr_s_cell_rsrp(self, nr_s_cell_rsrp: int): + """Sets the nr_s_cell_rsrp of this MeasRepUeNotificationNrSCs. + + Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_s_cell_rsrp: The nr_s_cell_rsrp of this MeasRepUeNotificationNrSCs. + :type nr_s_cell_rsrp: int + """ + + self._nr_s_cell_rsrp = nr_s_cell_rsrp + + @property + def nr_s_cell_rsrq(self) -> int: + """Gets the nr_s_cell_rsrq of this MeasRepUeNotificationNrSCs. + + Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_s_cell_rsrq of this MeasRepUeNotificationNrSCs. + :rtype: int + """ + return self._nr_s_cell_rsrq + + @nr_s_cell_rsrq.setter + def nr_s_cell_rsrq(self, nr_s_cell_rsrq: int): + """Sets the nr_s_cell_rsrq of this MeasRepUeNotificationNrSCs. + + Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_s_cell_rsrq: The nr_s_cell_rsrq of this MeasRepUeNotificationNrSCs. + :type nr_s_cell_rsrq: int + """ + + self._nr_s_cell_rsrq = nr_s_cell_rsrq + + @property + def nr_s_cell_rssi(self) -> int: + """Gets the nr_s_cell_rssi of this MeasRepUeNotificationNrSCs. + + Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :return: The nr_s_cell_rssi of this MeasRepUeNotificationNrSCs. + :rtype: int + """ + return self._nr_s_cell_rssi + + @nr_s_cell_rssi.setter + def nr_s_cell_rssi(self, nr_s_cell_rssi: int): + """Sets the nr_s_cell_rssi of this MeasRepUeNotificationNrSCs. + + Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. # noqa: E501 + + :param nr_s_cell_rssi: The nr_s_cell_rssi of this MeasRepUeNotificationNrSCs. + :type nr_s_cell_rssi: int + """ + + self._nr_s_cell_rssi = nr_s_cell_rssi diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_scs_nr_s_cell_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_scs_nr_s_cell_info.py new file mode 100644 index 0000000000000000000000000000000000000000..6dd572db45409de264dcdadfff8fd4788accf827 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_notification_nr_scs_nr_s_cell_info.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.nr_cell_id import NrCellId # noqa: F401,E501 +from swagger_server.models.plmn import Plmn # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeNotificationNrSCsNrSCellInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nr_s_cell_gid: NrCellId=None, nr_s_cell_plmn: List[Plmn]=None): # noqa: E501 + """MeasRepUeNotificationNrSCsNrSCellInfo - a model defined in Swagger + + :param nr_s_cell_gid: The nr_s_cell_gid of this MeasRepUeNotificationNrSCsNrSCellInfo. # noqa: E501 + :type nr_s_cell_gid: NrCellId + :param nr_s_cell_plmn: The nr_s_cell_plmn of this MeasRepUeNotificationNrSCsNrSCellInfo. # noqa: E501 + :type nr_s_cell_plmn: List[Plmn] + """ + self.swagger_types = { + 'nr_s_cell_gid': NrCellId, + 'nr_s_cell_plmn': List[Plmn] + } + + self.attribute_map = { + 'nr_s_cell_gid': 'nrSCellGId', + 'nr_s_cell_plmn': 'nrSCellPlmn' + } + self._nr_s_cell_gid = nr_s_cell_gid + self._nr_s_cell_plmn = nr_s_cell_plmn + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeNotificationNrSCsNrSCellInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeNotification_nrSCs_nrSCellInfo of this MeasRepUeNotificationNrSCsNrSCellInfo. # noqa: E501 + :rtype: MeasRepUeNotificationNrSCsNrSCellInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def nr_s_cell_gid(self) -> NrCellId: + """Gets the nr_s_cell_gid of this MeasRepUeNotificationNrSCsNrSCellInfo. + + + :return: The nr_s_cell_gid of this MeasRepUeNotificationNrSCsNrSCellInfo. + :rtype: NrCellId + """ + return self._nr_s_cell_gid + + @nr_s_cell_gid.setter + def nr_s_cell_gid(self, nr_s_cell_gid: NrCellId): + """Sets the nr_s_cell_gid of this MeasRepUeNotificationNrSCsNrSCellInfo. + + + :param nr_s_cell_gid: The nr_s_cell_gid of this MeasRepUeNotificationNrSCsNrSCellInfo. + :type nr_s_cell_gid: NrCellId + """ + + self._nr_s_cell_gid = nr_s_cell_gid + + @property + def nr_s_cell_plmn(self) -> List[Plmn]: + """Gets the nr_s_cell_plmn of this MeasRepUeNotificationNrSCsNrSCellInfo. + + Public land mobile network identities. # noqa: E501 + + :return: The nr_s_cell_plmn of this MeasRepUeNotificationNrSCsNrSCellInfo. + :rtype: List[Plmn] + """ + return self._nr_s_cell_plmn + + @nr_s_cell_plmn.setter + def nr_s_cell_plmn(self, nr_s_cell_plmn: List[Plmn]): + """Sets the nr_s_cell_plmn of this MeasRepUeNotificationNrSCsNrSCellInfo. + + Public land mobile network identities. # noqa: E501 + + :param nr_s_cell_plmn: The nr_s_cell_plmn of this MeasRepUeNotificationNrSCsNrSCellInfo. + :type nr_s_cell_plmn: List[Plmn] + """ + + self._nr_s_cell_plmn = nr_s_cell_plmn diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..6ab8e45dfb2bc9fe337ee4a6032bc5641b24700a --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.meas_rep_ue_subscription_filter_criteria_assoc_tri import MeasRepUeSubscriptionFilterCriteriaAssocTri # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_assoc_tri: MeasRepUeSubscriptionFilterCriteriaAssocTri=None, subscription_type: str=None): # noqa: E501 + """MeasRepUeSubscription - a model defined in Swagger + + :param links: The links of this MeasRepUeSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this MeasRepUeSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this MeasRepUeSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_assoc_tri: The filter_criteria_assoc_tri of this MeasRepUeSubscription. # noqa: E501 + :type filter_criteria_assoc_tri: MeasRepUeSubscriptionFilterCriteriaAssocTri + :param subscription_type: The subscription_type of this MeasRepUeSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_assoc_tri': MeasRepUeSubscriptionFilterCriteriaAssocTri, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_assoc_tri': 'filterCriteriaAssocTri', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_assoc_tri = filter_criteria_assoc_tri + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeSubscription of this MeasRepUeSubscription. # noqa: E501 + :rtype: MeasRepUeSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this MeasRepUeSubscription. + + + :return: The links of this MeasRepUeSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this MeasRepUeSubscription. + + + :param links: The links of this MeasRepUeSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this MeasRepUeSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this MeasRepUeSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this MeasRepUeSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this MeasRepUeSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this MeasRepUeSubscription. + + + :return: The expiry_deadline of this MeasRepUeSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this MeasRepUeSubscription. + + + :param expiry_deadline: The expiry_deadline of this MeasRepUeSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_assoc_tri(self) -> MeasRepUeSubscriptionFilterCriteriaAssocTri: + """Gets the filter_criteria_assoc_tri of this MeasRepUeSubscription. + + + :return: The filter_criteria_assoc_tri of this MeasRepUeSubscription. + :rtype: MeasRepUeSubscriptionFilterCriteriaAssocTri + """ + return self._filter_criteria_assoc_tri + + @filter_criteria_assoc_tri.setter + def filter_criteria_assoc_tri(self, filter_criteria_assoc_tri: MeasRepUeSubscriptionFilterCriteriaAssocTri): + """Sets the filter_criteria_assoc_tri of this MeasRepUeSubscription. + + + :param filter_criteria_assoc_tri: The filter_criteria_assoc_tri of this MeasRepUeSubscription. + :type filter_criteria_assoc_tri: MeasRepUeSubscriptionFilterCriteriaAssocTri + """ + if filter_criteria_assoc_tri is None: + raise ValueError("Invalid value for `filter_criteria_assoc_tri`, must not be `None`") # noqa: E501 + + self._filter_criteria_assoc_tri = filter_criteria_assoc_tri + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this MeasRepUeSubscription. + + Shall be set to \"MeasRepUeSubscription\". # noqa: E501 + + :return: The subscription_type of this MeasRepUeSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this MeasRepUeSubscription. + + Shall be set to \"MeasRepUeSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this MeasRepUeSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_subscription_filter_criteria_assoc_tri.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_subscription_filter_criteria_assoc_tri.py new file mode 100644 index 0000000000000000000000000000000000000000..e03b279319ad45adbd1976cc12d64be4125f8e3a --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_rep_ue_subscription_filter_criteria_assoc_tri.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.trigger import Trigger # noqa: F401,E501 +from swagger_server import util + + +class MeasRepUeSubscriptionFilterCriteriaAssocTri(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, associate_id: List[AssociateId]=None, ecgi: List[Ecgi]=None, trigger: List[Trigger]=None): # noqa: E501 + """MeasRepUeSubscriptionFilterCriteriaAssocTri - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. # noqa: E501 + :type app_instance_id: str + :param associate_id: The associate_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this MeasRepUeSubscriptionFilterCriteriaAssocTri. # noqa: E501 + :type ecgi: List[Ecgi] + :param trigger: The trigger of this MeasRepUeSubscriptionFilterCriteriaAssocTri. # noqa: E501 + :type trigger: List[Trigger] + """ + self.swagger_types = { + 'app_instance_id': str, + 'associate_id': List[AssociateId], + 'ecgi': List[Ecgi], + 'trigger': List[Trigger] + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 'trigger': 'trigger' + } + self._app_instance_id = app_instance_id + self._associate_id = associate_id + self._ecgi = ecgi + self._trigger = trigger + + @classmethod + def from_dict(cls, dikt) -> 'MeasRepUeSubscriptionFilterCriteriaAssocTri': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasRepUeSubscription_filterCriteriaAssocTri of this MeasRepUeSubscriptionFilterCriteriaAssocTri. # noqa: E501 + :rtype: MeasRepUeSubscriptionFilterCriteriaAssocTri + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :type app_instance_id: str + """ + + self._app_instance_id = app_instance_id + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :type ecgi: List[Ecgi] + """ + + self._ecgi = ecgi + + @property + def trigger(self) -> List[Trigger]: + """Gets the trigger of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + Corresponds to a specific E-UTRAN UE Measurement Report trigger. # noqa: E501 + + :return: The trigger of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :rtype: List[Trigger] + """ + return self._trigger + + @trigger.setter + def trigger(self, trigger: List[Trigger]): + """Sets the trigger of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + + Corresponds to a specific E-UTRAN UE Measurement Report trigger. # noqa: E501 + + :param trigger: The trigger of this MeasRepUeSubscriptionFilterCriteriaAssocTri. + :type trigger: List[Trigger] + """ + + self._trigger = trigger diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_ta_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_ta_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..b1c78de4c1b291883b9a05a98828bf30d582920a --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_ta_notification.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class MeasTaNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ecgi: Ecgi=None, notification_type: str=None, time_stamp: TimeStamp=None, timing_advance: int=None): # noqa: E501 + """MeasTaNotification - a model defined in Swagger + + :param associate_id: The associate_id of this MeasTaNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this MeasTaNotification. # noqa: E501 + :type ecgi: Ecgi + :param notification_type: The notification_type of this MeasTaNotification. # noqa: E501 + :type notification_type: str + :param time_stamp: The time_stamp of this MeasTaNotification. # noqa: E501 + :type time_stamp: TimeStamp + :param timing_advance: The timing_advance of this MeasTaNotification. # noqa: E501 + :type timing_advance: int + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ecgi': Ecgi, + 'notification_type': str, + 'time_stamp': TimeStamp, + 'timing_advance': int + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 'notification_type': 'notificationType', + 'time_stamp': 'timeStamp', + 'timing_advance': 'timingAdvance' + } + self._associate_id = associate_id + self._ecgi = ecgi + self._notification_type = notification_type + self._time_stamp = time_stamp + self._timing_advance = timing_advance + + @classmethod + def from_dict(cls, dikt) -> 'MeasTaNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasTaNotification of this MeasTaNotification. # noqa: E501 + :rtype: MeasTaNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this MeasTaNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this MeasTaNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this MeasTaNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this MeasTaNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this MeasTaNotification. + + + :return: The ecgi of this MeasTaNotification. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this MeasTaNotification. + + + :param ecgi: The ecgi of this MeasTaNotification. + :type ecgi: Ecgi + """ + if ecgi is None: + raise ValueError("Invalid value for `ecgi`, must not be `None`") # noqa: E501 + + self._ecgi = ecgi + + @property + def notification_type(self) -> str: + """Gets the notification_type of this MeasTaNotification. + + Shall be set to \"MeasTaNotification\". # noqa: E501 + + :return: The notification_type of this MeasTaNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this MeasTaNotification. + + Shall be set to \"MeasTaNotification\". # noqa: E501 + + :param notification_type: The notification_type of this MeasTaNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this MeasTaNotification. + + + :return: The time_stamp of this MeasTaNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this MeasTaNotification. + + + :param time_stamp: The time_stamp of this MeasTaNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp + + @property + def timing_advance(self) -> int: + """Gets the timing_advance of this MeasTaNotification. + + The timing advance as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :return: The timing_advance of this MeasTaNotification. + :rtype: int + """ + return self._timing_advance + + @timing_advance.setter + def timing_advance(self, timing_advance: int): + """Sets the timing_advance of this MeasTaNotification. + + The timing advance as defined in ETSI TS 136 214 [i.5]. # noqa: E501 + + :param timing_advance: The timing_advance of this MeasTaNotification. + :type timing_advance: int + """ + if timing_advance is None: + raise ValueError("Invalid value for `timing_advance`, must not be `None`") # noqa: E501 + + self._timing_advance = timing_advance diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_ta_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_ta_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..7130ac3dc20f851416d6bc5109ebe8fc93b6aa7f --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/meas_ta_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_filter_criteria_assoc import CaReconfSubscriptionFilterCriteriaAssoc # noqa: F401,E501 +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class MeasTaSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc=None, subscription_type: str=None): # noqa: E501 + """MeasTaSubscription - a model defined in Swagger + + :param links: The links of this MeasTaSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this MeasTaSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this MeasTaSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_assoc: The filter_criteria_assoc of this MeasTaSubscription. # noqa: E501 + :type filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc + :param subscription_type: The subscription_type of this MeasTaSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_assoc': CaReconfSubscriptionFilterCriteriaAssoc, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_assoc': 'filterCriteriaAssoc', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_assoc = filter_criteria_assoc + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'MeasTaSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The MeasTaSubscription of this MeasTaSubscription. # noqa: E501 + :rtype: MeasTaSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this MeasTaSubscription. + + + :return: The links of this MeasTaSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this MeasTaSubscription. + + + :param links: The links of this MeasTaSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this MeasTaSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this MeasTaSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this MeasTaSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this MeasTaSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this MeasTaSubscription. + + + :return: The expiry_deadline of this MeasTaSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this MeasTaSubscription. + + + :param expiry_deadline: The expiry_deadline of this MeasTaSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_assoc(self) -> CaReconfSubscriptionFilterCriteriaAssoc: + """Gets the filter_criteria_assoc of this MeasTaSubscription. + + + :return: The filter_criteria_assoc of this MeasTaSubscription. + :rtype: CaReconfSubscriptionFilterCriteriaAssoc + """ + return self._filter_criteria_assoc + + @filter_criteria_assoc.setter + def filter_criteria_assoc(self, filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc): + """Sets the filter_criteria_assoc of this MeasTaSubscription. + + + :param filter_criteria_assoc: The filter_criteria_assoc of this MeasTaSubscription. + :type filter_criteria_assoc: CaReconfSubscriptionFilterCriteriaAssoc + """ + if filter_criteria_assoc is None: + raise ValueError("Invalid value for `filter_criteria_assoc`, must not be `None`") # noqa: E501 + + self._filter_criteria_assoc = filter_criteria_assoc + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this MeasTaSubscription. + + Shall be set to \"MeasTaSubscription\". # noqa: E501 + + :return: The subscription_type of this MeasTaSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this MeasTaSubscription. + + Shall be set to \"MeasTaSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this MeasTaSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/n_rcgi.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/n_rcgi.py new file mode 100644 index 0000000000000000000000000000000000000000..092d08f885ceb7e2aa43fde2ab77207f45473dbc --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/n_rcgi.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.nr_cell_id import NrCellId # noqa: F401,E501 +from swagger_server.models.plmn import Plmn # noqa: F401,E501 +from swagger_server import util + + +class NRcgi(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nrcell_id: NrCellId=None, plmn: Plmn=None): # noqa: E501 + """NRcgi - a model defined in Swagger + + :param nrcell_id: The nrcell_id of this NRcgi. # noqa: E501 + :type nrcell_id: NrCellId + :param plmn: The plmn of this NRcgi. # noqa: E501 + :type plmn: Plmn + """ + self.swagger_types = { + 'nrcell_id': NrCellId, + 'plmn': Plmn + } + + self.attribute_map = { + 'nrcell_id': 'nrcellId', + 'plmn': 'plmn' + } + self._nrcell_id = nrcell_id + self._plmn = plmn + + @classmethod + def from_dict(cls, dikt) -> 'NRcgi': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NRcgi of this NRcgi. # noqa: E501 + :rtype: NRcgi + """ + return util.deserialize_model(dikt, cls) + + @property + def nrcell_id(self) -> NrCellId: + """Gets the nrcell_id of this NRcgi. + + + :return: The nrcell_id of this NRcgi. + :rtype: NrCellId + """ + return self._nrcell_id + + @nrcell_id.setter + def nrcell_id(self, nrcell_id: NrCellId): + """Sets the nrcell_id of this NRcgi. + + + :param nrcell_id: The nrcell_id of this NRcgi. + :type nrcell_id: NrCellId + """ + if nrcell_id is None: + raise ValueError("Invalid value for `nrcell_id`, must not be `None`") # noqa: E501 + + self._nrcell_id = nrcell_id + + @property + def plmn(self) -> Plmn: + """Gets the plmn of this NRcgi. + + + :return: The plmn of this NRcgi. + :rtype: Plmn + """ + return self._plmn + + @plmn.setter + def plmn(self, plmn: Plmn): + """Sets the plmn of this NRcgi. + + + :param plmn: The plmn of this NRcgi. + :type plmn: Plmn + """ + if plmn is None: + raise ValueError("Invalid value for `plmn`, must not be `None`") # noqa: E501 + + self._plmn = plmn diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_cell_id.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_cell_id.py new file mode 100644 index 0000000000000000000000000000000000000000..ad699863a1e05a827f73810fce535eb501d134d3 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_cell_id.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class NrCellId(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self): # noqa: E501 + """NrCellId - a model defined in Swagger + + """ + self.swagger_types = { + } + + self.attribute_map = { + } + + @classmethod + def from_dict(cls, dikt) -> 'NrCellId': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrCellId of this NrCellId. # noqa: E501 + :rtype: NrCellId + """ + return util.deserialize_model(dikt, cls) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..785c42ab6f48bbf30d0c7b0b86fd24ab33f0e315 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification.py @@ -0,0 +1,238 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info import NrMeasRepUeNotificationEutraNeighCellMeasInfo # noqa: F401,E501 +from swagger_server.models.nr_meas_rep_ue_notification_nr_neigh_cell_meas_info import NrMeasRepUeNotificationNrNeighCellMeasInfo # noqa: F401,E501 +from swagger_server.models.nr_meas_rep_ue_notification_serv_cell_meas_info import NrMeasRepUeNotificationServCellMeasInfo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server.models.trigger_nr import TriggerNr # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, eutra_neigh_cell_meas_info: List[NrMeasRepUeNotificationEutraNeighCellMeasInfo]=None, notification_type: str=None, nr_neigh_cell_meas_info: List[NrMeasRepUeNotificationNrNeighCellMeasInfo]=None, serv_cell_meas_info: List[NrMeasRepUeNotificationServCellMeasInfo]=None, time_stamp: TimeStamp=None, trigger_nr: TriggerNr=None): # noqa: E501 + """NrMeasRepUeNotification - a model defined in Swagger + + :param associate_id: The associate_id of this NrMeasRepUeNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param eutra_neigh_cell_meas_info: The eutra_neigh_cell_meas_info of this NrMeasRepUeNotification. # noqa: E501 + :type eutra_neigh_cell_meas_info: List[NrMeasRepUeNotificationEutraNeighCellMeasInfo] + :param notification_type: The notification_type of this NrMeasRepUeNotification. # noqa: E501 + :type notification_type: str + :param nr_neigh_cell_meas_info: The nr_neigh_cell_meas_info of this NrMeasRepUeNotification. # noqa: E501 + :type nr_neigh_cell_meas_info: List[NrMeasRepUeNotificationNrNeighCellMeasInfo] + :param serv_cell_meas_info: The serv_cell_meas_info of this NrMeasRepUeNotification. # noqa: E501 + :type serv_cell_meas_info: List[NrMeasRepUeNotificationServCellMeasInfo] + :param time_stamp: The time_stamp of this NrMeasRepUeNotification. # noqa: E501 + :type time_stamp: TimeStamp + :param trigger_nr: The trigger_nr of this NrMeasRepUeNotification. # noqa: E501 + :type trigger_nr: TriggerNr + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'eutra_neigh_cell_meas_info': List[NrMeasRepUeNotificationEutraNeighCellMeasInfo], + 'notification_type': str, + 'nr_neigh_cell_meas_info': List[NrMeasRepUeNotificationNrNeighCellMeasInfo], + 'serv_cell_meas_info': List[NrMeasRepUeNotificationServCellMeasInfo], + 'time_stamp': TimeStamp, + 'trigger_nr': TriggerNr + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'eutra_neigh_cell_meas_info': 'eutraNeighCellMeasInfo', + 'notification_type': 'notificationType', + 'nr_neigh_cell_meas_info': 'nrNeighCellMeasInfo', + 'serv_cell_meas_info': 'servCellMeasInfo', + 'time_stamp': 'timeStamp', + 'trigger_nr': 'triggerNr' + } + self._associate_id = associate_id + self._eutra_neigh_cell_meas_info = eutra_neigh_cell_meas_info + self._notification_type = notification_type + self._nr_neigh_cell_meas_info = nr_neigh_cell_meas_info + self._serv_cell_meas_info = serv_cell_meas_info + self._time_stamp = time_stamp + self._trigger_nr = trigger_nr + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeNotification of this NrMeasRepUeNotification. # noqa: E501 + :rtype: NrMeasRepUeNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this NrMeasRepUeNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this NrMeasRepUeNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this NrMeasRepUeNotification. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this NrMeasRepUeNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def eutra_neigh_cell_meas_info(self) -> List[NrMeasRepUeNotificationEutraNeighCellMeasInfo]: + """Gets the eutra_neigh_cell_meas_info of this NrMeasRepUeNotification. + + This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if nrNeighCellMeasInfo is included. # noqa: E501 + + :return: The eutra_neigh_cell_meas_info of this NrMeasRepUeNotification. + :rtype: List[NrMeasRepUeNotificationEutraNeighCellMeasInfo] + """ + return self._eutra_neigh_cell_meas_info + + @eutra_neigh_cell_meas_info.setter + def eutra_neigh_cell_meas_info(self, eutra_neigh_cell_meas_info: List[NrMeasRepUeNotificationEutraNeighCellMeasInfo]): + """Sets the eutra_neigh_cell_meas_info of this NrMeasRepUeNotification. + + This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if nrNeighCellMeasInfo is included. # noqa: E501 + + :param eutra_neigh_cell_meas_info: The eutra_neigh_cell_meas_info of this NrMeasRepUeNotification. + :type eutra_neigh_cell_meas_info: List[NrMeasRepUeNotificationEutraNeighCellMeasInfo] + """ + + self._eutra_neigh_cell_meas_info = eutra_neigh_cell_meas_info + + @property + def notification_type(self) -> str: + """Gets the notification_type of this NrMeasRepUeNotification. + + Shall be set to \"NrMeasRepUeNotification\". # noqa: E501 + + :return: The notification_type of this NrMeasRepUeNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this NrMeasRepUeNotification. + + Shall be set to \"NrMeasRepUeNotification\". # noqa: E501 + + :param notification_type: The notification_type of this NrMeasRepUeNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def nr_neigh_cell_meas_info(self) -> List[NrMeasRepUeNotificationNrNeighCellMeasInfo]: + """Gets the nr_neigh_cell_meas_info of this NrMeasRepUeNotification. + + This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if eutraNeighCellMeasInfo is included. # noqa: E501 + + :return: The nr_neigh_cell_meas_info of this NrMeasRepUeNotification. + :rtype: List[NrMeasRepUeNotificationNrNeighCellMeasInfo] + """ + return self._nr_neigh_cell_meas_info + + @nr_neigh_cell_meas_info.setter + def nr_neigh_cell_meas_info(self, nr_neigh_cell_meas_info: List[NrMeasRepUeNotificationNrNeighCellMeasInfo]): + """Sets the nr_neigh_cell_meas_info of this NrMeasRepUeNotification. + + This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if eutraNeighCellMeasInfo is included. # noqa: E501 + + :param nr_neigh_cell_meas_info: The nr_neigh_cell_meas_info of this NrMeasRepUeNotification. + :type nr_neigh_cell_meas_info: List[NrMeasRepUeNotificationNrNeighCellMeasInfo] + """ + + self._nr_neigh_cell_meas_info = nr_neigh_cell_meas_info + + @property + def serv_cell_meas_info(self) -> List[NrMeasRepUeNotificationServCellMeasInfo]: + """Gets the serv_cell_meas_info of this NrMeasRepUeNotification. + + This parameter can be repeated to contain information of all the serving cells up to N. # noqa: E501 + + :return: The serv_cell_meas_info of this NrMeasRepUeNotification. + :rtype: List[NrMeasRepUeNotificationServCellMeasInfo] + """ + return self._serv_cell_meas_info + + @serv_cell_meas_info.setter + def serv_cell_meas_info(self, serv_cell_meas_info: List[NrMeasRepUeNotificationServCellMeasInfo]): + """Sets the serv_cell_meas_info of this NrMeasRepUeNotification. + + This parameter can be repeated to contain information of all the serving cells up to N. # noqa: E501 + + :param serv_cell_meas_info: The serv_cell_meas_info of this NrMeasRepUeNotification. + :type serv_cell_meas_info: List[NrMeasRepUeNotificationServCellMeasInfo] + """ + + self._serv_cell_meas_info = serv_cell_meas_info + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this NrMeasRepUeNotification. + + + :return: The time_stamp of this NrMeasRepUeNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this NrMeasRepUeNotification. + + + :param time_stamp: The time_stamp of this NrMeasRepUeNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp + + @property + def trigger_nr(self) -> TriggerNr: + """Gets the trigger_nr of this NrMeasRepUeNotification. + + + :return: The trigger_nr of this NrMeasRepUeNotification. + :rtype: TriggerNr + """ + return self._trigger_nr + + @trigger_nr.setter + def trigger_nr(self, trigger_nr: TriggerNr): + """Sets the trigger_nr of this NrMeasRepUeNotification. + + + :param trigger_nr: The trigger_nr of this NrMeasRepUeNotification. + :type trigger_nr: TriggerNr + """ + if trigger_nr is None: + raise ValueError("Invalid value for `trigger_nr`, must not be `None`") # noqa: E501 + + self._trigger_nr = trigger_nr diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.py new file mode 100644 index 0000000000000000000000000000000000000000..f5f3548549e2a7f12ba036485aa3897e8a972d45 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeNotificationEutraNeighCellMeasInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ecgi: Ecgi=None, rsrp: int=None, rsrq: int=None, sinr: int=None): # noqa: E501 + """NrMeasRepUeNotificationEutraNeighCellMeasInfo - a model defined in Swagger + + :param ecgi: The ecgi of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. # noqa: E501 + :type ecgi: Ecgi + :param rsrp: The rsrp of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. # noqa: E501 + :type rsrp: int + :param rsrq: The rsrq of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. # noqa: E501 + :type rsrq: int + :param sinr: The sinr of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. # noqa: E501 + :type sinr: int + """ + self.swagger_types = { + 'ecgi': Ecgi, + 'rsrp': int, + 'rsrq': int, + 'sinr': int + } + + self.attribute_map = { + 'ecgi': 'ecgi', + 'rsrp': 'rsrp', + 'rsrq': 'rsrq', + 'sinr': 'sinr' + } + self._ecgi = ecgi + self._rsrp = rsrp + self._rsrq = rsrq + self._sinr = sinr + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeNotificationEutraNeighCellMeasInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeNotification_eutraNeighCellMeasInfo of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. # noqa: E501 + :rtype: NrMeasRepUeNotificationEutraNeighCellMeasInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + + :return: The ecgi of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + + :param ecgi: The ecgi of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :type ecgi: Ecgi + """ + + self._ecgi = ecgi + + @property + def rsrp(self) -> int: + """Gets the rsrp of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :return: The rsrp of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :rtype: int + """ + return self._rsrp + + @rsrp.setter + def rsrp(self, rsrp: int): + """Sets the rsrp of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + Reference Signal Received Power as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :param rsrp: The rsrp of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :type rsrp: int + """ + + self._rsrp = rsrp + + @property + def rsrq(self) -> int: + """Gets the rsrq of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :return: The rsrq of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :rtype: int + """ + return self._rsrq + + @rsrq.setter + def rsrq(self, rsrq: int): + """Sets the rsrq of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + Reference Signal Received Quality as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :param rsrq: The rsrq of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :type rsrq: int + """ + + self._rsrq = rsrq + + @property + def sinr(self) -> int: + """Gets the sinr of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + Reference Signal plus Interference Noise Ratio as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :return: The sinr of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :rtype: int + """ + return self._sinr + + @sinr.setter + def sinr(self, sinr: int): + """Sets the sinr of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + + Reference Signal plus Interference Noise Ratio as defined in ETSI TS 138 331 [i.13]. # noqa: E501 + + :param sinr: The sinr of this NrMeasRepUeNotificationEutraNeighCellMeasInfo. + :type sinr: int + """ + + self._sinr = sinr diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_n_cell.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_n_cell.py new file mode 100644 index 0000000000000000000000000000000000000000..31aaaf2c512719f50c098b8a780fb399e55a93de --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_n_cell.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr # noqa: F401,E501 +from swagger_server.models.rs_index_results import RsIndexResults # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeNotificationNCell(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr=None, meas_quantity_results_ssb_cell: MeasQuantityResultsNr=None, rs_index_results: RsIndexResults=None): # noqa: E501 + """NrMeasRepUeNotificationNCell - a model defined in Swagger + + :param meas_quantity_results_csi_rs_cell: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNCell. # noqa: E501 + :type meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr + :param meas_quantity_results_ssb_cell: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNCell. # noqa: E501 + :type meas_quantity_results_ssb_cell: MeasQuantityResultsNr + :param rs_index_results: The rs_index_results of this NrMeasRepUeNotificationNCell. # noqa: E501 + :type rs_index_results: RsIndexResults + """ + self.swagger_types = { + 'meas_quantity_results_csi_rs_cell': MeasQuantityResultsNr, + 'meas_quantity_results_ssb_cell': MeasQuantityResultsNr, + 'rs_index_results': RsIndexResults + } + + self.attribute_map = { + 'meas_quantity_results_csi_rs_cell': 'measQuantityResultsCsiRsCell', + 'meas_quantity_results_ssb_cell': 'measQuantityResultsSsbCell', + 'rs_index_results': 'rsIndexResults' + } + self._meas_quantity_results_csi_rs_cell = meas_quantity_results_csi_rs_cell + self._meas_quantity_results_ssb_cell = meas_quantity_results_ssb_cell + self._rs_index_results = rs_index_results + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeNotificationNCell': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeNotification_nCell of this NrMeasRepUeNotificationNCell. # noqa: E501 + :rtype: NrMeasRepUeNotificationNCell + """ + return util.deserialize_model(dikt, cls) + + @property + def meas_quantity_results_csi_rs_cell(self) -> MeasQuantityResultsNr: + """Gets the meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNCell. + + + :return: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNCell. + :rtype: MeasQuantityResultsNr + """ + return self._meas_quantity_results_csi_rs_cell + + @meas_quantity_results_csi_rs_cell.setter + def meas_quantity_results_csi_rs_cell(self, meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr): + """Sets the meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNCell. + + + :param meas_quantity_results_csi_rs_cell: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNCell. + :type meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr + """ + + self._meas_quantity_results_csi_rs_cell = meas_quantity_results_csi_rs_cell + + @property + def meas_quantity_results_ssb_cell(self) -> MeasQuantityResultsNr: + """Gets the meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNCell. + + + :return: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNCell. + :rtype: MeasQuantityResultsNr + """ + return self._meas_quantity_results_ssb_cell + + @meas_quantity_results_ssb_cell.setter + def meas_quantity_results_ssb_cell(self, meas_quantity_results_ssb_cell: MeasQuantityResultsNr): + """Sets the meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNCell. + + + :param meas_quantity_results_ssb_cell: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNCell. + :type meas_quantity_results_ssb_cell: MeasQuantityResultsNr + """ + + self._meas_quantity_results_ssb_cell = meas_quantity_results_ssb_cell + + @property + def rs_index_results(self) -> RsIndexResults: + """Gets the rs_index_results of this NrMeasRepUeNotificationNCell. + + + :return: The rs_index_results of this NrMeasRepUeNotificationNCell. + :rtype: RsIndexResults + """ + return self._rs_index_results + + @rs_index_results.setter + def rs_index_results(self, rs_index_results: RsIndexResults): + """Sets the rs_index_results of this NrMeasRepUeNotificationNCell. + + + :param rs_index_results: The rs_index_results of this NrMeasRepUeNotificationNCell. + :type rs_index_results: RsIndexResults + """ + + self._rs_index_results = rs_index_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.py new file mode 100644 index 0000000000000000000000000000000000000000..c08448ce181090a9b1812187e7b8b76d72a02ad9 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr # noqa: F401,E501 +from swagger_server.models.nr_cell_id import NrCellId # noqa: F401,E501 +from swagger_server.models.rs_index_results import RsIndexResults # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeNotificationNrNeighCellMeasInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr=None, meas_quantity_results_ssb_cell: MeasQuantityResultsNr=None, nrcgi: NrCellId=None, rs_index_results: RsIndexResults=None): # noqa: E501 + """NrMeasRepUeNotificationNrNeighCellMeasInfo - a model defined in Swagger + + :param meas_quantity_results_csi_rs_cell: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. # noqa: E501 + :type meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr + :param meas_quantity_results_ssb_cell: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. # noqa: E501 + :type meas_quantity_results_ssb_cell: MeasQuantityResultsNr + :param nrcgi: The nrcgi of this NrMeasRepUeNotificationNrNeighCellMeasInfo. # noqa: E501 + :type nrcgi: NrCellId + :param rs_index_results: The rs_index_results of this NrMeasRepUeNotificationNrNeighCellMeasInfo. # noqa: E501 + :type rs_index_results: RsIndexResults + """ + self.swagger_types = { + 'meas_quantity_results_csi_rs_cell': MeasQuantityResultsNr, + 'meas_quantity_results_ssb_cell': MeasQuantityResultsNr, + 'nrcgi': NrCellId, + 'rs_index_results': RsIndexResults + } + + self.attribute_map = { + 'meas_quantity_results_csi_rs_cell': 'measQuantityResultsCsiRsCell', + 'meas_quantity_results_ssb_cell': 'measQuantityResultsSsbCell', + 'nrcgi': 'nrcgi', + 'rs_index_results': 'rsIndexResults' + } + self._meas_quantity_results_csi_rs_cell = meas_quantity_results_csi_rs_cell + self._meas_quantity_results_ssb_cell = meas_quantity_results_ssb_cell + self._nrcgi = nrcgi + self._rs_index_results = rs_index_results + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeNotificationNrNeighCellMeasInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeNotification_nrNeighCellMeasInfo of this NrMeasRepUeNotificationNrNeighCellMeasInfo. # noqa: E501 + :rtype: NrMeasRepUeNotificationNrNeighCellMeasInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def meas_quantity_results_csi_rs_cell(self) -> MeasQuantityResultsNr: + """Gets the meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :return: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :rtype: MeasQuantityResultsNr + """ + return self._meas_quantity_results_csi_rs_cell + + @meas_quantity_results_csi_rs_cell.setter + def meas_quantity_results_csi_rs_cell(self, meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr): + """Sets the meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :param meas_quantity_results_csi_rs_cell: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :type meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr + """ + + self._meas_quantity_results_csi_rs_cell = meas_quantity_results_csi_rs_cell + + @property + def meas_quantity_results_ssb_cell(self) -> MeasQuantityResultsNr: + """Gets the meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :return: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :rtype: MeasQuantityResultsNr + """ + return self._meas_quantity_results_ssb_cell + + @meas_quantity_results_ssb_cell.setter + def meas_quantity_results_ssb_cell(self, meas_quantity_results_ssb_cell: MeasQuantityResultsNr): + """Sets the meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :param meas_quantity_results_ssb_cell: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :type meas_quantity_results_ssb_cell: MeasQuantityResultsNr + """ + + self._meas_quantity_results_ssb_cell = meas_quantity_results_ssb_cell + + @property + def nrcgi(self) -> NrCellId: + """Gets the nrcgi of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :return: The nrcgi of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :rtype: NrCellId + """ + return self._nrcgi + + @nrcgi.setter + def nrcgi(self, nrcgi: NrCellId): + """Sets the nrcgi of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :param nrcgi: The nrcgi of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :type nrcgi: NrCellId + """ + + self._nrcgi = nrcgi + + @property + def rs_index_results(self) -> RsIndexResults: + """Gets the rs_index_results of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :return: The rs_index_results of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :rtype: RsIndexResults + """ + return self._rs_index_results + + @rs_index_results.setter + def rs_index_results(self, rs_index_results: RsIndexResults): + """Sets the rs_index_results of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + + + :param rs_index_results: The rs_index_results of this NrMeasRepUeNotificationNrNeighCellMeasInfo. + :type rs_index_results: RsIndexResults + """ + + self._rs_index_results = rs_index_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_s_cell.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_s_cell.py new file mode 100644 index 0000000000000000000000000000000000000000..2b58b603a7bd72f182bf40c440d047d1115dd7ba --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_s_cell.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr # noqa: F401,E501 +from swagger_server.models.rs_index_results import RsIndexResults # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeNotificationSCell(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr=None, meas_quantity_results_ssb_cell: MeasQuantityResultsNr=None, rs_index_results: RsIndexResults=None): # noqa: E501 + """NrMeasRepUeNotificationSCell - a model defined in Swagger + + :param meas_quantity_results_csi_rs_cell: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationSCell. # noqa: E501 + :type meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr + :param meas_quantity_results_ssb_cell: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationSCell. # noqa: E501 + :type meas_quantity_results_ssb_cell: MeasQuantityResultsNr + :param rs_index_results: The rs_index_results of this NrMeasRepUeNotificationSCell. # noqa: E501 + :type rs_index_results: RsIndexResults + """ + self.swagger_types = { + 'meas_quantity_results_csi_rs_cell': MeasQuantityResultsNr, + 'meas_quantity_results_ssb_cell': MeasQuantityResultsNr, + 'rs_index_results': RsIndexResults + } + + self.attribute_map = { + 'meas_quantity_results_csi_rs_cell': 'measQuantityResultsCsiRsCell', + 'meas_quantity_results_ssb_cell': 'measQuantityResultsSsbCell', + 'rs_index_results': 'rsIndexResults' + } + self._meas_quantity_results_csi_rs_cell = meas_quantity_results_csi_rs_cell + self._meas_quantity_results_ssb_cell = meas_quantity_results_ssb_cell + self._rs_index_results = rs_index_results + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeNotificationSCell': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeNotification_sCell of this NrMeasRepUeNotificationSCell. # noqa: E501 + :rtype: NrMeasRepUeNotificationSCell + """ + return util.deserialize_model(dikt, cls) + + @property + def meas_quantity_results_csi_rs_cell(self) -> MeasQuantityResultsNr: + """Gets the meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationSCell. + + + :return: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationSCell. + :rtype: MeasQuantityResultsNr + """ + return self._meas_quantity_results_csi_rs_cell + + @meas_quantity_results_csi_rs_cell.setter + def meas_quantity_results_csi_rs_cell(self, meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr): + """Sets the meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationSCell. + + + :param meas_quantity_results_csi_rs_cell: The meas_quantity_results_csi_rs_cell of this NrMeasRepUeNotificationSCell. + :type meas_quantity_results_csi_rs_cell: MeasQuantityResultsNr + """ + + self._meas_quantity_results_csi_rs_cell = meas_quantity_results_csi_rs_cell + + @property + def meas_quantity_results_ssb_cell(self) -> MeasQuantityResultsNr: + """Gets the meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationSCell. + + + :return: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationSCell. + :rtype: MeasQuantityResultsNr + """ + return self._meas_quantity_results_ssb_cell + + @meas_quantity_results_ssb_cell.setter + def meas_quantity_results_ssb_cell(self, meas_quantity_results_ssb_cell: MeasQuantityResultsNr): + """Sets the meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationSCell. + + + :param meas_quantity_results_ssb_cell: The meas_quantity_results_ssb_cell of this NrMeasRepUeNotificationSCell. + :type meas_quantity_results_ssb_cell: MeasQuantityResultsNr + """ + + self._meas_quantity_results_ssb_cell = meas_quantity_results_ssb_cell + + @property + def rs_index_results(self) -> RsIndexResults: + """Gets the rs_index_results of this NrMeasRepUeNotificationSCell. + + + :return: The rs_index_results of this NrMeasRepUeNotificationSCell. + :rtype: RsIndexResults + """ + return self._rs_index_results + + @rs_index_results.setter + def rs_index_results(self, rs_index_results: RsIndexResults): + """Sets the rs_index_results of this NrMeasRepUeNotificationSCell. + + + :param rs_index_results: The rs_index_results of this NrMeasRepUeNotificationSCell. + :type rs_index_results: RsIndexResults + """ + + self._rs_index_results = rs_index_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_serv_cell_meas_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_serv_cell_meas_info.py new file mode 100644 index 0000000000000000000000000000000000000000..b69d9adcd97523a72264d8ba03a938f3135397d0 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_notification_serv_cell_meas_info.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.n_rcgi import NRcgi # noqa: F401,E501 +from swagger_server.models.nr_meas_rep_ue_notification_n_cell import NrMeasRepUeNotificationNCell # noqa: F401,E501 +from swagger_server.models.nr_meas_rep_ue_notification_s_cell import NrMeasRepUeNotificationSCell # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeNotificationServCellMeasInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, n_cell: NrMeasRepUeNotificationNCell=None, nrcgi: NRcgi=None, s_cell: NrMeasRepUeNotificationSCell=None): # noqa: E501 + """NrMeasRepUeNotificationServCellMeasInfo - a model defined in Swagger + + :param n_cell: The n_cell of this NrMeasRepUeNotificationServCellMeasInfo. # noqa: E501 + :type n_cell: NrMeasRepUeNotificationNCell + :param nrcgi: The nrcgi of this NrMeasRepUeNotificationServCellMeasInfo. # noqa: E501 + :type nrcgi: NRcgi + :param s_cell: The s_cell of this NrMeasRepUeNotificationServCellMeasInfo. # noqa: E501 + :type s_cell: NrMeasRepUeNotificationSCell + """ + self.swagger_types = { + 'n_cell': NrMeasRepUeNotificationNCell, + 'nrcgi': NRcgi, + 's_cell': NrMeasRepUeNotificationSCell + } + + self.attribute_map = { + 'n_cell': 'nCell', + 'nrcgi': 'nrcgi', + 's_cell': 'sCell' + } + self._n_cell = n_cell + self._nrcgi = nrcgi + self._s_cell = s_cell + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeNotificationServCellMeasInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeNotification_servCellMeasInfo of this NrMeasRepUeNotificationServCellMeasInfo. # noqa: E501 + :rtype: NrMeasRepUeNotificationServCellMeasInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def n_cell(self) -> NrMeasRepUeNotificationNCell: + """Gets the n_cell of this NrMeasRepUeNotificationServCellMeasInfo. + + + :return: The n_cell of this NrMeasRepUeNotificationServCellMeasInfo. + :rtype: NrMeasRepUeNotificationNCell + """ + return self._n_cell + + @n_cell.setter + def n_cell(self, n_cell: NrMeasRepUeNotificationNCell): + """Sets the n_cell of this NrMeasRepUeNotificationServCellMeasInfo. + + + :param n_cell: The n_cell of this NrMeasRepUeNotificationServCellMeasInfo. + :type n_cell: NrMeasRepUeNotificationNCell + """ + + self._n_cell = n_cell + + @property + def nrcgi(self) -> NRcgi: + """Gets the nrcgi of this NrMeasRepUeNotificationServCellMeasInfo. + + + :return: The nrcgi of this NrMeasRepUeNotificationServCellMeasInfo. + :rtype: NRcgi + """ + return self._nrcgi + + @nrcgi.setter + def nrcgi(self, nrcgi: NRcgi): + """Sets the nrcgi of this NrMeasRepUeNotificationServCellMeasInfo. + + + :param nrcgi: The nrcgi of this NrMeasRepUeNotificationServCellMeasInfo. + :type nrcgi: NRcgi + """ + + self._nrcgi = nrcgi + + @property + def s_cell(self) -> NrMeasRepUeNotificationSCell: + """Gets the s_cell of this NrMeasRepUeNotificationServCellMeasInfo. + + + :return: The s_cell of this NrMeasRepUeNotificationServCellMeasInfo. + :rtype: NrMeasRepUeNotificationSCell + """ + return self._s_cell + + @s_cell.setter + def s_cell(self, s_cell: NrMeasRepUeNotificationSCell): + """Sets the s_cell of this NrMeasRepUeNotificationServCellMeasInfo. + + + :param s_cell: The s_cell of this NrMeasRepUeNotificationServCellMeasInfo. + :type s_cell: NrMeasRepUeNotificationSCell + """ + + self._s_cell = s_cell diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..ce99a4ca7be97491bec13cadcea605c43b96f4b6 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.nr_meas_rep_ue_subscription_filter_criteria_nr_mrs import NrMeasRepUeSubscriptionFilterCriteriaNrMrs # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_nr_mrs: NrMeasRepUeSubscriptionFilterCriteriaNrMrs=None, subscription_type: str=None): # noqa: E501 + """NrMeasRepUeSubscription - a model defined in Swagger + + :param links: The links of this NrMeasRepUeSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this NrMeasRepUeSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this NrMeasRepUeSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_nr_mrs: The filter_criteria_nr_mrs of this NrMeasRepUeSubscription. # noqa: E501 + :type filter_criteria_nr_mrs: NrMeasRepUeSubscriptionFilterCriteriaNrMrs + :param subscription_type: The subscription_type of this NrMeasRepUeSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_nr_mrs': NrMeasRepUeSubscriptionFilterCriteriaNrMrs, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_nr_mrs': 'filterCriteriaNrMrs', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_nr_mrs = filter_criteria_nr_mrs + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeSubscription of this NrMeasRepUeSubscription. # noqa: E501 + :rtype: NrMeasRepUeSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this NrMeasRepUeSubscription. + + + :return: The links of this NrMeasRepUeSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this NrMeasRepUeSubscription. + + + :param links: The links of this NrMeasRepUeSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this NrMeasRepUeSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this NrMeasRepUeSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this NrMeasRepUeSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this NrMeasRepUeSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this NrMeasRepUeSubscription. + + + :return: The expiry_deadline of this NrMeasRepUeSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this NrMeasRepUeSubscription. + + + :param expiry_deadline: The expiry_deadline of this NrMeasRepUeSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_nr_mrs(self) -> NrMeasRepUeSubscriptionFilterCriteriaNrMrs: + """Gets the filter_criteria_nr_mrs of this NrMeasRepUeSubscription. + + + :return: The filter_criteria_nr_mrs of this NrMeasRepUeSubscription. + :rtype: NrMeasRepUeSubscriptionFilterCriteriaNrMrs + """ + return self._filter_criteria_nr_mrs + + @filter_criteria_nr_mrs.setter + def filter_criteria_nr_mrs(self, filter_criteria_nr_mrs: NrMeasRepUeSubscriptionFilterCriteriaNrMrs): + """Sets the filter_criteria_nr_mrs of this NrMeasRepUeSubscription. + + + :param filter_criteria_nr_mrs: The filter_criteria_nr_mrs of this NrMeasRepUeSubscription. + :type filter_criteria_nr_mrs: NrMeasRepUeSubscriptionFilterCriteriaNrMrs + """ + if filter_criteria_nr_mrs is None: + raise ValueError("Invalid value for `filter_criteria_nr_mrs`, must not be `None`") # noqa: E501 + + self._filter_criteria_nr_mrs = filter_criteria_nr_mrs + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this NrMeasRepUeSubscription. + + Shall be set to \"NrMeasRepUeSubscription\". # noqa: E501 + + :return: The subscription_type of this NrMeasRepUeSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this NrMeasRepUeSubscription. + + Shall be set to \"NrMeasRepUeSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this NrMeasRepUeSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.py new file mode 100644 index 0000000000000000000000000000000000000000..fe361354247901d2886be58bde8968f583df0d71 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.n_rcgi import NRcgi # noqa: F401,E501 +from swagger_server.models.trigger_nr import TriggerNr # noqa: F401,E501 +from swagger_server import util + + +class NrMeasRepUeSubscriptionFilterCriteriaNrMrs(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, associate_id: List[AssociateId]=None, nrcgi: List[NRcgi]=None, trigger_nr: List[TriggerNr]=None): # noqa: E501 + """NrMeasRepUeSubscriptionFilterCriteriaNrMrs - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. # noqa: E501 + :type app_instance_id: str + :param associate_id: The associate_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. # noqa: E501 + :type associate_id: List[AssociateId] + :param nrcgi: The nrcgi of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. # noqa: E501 + :type nrcgi: List[NRcgi] + :param trigger_nr: The trigger_nr of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. # noqa: E501 + :type trigger_nr: List[TriggerNr] + """ + self.swagger_types = { + 'app_instance_id': str, + 'associate_id': List[AssociateId], + 'nrcgi': List[NRcgi], + 'trigger_nr': List[TriggerNr] + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'associate_id': 'associateId', + 'nrcgi': 'nrcgi', + 'trigger_nr': 'triggerNr' + } + self._app_instance_id = app_instance_id + self._associate_id = associate_id + self._nrcgi = nrcgi + self._trigger_nr = trigger_nr + + @classmethod + def from_dict(cls, dikt) -> 'NrMeasRepUeSubscriptionFilterCriteriaNrMrs': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The NrMeasRepUeSubscription_filterCriteriaNrMrs of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. # noqa: E501 + :rtype: NrMeasRepUeSubscriptionFilterCriteriaNrMrs + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :type app_instance_id: str + """ + + self._app_instance_id = app_instance_id + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def nrcgi(self) -> List[NRcgi]: + """Gets the nrcgi of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + NR Cell Global Identier. # noqa: E501 + + :return: The nrcgi of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :rtype: List[NRcgi] + """ + return self._nrcgi + + @nrcgi.setter + def nrcgi(self, nrcgi: List[NRcgi]): + """Sets the nrcgi of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + NR Cell Global Identier. # noqa: E501 + + :param nrcgi: The nrcgi of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :type nrcgi: List[NRcgi] + """ + + self._nrcgi = nrcgi + + @property + def trigger_nr(self) -> List[TriggerNr]: + """Gets the trigger_nr of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + Corresponds to a specific 5G UE Measurement Report trigger. # noqa: E501 + + :return: The trigger_nr of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :rtype: List[TriggerNr] + """ + return self._trigger_nr + + @trigger_nr.setter + def trigger_nr(self, trigger_nr: List[TriggerNr]): + """Sets the trigger_nr of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + + Corresponds to a specific 5G UE Measurement Report trigger. # noqa: E501 + + :param trigger_nr: The trigger_nr of this NrMeasRepUeSubscriptionFilterCriteriaNrMrs. + :type trigger_nr: List[TriggerNr] + """ + + self._trigger_nr = trigger_nr diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/plmn.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/plmn.py new file mode 100644 index 0000000000000000000000000000000000000000..a4b02be46f242d7b24768d36ce6ac09bd3e33d56 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/plmn.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class Plmn(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, mcc: str=None, mnc: str=None): # noqa: E501 + """Plmn - a model defined in Swagger + + :param mcc: The mcc of this Plmn. # noqa: E501 + :type mcc: str + :param mnc: The mnc of this Plmn. # noqa: E501 + :type mnc: str + """ + self.swagger_types = { + 'mcc': str, + 'mnc': str + } + + self.attribute_map = { + 'mcc': 'mcc', + 'mnc': 'mnc' + } + self._mcc = mcc + self._mnc = mnc + + @classmethod + def from_dict(cls, dikt) -> 'Plmn': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The Plmn of this Plmn. # noqa: E501 + :rtype: Plmn + """ + return util.deserialize_model(dikt, cls) + + @property + def mcc(self) -> str: + """Gets the mcc of this Plmn. + + The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The mcc of this Plmn. + :rtype: str + """ + return self._mcc + + @mcc.setter + def mcc(self, mcc: str): + """Sets the mcc of this Plmn. + + The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param mcc: The mcc of this Plmn. + :type mcc: str + """ + if mcc is None: + raise ValueError("Invalid value for `mcc`, must not be `None`") # noqa: E501 + + self._mcc = mcc + + @property + def mnc(self) -> str: + """Gets the mnc of this Plmn. + + The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The mnc of this Plmn. + :rtype: str + """ + return self._mnc + + @mnc.setter + def mnc(self, mnc: str): + """Sets the mnc of this Plmn. + + The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param mnc: The mnc of this Plmn. + :type mnc: str + """ + if mnc is None: + raise ValueError("Invalid value for `mnc`, must not be `None`") # noqa: E501 + + self._mnc = mnc diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/plmn_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/plmn_info.py new file mode 100644 index 0000000000000000000000000000000000000000..2ef00f01583f0e29f7827c4362ef47bc6b7e1988 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/plmn_info.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.plmn import Plmn # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class PlmnInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, plmn: List[Plmn]=None, time_stamp: TimeStamp=None): # noqa: E501 + """PlmnInfo - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this PlmnInfo. # noqa: E501 + :type app_instance_id: str + :param plmn: The plmn of this PlmnInfo. # noqa: E501 + :type plmn: List[Plmn] + :param time_stamp: The time_stamp of this PlmnInfo. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'app_instance_id': str, + 'plmn': List[Plmn], + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'plmn': 'plmn', + 'time_stamp': 'timeStamp' + } + self._app_instance_id = app_instance_id + self._plmn = plmn + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'PlmnInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The PlmnInfo of this PlmnInfo. # noqa: E501 + :rtype: PlmnInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this PlmnInfo. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this PlmnInfo. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this PlmnInfo. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this PlmnInfo. + :type app_instance_id: str + """ + if app_instance_id is None: + raise ValueError("Invalid value for `app_instance_id`, must not be `None`") # noqa: E501 + + self._app_instance_id = app_instance_id + + @property + def plmn(self) -> List[Plmn]: + """Gets the plmn of this PlmnInfo. + + Public Land Mobile Network Identity. # noqa: E501 + + :return: The plmn of this PlmnInfo. + :rtype: List[Plmn] + """ + return self._plmn + + @plmn.setter + def plmn(self, plmn: List[Plmn]): + """Sets the plmn of this PlmnInfo. + + Public Land Mobile Network Identity. # noqa: E501 + + :param plmn: The plmn of this PlmnInfo. + :type plmn: List[Plmn] + """ + if plmn is None: + raise ValueError("Invalid value for `plmn`, must not be `None`") # noqa: E501 + + self._plmn = plmn + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this PlmnInfo. + + + :return: The time_stamp of this PlmnInfo. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this PlmnInfo. + + + :param time_stamp: The time_stamp of this PlmnInfo. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/problem_details.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/problem_details.py new file mode 100644 index 0000000000000000000000000000000000000000..cbb7c9ddc8cb80f25d316c77dfa97ec95daf083f --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/problem_details.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class ProblemDetails(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, detail: str=None, instance: str=None, status: int=None, title: str=None, type: str=None): # noqa: E501 + """ProblemDetails - a model defined in Swagger + + :param detail: The detail of this ProblemDetails. # noqa: E501 + :type detail: str + :param instance: The instance of this ProblemDetails. # noqa: E501 + :type instance: str + :param status: The status of this ProblemDetails. # noqa: E501 + :type status: int + :param title: The title of this ProblemDetails. # noqa: E501 + :type title: str + :param type: The type of this ProblemDetails. # noqa: E501 + :type type: str + """ + self.swagger_types = { + 'detail': str, + 'instance': str, + 'status': int, + 'title': str, + 'type': str + } + + self.attribute_map = { + 'detail': 'detail', + 'instance': 'instance', + 'status': 'status', + 'title': 'title', + 'type': 'type' + } + self._detail = detail + self._instance = instance + self._status = status + self._title = title + self._type = type + + @classmethod + def from_dict(cls, dikt) -> 'ProblemDetails': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ProblemDetails of this ProblemDetails. # noqa: E501 + :rtype: ProblemDetails + """ + return util.deserialize_model(dikt, cls) + + @property + def detail(self) -> str: + """Gets the detail of this ProblemDetails. + + A human-readable explanation specific to this occurrence of the problem # noqa: E501 + + :return: The detail of this ProblemDetails. + :rtype: str + """ + return self._detail + + @detail.setter + def detail(self, detail: str): + """Sets the detail of this ProblemDetails. + + A human-readable explanation specific to this occurrence of the problem # noqa: E501 + + :param detail: The detail of this ProblemDetails. + :type detail: str + """ + + self._detail = detail + + @property + def instance(self) -> str: + """Gets the instance of this ProblemDetails. + + A URI reference that identifies the specific occurrence of the problem # noqa: E501 + + :return: The instance of this ProblemDetails. + :rtype: str + """ + return self._instance + + @instance.setter + def instance(self, instance: str): + """Sets the instance of this ProblemDetails. + + A URI reference that identifies the specific occurrence of the problem # noqa: E501 + + :param instance: The instance of this ProblemDetails. + :type instance: str + """ + + self._instance = instance + + @property + def status(self) -> int: + """Gets the status of this ProblemDetails. + + The HTTP status code for this occurrence of the problem # noqa: E501 + + :return: The status of this ProblemDetails. + :rtype: int + """ + return self._status + + @status.setter + def status(self, status: int): + """Sets the status of this ProblemDetails. + + The HTTP status code for this occurrence of the problem # noqa: E501 + + :param status: The status of this ProblemDetails. + :type status: int + """ + + self._status = status + + @property + def title(self) -> str: + """Gets the title of this ProblemDetails. + + A short, human-readable summary of the problem type # noqa: E501 + + :return: The title of this ProblemDetails. + :rtype: str + """ + return self._title + + @title.setter + def title(self, title: str): + """Sets the title of this ProblemDetails. + + A short, human-readable summary of the problem type # noqa: E501 + + :param title: The title of this ProblemDetails. + :type title: str + """ + + self._title = title + + @property + def type(self) -> str: + """Gets the type of this ProblemDetails. + + A URI reference according to IETF RFC 3986 that identifies the problem type # noqa: E501 + + :return: The type of this ProblemDetails. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type: str): + """Sets the type of this ProblemDetails. + + A URI reference according to IETF RFC 3986 that identifies the problem type # noqa: E501 + + :param type: The type of this ProblemDetails. + :type type: str + """ + + self._type = type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..52e4b320241c337b8239f2f74d2fffc34424b04a --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification.py @@ -0,0 +1,235 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.rab_est_notification_erab_qos_parameters import RabEstNotificationErabQosParameters # noqa: F401,E501 +from swagger_server.models.rab_est_notification_temp_ue_id import RabEstNotificationTempUeId # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class RabEstNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ecgi: Ecgi=None, erab_id: int=None, erab_qos_parameters: RabEstNotificationErabQosParameters=None, notification_type: str=None, temp_ue_id: RabEstNotificationTempUeId=None, time_stamp: TimeStamp=None): # noqa: E501 + """RabEstNotification - a model defined in Swagger + + :param associate_id: The associate_id of this RabEstNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this RabEstNotification. # noqa: E501 + :type ecgi: Ecgi + :param erab_id: The erab_id of this RabEstNotification. # noqa: E501 + :type erab_id: int + :param erab_qos_parameters: The erab_qos_parameters of this RabEstNotification. # noqa: E501 + :type erab_qos_parameters: RabEstNotificationErabQosParameters + :param notification_type: The notification_type of this RabEstNotification. # noqa: E501 + :type notification_type: str + :param temp_ue_id: The temp_ue_id of this RabEstNotification. # noqa: E501 + :type temp_ue_id: RabEstNotificationTempUeId + :param time_stamp: The time_stamp of this RabEstNotification. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ecgi': Ecgi, + 'erab_id': int, + 'erab_qos_parameters': RabEstNotificationErabQosParameters, + 'notification_type': str, + 'temp_ue_id': RabEstNotificationTempUeId, + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 'erab_id': 'erabId', + 'erab_qos_parameters': 'erabQosParameters', + 'notification_type': 'notificationType', + 'temp_ue_id': 'tempUeId', + 'time_stamp': 'timeStamp' + } + self._associate_id = associate_id + self._ecgi = ecgi + self._erab_id = erab_id + self._erab_qos_parameters = erab_qos_parameters + self._notification_type = notification_type + self._temp_ue_id = temp_ue_id + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'RabEstNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabEstNotification of this RabEstNotification. # noqa: E501 + :rtype: RabEstNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this RabEstNotification. + + 0 to N identifiers to bind the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this RabEstNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this RabEstNotification. + + 0 to N identifiers to bind the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this RabEstNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this RabEstNotification. + + + :return: The ecgi of this RabEstNotification. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this RabEstNotification. + + + :param ecgi: The ecgi of this RabEstNotification. + :type ecgi: Ecgi + """ + if ecgi is None: + raise ValueError("Invalid value for `ecgi`, must not be `None`") # noqa: E501 + + self._ecgi = ecgi + + @property + def erab_id(self) -> int: + """Gets the erab_id of this RabEstNotification. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The erab_id of this RabEstNotification. + :rtype: int + """ + return self._erab_id + + @erab_id.setter + def erab_id(self, erab_id: int): + """Sets the erab_id of this RabEstNotification. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param erab_id: The erab_id of this RabEstNotification. + :type erab_id: int + """ + if erab_id is None: + raise ValueError("Invalid value for `erab_id`, must not be `None`") # noqa: E501 + + self._erab_id = erab_id + + @property + def erab_qos_parameters(self) -> RabEstNotificationErabQosParameters: + """Gets the erab_qos_parameters of this RabEstNotification. + + + :return: The erab_qos_parameters of this RabEstNotification. + :rtype: RabEstNotificationErabQosParameters + """ + return self._erab_qos_parameters + + @erab_qos_parameters.setter + def erab_qos_parameters(self, erab_qos_parameters: RabEstNotificationErabQosParameters): + """Sets the erab_qos_parameters of this RabEstNotification. + + + :param erab_qos_parameters: The erab_qos_parameters of this RabEstNotification. + :type erab_qos_parameters: RabEstNotificationErabQosParameters + """ + + self._erab_qos_parameters = erab_qos_parameters + + @property + def notification_type(self) -> str: + """Gets the notification_type of this RabEstNotification. + + Shall be set to \"RabEstNotification\". # noqa: E501 + + :return: The notification_type of this RabEstNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this RabEstNotification. + + Shall be set to \"RabEstNotification\". # noqa: E501 + + :param notification_type: The notification_type of this RabEstNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def temp_ue_id(self) -> RabEstNotificationTempUeId: + """Gets the temp_ue_id of this RabEstNotification. + + + :return: The temp_ue_id of this RabEstNotification. + :rtype: RabEstNotificationTempUeId + """ + return self._temp_ue_id + + @temp_ue_id.setter + def temp_ue_id(self, temp_ue_id: RabEstNotificationTempUeId): + """Sets the temp_ue_id of this RabEstNotification. + + + :param temp_ue_id: The temp_ue_id of this RabEstNotification. + :type temp_ue_id: RabEstNotificationTempUeId + """ + + self._temp_ue_id = temp_ue_id + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this RabEstNotification. + + + :return: The time_stamp of this RabEstNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this RabEstNotification. + + + :param time_stamp: The time_stamp of this RabEstNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_erab_qos_parameters.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_erab_qos_parameters.py new file mode 100644 index 0000000000000000000000000000000000000000..abe9c34c21591160325c04e00bbd88ee8518afb4 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_erab_qos_parameters.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.rab_est_notification_erab_qos_parameters_qos_information import RabEstNotificationErabQosParametersQosInformation # noqa: F401,E501 +from swagger_server import util + + +class RabEstNotificationErabQosParameters(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, qci: int=None, qos_information: RabEstNotificationErabQosParametersQosInformation=None): # noqa: E501 + """RabEstNotificationErabQosParameters - a model defined in Swagger + + :param qci: The qci of this RabEstNotificationErabQosParameters. # noqa: E501 + :type qci: int + :param qos_information: The qos_information of this RabEstNotificationErabQosParameters. # noqa: E501 + :type qos_information: RabEstNotificationErabQosParametersQosInformation + """ + self.swagger_types = { + 'qci': int, + 'qos_information': RabEstNotificationErabQosParametersQosInformation + } + + self.attribute_map = { + 'qci': 'qci', + 'qos_information': 'qosInformation' + } + self._qci = qci + self._qos_information = qos_information + + @classmethod + def from_dict(cls, dikt) -> 'RabEstNotificationErabQosParameters': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabEstNotification_erabQosParameters of this RabEstNotificationErabQosParameters. # noqa: E501 + :rtype: RabEstNotificationErabQosParameters + """ + return util.deserialize_model(dikt, cls) + + @property + def qci(self) -> int: + """Gets the qci of this RabEstNotificationErabQosParameters. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :return: The qci of this RabEstNotificationErabQosParameters. + :rtype: int + """ + return self._qci + + @qci.setter + def qci(self, qci: int): + """Sets the qci of this RabEstNotificationErabQosParameters. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :param qci: The qci of this RabEstNotificationErabQosParameters. + :type qci: int + """ + if qci is None: + raise ValueError("Invalid value for `qci`, must not be `None`") # noqa: E501 + + self._qci = qci + + @property + def qos_information(self) -> RabEstNotificationErabQosParametersQosInformation: + """Gets the qos_information of this RabEstNotificationErabQosParameters. + + + :return: The qos_information of this RabEstNotificationErabQosParameters. + :rtype: RabEstNotificationErabQosParametersQosInformation + """ + return self._qos_information + + @qos_information.setter + def qos_information(self, qos_information: RabEstNotificationErabQosParametersQosInformation): + """Sets the qos_information of this RabEstNotificationErabQosParameters. + + + :param qos_information: The qos_information of this RabEstNotificationErabQosParameters. + :type qos_information: RabEstNotificationErabQosParametersQosInformation + """ + + self._qos_information = qos_information diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_erab_qos_parameters_qos_information.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_erab_qos_parameters_qos_information.py new file mode 100644 index 0000000000000000000000000000000000000000..34e36699098c6d49dc3c9f40a5809d4655b7399c --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_erab_qos_parameters_qos_information.py @@ -0,0 +1,156 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class RabEstNotificationErabQosParametersQosInformation(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, erab_gbr_dl: int=None, erab_gbr_ul: int=None, erab_mbr_dl: int=None, erab_mbr_ul: int=None): # noqa: E501 + """RabEstNotificationErabQosParametersQosInformation - a model defined in Swagger + + :param erab_gbr_dl: The erab_gbr_dl of this RabEstNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_gbr_dl: int + :param erab_gbr_ul: The erab_gbr_ul of this RabEstNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_gbr_ul: int + :param erab_mbr_dl: The erab_mbr_dl of this RabEstNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_mbr_dl: int + :param erab_mbr_ul: The erab_mbr_ul of this RabEstNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_mbr_ul: int + """ + self.swagger_types = { + 'erab_gbr_dl': int, + 'erab_gbr_ul': int, + 'erab_mbr_dl': int, + 'erab_mbr_ul': int + } + + self.attribute_map = { + 'erab_gbr_dl': 'erabGbrDl', + 'erab_gbr_ul': 'erabGbrUl', + 'erab_mbr_dl': 'erabMbrDl', + 'erab_mbr_ul': 'erabMbrUl' + } + self._erab_gbr_dl = erab_gbr_dl + self._erab_gbr_ul = erab_gbr_ul + self._erab_mbr_dl = erab_mbr_dl + self._erab_mbr_ul = erab_mbr_ul + + @classmethod + def from_dict(cls, dikt) -> 'RabEstNotificationErabQosParametersQosInformation': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabEstNotification_erabQosParameters_qosInformation of this RabEstNotificationErabQosParametersQosInformation. # noqa: E501 + :rtype: RabEstNotificationErabQosParametersQosInformation + """ + return util.deserialize_model(dikt, cls) + + @property + def erab_gbr_dl(self) -> int: + """Gets the erab_gbr_dl of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_gbr_dl of this RabEstNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_gbr_dl + + @erab_gbr_dl.setter + def erab_gbr_dl(self, erab_gbr_dl: int): + """Sets the erab_gbr_dl of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_gbr_dl: The erab_gbr_dl of this RabEstNotificationErabQosParametersQosInformation. + :type erab_gbr_dl: int + """ + if erab_gbr_dl is None: + raise ValueError("Invalid value for `erab_gbr_dl`, must not be `None`") # noqa: E501 + + self._erab_gbr_dl = erab_gbr_dl + + @property + def erab_gbr_ul(self) -> int: + """Gets the erab_gbr_ul of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_gbr_ul of this RabEstNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_gbr_ul + + @erab_gbr_ul.setter + def erab_gbr_ul(self, erab_gbr_ul: int): + """Sets the erab_gbr_ul of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_gbr_ul: The erab_gbr_ul of this RabEstNotificationErabQosParametersQosInformation. + :type erab_gbr_ul: int + """ + if erab_gbr_ul is None: + raise ValueError("Invalid value for `erab_gbr_ul`, must not be `None`") # noqa: E501 + + self._erab_gbr_ul = erab_gbr_ul + + @property + def erab_mbr_dl(self) -> int: + """Gets the erab_mbr_dl of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_mbr_dl of this RabEstNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_mbr_dl + + @erab_mbr_dl.setter + def erab_mbr_dl(self, erab_mbr_dl: int): + """Sets the erab_mbr_dl of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_mbr_dl: The erab_mbr_dl of this RabEstNotificationErabQosParametersQosInformation. + :type erab_mbr_dl: int + """ + if erab_mbr_dl is None: + raise ValueError("Invalid value for `erab_mbr_dl`, must not be `None`") # noqa: E501 + + self._erab_mbr_dl = erab_mbr_dl + + @property + def erab_mbr_ul(self) -> int: + """Gets the erab_mbr_ul of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_mbr_ul of this RabEstNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_mbr_ul + + @erab_mbr_ul.setter + def erab_mbr_ul(self, erab_mbr_ul: int): + """Sets the erab_mbr_ul of this RabEstNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_mbr_ul: The erab_mbr_ul of this RabEstNotificationErabQosParametersQosInformation. + :type erab_mbr_ul: int + """ + if erab_mbr_ul is None: + raise ValueError("Invalid value for `erab_mbr_ul`, must not be `None`") # noqa: E501 + + self._erab_mbr_ul = erab_mbr_ul diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_temp_ue_id.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_temp_ue_id.py new file mode 100644 index 0000000000000000000000000000000000000000..8b819172f5edf2cea1ccb5c9aa22e4e59c06ce09 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_notification_temp_ue_id.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class RabEstNotificationTempUeId(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, mmec: str=None, mtmsi: str=None): # noqa: E501 + """RabEstNotificationTempUeId - a model defined in Swagger + + :param mmec: The mmec of this RabEstNotificationTempUeId. # noqa: E501 + :type mmec: str + :param mtmsi: The mtmsi of this RabEstNotificationTempUeId. # noqa: E501 + :type mtmsi: str + """ + self.swagger_types = { + 'mmec': str, + 'mtmsi': str + } + + self.attribute_map = { + 'mmec': 'mmec', + 'mtmsi': 'mtmsi' + } + self._mmec = mmec + self._mtmsi = mtmsi + + @classmethod + def from_dict(cls, dikt) -> 'RabEstNotificationTempUeId': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabEstNotification_tempUeId of this RabEstNotificationTempUeId. # noqa: E501 + :rtype: RabEstNotificationTempUeId + """ + return util.deserialize_model(dikt, cls) + + @property + def mmec(self) -> str: + """Gets the mmec of this RabEstNotificationTempUeId. + + MMEC as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The mmec of this RabEstNotificationTempUeId. + :rtype: str + """ + return self._mmec + + @mmec.setter + def mmec(self, mmec: str): + """Sets the mmec of this RabEstNotificationTempUeId. + + MMEC as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param mmec: The mmec of this RabEstNotificationTempUeId. + :type mmec: str + """ + if mmec is None: + raise ValueError("Invalid value for `mmec`, must not be `None`") # noqa: E501 + + self._mmec = mmec + + @property + def mtmsi(self) -> str: + """Gets the mtmsi of this RabEstNotificationTempUeId. + + M-TMSI as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The mtmsi of this RabEstNotificationTempUeId. + :rtype: str + """ + return self._mtmsi + + @mtmsi.setter + def mtmsi(self, mtmsi: str): + """Sets the mtmsi of this RabEstNotificationTempUeId. + + M-TMSI as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param mtmsi: The mtmsi of this RabEstNotificationTempUeId. + :type mtmsi: str + """ + if mtmsi is None: + raise ValueError("Invalid value for `mtmsi`, must not be `None`") # noqa: E501 + + self._mtmsi = mtmsi diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..8ab918588d06a9d37acce2f40887b2c73571795b --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.rab_est_subscription_filter_criteria_qci import RabEstSubscriptionFilterCriteriaQci # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class RabEstSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_qci: RabEstSubscriptionFilterCriteriaQci=None, subscription_type: str=None): # noqa: E501 + """RabEstSubscription - a model defined in Swagger + + :param links: The links of this RabEstSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this RabEstSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this RabEstSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_qci: The filter_criteria_qci of this RabEstSubscription. # noqa: E501 + :type filter_criteria_qci: RabEstSubscriptionFilterCriteriaQci + :param subscription_type: The subscription_type of this RabEstSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_qci': RabEstSubscriptionFilterCriteriaQci, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_qci': 'filterCriteriaQci', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_qci = filter_criteria_qci + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'RabEstSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabEstSubscription of this RabEstSubscription. # noqa: E501 + :rtype: RabEstSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this RabEstSubscription. + + + :return: The links of this RabEstSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this RabEstSubscription. + + + :param links: The links of this RabEstSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this RabEstSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this RabEstSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this RabEstSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this RabEstSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this RabEstSubscription. + + + :return: The expiry_deadline of this RabEstSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this RabEstSubscription. + + + :param expiry_deadline: The expiry_deadline of this RabEstSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_qci(self) -> RabEstSubscriptionFilterCriteriaQci: + """Gets the filter_criteria_qci of this RabEstSubscription. + + + :return: The filter_criteria_qci of this RabEstSubscription. + :rtype: RabEstSubscriptionFilterCriteriaQci + """ + return self._filter_criteria_qci + + @filter_criteria_qci.setter + def filter_criteria_qci(self, filter_criteria_qci: RabEstSubscriptionFilterCriteriaQci): + """Sets the filter_criteria_qci of this RabEstSubscription. + + + :param filter_criteria_qci: The filter_criteria_qci of this RabEstSubscription. + :type filter_criteria_qci: RabEstSubscriptionFilterCriteriaQci + """ + if filter_criteria_qci is None: + raise ValueError("Invalid value for `filter_criteria_qci`, must not be `None`") # noqa: E501 + + self._filter_criteria_qci = filter_criteria_qci + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this RabEstSubscription. + + Shall be set to \"RabEstSubscription\". # noqa: E501 + + :return: The subscription_type of this RabEstSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this RabEstSubscription. + + Shall be set to \"RabEstSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this RabEstSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_subscription_filter_criteria_qci.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_subscription_filter_criteria_qci.py new file mode 100644 index 0000000000000000000000000000000000000000..563c591ae3e171d077847458e9e805ae6e457329 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_est_subscription_filter_criteria_qci.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class RabEstSubscriptionFilterCriteriaQci(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, ecgi: List[Ecgi]=None, qci: int=None): # noqa: E501 + """RabEstSubscriptionFilterCriteriaQci - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this RabEstSubscriptionFilterCriteriaQci. # noqa: E501 + :type app_instance_id: str + :param ecgi: The ecgi of this RabEstSubscriptionFilterCriteriaQci. # noqa: E501 + :type ecgi: List[Ecgi] + :param qci: The qci of this RabEstSubscriptionFilterCriteriaQci. # noqa: E501 + :type qci: int + """ + self.swagger_types = { + 'app_instance_id': str, + 'ecgi': List[Ecgi], + 'qci': int + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'ecgi': 'ecgi', + 'qci': 'qci' + } + self._app_instance_id = app_instance_id + self._ecgi = ecgi + self._qci = qci + + @classmethod + def from_dict(cls, dikt) -> 'RabEstSubscriptionFilterCriteriaQci': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabEstSubscription_filterCriteriaQci of this RabEstSubscriptionFilterCriteriaQci. # noqa: E501 + :rtype: RabEstSubscriptionFilterCriteriaQci + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this RabEstSubscriptionFilterCriteriaQci. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this RabEstSubscriptionFilterCriteriaQci. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this RabEstSubscriptionFilterCriteriaQci. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this RabEstSubscriptionFilterCriteriaQci. + :type app_instance_id: str + """ + + self._app_instance_id = app_instance_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this RabEstSubscriptionFilterCriteriaQci. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this RabEstSubscriptionFilterCriteriaQci. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this RabEstSubscriptionFilterCriteriaQci. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this RabEstSubscriptionFilterCriteriaQci. + :type ecgi: List[Ecgi] + """ + + self._ecgi = ecgi + + @property + def qci(self) -> int: + """Gets the qci of this RabEstSubscriptionFilterCriteriaQci. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :return: The qci of this RabEstSubscriptionFilterCriteriaQci. + :rtype: int + """ + return self._qci + + @qci.setter + def qci(self, qci: int): + """Sets the qci of this RabEstSubscriptionFilterCriteriaQci. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :param qci: The qci of this RabEstSubscriptionFilterCriteriaQci. + :type qci: int + """ + if qci is None: + raise ValueError("Invalid value for `qci`, must not be `None`") # noqa: E501 + + self._qci = qci diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info.py new file mode 100644 index 0000000000000000000000000000000000000000..c5eab7e3e815ff036fbc47f7e24135b518fad605 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.rab_info_cell_user_info import RabInfoCellUserInfo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class RabInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, cell_user_info: List[RabInfoCellUserInfo]=None, request_id: str=None, time_stamp: TimeStamp=None): # noqa: E501 + """RabInfo - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this RabInfo. # noqa: E501 + :type app_instance_id: str + :param cell_user_info: The cell_user_info of this RabInfo. # noqa: E501 + :type cell_user_info: List[RabInfoCellUserInfo] + :param request_id: The request_id of this RabInfo. # noqa: E501 + :type request_id: str + :param time_stamp: The time_stamp of this RabInfo. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'app_instance_id': str, + 'cell_user_info': List[RabInfoCellUserInfo], + 'request_id': str, + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'cell_user_info': 'cellUserInfo', + 'request_id': 'requestId', + 'time_stamp': 'timeStamp' + } + self._app_instance_id = app_instance_id + self._cell_user_info = cell_user_info + self._request_id = request_id + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'RabInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabInfo of this RabInfo. # noqa: E501 + :rtype: RabInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this RabInfo. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this RabInfo. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this RabInfo. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this RabInfo. + :type app_instance_id: str + """ + if app_instance_id is None: + raise ValueError("Invalid value for `app_instance_id`, must not be `None`") # noqa: E501 + + self._app_instance_id = app_instance_id + + @property + def cell_user_info(self) -> List[RabInfoCellUserInfo]: + """Gets the cell_user_info of this RabInfo. + + The information on users per cell as defined below. # noqa: E501 + + :return: The cell_user_info of this RabInfo. + :rtype: List[RabInfoCellUserInfo] + """ + return self._cell_user_info + + @cell_user_info.setter + def cell_user_info(self, cell_user_info: List[RabInfoCellUserInfo]): + """Sets the cell_user_info of this RabInfo. + + The information on users per cell as defined below. # noqa: E501 + + :param cell_user_info: The cell_user_info of this RabInfo. + :type cell_user_info: List[RabInfoCellUserInfo] + """ + + self._cell_user_info = cell_user_info + + @property + def request_id(self) -> str: + """Gets the request_id of this RabInfo. + + Unique identifier allocated by the service consumer for the RAB Information request. # noqa: E501 + + :return: The request_id of this RabInfo. + :rtype: str + """ + return self._request_id + + @request_id.setter + def request_id(self, request_id: str): + """Sets the request_id of this RabInfo. + + Unique identifier allocated by the service consumer for the RAB Information request. # noqa: E501 + + :param request_id: The request_id of this RabInfo. + :type request_id: str + """ + if request_id is None: + raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 + + self._request_id = request_id + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this RabInfo. + + + :return: The time_stamp of this RabInfo. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this RabInfo. + + + :param time_stamp: The time_stamp of this RabInfo. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_cell_user_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_cell_user_info.py new file mode 100644 index 0000000000000000000000000000000000000000..597a79be175371b5d990a07f701600fb7764bd19 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_cell_user_info.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.rab_info_ue_info import RabInfoUeInfo # noqa: F401,E501 +from swagger_server import util + + +class RabInfoCellUserInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ecgi: Ecgi=None, ue_info: List[RabInfoUeInfo]=None): # noqa: E501 + """RabInfoCellUserInfo - a model defined in Swagger + + :param ecgi: The ecgi of this RabInfoCellUserInfo. # noqa: E501 + :type ecgi: Ecgi + :param ue_info: The ue_info of this RabInfoCellUserInfo. # noqa: E501 + :type ue_info: List[RabInfoUeInfo] + """ + self.swagger_types = { + 'ecgi': Ecgi, + 'ue_info': List[RabInfoUeInfo] + } + + self.attribute_map = { + 'ecgi': 'ecgi', + 'ue_info': 'ueInfo' + } + self._ecgi = ecgi + self._ue_info = ue_info + + @classmethod + def from_dict(cls, dikt) -> 'RabInfoCellUserInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabInfo_cellUserInfo of this RabInfoCellUserInfo. # noqa: E501 + :rtype: RabInfoCellUserInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this RabInfoCellUserInfo. + + + :return: The ecgi of this RabInfoCellUserInfo. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this RabInfoCellUserInfo. + + + :param ecgi: The ecgi of this RabInfoCellUserInfo. + :type ecgi: Ecgi + """ + + self._ecgi = ecgi + + @property + def ue_info(self) -> List[RabInfoUeInfo]: + """Gets the ue_info of this RabInfoCellUserInfo. + + Information on UEs in the specific cell as defined below. # noqa: E501 + + :return: The ue_info of this RabInfoCellUserInfo. + :rtype: List[RabInfoUeInfo] + """ + return self._ue_info + + @ue_info.setter + def ue_info(self, ue_info: List[RabInfoUeInfo]): + """Sets the ue_info of this RabInfoCellUserInfo. + + Information on UEs in the specific cell as defined below. # noqa: E501 + + :param ue_info: The ue_info of this RabInfoCellUserInfo. + :type ue_info: List[RabInfoUeInfo] + """ + + self._ue_info = ue_info diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_erab_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_erab_info.py new file mode 100644 index 0000000000000000000000000000000000000000..1c19ab6b92a53bdcbfa840b69025ca66625f9c7c --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_erab_info.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.rab_est_notification_erab_qos_parameters import RabEstNotificationErabQosParameters # noqa: F401,E501 +from swagger_server import util + + +class RabInfoErabInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, erab_id: int=None, erab_qos_parameters: RabEstNotificationErabQosParameters=None): # noqa: E501 + """RabInfoErabInfo - a model defined in Swagger + + :param erab_id: The erab_id of this RabInfoErabInfo. # noqa: E501 + :type erab_id: int + :param erab_qos_parameters: The erab_qos_parameters of this RabInfoErabInfo. # noqa: E501 + :type erab_qos_parameters: RabEstNotificationErabQosParameters + """ + self.swagger_types = { + 'erab_id': int, + 'erab_qos_parameters': RabEstNotificationErabQosParameters + } + + self.attribute_map = { + 'erab_id': 'erabId', + 'erab_qos_parameters': 'erabQosParameters' + } + self._erab_id = erab_id + self._erab_qos_parameters = erab_qos_parameters + + @classmethod + def from_dict(cls, dikt) -> 'RabInfoErabInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabInfo_erabInfo of this RabInfoErabInfo. # noqa: E501 + :rtype: RabInfoErabInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def erab_id(self) -> int: + """Gets the erab_id of this RabInfoErabInfo. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The erab_id of this RabInfoErabInfo. + :rtype: int + """ + return self._erab_id + + @erab_id.setter + def erab_id(self, erab_id: int): + """Sets the erab_id of this RabInfoErabInfo. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param erab_id: The erab_id of this RabInfoErabInfo. + :type erab_id: int + """ + + self._erab_id = erab_id + + @property + def erab_qos_parameters(self) -> RabEstNotificationErabQosParameters: + """Gets the erab_qos_parameters of this RabInfoErabInfo. + + + :return: The erab_qos_parameters of this RabInfoErabInfo. + :rtype: RabEstNotificationErabQosParameters + """ + return self._erab_qos_parameters + + @erab_qos_parameters.setter + def erab_qos_parameters(self, erab_qos_parameters: RabEstNotificationErabQosParameters): + """Sets the erab_qos_parameters of this RabInfoErabInfo. + + + :param erab_qos_parameters: The erab_qos_parameters of this RabInfoErabInfo. + :type erab_qos_parameters: RabEstNotificationErabQosParameters + """ + + self._erab_qos_parameters = erab_qos_parameters diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_ue_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_ue_info.py new file mode 100644 index 0000000000000000000000000000000000000000..b1e70527f2c119d382d90bbabfde4ca536fb1ee5 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_info_ue_info.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.rab_info_erab_info import RabInfoErabInfo # noqa: F401,E501 +from swagger_server import util + + +class RabInfoUeInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, erab_info: List[RabInfoErabInfo]=None): # noqa: E501 + """RabInfoUeInfo - a model defined in Swagger + + :param associate_id: The associate_id of this RabInfoUeInfo. # noqa: E501 + :type associate_id: List[AssociateId] + :param erab_info: The erab_info of this RabInfoUeInfo. # noqa: E501 + :type erab_info: List[RabInfoErabInfo] + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'erab_info': List[RabInfoErabInfo] + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'erab_info': 'erabInfo' + } + self._associate_id = associate_id + self._erab_info = erab_info + + @classmethod + def from_dict(cls, dikt) -> 'RabInfoUeInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabInfo_ueInfo of this RabInfoUeInfo. # noqa: E501 + :rtype: RabInfoUeInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this RabInfoUeInfo. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this RabInfoUeInfo. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this RabInfoUeInfo. + + 0 to N identifiers to associate the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this RabInfoUeInfo. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def erab_info(self) -> List[RabInfoErabInfo]: + """Gets the erab_info of this RabInfoUeInfo. + + Information on E-RAB as defined below. # noqa: E501 + + :return: The erab_info of this RabInfoUeInfo. + :rtype: List[RabInfoErabInfo] + """ + return self._erab_info + + @erab_info.setter + def erab_info(self, erab_info: List[RabInfoErabInfo]): + """Sets the erab_info of this RabInfoUeInfo. + + Information on E-RAB as defined below. # noqa: E501 + + :param erab_info: The erab_info of this RabInfoUeInfo. + :type erab_info: List[RabInfoErabInfo] + """ + + self._erab_info = erab_info diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..d6ae839a6970eb3a8393e1ac58d30a9bbf781210 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.rab_mod_notification_erab_qos_parameters import RabModNotificationErabQosParameters # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class RabModNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ecgi: Ecgi=None, erab_id: int=None, erab_qos_parameters: RabModNotificationErabQosParameters=None, notification_type: str=None, time_stamp: TimeStamp=None): # noqa: E501 + """RabModNotification - a model defined in Swagger + + :param associate_id: The associate_id of this RabModNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this RabModNotification. # noqa: E501 + :type ecgi: Ecgi + :param erab_id: The erab_id of this RabModNotification. # noqa: E501 + :type erab_id: int + :param erab_qos_parameters: The erab_qos_parameters of this RabModNotification. # noqa: E501 + :type erab_qos_parameters: RabModNotificationErabQosParameters + :param notification_type: The notification_type of this RabModNotification. # noqa: E501 + :type notification_type: str + :param time_stamp: The time_stamp of this RabModNotification. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ecgi': Ecgi, + 'erab_id': int, + 'erab_qos_parameters': RabModNotificationErabQosParameters, + 'notification_type': str, + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 'erab_id': 'erabId', + 'erab_qos_parameters': 'erabQosParameters', + 'notification_type': 'notificationType', + 'time_stamp': 'timeStamp' + } + self._associate_id = associate_id + self._ecgi = ecgi + self._erab_id = erab_id + self._erab_qos_parameters = erab_qos_parameters + self._notification_type = notification_type + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'RabModNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabModNotification of this RabModNotification. # noqa: E501 + :rtype: RabModNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this RabModNotification. + + 0 to N identifiers to bind the event for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this RabModNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this RabModNotification. + + 0 to N identifiers to bind the event for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this RabModNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this RabModNotification. + + + :return: The ecgi of this RabModNotification. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this RabModNotification. + + + :param ecgi: The ecgi of this RabModNotification. + :type ecgi: Ecgi + """ + if ecgi is None: + raise ValueError("Invalid value for `ecgi`, must not be `None`") # noqa: E501 + + self._ecgi = ecgi + + @property + def erab_id(self) -> int: + """Gets the erab_id of this RabModNotification. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The erab_id of this RabModNotification. + :rtype: int + """ + return self._erab_id + + @erab_id.setter + def erab_id(self, erab_id: int): + """Sets the erab_id of this RabModNotification. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param erab_id: The erab_id of this RabModNotification. + :type erab_id: int + """ + if erab_id is None: + raise ValueError("Invalid value for `erab_id`, must not be `None`") # noqa: E501 + + self._erab_id = erab_id + + @property + def erab_qos_parameters(self) -> RabModNotificationErabQosParameters: + """Gets the erab_qos_parameters of this RabModNotification. + + + :return: The erab_qos_parameters of this RabModNotification. + :rtype: RabModNotificationErabQosParameters + """ + return self._erab_qos_parameters + + @erab_qos_parameters.setter + def erab_qos_parameters(self, erab_qos_parameters: RabModNotificationErabQosParameters): + """Sets the erab_qos_parameters of this RabModNotification. + + + :param erab_qos_parameters: The erab_qos_parameters of this RabModNotification. + :type erab_qos_parameters: RabModNotificationErabQosParameters + """ + + self._erab_qos_parameters = erab_qos_parameters + + @property + def notification_type(self) -> str: + """Gets the notification_type of this RabModNotification. + + Shall be set to \"RabModNotification\". # noqa: E501 + + :return: The notification_type of this RabModNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this RabModNotification. + + Shall be set to \"RabModNotification\". # noqa: E501 + + :param notification_type: The notification_type of this RabModNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this RabModNotification. + + + :return: The time_stamp of this RabModNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this RabModNotification. + + + :param time_stamp: The time_stamp of this RabModNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification_erab_qos_parameters.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification_erab_qos_parameters.py new file mode 100644 index 0000000000000000000000000000000000000000..43c3ad391f2413d435d87aaf347b8fd694045b89 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification_erab_qos_parameters.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.rab_mod_notification_erab_qos_parameters_qos_information import RabModNotificationErabQosParametersQosInformation # noqa: F401,E501 +from swagger_server import util + + +class RabModNotificationErabQosParameters(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, qci: int=None, qos_information: RabModNotificationErabQosParametersQosInformation=None): # noqa: E501 + """RabModNotificationErabQosParameters - a model defined in Swagger + + :param qci: The qci of this RabModNotificationErabQosParameters. # noqa: E501 + :type qci: int + :param qos_information: The qos_information of this RabModNotificationErabQosParameters. # noqa: E501 + :type qos_information: RabModNotificationErabQosParametersQosInformation + """ + self.swagger_types = { + 'qci': int, + 'qos_information': RabModNotificationErabQosParametersQosInformation + } + + self.attribute_map = { + 'qci': 'qci', + 'qos_information': 'qosInformation' + } + self._qci = qci + self._qos_information = qos_information + + @classmethod + def from_dict(cls, dikt) -> 'RabModNotificationErabQosParameters': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabModNotification_erabQosParameters of this RabModNotificationErabQosParameters. # noqa: E501 + :rtype: RabModNotificationErabQosParameters + """ + return util.deserialize_model(dikt, cls) + + @property + def qci(self) -> int: + """Gets the qci of this RabModNotificationErabQosParameters. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :return: The qci of this RabModNotificationErabQosParameters. + :rtype: int + """ + return self._qci + + @qci.setter + def qci(self, qci: int): + """Sets the qci of this RabModNotificationErabQosParameters. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :param qci: The qci of this RabModNotificationErabQosParameters. + :type qci: int + """ + if qci is None: + raise ValueError("Invalid value for `qci`, must not be `None`") # noqa: E501 + + self._qci = qci + + @property + def qos_information(self) -> RabModNotificationErabQosParametersQosInformation: + """Gets the qos_information of this RabModNotificationErabQosParameters. + + + :return: The qos_information of this RabModNotificationErabQosParameters. + :rtype: RabModNotificationErabQosParametersQosInformation + """ + return self._qos_information + + @qos_information.setter + def qos_information(self, qos_information: RabModNotificationErabQosParametersQosInformation): + """Sets the qos_information of this RabModNotificationErabQosParameters. + + + :param qos_information: The qos_information of this RabModNotificationErabQosParameters. + :type qos_information: RabModNotificationErabQosParametersQosInformation + """ + + self._qos_information = qos_information diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification_erab_qos_parameters_qos_information.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification_erab_qos_parameters_qos_information.py new file mode 100644 index 0000000000000000000000000000000000000000..103239a517e638c4e3c0e12b4ba684c1f5f5ea06 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_notification_erab_qos_parameters_qos_information.py @@ -0,0 +1,156 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class RabModNotificationErabQosParametersQosInformation(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, erab_gbr_dl: int=None, erab_gbr_ul: int=None, erab_mbr_dl: int=None, erab_mbr_ul: int=None): # noqa: E501 + """RabModNotificationErabQosParametersQosInformation - a model defined in Swagger + + :param erab_gbr_dl: The erab_gbr_dl of this RabModNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_gbr_dl: int + :param erab_gbr_ul: The erab_gbr_ul of this RabModNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_gbr_ul: int + :param erab_mbr_dl: The erab_mbr_dl of this RabModNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_mbr_dl: int + :param erab_mbr_ul: The erab_mbr_ul of this RabModNotificationErabQosParametersQosInformation. # noqa: E501 + :type erab_mbr_ul: int + """ + self.swagger_types = { + 'erab_gbr_dl': int, + 'erab_gbr_ul': int, + 'erab_mbr_dl': int, + 'erab_mbr_ul': int + } + + self.attribute_map = { + 'erab_gbr_dl': 'erabGbrDl', + 'erab_gbr_ul': 'erabGbrUl', + 'erab_mbr_dl': 'erabMbrDl', + 'erab_mbr_ul': 'erabMbrUl' + } + self._erab_gbr_dl = erab_gbr_dl + self._erab_gbr_ul = erab_gbr_ul + self._erab_mbr_dl = erab_mbr_dl + self._erab_mbr_ul = erab_mbr_ul + + @classmethod + def from_dict(cls, dikt) -> 'RabModNotificationErabQosParametersQosInformation': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabModNotification_erabQosParameters_qosInformation of this RabModNotificationErabQosParametersQosInformation. # noqa: E501 + :rtype: RabModNotificationErabQosParametersQosInformation + """ + return util.deserialize_model(dikt, cls) + + @property + def erab_gbr_dl(self) -> int: + """Gets the erab_gbr_dl of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_gbr_dl of this RabModNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_gbr_dl + + @erab_gbr_dl.setter + def erab_gbr_dl(self, erab_gbr_dl: int): + """Sets the erab_gbr_dl of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_gbr_dl: The erab_gbr_dl of this RabModNotificationErabQosParametersQosInformation. + :type erab_gbr_dl: int + """ + if erab_gbr_dl is None: + raise ValueError("Invalid value for `erab_gbr_dl`, must not be `None`") # noqa: E501 + + self._erab_gbr_dl = erab_gbr_dl + + @property + def erab_gbr_ul(self) -> int: + """Gets the erab_gbr_ul of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_gbr_ul of this RabModNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_gbr_ul + + @erab_gbr_ul.setter + def erab_gbr_ul(self, erab_gbr_ul: int): + """Sets the erab_gbr_ul of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_gbr_ul: The erab_gbr_ul of this RabModNotificationErabQosParametersQosInformation. + :type erab_gbr_ul: int + """ + if erab_gbr_ul is None: + raise ValueError("Invalid value for `erab_gbr_ul`, must not be `None`") # noqa: E501 + + self._erab_gbr_ul = erab_gbr_ul + + @property + def erab_mbr_dl(self) -> int: + """Gets the erab_mbr_dl of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_mbr_dl of this RabModNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_mbr_dl + + @erab_mbr_dl.setter + def erab_mbr_dl(self, erab_mbr_dl: int): + """Sets the erab_mbr_dl of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_mbr_dl: The erab_mbr_dl of this RabModNotificationErabQosParametersQosInformation. + :type erab_mbr_dl: int + """ + if erab_mbr_dl is None: + raise ValueError("Invalid value for `erab_mbr_dl`, must not be `None`") # noqa: E501 + + self._erab_mbr_dl = erab_mbr_dl + + @property + def erab_mbr_ul(self) -> int: + """Gets the erab_mbr_ul of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :return: The erab_mbr_ul of this RabModNotificationErabQosParametersQosInformation. + :rtype: int + """ + return self._erab_mbr_ul + + @erab_mbr_ul.setter + def erab_mbr_ul(self, erab_mbr_ul: int): + """Sets the erab_mbr_ul of this RabModNotificationErabQosParametersQosInformation. + + This attribute indicates the maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. # noqa: E501 + + :param erab_mbr_ul: The erab_mbr_ul of this RabModNotificationErabQosParametersQosInformation. + :type erab_mbr_ul: int + """ + if erab_mbr_ul is None: + raise ValueError("Invalid value for `erab_mbr_ul`, must not be `None`") # noqa: E501 + + self._erab_mbr_ul = erab_mbr_ul diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..4419251299b2d0856ad970c7be370820b39e918b --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.rab_mod_subscription_filter_criteria_qci import RabModSubscriptionFilterCriteriaQci # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class RabModSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_qci: RabModSubscriptionFilterCriteriaQci=None, subscription_type: str=None): # noqa: E501 + """RabModSubscription - a model defined in Swagger + + :param links: The links of this RabModSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this RabModSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this RabModSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_qci: The filter_criteria_qci of this RabModSubscription. # noqa: E501 + :type filter_criteria_qci: RabModSubscriptionFilterCriteriaQci + :param subscription_type: The subscription_type of this RabModSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_qci': RabModSubscriptionFilterCriteriaQci, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_qci': 'filterCriteriaQci', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_qci = filter_criteria_qci + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'RabModSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabModSubscription of this RabModSubscription. # noqa: E501 + :rtype: RabModSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this RabModSubscription. + + + :return: The links of this RabModSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this RabModSubscription. + + + :param links: The links of this RabModSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this RabModSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this RabModSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this RabModSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this RabModSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this RabModSubscription. + + + :return: The expiry_deadline of this RabModSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this RabModSubscription. + + + :param expiry_deadline: The expiry_deadline of this RabModSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_qci(self) -> RabModSubscriptionFilterCriteriaQci: + """Gets the filter_criteria_qci of this RabModSubscription. + + + :return: The filter_criteria_qci of this RabModSubscription. + :rtype: RabModSubscriptionFilterCriteriaQci + """ + return self._filter_criteria_qci + + @filter_criteria_qci.setter + def filter_criteria_qci(self, filter_criteria_qci: RabModSubscriptionFilterCriteriaQci): + """Sets the filter_criteria_qci of this RabModSubscription. + + + :param filter_criteria_qci: The filter_criteria_qci of this RabModSubscription. + :type filter_criteria_qci: RabModSubscriptionFilterCriteriaQci + """ + if filter_criteria_qci is None: + raise ValueError("Invalid value for `filter_criteria_qci`, must not be `None`") # noqa: E501 + + self._filter_criteria_qci = filter_criteria_qci + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this RabModSubscription. + + Shall be set to \"RabModSubscription\". # noqa: E501 + + :return: The subscription_type of this RabModSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this RabModSubscription. + + Shall be set to \"RabModSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this RabModSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_subscription_filter_criteria_qci.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_subscription_filter_criteria_qci.py new file mode 100644 index 0000000000000000000000000000000000000000..3d8e5107ca200cd5451a2edb244dde713ed501b5 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_mod_subscription_filter_criteria_qci.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class RabModSubscriptionFilterCriteriaQci(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, app_instance_id: str=None, ecgi: List[Ecgi]=None, erab_id: int=None, qci: int=None): # noqa: E501 + """RabModSubscriptionFilterCriteriaQci - a model defined in Swagger + + :param app_instance_id: The app_instance_id of this RabModSubscriptionFilterCriteriaQci. # noqa: E501 + :type app_instance_id: str + :param ecgi: The ecgi of this RabModSubscriptionFilterCriteriaQci. # noqa: E501 + :type ecgi: List[Ecgi] + :param erab_id: The erab_id of this RabModSubscriptionFilterCriteriaQci. # noqa: E501 + :type erab_id: int + :param qci: The qci of this RabModSubscriptionFilterCriteriaQci. # noqa: E501 + :type qci: int + """ + self.swagger_types = { + 'app_instance_id': str, + 'ecgi': List[Ecgi], + 'erab_id': int, + 'qci': int + } + + self.attribute_map = { + 'app_instance_id': 'appInstanceId', + 'ecgi': 'ecgi', + 'erab_id': 'erabId', + 'qci': 'qci' + } + self._app_instance_id = app_instance_id + self._ecgi = ecgi + self._erab_id = erab_id + self._qci = qci + + @classmethod + def from_dict(cls, dikt) -> 'RabModSubscriptionFilterCriteriaQci': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabModSubscription_filterCriteriaQci of this RabModSubscriptionFilterCriteriaQci. # noqa: E501 + :rtype: RabModSubscriptionFilterCriteriaQci + """ + return util.deserialize_model(dikt, cls) + + @property + def app_instance_id(self) -> str: + """Gets the app_instance_id of this RabModSubscriptionFilterCriteriaQci. + + Unique identifier for the MEC application instance. # noqa: E501 + + :return: The app_instance_id of this RabModSubscriptionFilterCriteriaQci. + :rtype: str + """ + return self._app_instance_id + + @app_instance_id.setter + def app_instance_id(self, app_instance_id: str): + """Sets the app_instance_id of this RabModSubscriptionFilterCriteriaQci. + + Unique identifier for the MEC application instance. # noqa: E501 + + :param app_instance_id: The app_instance_id of this RabModSubscriptionFilterCriteriaQci. + :type app_instance_id: str + """ + + self._app_instance_id = app_instance_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this RabModSubscriptionFilterCriteriaQci. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this RabModSubscriptionFilterCriteriaQci. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this RabModSubscriptionFilterCriteriaQci. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this RabModSubscriptionFilterCriteriaQci. + :type ecgi: List[Ecgi] + """ + + self._ecgi = ecgi + + @property + def erab_id(self) -> int: + """Gets the erab_id of this RabModSubscriptionFilterCriteriaQci. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The erab_id of this RabModSubscriptionFilterCriteriaQci. + :rtype: int + """ + return self._erab_id + + @erab_id.setter + def erab_id(self, erab_id: int): + """Sets the erab_id of this RabModSubscriptionFilterCriteriaQci. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param erab_id: The erab_id of this RabModSubscriptionFilterCriteriaQci. + :type erab_id: int + """ + if erab_id is None: + raise ValueError("Invalid value for `erab_id`, must not be `None`") # noqa: E501 + + self._erab_id = erab_id + + @property + def qci(self) -> int: + """Gets the qci of this RabModSubscriptionFilterCriteriaQci. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :return: The qci of this RabModSubscriptionFilterCriteriaQci. + :rtype: int + """ + return self._qci + + @qci.setter + def qci(self, qci: int): + """Sets the qci of this RabModSubscriptionFilterCriteriaQci. + + QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. # noqa: E501 + + :param qci: The qci of this RabModSubscriptionFilterCriteriaQci. + :type qci: int + """ + if qci is None: + raise ValueError("Invalid value for `qci`, must not be `None`") # noqa: E501 + + self._qci = qci diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..b2b02730e43c94d49e0b7166097ccac9f346e721 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_notification.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.rab_rel_notification_erab_release_info import RabRelNotificationErabReleaseInfo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class RabRelNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ecgi: Ecgi=None, erab_release_info: RabRelNotificationErabReleaseInfo=None, notification_type: str=None, time_stamp: TimeStamp=None): # noqa: E501 + """RabRelNotification - a model defined in Swagger + + :param associate_id: The associate_id of this RabRelNotification. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this RabRelNotification. # noqa: E501 + :type ecgi: Ecgi + :param erab_release_info: The erab_release_info of this RabRelNotification. # noqa: E501 + :type erab_release_info: RabRelNotificationErabReleaseInfo + :param notification_type: The notification_type of this RabRelNotification. # noqa: E501 + :type notification_type: str + :param time_stamp: The time_stamp of this RabRelNotification. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ecgi': Ecgi, + 'erab_release_info': RabRelNotificationErabReleaseInfo, + 'notification_type': str, + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 'erab_release_info': 'erabReleaseInfo', + 'notification_type': 'notificationType', + 'time_stamp': 'timeStamp' + } + self._associate_id = associate_id + self._ecgi = ecgi + self._erab_release_info = erab_release_info + self._notification_type = notification_type + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'RabRelNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabRelNotification of this RabRelNotification. # noqa: E501 + :rtype: RabRelNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this RabRelNotification. + + 0 to N identifiers to bind the event for a specific UE or flow as defined below. # noqa: E501 + + :return: The associate_id of this RabRelNotification. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this RabRelNotification. + + 0 to N identifiers to bind the event for a specific UE or flow as defined below. # noqa: E501 + + :param associate_id: The associate_id of this RabRelNotification. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> Ecgi: + """Gets the ecgi of this RabRelNotification. + + + :return: The ecgi of this RabRelNotification. + :rtype: Ecgi + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: Ecgi): + """Sets the ecgi of this RabRelNotification. + + + :param ecgi: The ecgi of this RabRelNotification. + :type ecgi: Ecgi + """ + if ecgi is None: + raise ValueError("Invalid value for `ecgi`, must not be `None`") # noqa: E501 + + self._ecgi = ecgi + + @property + def erab_release_info(self) -> RabRelNotificationErabReleaseInfo: + """Gets the erab_release_info of this RabRelNotification. + + + :return: The erab_release_info of this RabRelNotification. + :rtype: RabRelNotificationErabReleaseInfo + """ + return self._erab_release_info + + @erab_release_info.setter + def erab_release_info(self, erab_release_info: RabRelNotificationErabReleaseInfo): + """Sets the erab_release_info of this RabRelNotification. + + + :param erab_release_info: The erab_release_info of this RabRelNotification. + :type erab_release_info: RabRelNotificationErabReleaseInfo + """ + if erab_release_info is None: + raise ValueError("Invalid value for `erab_release_info`, must not be `None`") # noqa: E501 + + self._erab_release_info = erab_release_info + + @property + def notification_type(self) -> str: + """Gets the notification_type of this RabRelNotification. + + Shall be set to \"RabRelNotification\". # noqa: E501 + + :return: The notification_type of this RabRelNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this RabRelNotification. + + Shall be set to \"RabRelNotification\". # noqa: E501 + + :param notification_type: The notification_type of this RabRelNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this RabRelNotification. + + + :return: The time_stamp of this RabRelNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this RabRelNotification. + + + :param time_stamp: The time_stamp of this RabRelNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_notification_erab_release_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_notification_erab_release_info.py new file mode 100644 index 0000000000000000000000000000000000000000..3a669aba44edc12b9659138aec14caae3ad68b98 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_notification_erab_release_info.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class RabRelNotificationErabReleaseInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, erab_id: int=None): # noqa: E501 + """RabRelNotificationErabReleaseInfo - a model defined in Swagger + + :param erab_id: The erab_id of this RabRelNotificationErabReleaseInfo. # noqa: E501 + :type erab_id: int + """ + self.swagger_types = { + 'erab_id': int + } + + self.attribute_map = { + 'erab_id': 'erabId' + } + self._erab_id = erab_id + + @classmethod + def from_dict(cls, dikt) -> 'RabRelNotificationErabReleaseInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabRelNotification_erabReleaseInfo of this RabRelNotificationErabReleaseInfo. # noqa: E501 + :rtype: RabRelNotificationErabReleaseInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def erab_id(self) -> int: + """Gets the erab_id of this RabRelNotificationErabReleaseInfo. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The erab_id of this RabRelNotificationErabReleaseInfo. + :rtype: int + """ + return self._erab_id + + @erab_id.setter + def erab_id(self, erab_id: int): + """Sets the erab_id of this RabRelNotificationErabReleaseInfo. + + The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param erab_id: The erab_id of this RabRelNotificationErabReleaseInfo. + :type erab_id: int + """ + if erab_id is None: + raise ValueError("Invalid value for `erab_id`, must not be `None`") # noqa: E501 + + self._erab_id = erab_id diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..9ff7b36b9b415f43c29a56e42f2fcb3aebc51f8a --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rab_rel_subscription.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.rab_mod_subscription_filter_criteria_qci import RabModSubscriptionFilterCriteriaQci # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class RabRelSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, expiry_deadline: TimeStamp=None, filter_criteria_qci: RabModSubscriptionFilterCriteriaQci=None, subscription_type: str=None): # noqa: E501 + """RabRelSubscription - a model defined in Swagger + + :param links: The links of this RabRelSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this RabRelSubscription. # noqa: E501 + :type callback_reference: str + :param expiry_deadline: The expiry_deadline of this RabRelSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param filter_criteria_qci: The filter_criteria_qci of this RabRelSubscription. # noqa: E501 + :type filter_criteria_qci: RabModSubscriptionFilterCriteriaQci + :param subscription_type: The subscription_type of this RabRelSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'expiry_deadline': TimeStamp, + 'filter_criteria_qci': RabModSubscriptionFilterCriteriaQci, + 'subscription_type': str + } + + self.attribute_map = { + 'links': '_links', + 'callback_reference': 'callbackReference', + 'expiry_deadline': 'expiryDeadline', + 'filter_criteria_qci': 'filterCriteriaQci', + 'subscription_type': 'subscriptionType' + } + self._links = links + self._callback_reference = callback_reference + self._expiry_deadline = expiry_deadline + self._filter_criteria_qci = filter_criteria_qci + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'RabRelSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RabRelSubscription of this RabRelSubscription. # noqa: E501 + :rtype: RabRelSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this RabRelSubscription. + + + :return: The links of this RabRelSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this RabRelSubscription. + + + :param links: The links of this RabRelSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this RabRelSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :return: The callback_reference of this RabRelSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this RabRelSubscription. + + URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. # noqa: E501 + + :param callback_reference: The callback_reference of this RabRelSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this RabRelSubscription. + + + :return: The expiry_deadline of this RabRelSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this RabRelSubscription. + + + :param expiry_deadline: The expiry_deadline of this RabRelSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def filter_criteria_qci(self) -> RabModSubscriptionFilterCriteriaQci: + """Gets the filter_criteria_qci of this RabRelSubscription. + + + :return: The filter_criteria_qci of this RabRelSubscription. + :rtype: RabModSubscriptionFilterCriteriaQci + """ + return self._filter_criteria_qci + + @filter_criteria_qci.setter + def filter_criteria_qci(self, filter_criteria_qci: RabModSubscriptionFilterCriteriaQci): + """Sets the filter_criteria_qci of this RabRelSubscription. + + + :param filter_criteria_qci: The filter_criteria_qci of this RabRelSubscription. + :type filter_criteria_qci: RabModSubscriptionFilterCriteriaQci + """ + if filter_criteria_qci is None: + raise ValueError("Invalid value for `filter_criteria_qci`, must not be `None`") # noqa: E501 + + self._filter_criteria_qci = filter_criteria_qci + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this RabRelSubscription. + + Shall be set to \"RabRelSubscription\". # noqa: E501 + + :return: The subscription_type of this RabRelSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this RabRelSubscription. + + Shall be set to \"RabRelSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this RabRelSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index.py new file mode 100644 index 0000000000000000000000000000000000000000..72d15724b7ab4b06e08a2961359b0ede78f7f269 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr # noqa: F401,E501 +from swagger_server import util + + +class ResultsPerCsiRsIndex(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, csi_rs_index: int=None, csi_rs_results: MeasQuantityResultsNr=None): # noqa: E501 + """ResultsPerCsiRsIndex - a model defined in Swagger + + :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndex. # noqa: E501 + :type csi_rs_index: int + :param csi_rs_results: The csi_rs_results of this ResultsPerCsiRsIndex. # noqa: E501 + :type csi_rs_results: MeasQuantityResultsNr + """ + self.swagger_types = { + 'csi_rs_index': int, + 'csi_rs_results': MeasQuantityResultsNr + } + + self.attribute_map = { + 'csi_rs_index': 'csiRsIndex', + 'csi_rs_results': 'csiRsResults' + } + self._csi_rs_index = csi_rs_index + self._csi_rs_results = csi_rs_results + + @classmethod + def from_dict(cls, dikt) -> 'ResultsPerCsiRsIndex': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ResultsPerCsiRsIndex of this ResultsPerCsiRsIndex. # noqa: E501 + :rtype: ResultsPerCsiRsIndex + """ + return util.deserialize_model(dikt, cls) + + @property + def csi_rs_index(self) -> int: + """Gets the csi_rs_index of this ResultsPerCsiRsIndex. + + + :return: The csi_rs_index of this ResultsPerCsiRsIndex. + :rtype: int + """ + return self._csi_rs_index + + @csi_rs_index.setter + def csi_rs_index(self, csi_rs_index: int): + """Sets the csi_rs_index of this ResultsPerCsiRsIndex. + + + :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndex. + :type csi_rs_index: int + """ + if csi_rs_index is None: + raise ValueError("Invalid value for `csi_rs_index`, must not be `None`") # noqa: E501 + + self._csi_rs_index = csi_rs_index + + @property + def csi_rs_results(self) -> MeasQuantityResultsNr: + """Gets the csi_rs_results of this ResultsPerCsiRsIndex. + + + :return: The csi_rs_results of this ResultsPerCsiRsIndex. + :rtype: MeasQuantityResultsNr + """ + return self._csi_rs_results + + @csi_rs_results.setter + def csi_rs_results(self, csi_rs_results: MeasQuantityResultsNr): + """Sets the csi_rs_results of this ResultsPerCsiRsIndex. + + + :param csi_rs_results: The csi_rs_results of this ResultsPerCsiRsIndex. + :type csi_rs_results: MeasQuantityResultsNr + """ + + self._csi_rs_results = csi_rs_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index_list.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index_list.py new file mode 100644 index 0000000000000000000000000000000000000000..6707ad9afdaec523ecd65e44697382baa07c6a7e --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index_list.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.results_per_csi_rs_index_list_results_per_csi_rs_index import ResultsPerCsiRsIndexListResultsPerCsiRsIndex # noqa: F401,E501 +from swagger_server import util + + +class ResultsPerCsiRsIndexList(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, results_per_csi_rs_index: List[ResultsPerCsiRsIndexListResultsPerCsiRsIndex]=None): # noqa: E501 + """ResultsPerCsiRsIndexList - a model defined in Swagger + + :param results_per_csi_rs_index: The results_per_csi_rs_index of this ResultsPerCsiRsIndexList. # noqa: E501 + :type results_per_csi_rs_index: List[ResultsPerCsiRsIndexListResultsPerCsiRsIndex] + """ + self.swagger_types = { + 'results_per_csi_rs_index': List[ResultsPerCsiRsIndexListResultsPerCsiRsIndex] + } + + self.attribute_map = { + 'results_per_csi_rs_index': 'resultsPerCsiRsIndex' + } + self._results_per_csi_rs_index = results_per_csi_rs_index + + @classmethod + def from_dict(cls, dikt) -> 'ResultsPerCsiRsIndexList': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ResultsPerCsiRsIndexList of this ResultsPerCsiRsIndexList. # noqa: E501 + :rtype: ResultsPerCsiRsIndexList + """ + return util.deserialize_model(dikt, cls) + + @property + def results_per_csi_rs_index(self) -> List[ResultsPerCsiRsIndexListResultsPerCsiRsIndex]: + """Gets the results_per_csi_rs_index of this ResultsPerCsiRsIndexList. + + + :return: The results_per_csi_rs_index of this ResultsPerCsiRsIndexList. + :rtype: List[ResultsPerCsiRsIndexListResultsPerCsiRsIndex] + """ + return self._results_per_csi_rs_index + + @results_per_csi_rs_index.setter + def results_per_csi_rs_index(self, results_per_csi_rs_index: List[ResultsPerCsiRsIndexListResultsPerCsiRsIndex]): + """Sets the results_per_csi_rs_index of this ResultsPerCsiRsIndexList. + + + :param results_per_csi_rs_index: The results_per_csi_rs_index of this ResultsPerCsiRsIndexList. + :type results_per_csi_rs_index: List[ResultsPerCsiRsIndexListResultsPerCsiRsIndex] + """ + + self._results_per_csi_rs_index = results_per_csi_rs_index diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index_list_results_per_csi_rs_index.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index_list_results_per_csi_rs_index.py new file mode 100644 index 0000000000000000000000000000000000000000..3b4aa241a7f78b8e808a7b3aa953d4518ce08a0b --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_csi_rs_index_list_results_per_csi_rs_index.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr # noqa: F401,E501 +from swagger_server import util + + +class ResultsPerCsiRsIndexListResultsPerCsiRsIndex(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, csi_rs_index: int=None, csi_rs_results: MeasQuantityResultsNr=None): # noqa: E501 + """ResultsPerCsiRsIndexListResultsPerCsiRsIndex - a model defined in Swagger + + :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. # noqa: E501 + :type csi_rs_index: int + :param csi_rs_results: The csi_rs_results of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. # noqa: E501 + :type csi_rs_results: MeasQuantityResultsNr + """ + self.swagger_types = { + 'csi_rs_index': int, + 'csi_rs_results': MeasQuantityResultsNr + } + + self.attribute_map = { + 'csi_rs_index': 'csiRsIndex', + 'csi_rs_results': 'csiRsResults' + } + self._csi_rs_index = csi_rs_index + self._csi_rs_results = csi_rs_results + + @classmethod + def from_dict(cls, dikt) -> 'ResultsPerCsiRsIndexListResultsPerCsiRsIndex': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ResultsPerCsiRsIndexList_resultsPerCsiRsIndex of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. # noqa: E501 + :rtype: ResultsPerCsiRsIndexListResultsPerCsiRsIndex + """ + return util.deserialize_model(dikt, cls) + + @property + def csi_rs_index(self) -> int: + """Gets the csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + + + :return: The csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + :rtype: int + """ + return self._csi_rs_index + + @csi_rs_index.setter + def csi_rs_index(self, csi_rs_index: int): + """Sets the csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + + + :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + :type csi_rs_index: int + """ + + self._csi_rs_index = csi_rs_index + + @property + def csi_rs_results(self) -> MeasQuantityResultsNr: + """Gets the csi_rs_results of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + + + :return: The csi_rs_results of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + :rtype: MeasQuantityResultsNr + """ + return self._csi_rs_results + + @csi_rs_results.setter + def csi_rs_results(self, csi_rs_results: MeasQuantityResultsNr): + """Sets the csi_rs_results of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + + + :param csi_rs_results: The csi_rs_results of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex. + :type csi_rs_results: MeasQuantityResultsNr + """ + + self._csi_rs_results = csi_rs_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index.py new file mode 100644 index 0000000000000000000000000000000000000000..5577d1d1a9f5cd101d5b4b19e0a82694753d4093 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr # noqa: F401,E501 +from swagger_server import util + + +class ResultsPerSsbIndex(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ssb_index: int=None, ssb_results: MeasQuantityResultsNr=None): # noqa: E501 + """ResultsPerSsbIndex - a model defined in Swagger + + :param ssb_index: The ssb_index of this ResultsPerSsbIndex. # noqa: E501 + :type ssb_index: int + :param ssb_results: The ssb_results of this ResultsPerSsbIndex. # noqa: E501 + :type ssb_results: MeasQuantityResultsNr + """ + self.swagger_types = { + 'ssb_index': int, + 'ssb_results': MeasQuantityResultsNr + } + + self.attribute_map = { + 'ssb_index': 'ssbIndex', + 'ssb_results': 'ssbResults' + } + self._ssb_index = ssb_index + self._ssb_results = ssb_results + + @classmethod + def from_dict(cls, dikt) -> 'ResultsPerSsbIndex': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ResultsPerSsbIndex of this ResultsPerSsbIndex. # noqa: E501 + :rtype: ResultsPerSsbIndex + """ + return util.deserialize_model(dikt, cls) + + @property + def ssb_index(self) -> int: + """Gets the ssb_index of this ResultsPerSsbIndex. + + + :return: The ssb_index of this ResultsPerSsbIndex. + :rtype: int + """ + return self._ssb_index + + @ssb_index.setter + def ssb_index(self, ssb_index: int): + """Sets the ssb_index of this ResultsPerSsbIndex. + + + :param ssb_index: The ssb_index of this ResultsPerSsbIndex. + :type ssb_index: int + """ + if ssb_index is None: + raise ValueError("Invalid value for `ssb_index`, must not be `None`") # noqa: E501 + + self._ssb_index = ssb_index + + @property + def ssb_results(self) -> MeasQuantityResultsNr: + """Gets the ssb_results of this ResultsPerSsbIndex. + + + :return: The ssb_results of this ResultsPerSsbIndex. + :rtype: MeasQuantityResultsNr + """ + return self._ssb_results + + @ssb_results.setter + def ssb_results(self, ssb_results: MeasQuantityResultsNr): + """Sets the ssb_results of this ResultsPerSsbIndex. + + + :param ssb_results: The ssb_results of this ResultsPerSsbIndex. + :type ssb_results: MeasQuantityResultsNr + """ + + self._ssb_results = ssb_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index_list.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index_list.py new file mode 100644 index 0000000000000000000000000000000000000000..cea0f8fcdd31eada941574cef6425af28f361743 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index_list.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.results_per_ssb_index_list_results_per_ssb_index import ResultsPerSsbIndexListResultsPerSsbIndex # noqa: F401,E501 +from swagger_server import util + + +class ResultsPerSsbIndexList(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, results_per_ssb_index: List[ResultsPerSsbIndexListResultsPerSsbIndex]=None): # noqa: E501 + """ResultsPerSsbIndexList - a model defined in Swagger + + :param results_per_ssb_index: The results_per_ssb_index of this ResultsPerSsbIndexList. # noqa: E501 + :type results_per_ssb_index: List[ResultsPerSsbIndexListResultsPerSsbIndex] + """ + self.swagger_types = { + 'results_per_ssb_index': List[ResultsPerSsbIndexListResultsPerSsbIndex] + } + + self.attribute_map = { + 'results_per_ssb_index': 'resultsPerSsbIndex' + } + self._results_per_ssb_index = results_per_ssb_index + + @classmethod + def from_dict(cls, dikt) -> 'ResultsPerSsbIndexList': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ResultsPerSsbIndexList of this ResultsPerSsbIndexList. # noqa: E501 + :rtype: ResultsPerSsbIndexList + """ + return util.deserialize_model(dikt, cls) + + @property + def results_per_ssb_index(self) -> List[ResultsPerSsbIndexListResultsPerSsbIndex]: + """Gets the results_per_ssb_index of this ResultsPerSsbIndexList. + + + :return: The results_per_ssb_index of this ResultsPerSsbIndexList. + :rtype: List[ResultsPerSsbIndexListResultsPerSsbIndex] + """ + return self._results_per_ssb_index + + @results_per_ssb_index.setter + def results_per_ssb_index(self, results_per_ssb_index: List[ResultsPerSsbIndexListResultsPerSsbIndex]): + """Sets the results_per_ssb_index of this ResultsPerSsbIndexList. + + + :param results_per_ssb_index: The results_per_ssb_index of this ResultsPerSsbIndexList. + :type results_per_ssb_index: List[ResultsPerSsbIndexListResultsPerSsbIndex] + """ + + self._results_per_ssb_index = results_per_ssb_index diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index_list_results_per_ssb_index.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index_list_results_per_ssb_index.py new file mode 100644 index 0000000000000000000000000000000000000000..dcf1f3ff8ce69e4c76076c92db10f11c916ead22 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/results_per_ssb_index_list_results_per_ssb_index.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.meas_quantity_results_nr import MeasQuantityResultsNr # noqa: F401,E501 +from swagger_server import util + + +class ResultsPerSsbIndexListResultsPerSsbIndex(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ssb_index: int=None, ssb_results: MeasQuantityResultsNr=None): # noqa: E501 + """ResultsPerSsbIndexListResultsPerSsbIndex - a model defined in Swagger + + :param ssb_index: The ssb_index of this ResultsPerSsbIndexListResultsPerSsbIndex. # noqa: E501 + :type ssb_index: int + :param ssb_results: The ssb_results of this ResultsPerSsbIndexListResultsPerSsbIndex. # noqa: E501 + :type ssb_results: MeasQuantityResultsNr + """ + self.swagger_types = { + 'ssb_index': int, + 'ssb_results': MeasQuantityResultsNr + } + + self.attribute_map = { + 'ssb_index': 'ssbIndex', + 'ssb_results': 'ssbResults' + } + self._ssb_index = ssb_index + self._ssb_results = ssb_results + + @classmethod + def from_dict(cls, dikt) -> 'ResultsPerSsbIndexListResultsPerSsbIndex': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The ResultsPerSsbIndexList_resultsPerSsbIndex of this ResultsPerSsbIndexListResultsPerSsbIndex. # noqa: E501 + :rtype: ResultsPerSsbIndexListResultsPerSsbIndex + """ + return util.deserialize_model(dikt, cls) + + @property + def ssb_index(self) -> int: + """Gets the ssb_index of this ResultsPerSsbIndexListResultsPerSsbIndex. + + + :return: The ssb_index of this ResultsPerSsbIndexListResultsPerSsbIndex. + :rtype: int + """ + return self._ssb_index + + @ssb_index.setter + def ssb_index(self, ssb_index: int): + """Sets the ssb_index of this ResultsPerSsbIndexListResultsPerSsbIndex. + + + :param ssb_index: The ssb_index of this ResultsPerSsbIndexListResultsPerSsbIndex. + :type ssb_index: int + """ + + self._ssb_index = ssb_index + + @property + def ssb_results(self) -> MeasQuantityResultsNr: + """Gets the ssb_results of this ResultsPerSsbIndexListResultsPerSsbIndex. + + + :return: The ssb_results of this ResultsPerSsbIndexListResultsPerSsbIndex. + :rtype: MeasQuantityResultsNr + """ + return self._ssb_results + + @ssb_results.setter + def ssb_results(self, ssb_results: MeasQuantityResultsNr): + """Sets the ssb_results of this ResultsPerSsbIndexListResultsPerSsbIndex. + + + :param ssb_results: The ssb_results of this ResultsPerSsbIndexListResultsPerSsbIndex. + :type ssb_results: MeasQuantityResultsNr + """ + + self._ssb_results = ssb_results diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rs_index_results.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rs_index_results.py new file mode 100644 index 0000000000000000000000000000000000000000..4171a3e79eebc3abd2e041d2bd8e5faec4ed8a66 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/rs_index_results.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.results_per_csi_rs_index_list import ResultsPerCsiRsIndexList # noqa: F401,E501 +from swagger_server.models.results_per_ssb_index_list import ResultsPerSsbIndexList # noqa: F401,E501 +from swagger_server import util + + +class RsIndexResults(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, results_csi_rs_indexes: ResultsPerCsiRsIndexList=None, results_ssb_indexes: ResultsPerSsbIndexList=None): # noqa: E501 + """RsIndexResults - a model defined in Swagger + + :param results_csi_rs_indexes: The results_csi_rs_indexes of this RsIndexResults. # noqa: E501 + :type results_csi_rs_indexes: ResultsPerCsiRsIndexList + :param results_ssb_indexes: The results_ssb_indexes of this RsIndexResults. # noqa: E501 + :type results_ssb_indexes: ResultsPerSsbIndexList + """ + self.swagger_types = { + 'results_csi_rs_indexes': ResultsPerCsiRsIndexList, + 'results_ssb_indexes': ResultsPerSsbIndexList + } + + self.attribute_map = { + 'results_csi_rs_indexes': 'resultsCsiRsIndexes', + 'results_ssb_indexes': 'resultsSsbIndexes' + } + self._results_csi_rs_indexes = results_csi_rs_indexes + self._results_ssb_indexes = results_ssb_indexes + + @classmethod + def from_dict(cls, dikt) -> 'RsIndexResults': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The RsIndexResults of this RsIndexResults. # noqa: E501 + :rtype: RsIndexResults + """ + return util.deserialize_model(dikt, cls) + + @property + def results_csi_rs_indexes(self) -> ResultsPerCsiRsIndexList: + """Gets the results_csi_rs_indexes of this RsIndexResults. + + + :return: The results_csi_rs_indexes of this RsIndexResults. + :rtype: ResultsPerCsiRsIndexList + """ + return self._results_csi_rs_indexes + + @results_csi_rs_indexes.setter + def results_csi_rs_indexes(self, results_csi_rs_indexes: ResultsPerCsiRsIndexList): + """Sets the results_csi_rs_indexes of this RsIndexResults. + + + :param results_csi_rs_indexes: The results_csi_rs_indexes of this RsIndexResults. + :type results_csi_rs_indexes: ResultsPerCsiRsIndexList + """ + if results_csi_rs_indexes is None: + raise ValueError("Invalid value for `results_csi_rs_indexes`, must not be `None`") # noqa: E501 + + self._results_csi_rs_indexes = results_csi_rs_indexes + + @property + def results_ssb_indexes(self) -> ResultsPerSsbIndexList: + """Gets the results_ssb_indexes of this RsIndexResults. + + + :return: The results_ssb_indexes of this RsIndexResults. + :rtype: ResultsPerSsbIndexList + """ + return self._results_ssb_indexes + + @results_ssb_indexes.setter + def results_ssb_indexes(self, results_ssb_indexes: ResultsPerSsbIndexList): + """Sets the results_ssb_indexes of this RsIndexResults. + + + :param results_ssb_indexes: The results_ssb_indexes of this RsIndexResults. + :type results_ssb_indexes: ResultsPerSsbIndexList + """ + if results_ssb_indexes is None: + raise ValueError("Invalid value for `results_ssb_indexes`, must not be `None`") # noqa: E501 + + self._results_ssb_indexes = results_ssb_indexes diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info.py new file mode 100644 index 0000000000000000000000000000000000000000..c1c091c91f3c9410c02c3cd9ea5e065e0cb25a30 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.s1_bearer_info_s1_ue_info import S1BearerInfoS1UeInfo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class S1BearerInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, s1_ue_info: List[S1BearerInfoS1UeInfo]=None, time_stamp: TimeStamp=None): # noqa: E501 + """S1BearerInfo - a model defined in Swagger + + :param s1_ue_info: The s1_ue_info of this S1BearerInfo. # noqa: E501 + :type s1_ue_info: List[S1BearerInfoS1UeInfo] + :param time_stamp: The time_stamp of this S1BearerInfo. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 's1_ue_info': List[S1BearerInfoS1UeInfo], + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 's1_ue_info': 's1UeInfo', + 'time_stamp': 'timeStamp' + } + self._s1_ue_info = s1_ue_info + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerInfo of this S1BearerInfo. # noqa: E501 + :rtype: S1BearerInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def s1_ue_info(self) -> List[S1BearerInfoS1UeInfo]: + """Gets the s1_ue_info of this S1BearerInfo. + + Information on a specific UE as defined below. # noqa: E501 + + :return: The s1_ue_info of this S1BearerInfo. + :rtype: List[S1BearerInfoS1UeInfo] + """ + return self._s1_ue_info + + @s1_ue_info.setter + def s1_ue_info(self, s1_ue_info: List[S1BearerInfoS1UeInfo]): + """Sets the s1_ue_info of this S1BearerInfo. + + Information on a specific UE as defined below. # noqa: E501 + + :param s1_ue_info: The s1_ue_info of this S1BearerInfo. + :type s1_ue_info: List[S1BearerInfoS1UeInfo] + """ + if s1_ue_info is None: + raise ValueError("Invalid value for `s1_ue_info`, must not be `None`") # noqa: E501 + + self._s1_ue_info = s1_ue_info + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this S1BearerInfo. + + + :return: The time_stamp of this S1BearerInfo. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this S1BearerInfo. + + + :param time_stamp: The time_stamp of this S1BearerInfo. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_enb_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_enb_info.py new file mode 100644 index 0000000000000000000000000000000000000000..fd6693cecec8e4ac57e8ea72d5ec795fd4d988a1 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_enb_info.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class S1BearerInfoEnbInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ip_address: str=None, tunnel_id: str=None): # noqa: E501 + """S1BearerInfoEnbInfo - a model defined in Swagger + + :param ip_address: The ip_address of this S1BearerInfoEnbInfo. # noqa: E501 + :type ip_address: str + :param tunnel_id: The tunnel_id of this S1BearerInfoEnbInfo. # noqa: E501 + :type tunnel_id: str + """ + self.swagger_types = { + 'ip_address': str, + 'tunnel_id': str + } + + self.attribute_map = { + 'ip_address': 'ipAddress', + 'tunnel_id': 'tunnelId' + } + self._ip_address = ip_address + self._tunnel_id = tunnel_id + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerInfoEnbInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerInfo_enbInfo of this S1BearerInfoEnbInfo. # noqa: E501 + :rtype: S1BearerInfoEnbInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def ip_address(self) -> str: + """Gets the ip_address of this S1BearerInfoEnbInfo. + + eNB transport layer address of this S1 bearer. # noqa: E501 + + :return: The ip_address of this S1BearerInfoEnbInfo. + :rtype: str + """ + return self._ip_address + + @ip_address.setter + def ip_address(self, ip_address: str): + """Sets the ip_address of this S1BearerInfoEnbInfo. + + eNB transport layer address of this S1 bearer. # noqa: E501 + + :param ip_address: The ip_address of this S1BearerInfoEnbInfo. + :type ip_address: str + """ + if ip_address is None: + raise ValueError("Invalid value for `ip_address`, must not be `None`") # noqa: E501 + + self._ip_address = ip_address + + @property + def tunnel_id(self) -> str: + """Gets the tunnel_id of this S1BearerInfoEnbInfo. + + eNB GTP-U TEID of this S1 bearer. # noqa: E501 + + :return: The tunnel_id of this S1BearerInfoEnbInfo. + :rtype: str + """ + return self._tunnel_id + + @tunnel_id.setter + def tunnel_id(self, tunnel_id: str): + """Sets the tunnel_id of this S1BearerInfoEnbInfo. + + eNB GTP-U TEID of this S1 bearer. # noqa: E501 + + :param tunnel_id: The tunnel_id of this S1BearerInfoEnbInfo. + :type tunnel_id: str + """ + if tunnel_id is None: + raise ValueError("Invalid value for `tunnel_id`, must not be `None`") # noqa: E501 + + self._tunnel_id = tunnel_id diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_s1_bearer_info_detailed.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_s1_bearer_info_detailed.py new file mode 100644 index 0000000000000000000000000000000000000000..6005588904fddbb356a173b03e582ea64044a28c --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_s1_bearer_info_detailed.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.s1_bearer_info_enb_info import S1BearerInfoEnbInfo # noqa: F401,E501 +from swagger_server.models.s1_bearer_info_sgw_info import S1BearerInfoSGwInfo # noqa: F401,E501 +from swagger_server import util + + +class S1BearerInfoS1BearerInfoDetailed(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, enb_info: S1BearerInfoEnbInfo=None, erab_id: int=None, s_gw_info: S1BearerInfoSGwInfo=None): # noqa: E501 + """S1BearerInfoS1BearerInfoDetailed - a model defined in Swagger + + :param enb_info: The enb_info of this S1BearerInfoS1BearerInfoDetailed. # noqa: E501 + :type enb_info: S1BearerInfoEnbInfo + :param erab_id: The erab_id of this S1BearerInfoS1BearerInfoDetailed. # noqa: E501 + :type erab_id: int + :param s_gw_info: The s_gw_info of this S1BearerInfoS1BearerInfoDetailed. # noqa: E501 + :type s_gw_info: S1BearerInfoSGwInfo + """ + self.swagger_types = { + 'enb_info': S1BearerInfoEnbInfo, + 'erab_id': int, + 's_gw_info': S1BearerInfoSGwInfo + } + + self.attribute_map = { + 'enb_info': 'enbInfo', + 'erab_id': 'erabId', + 's_gw_info': 'sGwInfo' + } + self._enb_info = enb_info + self._erab_id = erab_id + self._s_gw_info = s_gw_info + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerInfoS1BearerInfoDetailed': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerInfo_s1BearerInfoDetailed of this S1BearerInfoS1BearerInfoDetailed. # noqa: E501 + :rtype: S1BearerInfoS1BearerInfoDetailed + """ + return util.deserialize_model(dikt, cls) + + @property + def enb_info(self) -> S1BearerInfoEnbInfo: + """Gets the enb_info of this S1BearerInfoS1BearerInfoDetailed. + + + :return: The enb_info of this S1BearerInfoS1BearerInfoDetailed. + :rtype: S1BearerInfoEnbInfo + """ + return self._enb_info + + @enb_info.setter + def enb_info(self, enb_info: S1BearerInfoEnbInfo): + """Sets the enb_info of this S1BearerInfoS1BearerInfoDetailed. + + + :param enb_info: The enb_info of this S1BearerInfoS1BearerInfoDetailed. + :type enb_info: S1BearerInfoEnbInfo + """ + + self._enb_info = enb_info + + @property + def erab_id(self) -> int: + """Gets the erab_id of this S1BearerInfoS1BearerInfoDetailed. + + The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The erab_id of this S1BearerInfoS1BearerInfoDetailed. + :rtype: int + """ + return self._erab_id + + @erab_id.setter + def erab_id(self, erab_id: int): + """Sets the erab_id of this S1BearerInfoS1BearerInfoDetailed. + + The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param erab_id: The erab_id of this S1BearerInfoS1BearerInfoDetailed. + :type erab_id: int + """ + + self._erab_id = erab_id + + @property + def s_gw_info(self) -> S1BearerInfoSGwInfo: + """Gets the s_gw_info of this S1BearerInfoS1BearerInfoDetailed. + + + :return: The s_gw_info of this S1BearerInfoS1BearerInfoDetailed. + :rtype: S1BearerInfoSGwInfo + """ + return self._s_gw_info + + @s_gw_info.setter + def s_gw_info(self, s_gw_info: S1BearerInfoSGwInfo): + """Sets the s_gw_info of this S1BearerInfoS1BearerInfoDetailed. + + + :param s_gw_info: The s_gw_info of this S1BearerInfoS1BearerInfoDetailed. + :type s_gw_info: S1BearerInfoSGwInfo + """ + + self._s_gw_info = s_gw_info diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_s1_ue_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_s1_ue_info.py new file mode 100644 index 0000000000000000000000000000000000000000..cb0cd021f6cc2e4a54bcadc5d8e83a47d16c3ade --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_s1_ue_info.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.cell_change_notification_temp_ue_id import CellChangeNotificationTempUeId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.s1_bearer_info_s1_bearer_info_detailed import S1BearerInfoS1BearerInfoDetailed # noqa: F401,E501 +from swagger_server import util + + +class S1BearerInfoS1UeInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ecgi: List[Ecgi]=None, s1_bearer_info_detailed: List[S1BearerInfoS1BearerInfoDetailed]=None, temp_ue_id: CellChangeNotificationTempUeId=None): # noqa: E501 + """S1BearerInfoS1UeInfo - a model defined in Swagger + + :param associate_id: The associate_id of this S1BearerInfoS1UeInfo. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this S1BearerInfoS1UeInfo. # noqa: E501 + :type ecgi: List[Ecgi] + :param s1_bearer_info_detailed: The s1_bearer_info_detailed of this S1BearerInfoS1UeInfo. # noqa: E501 + :type s1_bearer_info_detailed: List[S1BearerInfoS1BearerInfoDetailed] + :param temp_ue_id: The temp_ue_id of this S1BearerInfoS1UeInfo. # noqa: E501 + :type temp_ue_id: CellChangeNotificationTempUeId + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ecgi': List[Ecgi], + 's1_bearer_info_detailed': List[S1BearerInfoS1BearerInfoDetailed], + 'temp_ue_id': CellChangeNotificationTempUeId + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 's1_bearer_info_detailed': 's1BearerInfoDetailed', + 'temp_ue_id': 'tempUeId' + } + self._associate_id = associate_id + self._ecgi = ecgi + self._s1_bearer_info_detailed = s1_bearer_info_detailed + self._temp_ue_id = temp_ue_id + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerInfoS1UeInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerInfo_s1UeInfo of this S1BearerInfoS1UeInfo. # noqa: E501 + :rtype: S1BearerInfoS1UeInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this S1BearerInfoS1UeInfo. + + 1 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this S1BearerInfoS1UeInfo. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this S1BearerInfoS1UeInfo. + + 1 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this S1BearerInfoS1UeInfo. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this S1BearerInfoS1UeInfo. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this S1BearerInfoS1UeInfo. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this S1BearerInfoS1UeInfo. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this S1BearerInfoS1UeInfo. + :type ecgi: List[Ecgi] + """ + + self._ecgi = ecgi + + @property + def s1_bearer_info_detailed(self) -> List[S1BearerInfoS1BearerInfoDetailed]: + """Gets the s1_bearer_info_detailed of this S1BearerInfoS1UeInfo. + + S1 bearer information as defined below. # noqa: E501 + + :return: The s1_bearer_info_detailed of this S1BearerInfoS1UeInfo. + :rtype: List[S1BearerInfoS1BearerInfoDetailed] + """ + return self._s1_bearer_info_detailed + + @s1_bearer_info_detailed.setter + def s1_bearer_info_detailed(self, s1_bearer_info_detailed: List[S1BearerInfoS1BearerInfoDetailed]): + """Sets the s1_bearer_info_detailed of this S1BearerInfoS1UeInfo. + + S1 bearer information as defined below. # noqa: E501 + + :param s1_bearer_info_detailed: The s1_bearer_info_detailed of this S1BearerInfoS1UeInfo. + :type s1_bearer_info_detailed: List[S1BearerInfoS1BearerInfoDetailed] + """ + + self._s1_bearer_info_detailed = s1_bearer_info_detailed + + @property + def temp_ue_id(self) -> CellChangeNotificationTempUeId: + """Gets the temp_ue_id of this S1BearerInfoS1UeInfo. + + + :return: The temp_ue_id of this S1BearerInfoS1UeInfo. + :rtype: CellChangeNotificationTempUeId + """ + return self._temp_ue_id + + @temp_ue_id.setter + def temp_ue_id(self, temp_ue_id: CellChangeNotificationTempUeId): + """Sets the temp_ue_id of this S1BearerInfoS1UeInfo. + + + :param temp_ue_id: The temp_ue_id of this S1BearerInfoS1UeInfo. + :type temp_ue_id: CellChangeNotificationTempUeId + """ + + self._temp_ue_id = temp_ue_id diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_sgw_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_sgw_info.py new file mode 100644 index 0000000000000000000000000000000000000000..6a71a6e9827e748192d62e171f499a9ec0890a0a --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_info_sgw_info.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class S1BearerInfoSGwInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, ip_address: str=None, tunnel_id: str=None): # noqa: E501 + """S1BearerInfoSGwInfo - a model defined in Swagger + + :param ip_address: The ip_address of this S1BearerInfoSGwInfo. # noqa: E501 + :type ip_address: str + :param tunnel_id: The tunnel_id of this S1BearerInfoSGwInfo. # noqa: E501 + :type tunnel_id: str + """ + self.swagger_types = { + 'ip_address': str, + 'tunnel_id': str + } + + self.attribute_map = { + 'ip_address': 'ipAddress', + 'tunnel_id': 'tunnelId' + } + self._ip_address = ip_address + self._tunnel_id = tunnel_id + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerInfoSGwInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerInfo_sGwInfo of this S1BearerInfoSGwInfo. # noqa: E501 + :rtype: S1BearerInfoSGwInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def ip_address(self) -> str: + """Gets the ip_address of this S1BearerInfoSGwInfo. + + SGW transport layer address of this S1 bearer. # noqa: E501 + + :return: The ip_address of this S1BearerInfoSGwInfo. + :rtype: str + """ + return self._ip_address + + @ip_address.setter + def ip_address(self, ip_address: str): + """Sets the ip_address of this S1BearerInfoSGwInfo. + + SGW transport layer address of this S1 bearer. # noqa: E501 + + :param ip_address: The ip_address of this S1BearerInfoSGwInfo. + :type ip_address: str + """ + if ip_address is None: + raise ValueError("Invalid value for `ip_address`, must not be `None`") # noqa: E501 + + self._ip_address = ip_address + + @property + def tunnel_id(self) -> str: + """Gets the tunnel_id of this S1BearerInfoSGwInfo. + + SGW GTP-U TEID of this S1 bearer. # noqa: E501 + + :return: The tunnel_id of this S1BearerInfoSGwInfo. + :rtype: str + """ + return self._tunnel_id + + @tunnel_id.setter + def tunnel_id(self, tunnel_id: str): + """Sets the tunnel_id of this S1BearerInfoSGwInfo. + + SGW GTP-U TEID of this S1 bearer. # noqa: E501 + + :param tunnel_id: The tunnel_id of this S1BearerInfoSGwInfo. + :type tunnel_id: str + """ + if tunnel_id is None: + raise ValueError("Invalid value for `tunnel_id`, must not be `None`") # noqa: E501 + + self._tunnel_id = tunnel_id diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_notification.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_notification.py new file mode 100644 index 0000000000000000000000000000000000000000..fcb261e319d8832f2ee04a437d6e3de8632f429d --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_notification.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.s1_bearer_notification_s1_ue_info import S1BearerNotificationS1UeInfo # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class S1BearerNotification(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, notification_type: str=None, s1_event: int=None, s1_ue_info: S1BearerNotificationS1UeInfo=None, time_stamp: TimeStamp=None): # noqa: E501 + """S1BearerNotification - a model defined in Swagger + + :param notification_type: The notification_type of this S1BearerNotification. # noqa: E501 + :type notification_type: str + :param s1_event: The s1_event of this S1BearerNotification. # noqa: E501 + :type s1_event: int + :param s1_ue_info: The s1_ue_info of this S1BearerNotification. # noqa: E501 + :type s1_ue_info: S1BearerNotificationS1UeInfo + :param time_stamp: The time_stamp of this S1BearerNotification. # noqa: E501 + :type time_stamp: TimeStamp + """ + self.swagger_types = { + 'notification_type': str, + 's1_event': int, + 's1_ue_info': S1BearerNotificationS1UeInfo, + 'time_stamp': TimeStamp + } + + self.attribute_map = { + 'notification_type': 'notificationType', + 's1_event': 's1Event', + 's1_ue_info': 's1UeInfo', + 'time_stamp': 'timeStamp' + } + self._notification_type = notification_type + self._s1_event = s1_event + self._s1_ue_info = s1_ue_info + self._time_stamp = time_stamp + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerNotification': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerNotification of this S1BearerNotification. # noqa: E501 + :rtype: S1BearerNotification + """ + return util.deserialize_model(dikt, cls) + + @property + def notification_type(self) -> str: + """Gets the notification_type of this S1BearerNotification. + + Shall be set to \"S1BearerNotification\". # noqa: E501 + + :return: The notification_type of this S1BearerNotification. + :rtype: str + """ + return self._notification_type + + @notification_type.setter + def notification_type(self, notification_type: str): + """Sets the notification_type of this S1BearerNotification. + + Shall be set to \"S1BearerNotification\". # noqa: E501 + + :param notification_type: The notification_type of this S1BearerNotification. + :type notification_type: str + """ + if notification_type is None: + raise ValueError("Invalid value for `notification_type`, must not be `None`") # noqa: E501 + + self._notification_type = notification_type + + @property + def s1_event(self) -> int: + """Gets the s1_event of this S1BearerNotification. + + The subscribed event that triggered this notification in S1BearerSubscription. # noqa: E501 + + :return: The s1_event of this S1BearerNotification. + :rtype: int + """ + return self._s1_event + + @s1_event.setter + def s1_event(self, s1_event: int): + """Sets the s1_event of this S1BearerNotification. + + The subscribed event that triggered this notification in S1BearerSubscription. # noqa: E501 + + :param s1_event: The s1_event of this S1BearerNotification. + :type s1_event: int + """ + if s1_event is None: + raise ValueError("Invalid value for `s1_event`, must not be `None`") # noqa: E501 + + self._s1_event = s1_event + + @property + def s1_ue_info(self) -> S1BearerNotificationS1UeInfo: + """Gets the s1_ue_info of this S1BearerNotification. + + + :return: The s1_ue_info of this S1BearerNotification. + :rtype: S1BearerNotificationS1UeInfo + """ + return self._s1_ue_info + + @s1_ue_info.setter + def s1_ue_info(self, s1_ue_info: S1BearerNotificationS1UeInfo): + """Sets the s1_ue_info of this S1BearerNotification. + + + :param s1_ue_info: The s1_ue_info of this S1BearerNotification. + :type s1_ue_info: S1BearerNotificationS1UeInfo + """ + if s1_ue_info is None: + raise ValueError("Invalid value for `s1_ue_info`, must not be `None`") # noqa: E501 + + self._s1_ue_info = s1_ue_info + + @property + def time_stamp(self) -> TimeStamp: + """Gets the time_stamp of this S1BearerNotification. + + + :return: The time_stamp of this S1BearerNotification. + :rtype: TimeStamp + """ + return self._time_stamp + + @time_stamp.setter + def time_stamp(self, time_stamp: TimeStamp): + """Sets the time_stamp of this S1BearerNotification. + + + :param time_stamp: The time_stamp of this S1BearerNotification. + :type time_stamp: TimeStamp + """ + + self._time_stamp = time_stamp diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_notification_s1_ue_info.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_notification_s1_ue_info.py new file mode 100644 index 0000000000000000000000000000000000000000..dcca90098bfa9b9b5732bce6e34c8858b7f7b022 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_notification_s1_ue_info.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.cell_change_notification_temp_ue_id import CellChangeNotificationTempUeId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server.models.s1_bearer_info_s1_bearer_info_detailed import S1BearerInfoS1BearerInfoDetailed # noqa: F401,E501 +from swagger_server import util + + +class S1BearerNotificationS1UeInfo(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ecgi: List[Ecgi]=None, s1_bearer_info: List[S1BearerInfoS1BearerInfoDetailed]=None, temp_ue_id: CellChangeNotificationTempUeId=None): # noqa: E501 + """S1BearerNotificationS1UeInfo - a model defined in Swagger + + :param associate_id: The associate_id of this S1BearerNotificationS1UeInfo. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this S1BearerNotificationS1UeInfo. # noqa: E501 + :type ecgi: List[Ecgi] + :param s1_bearer_info: The s1_bearer_info of this S1BearerNotificationS1UeInfo. # noqa: E501 + :type s1_bearer_info: List[S1BearerInfoS1BearerInfoDetailed] + :param temp_ue_id: The temp_ue_id of this S1BearerNotificationS1UeInfo. # noqa: E501 + :type temp_ue_id: CellChangeNotificationTempUeId + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ecgi': List[Ecgi], + 's1_bearer_info': List[S1BearerInfoS1BearerInfoDetailed], + 'temp_ue_id': CellChangeNotificationTempUeId + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 's1_bearer_info': 's1BearerInfo', + 'temp_ue_id': 'tempUeId' + } + self._associate_id = associate_id + self._ecgi = ecgi + self._s1_bearer_info = s1_bearer_info + self._temp_ue_id = temp_ue_id + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerNotificationS1UeInfo': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerNotification_s1UeInfo of this S1BearerNotificationS1UeInfo. # noqa: E501 + :rtype: S1BearerNotificationS1UeInfo + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this S1BearerNotificationS1UeInfo. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :return: The associate_id of this S1BearerNotificationS1UeInfo. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this S1BearerNotificationS1UeInfo. + + 0 to N identifiers to associate the information for a specific UE or flow. # noqa: E501 + + :param associate_id: The associate_id of this S1BearerNotificationS1UeInfo. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this S1BearerNotificationS1UeInfo. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this S1BearerNotificationS1UeInfo. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this S1BearerNotificationS1UeInfo. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this S1BearerNotificationS1UeInfo. + :type ecgi: List[Ecgi] + """ + if ecgi is None: + raise ValueError("Invalid value for `ecgi`, must not be `None`") # noqa: E501 + + self._ecgi = ecgi + + @property + def s1_bearer_info(self) -> List[S1BearerInfoS1BearerInfoDetailed]: + """Gets the s1_bearer_info of this S1BearerNotificationS1UeInfo. + + S1 bearer information as defined below. # noqa: E501 + + :return: The s1_bearer_info of this S1BearerNotificationS1UeInfo. + :rtype: List[S1BearerInfoS1BearerInfoDetailed] + """ + return self._s1_bearer_info + + @s1_bearer_info.setter + def s1_bearer_info(self, s1_bearer_info: List[S1BearerInfoS1BearerInfoDetailed]): + """Sets the s1_bearer_info of this S1BearerNotificationS1UeInfo. + + S1 bearer information as defined below. # noqa: E501 + + :param s1_bearer_info: The s1_bearer_info of this S1BearerNotificationS1UeInfo. + :type s1_bearer_info: List[S1BearerInfoS1BearerInfoDetailed] + """ + if s1_bearer_info is None: + raise ValueError("Invalid value for `s1_bearer_info`, must not be `None`") # noqa: E501 + + self._s1_bearer_info = s1_bearer_info + + @property + def temp_ue_id(self) -> CellChangeNotificationTempUeId: + """Gets the temp_ue_id of this S1BearerNotificationS1UeInfo. + + + :return: The temp_ue_id of this S1BearerNotificationS1UeInfo. + :rtype: CellChangeNotificationTempUeId + """ + return self._temp_ue_id + + @temp_ue_id.setter + def temp_ue_id(self, temp_ue_id: CellChangeNotificationTempUeId): + """Sets the temp_ue_id of this S1BearerNotificationS1UeInfo. + + + :param temp_ue_id: The temp_ue_id of this S1BearerNotificationS1UeInfo. + :type temp_ue_id: CellChangeNotificationTempUeId + """ + + self._temp_ue_id = temp_ue_id diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..9c2b66fa366643684e18c1cec8850f69bdb2f537 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_subscription.py @@ -0,0 +1,210 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.ca_reconf_subscription_links import CaReconfSubscriptionLinks # noqa: F401,E501 +from swagger_server.models.enum import Enum # noqa: F401,E501 +from swagger_server.models.s1_bearer_subscription_s1_bearer_subscription_criteria import S1BearerSubscriptionS1BearerSubscriptionCriteria # noqa: F401,E501 +from swagger_server.models.time_stamp import TimeStamp # noqa: F401,E501 +from swagger_server import util + + +class S1BearerSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, s1_bearer_subscription_criteria: S1BearerSubscriptionS1BearerSubscriptionCriteria=None, links: CaReconfSubscriptionLinks=None, callback_reference: str=None, event_type: List[Enum]=None, expiry_deadline: TimeStamp=None, subscription_type: str=None): # noqa: E501 + """S1BearerSubscription - a model defined in Swagger + + :param s1_bearer_subscription_criteria: The s1_bearer_subscription_criteria of this S1BearerSubscription. # noqa: E501 + :type s1_bearer_subscription_criteria: S1BearerSubscriptionS1BearerSubscriptionCriteria + :param links: The links of this S1BearerSubscription. # noqa: E501 + :type links: CaReconfSubscriptionLinks + :param callback_reference: The callback_reference of this S1BearerSubscription. # noqa: E501 + :type callback_reference: str + :param event_type: The event_type of this S1BearerSubscription. # noqa: E501 + :type event_type: List[Enum] + :param expiry_deadline: The expiry_deadline of this S1BearerSubscription. # noqa: E501 + :type expiry_deadline: TimeStamp + :param subscription_type: The subscription_type of this S1BearerSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 's1_bearer_subscription_criteria': S1BearerSubscriptionS1BearerSubscriptionCriteria, + 'links': CaReconfSubscriptionLinks, + 'callback_reference': str, + 'event_type': List[Enum], + 'expiry_deadline': TimeStamp, + 'subscription_type': str + } + + self.attribute_map = { + 's1_bearer_subscription_criteria': 'S1BearerSubscriptionCriteria', + 'links': '_links', + 'callback_reference': 'callbackReference', + 'event_type': 'eventType', + 'expiry_deadline': 'expiryDeadline', + 'subscription_type': 'subscriptionType' + } + self._s1_bearer_subscription_criteria = s1_bearer_subscription_criteria + self._links = links + self._callback_reference = callback_reference + self._event_type = event_type + self._expiry_deadline = expiry_deadline + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerSubscription of this S1BearerSubscription. # noqa: E501 + :rtype: S1BearerSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def s1_bearer_subscription_criteria(self) -> S1BearerSubscriptionS1BearerSubscriptionCriteria: + """Gets the s1_bearer_subscription_criteria of this S1BearerSubscription. + + + :return: The s1_bearer_subscription_criteria of this S1BearerSubscription. + :rtype: S1BearerSubscriptionS1BearerSubscriptionCriteria + """ + return self._s1_bearer_subscription_criteria + + @s1_bearer_subscription_criteria.setter + def s1_bearer_subscription_criteria(self, s1_bearer_subscription_criteria: S1BearerSubscriptionS1BearerSubscriptionCriteria): + """Sets the s1_bearer_subscription_criteria of this S1BearerSubscription. + + + :param s1_bearer_subscription_criteria: The s1_bearer_subscription_criteria of this S1BearerSubscription. + :type s1_bearer_subscription_criteria: S1BearerSubscriptionS1BearerSubscriptionCriteria + """ + if s1_bearer_subscription_criteria is None: + raise ValueError("Invalid value for `s1_bearer_subscription_criteria`, must not be `None`") # noqa: E501 + + self._s1_bearer_subscription_criteria = s1_bearer_subscription_criteria + + @property + def links(self) -> CaReconfSubscriptionLinks: + """Gets the links of this S1BearerSubscription. + + + :return: The links of this S1BearerSubscription. + :rtype: CaReconfSubscriptionLinks + """ + return self._links + + @links.setter + def links(self, links: CaReconfSubscriptionLinks): + """Sets the links of this S1BearerSubscription. + + + :param links: The links of this S1BearerSubscription. + :type links: CaReconfSubscriptionLinks + """ + + self._links = links + + @property + def callback_reference(self) -> str: + """Gets the callback_reference of this S1BearerSubscription. + + URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. # noqa: E501 + + :return: The callback_reference of this S1BearerSubscription. + :rtype: str + """ + return self._callback_reference + + @callback_reference.setter + def callback_reference(self, callback_reference: str): + """Sets the callback_reference of this S1BearerSubscription. + + URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. # noqa: E501 + + :param callback_reference: The callback_reference of this S1BearerSubscription. + :type callback_reference: str + """ + if callback_reference is None: + raise ValueError("Invalid value for `callback_reference`, must not be `None`") # noqa: E501 + + self._callback_reference = callback_reference + + @property + def event_type(self) -> List[Enum]: + """Gets the event_type of this S1BearerSubscription. + + Description of the subscribed event. The event is included both in the request and in the response. \\nFor the eventType, the following values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE. # noqa: E501 + + :return: The event_type of this S1BearerSubscription. + :rtype: List[Enum] + """ + return self._event_type + + @event_type.setter + def event_type(self, event_type: List[Enum]): + """Sets the event_type of this S1BearerSubscription. + + Description of the subscribed event. The event is included both in the request and in the response. \\nFor the eventType, the following values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE. # noqa: E501 + + :param event_type: The event_type of this S1BearerSubscription. + :type event_type: List[Enum] + """ + if event_type is None: + raise ValueError("Invalid value for `event_type`, must not be `None`") # noqa: E501 + + self._event_type = event_type + + @property + def expiry_deadline(self) -> TimeStamp: + """Gets the expiry_deadline of this S1BearerSubscription. + + + :return: The expiry_deadline of this S1BearerSubscription. + :rtype: TimeStamp + """ + return self._expiry_deadline + + @expiry_deadline.setter + def expiry_deadline(self, expiry_deadline: TimeStamp): + """Sets the expiry_deadline of this S1BearerSubscription. + + + :param expiry_deadline: The expiry_deadline of this S1BearerSubscription. + :type expiry_deadline: TimeStamp + """ + + self._expiry_deadline = expiry_deadline + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this S1BearerSubscription. + + Shall be set to \"S1BearerSubscription\". # noqa: E501 + + :return: The subscription_type of this S1BearerSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this S1BearerSubscription. + + Shall be set to \"S1BearerSubscription\". # noqa: E501 + + :param subscription_type: The subscription_type of this S1BearerSubscription. + :type subscription_type: str + """ + if subscription_type is None: + raise ValueError("Invalid value for `subscription_type`, must not be `None`") # noqa: E501 + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_subscription_s1_bearer_subscription_criteria.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_subscription_s1_bearer_subscription_criteria.py new file mode 100644 index 0000000000000000000000000000000000000000..3a52127b1758f3d18fd15ebf6be16ba929e0008c --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/s1_bearer_subscription_s1_bearer_subscription_criteria.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.associate_id import AssociateId # noqa: F401,E501 +from swagger_server.models.ecgi import Ecgi # noqa: F401,E501 +from swagger_server import util + + +class S1BearerSubscriptionS1BearerSubscriptionCriteria(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, associate_id: List[AssociateId]=None, ecgi: List[Ecgi]=None, erab_id: List[int]=None): # noqa: E501 + """S1BearerSubscriptionS1BearerSubscriptionCriteria - a model defined in Swagger + + :param associate_id: The associate_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. # noqa: E501 + :type associate_id: List[AssociateId] + :param ecgi: The ecgi of this S1BearerSubscriptionS1BearerSubscriptionCriteria. # noqa: E501 + :type ecgi: List[Ecgi] + :param erab_id: The erab_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. # noqa: E501 + :type erab_id: List[int] + """ + self.swagger_types = { + 'associate_id': List[AssociateId], + 'ecgi': List[Ecgi], + 'erab_id': List[int] + } + + self.attribute_map = { + 'associate_id': 'associateId', + 'ecgi': 'ecgi', + 'erab_id': 'erabId' + } + self._associate_id = associate_id + self._ecgi = ecgi + self._erab_id = erab_id + + @classmethod + def from_dict(cls, dikt) -> 'S1BearerSubscriptionS1BearerSubscriptionCriteria': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The S1BearerSubscription_S1BearerSubscriptionCriteria of this S1BearerSubscriptionS1BearerSubscriptionCriteria. # noqa: E501 + :rtype: S1BearerSubscriptionS1BearerSubscriptionCriteria + """ + return util.deserialize_model(dikt, cls) + + @property + def associate_id(self) -> List[AssociateId]: + """Gets the associate_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + + 0 to N identifiers to associate the events for a specific UE or a flow. # noqa: E501 + + :return: The associate_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + :rtype: List[AssociateId] + """ + return self._associate_id + + @associate_id.setter + def associate_id(self, associate_id: List[AssociateId]): + """Sets the associate_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + + 0 to N identifiers to associate the events for a specific UE or a flow. # noqa: E501 + + :param associate_id: The associate_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + :type associate_id: List[AssociateId] + """ + + self._associate_id = associate_id + + @property + def ecgi(self) -> List[Ecgi]: + """Gets the ecgi of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :return: The ecgi of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + :rtype: List[Ecgi] + """ + return self._ecgi + + @ecgi.setter + def ecgi(self, ecgi: List[Ecgi]): + """Sets the ecgi of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + + E-UTRAN Cell Global Identifier. # noqa: E501 + + :param ecgi: The ecgi of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + :type ecgi: List[Ecgi] + """ + + self._ecgi = ecgi + + @property + def erab_id(self) -> List[int]: + """Gets the erab_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + + The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :return: The erab_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + :rtype: List[int] + """ + return self._erab_id + + @erab_id.setter + def erab_id(self, erab_id: List[int]): + """Sets the erab_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + + The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. # noqa: E501 + + :param erab_id: The erab_id of this S1BearerSubscriptionS1BearerSubscriptionCriteria. + :type erab_id: List[int] + """ + + self._erab_id = erab_id diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list.py new file mode 100644 index 0000000000000000000000000000000000000000..e4551d4c8668f44b5160d48792170fff9bebd3b4 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.subscription_link_list_links import SubscriptionLinkListLinks # noqa: F401,E501 +from swagger_server import util + + +class SubscriptionLinkList(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, links: SubscriptionLinkListLinks=None): # noqa: E501 + """SubscriptionLinkList - a model defined in Swagger + + :param links: The links of this SubscriptionLinkList. # noqa: E501 + :type links: SubscriptionLinkListLinks + """ + self.swagger_types = { + 'links': SubscriptionLinkListLinks + } + + self.attribute_map = { + 'links': '_links' + } + self._links = links + + @classmethod + def from_dict(cls, dikt) -> 'SubscriptionLinkList': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The SubscriptionLinkList of this SubscriptionLinkList. # noqa: E501 + :rtype: SubscriptionLinkList + """ + return util.deserialize_model(dikt, cls) + + @property + def links(self) -> SubscriptionLinkListLinks: + """Gets the links of this SubscriptionLinkList. + + + :return: The links of this SubscriptionLinkList. + :rtype: SubscriptionLinkListLinks + """ + return self._links + + @links.setter + def links(self, links: SubscriptionLinkListLinks): + """Sets the links of this SubscriptionLinkList. + + + :param links: The links of this SubscriptionLinkList. + :type links: SubscriptionLinkListLinks + """ + if links is None: + raise ValueError("Invalid value for `links`, must not be `None`") # noqa: E501 + + self._links = links diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list_links.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list_links.py new file mode 100644 index 0000000000000000000000000000000000000000..552fe6f57cfb27e6d19fd932d2463aca71484c5f --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list_links.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server.models.link_type import LinkType # noqa: F401,E501 +from swagger_server.models.subscription_link_list_links_subscription import SubscriptionLinkListLinksSubscription # noqa: F401,E501 +from swagger_server import util + + +class SubscriptionLinkListLinks(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, _self: LinkType=None, subscription: List[SubscriptionLinkListLinksSubscription]=None): # noqa: E501 + """SubscriptionLinkListLinks - a model defined in Swagger + + :param _self: The _self of this SubscriptionLinkListLinks. # noqa: E501 + :type _self: LinkType + :param subscription: The subscription of this SubscriptionLinkListLinks. # noqa: E501 + :type subscription: List[SubscriptionLinkListLinksSubscription] + """ + self.swagger_types = { + '_self': LinkType, + 'subscription': List[SubscriptionLinkListLinksSubscription] + } + + self.attribute_map = { + '_self': 'self', + 'subscription': 'subscription' + } + self.__self = _self + self._subscription = subscription + + @classmethod + def from_dict(cls, dikt) -> 'SubscriptionLinkListLinks': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The SubscriptionLinkList__links of this SubscriptionLinkListLinks. # noqa: E501 + :rtype: SubscriptionLinkListLinks + """ + return util.deserialize_model(dikt, cls) + + @property + def _self(self) -> LinkType: + """Gets the _self of this SubscriptionLinkListLinks. + + + :return: The _self of this SubscriptionLinkListLinks. + :rtype: LinkType + """ + return self.__self + + @_self.setter + def _self(self, _self: LinkType): + """Sets the _self of this SubscriptionLinkListLinks. + + + :param _self: The _self of this SubscriptionLinkListLinks. + :type _self: LinkType + """ + if _self is None: + raise ValueError("Invalid value for `_self`, must not be `None`") # noqa: E501 + + self.__self = _self + + @property + def subscription(self) -> List[SubscriptionLinkListLinksSubscription]: + """Gets the subscription of this SubscriptionLinkListLinks. + + A link to a subscription. # noqa: E501 + + :return: The subscription of this SubscriptionLinkListLinks. + :rtype: List[SubscriptionLinkListLinksSubscription] + """ + return self._subscription + + @subscription.setter + def subscription(self, subscription: List[SubscriptionLinkListLinksSubscription]): + """Sets the subscription of this SubscriptionLinkListLinks. + + A link to a subscription. # noqa: E501 + + :param subscription: The subscription of this SubscriptionLinkListLinks. + :type subscription: List[SubscriptionLinkListLinksSubscription] + """ + + self._subscription = subscription diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list_links_subscription.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list_links_subscription.py new file mode 100644 index 0000000000000000000000000000000000000000..3479b5168262444b534df35da03d83bf90567305 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/subscription_link_list_links_subscription.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class SubscriptionLinkListLinksSubscription(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, href: str=None, subscription_type: str=None): # noqa: E501 + """SubscriptionLinkListLinksSubscription - a model defined in Swagger + + :param href: The href of this SubscriptionLinkListLinksSubscription. # noqa: E501 + :type href: str + :param subscription_type: The subscription_type of this SubscriptionLinkListLinksSubscription. # noqa: E501 + :type subscription_type: str + """ + self.swagger_types = { + 'href': str, + 'subscription_type': str + } + + self.attribute_map = { + 'href': 'href', + 'subscription_type': 'subscriptionType' + } + self._href = href + self._subscription_type = subscription_type + + @classmethod + def from_dict(cls, dikt) -> 'SubscriptionLinkListLinksSubscription': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The SubscriptionLinkList__links_subscription of this SubscriptionLinkListLinksSubscription. # noqa: E501 + :rtype: SubscriptionLinkListLinksSubscription + """ + return util.deserialize_model(dikt, cls) + + @property + def href(self) -> str: + """Gets the href of this SubscriptionLinkListLinksSubscription. + + The URI referring to the subscription. # noqa: E501 + + :return: The href of this SubscriptionLinkListLinksSubscription. + :rtype: str + """ + return self._href + + @href.setter + def href(self, href: str): + """Sets the href of this SubscriptionLinkListLinksSubscription. + + The URI referring to the subscription. # noqa: E501 + + :param href: The href of this SubscriptionLinkListLinksSubscription. + :type href: str + """ + + self._href = href + + @property + def subscription_type(self) -> str: + """Gets the subscription_type of this SubscriptionLinkListLinksSubscription. + + Type of the subscription. The string shall be set according to the \"subscriptionType\" attribute of the associated subscription data type event defined in clause 6.3. # noqa: E501 + + :return: The subscription_type of this SubscriptionLinkListLinksSubscription. + :rtype: str + """ + return self._subscription_type + + @subscription_type.setter + def subscription_type(self, subscription_type: str): + """Sets the subscription_type of this SubscriptionLinkListLinksSubscription. + + Type of the subscription. The string shall be set according to the \"subscriptionType\" attribute of the associated subscription data type event defined in clause 6.3. # noqa: E501 + + :param subscription_type: The subscription_type of this SubscriptionLinkListLinksSubscription. + :type subscription_type: str + """ + + self._subscription_type = subscription_type diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/time_stamp.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/time_stamp.py new file mode 100644 index 0000000000000000000000000000000000000000..b59df50eadfb2427daa4ee89fb005aa0dda2ee94 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/time_stamp.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class TimeStamp(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + def __init__(self, nano_seconds: int=None, seconds: int=None): # noqa: E501 + """TimeStamp - a model defined in Swagger + + :param nano_seconds: The nano_seconds of this TimeStamp. # noqa: E501 + :type nano_seconds: int + :param seconds: The seconds of this TimeStamp. # noqa: E501 + :type seconds: int + """ + self.swagger_types = { + 'nano_seconds': int, + 'seconds': int + } + + self.attribute_map = { + 'nano_seconds': 'nanoSeconds', + 'seconds': 'seconds' + } + self._nano_seconds = nano_seconds + self._seconds = seconds + + @classmethod + def from_dict(cls, dikt) -> 'TimeStamp': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The TimeStamp of this TimeStamp. # noqa: E501 + :rtype: TimeStamp + """ + return util.deserialize_model(dikt, cls) + + @property + def nano_seconds(self) -> int: + """Gets the nano_seconds of this TimeStamp. + + The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. # noqa: E501 + + :return: The nano_seconds of this TimeStamp. + :rtype: int + """ + return self._nano_seconds + + @nano_seconds.setter + def nano_seconds(self, nano_seconds: int): + """Sets the nano_seconds of this TimeStamp. + + The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. # noqa: E501 + + :param nano_seconds: The nano_seconds of this TimeStamp. + :type nano_seconds: int + """ + if nano_seconds is None: + raise ValueError("Invalid value for `nano_seconds`, must not be `None`") # noqa: E501 + + self._nano_seconds = nano_seconds + + @property + def seconds(self) -> int: + """Gets the seconds of this TimeStamp. + + The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. # noqa: E501 + + :return: The seconds of this TimeStamp. + :rtype: int + """ + return self._seconds + + @seconds.setter + def seconds(self, seconds: int): + """Sets the seconds of this TimeStamp. + + The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. # noqa: E501 + + :param seconds: The seconds of this TimeStamp. + :type seconds: int + """ + if seconds is None: + raise ValueError("Invalid value for `seconds`, must not be `None`") # noqa: E501 + + self._seconds = seconds diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/trigger.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/trigger.py new file mode 100644 index 0000000000000000000000000000000000000000..ea0e0566e9cac5b65da48796a2286a05e4c86a3f --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/trigger.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class Trigger(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + _0 = "0" + _1 = "1" + _2 = "2" + _3 = "3" + _4 = "4" + _5 = "5" + _10 = "10" + _11 = "11" + _12 = "12" + _13 = "13" + _14 = "14" + _15 = "15" + _20 = "20" + _21 = "21" + _30 = "30" + _31 = "31" + _40 = "40" + _41 = "41" + _42 = "42" + _50 = "50" + _51 = "51" + _60 = "60" + _61 = "61" + def __init__(self): # noqa: E501 + """Trigger - a model defined in Swagger + + """ + self.swagger_types = { + } + + self.attribute_map = { + } + + @classmethod + def from_dict(cls, dikt) -> 'Trigger': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The Trigger of this Trigger. # noqa: E501 + :rtype: Trigger + """ + return util.deserialize_model(dikt, cls) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/trigger_nr.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/trigger_nr.py new file mode 100644 index 0000000000000000000000000000000000000000..a90d39005406545ea81e766c445750e0fa0fc2b0 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/models/trigger_nr.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +from __future__ import absolute_import +from datetime import date, datetime # noqa: F401 + +from typing import List, Dict # noqa: F401 + +from swagger_server.models.base_model_ import Model +from swagger_server import util + + +class TriggerNr(Model): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + _0 = "0" + _1 = "1" + _2 = "2" + _10 = "10" + _11 = "11" + _12 = "12" + _13 = "13" + _14 = "14" + _15 = "15" + _20 = "20" + _21 = "21" + _30 = "30" + _31 = "31" + def __init__(self): # noqa: E501 + """TriggerNr - a model defined in Swagger + + """ + self.swagger_types = { + } + + self.attribute_map = { + } + + @classmethod + def from_dict(cls, dikt) -> 'TriggerNr': + """Returns the dict as a model + + :param dikt: A dict. + :type: dict + :return: The TriggerNr of this TriggerNr. # noqa: E501 + :rtype: TriggerNr + """ + return util.deserialize_model(dikt, cls) diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/swagger/swagger.yaml b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/swagger/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fdba56e8d3a929b22e210c87387e726d8cdd331b --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/swagger/swagger.yaml @@ -0,0 +1,4932 @@ +openapi: 3.0.0 +info: + title: ETSI GS MEC 012 - Radio Network Information API + description: The ETSI MEC ISG MEC012 Radio Network Information API described using + OpenAPI. + contact: + url: https://forge.etsi.org/rep/mec/gs012-rnis-api + license: + name: BSD-3-Clause + url: https://forge.etsi.org/legal-matters + version: 2.1.1 +externalDocs: + description: "ETSI GS MEC 012 Radio Network Information API, V2.1.1" + url: http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_mec012v020101p.pdf +servers: +- url: https://localhost/rni/v2 +tags: +- name: rni +paths: + /queries/rab_info: + get: + tags: + - rni + summary: Retrieve information on Radio Access Bearers + description: Queries information about the Radio Access Bearers + operationId: rab_info_get + parameters: + - name: app_ins_id + in: query + description: Application instance identifier + required: false + style: form + explode: true + schema: + type: string + x-exportParamName: AppInsId + x-optionalDataType: String + - name: cell_id + in: query + description: Comma separated list of E-UTRAN Cell Identities + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: CellId + - name: ue_ipv4_address + in: query + description: Comma separated list of IE IPv4 addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv4Address + - name: ue_ipv6_address + in: query + description: Comma separated list of IE IPv6 addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv6Address + - name: nated_ip_address + in: query + description: Comma separated list of IE NATed IP addresses as defined for + the type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: NatedIpAddress + - name: gtp_teid + in: query + description: Comma separated list of GTP TEID addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: GtpTeid + - name: erab_id + in: query + description: E-RAB identifier + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabId + x-optionalDataType: Int32 + - name: qci + in: query + description: QoS Class Identifier as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: Qci + x-optionalDataType: Int32 + - name: erab_mbr_dl + in: query + description: Maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabMbrDl + x-optionalDataType: Int32 + - name: erab_mbr_ul + in: query + description: Maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabMbrUl + x-optionalDataType: Int32 + - name: erab_gbr_dl + in: query + description: Guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 + 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabGbrDl + x-optionalDataType: Int32 + - name: erab_gbr_ul + in: query + description: Guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabGbrUl + x-optionalDataType: Int32 + responses: + "200": + description: Successful response to rab_info request + content: + application/json: + schema: + $ref: '#/components/schemas/RabInfo' + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: queries + x-openapi-router-controller: swagger_server.controllers.rni_controller + /queries/plmn_info: + get: + tags: + - rni + summary: Retrieve information on the underlying Mobile Network that the MEC + application is associated to + description: Queries information about the Mobile Network + operationId: plmn_info_get + parameters: + - name: app_ins_id + in: query + description: Comma separated list of Application instance identifiers + required: true + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: AppInsIdArr + responses: + "200": + description: Successful response to plmn_info request + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PlmnInfo' + x-content-type: application/json + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: queries + x-openapi-router-controller: swagger_server.controllers.rni_controller + /queries/s1_bearer_info: + get: + tags: + - rni + summary: Retrieve S1-U bearer information related to specific UE(s) + description: Queries information about the S1 bearer(s) + operationId: s1_bearer_info_get + parameters: + - name: temp_ue_id + in: query + description: Comma separated list of temporary identifiers allocated for the + specific UE as defined in ETSI TS 136 413 + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: TempUeId + - name: ue_ipv4_address + in: query + description: Comma separated list of IE IPv4 addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv4Address + - name: ue_ipv6_address + in: query + description: Comma separated list of IE IPv6 addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv6Address + - name: nated_ip_address + in: query + description: Comma separated list of IE NATed IP addresses as defined for + the type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: NatedIpAddress + - name: gtp_teid + in: query + description: Comma separated list of GTP TEID addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: GtpTeid + - name: cell_id + in: query + description: Comma separated list of E-UTRAN Cell Identities + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: CellId + - name: erab_id + in: query + description: Comma separated list of E-RAB identifiers + required: false + style: form + explode: true + schema: + type: array + items: + type: integer + format: int32 + x-exportParamName: ErabIdArr + responses: + "200": + description: Successful response to s1_bearer_info request + content: + application/json: + schema: + $ref: '#/components/schemas/S1BearerInfo' + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: queries + x-openapi-router-controller: swagger_server.controllers.rni_controller + /queries/layer2_meas: + get: + tags: + - rni + summary: Retrieve information on layer 2 measurements + description: Queries information about the layer 2 measurements. + operationId: layer2_meas_info_get + parameters: + - name: app_ins_id + in: query + description: Application instance identifier + required: false + style: form + explode: true + schema: + type: string + x-exportParamName: AppInsId + x-optionalDataType: String + - name: cell_id + in: query + description: Comma separated list of E-UTRAN Cell Identities + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: CellId + - name: ue_ipv4_address + in: query + description: Comma separated list of IE IPv4 addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv4Address + - name: ue_ipv6_address + in: query + description: Comma separated list of IE IPv6 addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv6Address + - name: nated_ip_address + in: query + description: Comma separated list of IE NATed IP addresses as defined for + the type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: NatedIpAddress + - name: gtp_teid + in: query + description: Comma separated list of GTP TEID addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: GtpTeid + - name: dl_gbr_prb_usage_cell + in: query + description: PRB usage for downlink GBR traffic in percentage as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrPrbUsageCell + - name: ul_gbr_prb_usage_cell + in: query + description: PRB usage for uplink GBR traffic in percentage as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrPrbUsageCell + - name: dl_nongbr_prb_usage_cell + in: query + description: PRB usage for downlink non-GBR traffic in percentage as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrPrbUsageCell + - name: ul_nongbr_prb_usage_cell + in: query + description: PRB usage for uplink non-GBR traffic in percentage as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrPrbUsageCell + - name: dl_total_prb_usage_cell + in: query + description: PRB usage for total downlink traffic in percentage as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlTotalPrbUsageCell + - name: ul_total_prb_usage_cell + in: query + description: PRB usage for total uplink traffic in percentage as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlTotalPrbUsageCell + - name: received_dedicated_preambles_cell + in: query + description: Received dedicated preambles in percentage as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: ReceivedDedicatedPreamblesCell + - name: received_randomly_selected_preambles_low_range_cell + in: query + description: Received randomly selected preambles in the low range in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: ReceivedRandomPreamblesLowRangeCell + - name: received_randomly_selected_preambles_high_range_cell + in: query + description: Received rendomly selected preambles in the high range in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: ReceivedRandomPreamblesHighRangeCell + - name: number_of_active_ue_dl_gbr_cell + in: query + description: Number of active UEs with downlink GBR traffic as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeDlGbrCell + - name: number_of_active_ue_ul_gbr_cell + in: query + description: Number of active UEs with uplink GBR traffic as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeUlGbrCell + - name: number_of_active_ue_dl_nongbr_cell + in: query + description: Number of active UEs with downlink non-GBR traffic as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeDlNonGbrCell + - name: number_of_active_ue_ul_nongbr_cell + in: query + description: Number of active UEs with uplink non-GBR traffic as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeUlNonGbrCell + - name: dl_gbr_pdr_cell + in: query + description: Packet discard rate for downlink GBR traffic in percentage as + defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrPdrCell + - name: ul_gbr_pdr_cell + in: query + description: Packet discard rate for uplink GBR traffic in percentage as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrPdrCell + - name: dl_nongbr_pdr_cell + in: query + description: Packet discard rate for downlink non-GBR traffic in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrPdrCell + - name: ul_nongbr_pdr_cell + in: query + description: Packet discard rate for uplink non-GBR traffic in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrPdrCell + - name: dl_gbr_delay_ue + in: query + description: Packet delay of downlink GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrDelayUe + - name: ul_gbr_delay_ue + in: query + description: Packet delay of uplink GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrDelayUe + - name: dl_nongbr_delay_ue + in: query + description: Packet delay of downlink non-GBR traffic of a UE as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrDelayUe + - name: ul_nongbr_delay_ue + in: query + description: Packet delay of uplink non-GBR traffic of a UE as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrDelayUe + - name: dl_gbr_pdr_ue + in: query + description: Packet discard rate of downlink GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrPdrUe + - name: ul_gbr_pdr_ue + in: query + description: Packet discard rate of uplink GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrPdrUe + - name: dl_nongbr_pdr_ue + in: query + description: Packet discard rate of downlink non-GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrPdrUe + - name: ul_nongbr_pdr_ue + in: query + description: Packet discard rate of uplink non-GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrPdrUe + - name: dl_gbr_throughput_ue + in: query + description: Scheduled throughput of downlink GBR traffic of a UE as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrThroughputUe + - name: ul_gbr_throughput_ue + in: query + description: Scheduled throughput of uplink GBR traffic of a UE as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrThroughputUe + - name: dl_nongbr_throughput_ue + in: query + description: Scheduled throughput of downlink non-GBR traffic of a UE as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrThroughputUe + - name: ul_nongbr_throughput_ue + in: query + description: Scheduled throughput of uplink non-GBR traffic of a UE as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrThroughputUe + - name: dl_gbr_data_volume_ue + in: query + description: Data volume of downlink GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrDataVolumeUe + - name: ul_gbr_data_volume_ue + in: query + description: Data volume of uplink GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrDataVolumeUe + - name: dl_nongbr_data_volume_ue + in: query + description: Data volume of downlink non-GBR traffic of a UE as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrDataVolumeUe + - name: ul_nongbr_data_volume_ue + in: query + description: Data volume of uplink non-GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrDataVolumeUe + responses: + "200": + description: Successful response to layer2 measurements info request + content: + application/json: + schema: + $ref: '#/components/schemas/L2Meas' + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "414": + description: "URI Too Long : used to indicate that the server is refusing\ + \ to process the request because the request URI is longer than the server\ + \ is willing or able to process." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: queries + x-openapi-router-controller: swagger_server.controllers.rni_controller + /subscriptions: + get: + tags: + - rni + summary: Retrieve information on subscriptions for notifications + description: Queries information on subscriptions for notifications + operationId: subscription_link_list_subscriptions_get + parameters: + - name: subscription_type + in: query + description: "Filter on a specific subscription type. Permitted values: cell_change,\ + \ rab_est, rab_mod, rab_rel, meas_rep_ue, nr_meas_rep_ue, timing_advance_ue,\ + \ ca_reconf, s1_bearer." + required: false + style: form + explode: true + schema: + type: string + x-exportParamName: SubscriptionType + responses: + "200": + description: Response body contains the list of links to requestors subscriptions. + content: + application/json: + schema: + $ref: '#/components/schemas/SubscriptionLinkList' + example: + _links: + self: + href: http://meAppServer.example.com/rni/v2/subscriptions + subscription: + - _links: + self: + href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + callbackReference: http://my.callback.com/rni-cell-change/some-id + subscriptionType: CellChangeSubscription + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: subscriptions + x-openapi-router-controller: swagger_server.controllers.rni_controller + post: + tags: + - rni + summary: Create a new subscription + description: Creates a new subscription to Radio Network Information notifications + operationId: subscriptions_post + requestBody: + description: Subscription to be created + content: + application/json: + schema: + $ref: '#/components/schemas/InlineSubscription' + example: + subscriptionType: CellChangeSubscription + callbackReference: http://my.callback.com/rni-cell-change/some-id + filterCriteriaAssocHo: + appInstanceId: myApp + associateId: + - type: 1 + value: 10.100.0.1 + ecgi: + - plmn: + mnc: "01" + mcc: "001" + cellId: ACBDEFA + hoStatus: + - 1 + - 2 + expiryDeadline: + seconds: 1977836800 + nanoseconds: 0 + required: true + responses: + "201": + description: Successful subscription + content: + application/json: + schema: + $ref: '#/components/schemas/InlineSubscription' + example: + subscriptionType: CellChangeSubscription + callbackReference: http://my.callback.com/rni-cell-change/some-id + _links: + self: + href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + filterCriteriaAssocHo: + appInstanceId: myApp + associateId: + - type: 1 + value: 10.100.0.1 + ecgi: + - plmn: + mnc: "01" + mcc: "001" + cellId: ACBDEFA + hoStatus: + - 1 + - 2 + expiryDeadline: + seconds: 1977836800 + nanoseconds: 0 + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "415": + description: "Precondition failed : used when a condition has failed during\ + \ conditional requests, e.g. when using ETags to avoid write conflicts\ + \ when using PUT" + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: "Unprocessable Entity : used to indicate that the server understands\ + \ the content type of the request entity and that the syntax of the request\ + \ entity is correct but that the server is unable to process the contained\ + \ instructions. This error condition can occur if an JSON request body\ + \ is syntactically correct but semantically incorrect, for example if\ + \ the target area for the request is considered too large. This error\ + \ condition can also occur if the capabilities required by the request\ + \ are not supported." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + example: + application/problem+json: + type: https://meAppServer.example.com/rni/v2/probs/too-many targets + title: Too many targets + status: "422" + detail: The target area for the request is considered too large + instance: /meAppClient.example.com/77777/msgs/abc + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + callbacks: + notification: + '{$request.body#/notificationSubscription.callbackReference}': + post: + summary: Callback POST used to send a notification + description: "Notification from RNIS, content based on subscription\ + \ type" + operationId: notificationPOST + requestBody: + description: Subscription notification + content: + application/json: + schema: + $ref: '#/components/schemas/InlineNotification' + example: + notificationType: CellChangeNotification + associateId: + - type: 1 + value: 10.100.0.1 + hoStatus: 1 + srcEcgi: + plmn: + mnc: "01" + mcc: "001" + cellId: ACBDEFA + tempUeId: + mmec: 1 + mtmsi: 1011231231234 + timeStamp: + seconds: 1977836800 + nanoseconds: 0 + trgEcgi: + plmn: + mnc: "01" + mcc: "001" + cellId: FEDCBAA + required: true + responses: + "204": + description: No Content + x-swagger-router-controller: subscriptions + x-openapi-router-controller: swagger_server.controllers.rni_controller + /subscriptions/{subscriptionId}: + get: + tags: + - rni + summary: Retrieve information on current specific subscription + description: "Queries information about an existing subscription, identified\ + \ by its self-referring URI returned on creation (initial POST)" + operationId: subscriptions_get + parameters: + - name: subscriptionId + in: path + description: "Subscription Id, specifically the \"Self-referring URI\" returned\ + \ in the subscription request" + required: true + style: simple + explode: false + schema: + type: string + format: uri + x-exportParamName: SubscriptionId + responses: + "200": + description: Subscription information regarding subscription notifications + content: + application/json: + schema: + $ref: '#/components/schemas/InlineSubscription' + example: + subscriptionType: CellChangeSubscription + callbackReference: http://my.callback.com/rni-cell-change/some-id + _links: + self: + href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + filterCriteriaAssocHo: + appInstanceId: myApp + associateId: + - type: 1 + value: 10.100.0.1 + ecgi: + - plmn: + mnc: "01" + mcc: "001" + cellId: ACBDEFA + hoStatus: + - 1 + - 2 + expiryDeadline: + seconds: 1977836800 + nanoseconds: 0 + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: subscriptions + x-openapi-router-controller: swagger_server.controllers.rni_controller + put: + tags: + - rni + summary: Modify an existing subscription + description: "Updates an existing subscription, identified by its self-referring\ + \ URI returned on creation (initial POST)" + operationId: subscriptions_put + parameters: + - name: subscriptionId + in: path + description: "Subscription Id, specifically the \"Self-referring URI\" returned\ + \ in the subscription request" + required: true + style: simple + explode: false + schema: + type: string + format: uri + x-exportParamName: SubscriptionId + requestBody: + description: Subscription to be modified + content: + application/json: + schema: + $ref: '#/components/schemas/InlineSubscription' + example: + subscriptionType: CellChangeSubscription + callbackReference: http://my.callback.com/rni-cell-change/some-id + _links: + self: + href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + filterCriteriaAssocHo: + appInstanceId: myApp + associateId: + - type: 1 + value: 10.100.0.1 + ecgi: + - plmn: + mnc: "01" + mcc: "001" + cellId: ACBDEFA + hoStatus: + - 1 + - 2 + expiryDeadline: + seconds: 1977836800 + nanoseconds: 0 + required: true + responses: + "200": + description: Successful subscription to response to subscription notifications + content: + application/json: + schema: + $ref: '#/components/schemas/InlineSubscription' + example: + subscriptionType: CellChangeSubscription + callbackReference: http://my.callback.com/rni-cell-change/some-id + _links: + self: + href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + filterCriteriaAssocHo: + appInstanceId: myApp + associateId: + - type: 1 + value: 10.100.0.1 + ecgi: + - plmn: + mnc: "01" + mcc: "001" + cellId: ACBDEFA + hoStatus: + - 1 + - 2 + expiryDeadline: + seconds: 1977836800 + nanoseconds: 0 + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: "Precondition failed : used when a condition has failed during\ + \ conditional requests, e.g. when using ETags to avoid write conflicts\ + \ when using PUT" + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: "Unprocessable Entity : used to indicate that the server understands\ + \ the content type of the request entity and that the syntax of the request\ + \ entity is correct but that the server is unable to process the contained\ + \ instructions. This error condition can occur if an JSON request body\ + \ is syntactically correct but semantically incorrect, for example if\ + \ the target area for the request is considered too large. This error\ + \ condition can also occur if the capabilities required by the request\ + \ are not supported." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + example: + application/problem+json: + type: https://meAppServer.example.com/rni/v2/probs/too-many targets + title: Too many targets + status: "422" + detail: The target area for the request is considered too large + instance: /meAppClient.example.com/77777/msgs/abc + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: subscriptions + x-openapi-router-controller: swagger_server.controllers.rni_controller + delete: + tags: + - rni + summary: Cancel an existing subscription + description: "Cancels an existing subscription, identified by its self-referring\ + \ URI returned on creation (initial POST)" + operationId: subscriptions_delete + parameters: + - name: subscriptionId + in: path + description: "Subscription Id, specifically the \"Self-referring URI\" returned\ + \ in the subscription request" + required: true + style: simple + explode: false + schema: + type: string + format: uri + x-exportParamName: SubscriptionId + responses: + "204": + description: No Content + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + x-swagger-router-controller: subscriptions + x-openapi-router-controller: swagger_server.controllers.rni_controller +components: + schemas: + AssociateId: + properties: + type: + type: integer + description: "Numeric value (0-255) corresponding to specified type of identifier\ + \ as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.\ + \

3 = NATED_IP_ADDRESS.

4 = GTP_TEID." + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + value: + type: string + description: Value for the identifier. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + example: + type: 0 + value: value + CaReconfNotification: + required: + - ecgi + - notificationType + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the event for a specific UE + or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + carrierAggregationMeasInfo: + minItems: 0 + required: + - cellIdNei + - cellIdSrv + type: array + description: This parameter can be repeated to contain information of all + the carriers assign for Carrier Aggregation up to M. + items: + $ref: '#/components/schemas/CaReconfNotification_carrierAggregationMeasInfo' + x-etsi-mec-cardinality: 0..M + x-etsi-mec-origin-type: Structure (inlined) + ecgi: + $ref: '#/components/schemas/Ecgi' + notificationType: + type: string + description: Shall be set to "CaReConfNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + secondaryCellAdd: + minItems: 0 + required: + - ecgi + type: array + description: "" + items: + $ref: '#/components/schemas/CaReconfNotification_secondaryCellAdd' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + secondaryCellRemove: + minItems: 0 + required: + - ecgi + type: array + description: "" + items: + $ref: '#/components/schemas/CaReconfNotification_secondaryCellAdd' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.8 + CaReconfSubscription: + required: + - callbackReference + - filterCriteriaAssoc + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaAssoc: + $ref: '#/components/schemas/CaReconfSubscription_filterCriteriaAssoc' + subscriptionType: + type: string + description: Shall be set to "CaReconfSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.8 + CellChangeNotification: + required: + - hoStatus + - notificationType + - srcEcgi + - trgEcgi + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the event for a specific UE + or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + hoStatus: + type: integer + description: "Indicate the status of the UE handover procedure. Values are\ + \ defined as following:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3\ + \ = COMPLETED.

4 = REJECTED.

5 = CANCELLED." + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + notificationType: + type: string + description: Shall be set to "CellChangeNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + srcEcgi: + $ref: '#/components/schemas/Ecgi' + tempUeId: + $ref: '#/components/schemas/CellChangeNotification_tempUeId' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + trgEcgi: + minItems: 1 + type: array + description: |- + E-UTRAN Cell Global Identifier of the target cell. + NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Ecgi + x-etsi-ref: 6.4.2 + CellChangeSubscription: + required: + - callbackReference + - filterCriteriaAssocHo + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumerto receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaAssocHo: + $ref: '#/components/schemas/CellChangeSubscription_filterCriteriaAssocHo' + subscriptionType: + type: string + description: Shall be set to "CellChangeSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.2 + CellId: + type: string + description: "String representing the E-UTRAN Cell Identity. Encoded as a bit\ + \ string (size (28)) as defined in ETSI TS 136 413 [i.3]." + Ecgi: + required: + - cellId + - plmn + type: object + properties: + cellId: + $ref: '#/components/schemas/CellId' + plmn: + $ref: '#/components/schemas/Plmn' + example: + plmn: + mnc: mnc + mcc: mcc + cellId: cellId + x-etsi-ref: 6.5.6 + Enum: + type: integer + ExpiryNotification: + required: + - _links + - expiryDeadline + type: object + properties: + _links: + $ref: '#/components/schemas/ExpiryNotification__links' + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.9 + L2Meas: + type: object + properties: + cellInfo: + minItems: 0 + required: + - ecgi + type: array + description: The per cell measurement information as defined below. + items: + $ref: '#/components/schemas/L2Meas_cellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + cellUEInfo: + minItems: 0 + required: + - associateId + - ecgi + type: array + description: The per cell per UE layer 2 measurements information as defined + below. + items: + $ref: '#/components/schemas/L2Meas_cellUEInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 3 + nanoSeconds: 9 + cellUEInfo: + - dl_gbr_delay_ue: 4 + ul_nongbr_data_volume_ue: 2 + dl_nongbr_delay_ue: 6 + ul_gbr_delay_ue: 3 + ul_gbr_throughput_ue: 1 + ul_nongbr_delay_ue: 6 + dl_nongbr_throughput_ue: 9 + ul_gbr_data_volume_ue: 6 + dl_nongbr_data_volume_ue: 9 + ecgi: null + dl_gbr_data_volume_ue: 1 + associateId: + type: 0 + value: value + dl_gbr_throughput_ue: 9 + dl_nongbr_pdr_ue: 8 + ul_nongbr_throughput_ue: 5 + ul_nongbr_pdr_ue: 6 + dl_gbr_pdr_ue: 5 + ul_gbr_pdr_ue: 6 + - dl_gbr_delay_ue: 4 + ul_nongbr_data_volume_ue: 2 + dl_nongbr_delay_ue: 6 + ul_gbr_delay_ue: 3 + ul_gbr_throughput_ue: 1 + ul_nongbr_delay_ue: 6 + dl_nongbr_throughput_ue: 9 + ul_gbr_data_volume_ue: 6 + dl_nongbr_data_volume_ue: 9 + ecgi: null + dl_gbr_data_volume_ue: 1 + associateId: + type: 0 + value: value + dl_gbr_throughput_ue: 9 + dl_nongbr_pdr_ue: 8 + ul_nongbr_throughput_ue: 5 + ul_nongbr_pdr_ue: 6 + dl_gbr_pdr_ue: 5 + ul_gbr_pdr_ue: 6 + cellInfo: + - number_of_active_ue_dl_nongbr_cell: 7 + ul_total_prb_usage_cell: 7 + received_dedicated_preambles_cell: 2 + dl_total_prb_usage_cell: 5 + ul_gbr_prb_usage_cell: 1 + dl_gbr_pdr_cell: 0 + number_of_active_ue_ul_gbr_cell: 9 + ul_nongbr_pdr_cell: 1 + dl_nongbr_pdr_cell: 1 + number_of_active_ue_dl_gbr_cell: 2 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: cellId + ul_gbr_pdr_cell: 1 + ul_nongbr_prb_usage_cell: 6 + received_randomly_selected_preambles_low_range_cell: 7 + number_of_active_ue_ul_nongbr_cell: 3 + received_randomly_selected_preambles_high_range_cell: 4 + dl_nongbr_prb_usage_cell: 5 + dl_gbr_prb_usage_cell: 6 + - number_of_active_ue_dl_nongbr_cell: 7 + ul_total_prb_usage_cell: 7 + received_dedicated_preambles_cell: 2 + dl_total_prb_usage_cell: 5 + ul_gbr_prb_usage_cell: 1 + dl_gbr_pdr_cell: 0 + number_of_active_ue_ul_gbr_cell: 9 + ul_nongbr_pdr_cell: 1 + dl_nongbr_pdr_cell: 1 + number_of_active_ue_dl_gbr_cell: 2 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: cellId + ul_gbr_pdr_cell: 1 + ul_nongbr_prb_usage_cell: 6 + received_randomly_selected_preambles_low_range_cell: 7 + number_of_active_ue_ul_nongbr_cell: 3 + received_randomly_selected_preambles_high_range_cell: 4 + dl_nongbr_prb_usage_cell: 5 + dl_gbr_prb_usage_cell: 6 + x-etsi-ref: 6.2.4a + LinkType: + required: + - href + type: object + properties: + href: + type: string + description: URI referring to a resource + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + example: + href: http://example.com/aeiou + x-etsi-ref: 6.5.2 + MeasQuantityResultsNr: + type: object + properties: + rsrp: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_138\ + \ 331 [i.13]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 138\ + \ 331 [i.13]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinr: + type: integer + description: "Reference Signal to Interference & Noise Ratio as defined\ + \ in ETSI TS 138 331 [i.13]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + x-etsi-ref: 6.5.11 + MeasRepUeNotification: + required: + - ecgi + - notificationType + - rsrp + - rsrq + - trigger + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the event for a specific UE + or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + carrierAggregationMeasInfo: + minItems: 0 + required: + - cellIdSrv + type: array + description: This parameter can be repeated to contain information of all + the carriers assign for Carrier Aggregation up to M. + items: + $ref: '#/components/schemas/MeasRepUeNotification_carrierAggregationMeasInfo' + x-etsi-mec-cardinality: 0..M + x-etsi-mec-origin-type: Structure (inlined) + ecgi: + $ref: '#/components/schemas/Ecgi' + eutranNeighbourCellMeasInfo: + minItems: 0 + required: + - ecgi + type: array + description: This parameter can be repeated to contain information of all + the neighbouring cells up to N. + items: + $ref: '#/components/schemas/MeasRepUeNotification_eutranNeighbourCellMeasInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + heightUe: + type: integer + description: "Indicates height of the UE in meters relative to the sea level\ + \ as defined in ETSI TS 136.331 [i.7]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Int + newRadioMeasInfo: + minItems: 0 + required: + - nrCarrierFreq + - nrSCs + type: array + description: 5G New Radio secondary serving cells measurement information. + items: + $ref: '#/components/schemas/MeasRepUeNotification_newRadioMeasInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + newRadioMeasNeiInfo: + minItems: 0 + required: + - nrNCellInfo + type: array + description: Measurement quantities concerning the 5G NR neighbours. + items: + $ref: '#/components/schemas/MeasRepUeNotification_newRadioMeasNeiInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + notificationType: + type: string + description: Shall be set to "MeasRepUeNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + rsrp: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint8 + rsrpEx: + type: integer + description: "Extended Reference Signal Received Power, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint8 + rsrqEx: + type: integer + description: "Extended Reference Signal Received Quality, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinr: + type: integer + description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ + , with value mapping defined in ETSI TS\_136\_133\_[i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + timeStamp: + $ref: '#/components/schemas/TimeStamp' + trigger: + $ref: '#/components/schemas/Trigger' + x-etsi-ref: 6.4.6 + MeasRepUeSubscription: + required: + - callbackReference + - filterCriteriaAssocTri + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaAssocTri: + $ref: '#/components/schemas/MeasRepUeSubscription_filterCriteriaAssocTri' + subscriptionType: + type: string + description: Shall be set to "MeasRepUeSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.6 + MeasTaNotification: + required: + - ecgi + - notificationType + - timingAdvance + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the event for a specific UE + or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + $ref: '#/components/schemas/Ecgi' + notificationType: + type: string + description: Shall be set to "MeasTaNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + timingAdvance: + type: integer + description: "The timing advance as defined in ETSI TS 136 214 [i.5]." + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + x-etsi-ref: 6.4.7 + MeasTaSubscription: + required: + - callbackReference + - filterCriteriaAssoc + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaAssoc: + $ref: '#/components/schemas/CaReconfSubscription_filterCriteriaAssoc' + subscriptionType: + type: string + description: Shall be set to "MeasTaSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.7 + NRcgi: + required: + - nrcellId + - plmn + type: object + properties: + nrcellId: + $ref: '#/components/schemas/NrCellId' + plmn: + $ref: '#/components/schemas/Plmn' + x-etsi-ref: 6.5.7 + NrCellId: + type: string + description: "String representing the NR Cell Identity. Encoded as a bit string\ + \ (size (36)) as defined in ETSI TS 138 423 [i.17]." + NrMeasRepUeNotification: + required: + - notificationType + - triggerNr + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the event for a specific UE + or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + eutraNeighCellMeasInfo: + minItems: 0 + required: + - ecgi + type: array + description: This parameter can be repeated to contain measurement information + of all the neighbouring cells up to N. It shall not be included if nrNeighCellMeasInfo + is included. + items: + $ref: '#/components/schemas/NrMeasRepUeNotification_eutraNeighCellMeasInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + notificationType: + type: string + description: Shall be set to "NrMeasRepUeNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + nrNeighCellMeasInfo: + minItems: 0 + required: + - nrcgi + type: array + description: This parameter can be repeated to contain measurement information + of all the neighbouring cells up to N. It shall not be included if eutraNeighCellMeasInfo + is included. + items: + $ref: '#/components/schemas/NrMeasRepUeNotification_nrNeighCellMeasInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + servCellMeasInfo: + minItems: 0 + required: + - nrcgi + - sCell + type: array + description: This parameter can be repeated to contain information of all + the serving cells up to N. + items: + $ref: '#/components/schemas/NrMeasRepUeNotification_servCellMeasInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + triggerNr: + $ref: '#/components/schemas/TriggerNr' + x-etsi-ref: 6.4.11 + NrMeasRepUeSubscription: + required: + - callbackReference + - filterCriteriaNrMrs + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaNrMrs: + $ref: '#/components/schemas/NrMeasRepUeSubscription_filterCriteriaNrMrs' + subscriptionType: + type: string + description: Shall be set to "NrMeasRepUeSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.11 + Plmn: + required: + - mcc + - mnc + type: object + properties: + mcc: + type: string + description: "The Mobile Country Code part of PLMN Identity as defined in\ + \ ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mnc: + type: string + description: "The Mobile Network Code part of PLMN Identity as defined in\ + \ ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + example: + mnc: mnc + mcc: mcc + x-etsi-ref: 6.5.5 + PlmnInfo: + required: + - appInstanceId + - plmn + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + plmn: + minItems: 1 + type: array + description: Public Land Mobile Network Identity. + items: + $ref: '#/components/schemas/Plmn' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Plmn + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + appInstanceId: appInstanceId + timeStamp: + seconds: 3 + nanoSeconds: 9 + plmn: + - mnc: mnc + mcc: mcc + - mnc: mnc + mcc: mcc + x-etsi-ref: 6.2.2 + ProblemDetails: + type: object + properties: + detail: + type: string + description: A human-readable explanation specific to this occurrence of + the problem + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + instance: + type: string + description: A URI reference that identifies the specific occurrence of + the problem + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + status: + type: integer + description: The HTTP status code for this occurrence of the problem + format: uint32 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + title: + type: string + description: "A short, human-readable summary of the problem type" + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + type: + type: string + description: A URI reference according to IETF RFC 3986 that identifies + the problem type + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + RabEstNotification: + required: + - ecgi + - erabId + - notificationType + type: object + properties: + associateId: + minItems: 0 + type: array + description: '0 to N identifiers to bind the event for a specific UE or + flow. ' + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + $ref: '#/components/schemas/Ecgi' + erabId: + type: integer + description: "The attribute that uniquely identifies a Radio Access bearer\ + \ for specific UE as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabQosParameters: + $ref: '#/components/schemas/RabEstNotification_erabQosParameters' + notificationType: + type: string + description: Shall be set to "RabEstNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + tempUeId: + $ref: '#/components/schemas/RabEstNotification_tempUeId' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.3 + RabEstSubscription: + required: + - callbackReference + - filterCriteriaQci + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaQci: + $ref: '#/components/schemas/RabEstSubscription_filterCriteriaQci' + subscriptionType: + type: string + description: Shall be set to "RabEstSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.3 + RabInfo: + required: + - appInstanceId + - requestId + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + cellUserInfo: + minItems: 0 + required: + - ecgi + - ueInfo + type: array + description: The information on users per cell as defined below. + items: + $ref: '#/components/schemas/RabInfo_cellUserInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + requestId: + type: string + description: Unique identifier allocated by the service consumer for the + RAB Information request. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + appInstanceId: appInstanceId + cellUserInfo: + - ueInfo: + - associateId: + - type: 0 + value: value + - type: 0 + value: value + erabInfo: + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - associateId: + - type: 0 + value: value + - type: 0 + value: value + erabInfo: + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: cellId + - ueInfo: + - associateId: + - type: 0 + value: value + - type: 0 + value: value + erabInfo: + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - associateId: + - type: 0 + value: value + - type: 0 + value: value + erabInfo: + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: cellId + timeStamp: + seconds: 3 + nanoSeconds: 9 + requestId: requestId + x-etsi-ref: 6.2.3 + RabModNotification: + required: + - ecgi + - erabId + - notificationType + type: object + properties: + associateId: + minItems: 0 + type: array + description: '0 to N identifiers to bind the event for a specific UE or + flow. ' + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + $ref: '#/components/schemas/Ecgi' + erabId: + type: integer + description: "The attribute that uniquely identifies a Radio Access bearer\ + \ for specific UE as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabQosParameters: + $ref: '#/components/schemas/RabModNotification_erabQosParameters' + notificationType: + type: string + description: Shall be set to "RabModNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.4 + RabModSubscription: + required: + - callbackReference + - filterCriteriaQci + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaQci: + $ref: '#/components/schemas/RabModSubscription_filterCriteriaQci' + subscriptionType: + type: string + description: Shall be set to "RabModSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.4 + RabRelNotification: + required: + - ecgi + - erabReleaseInfo + - notificationType + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to bind the event for a specific UE or flow + as defined below. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + $ref: '#/components/schemas/Ecgi' + erabReleaseInfo: + $ref: '#/components/schemas/RabRelNotification_erabReleaseInfo' + notificationType: + type: string + description: Shall be set to "RabRelNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.5 + RabRelSubscription: + required: + - callbackReference + - filterCriteriaQci + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed RNIS information. This shall be included both in the + request and in response. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteriaQci: + $ref: '#/components/schemas/RabModSubscription_filterCriteriaQci' + subscriptionType: + type: string + description: Shall be set to "RabRelSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.5 + ResultsPerCsiRsIndex: + required: + - csiRsIndex + type: object + properties: + csiRsIndex: + type: integer + description: "" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint8 + csiRsResults: + $ref: '#/components/schemas/MeasQuantityResultsNr' + description: "" + ResultsPerCsiRsIndexList: + type: object + properties: + resultsPerCsiRsIndex: + minItems: 0 + required: + - csiRsIndex + type: array + description: "" + items: + $ref: '#/components/schemas/ResultsPerCsiRsIndexList_resultsPerCsiRsIndex' + x-etsi-mec-cardinality: 0..P + x-etsi-mec-origin-type: Structure (inline) + x-etsi-ref: 6.5.10 + ResultsPerSsbIndex: + required: + - ssbIndex + type: object + properties: + ssbIndex: + type: integer + description: "" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint8 + ssbResults: + $ref: '#/components/schemas/MeasQuantityResultsNr' + description: "" + ResultsPerSsbIndexList: + type: object + properties: + resultsPerSsbIndex: + minItems: 0 + required: + - ssbIndex + type: array + description: "" + items: + $ref: '#/components/schemas/ResultsPerSsbIndexList_resultsPerSsbIndex' + x-etsi-mec-cardinality: 0..P + x-etsi-mec-origin-type: Structure (inline) + x-etsi-ref: 6.5.9 + RsIndexResults: + required: + - resultsCsiRsIndexes + - resultsSsbIndexes + type: object + properties: + resultsCsiRsIndexes: + $ref: '#/components/schemas/ResultsPerCsiRsIndexList' + resultsSsbIndexes: + $ref: '#/components/schemas/ResultsPerSsbIndexList' + x-etsi-ref: 6.5.8 + S1BearerInfo: + required: + - s1UeInfo + type: object + properties: + s1UeInfo: + minItems: 1 + required: + - associateId + - ecgi + - s1BearerInfoDetailed + type: array + description: Information on a specific UE as defined below. + items: + $ref: '#/components/schemas/S1BearerInfo_s1UeInfo' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 3 + nanoSeconds: 9 + s1UeInfo: + - associateId: + - type: 0 + value: value + - type: 0 + value: value + s1BearerInfoDetailed: + - erabId: 0 + enbInfo: + tunnelId: tunnelId + ipAddress: ipAddress + sGwInfo: + tunnelId: tunnelId + ipAddress: ipAddress + - erabId: 0 + enbInfo: + tunnelId: tunnelId + ipAddress: ipAddress + sGwInfo: + tunnelId: tunnelId + ipAddress: ipAddress + ecgi: + - plmn: + mnc: mnc + mcc: mcc + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + cellId: cellId + tempUeId: + mtmsi: mtmsi + mmec: mmec + - associateId: + - type: 0 + value: value + - type: 0 + value: value + s1BearerInfoDetailed: + - erabId: 0 + enbInfo: + tunnelId: tunnelId + ipAddress: ipAddress + sGwInfo: + tunnelId: tunnelId + ipAddress: ipAddress + - erabId: 0 + enbInfo: + tunnelId: tunnelId + ipAddress: ipAddress + sGwInfo: + tunnelId: tunnelId + ipAddress: ipAddress + ecgi: + - plmn: + mnc: mnc + mcc: mcc + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + cellId: cellId + tempUeId: + mtmsi: mtmsi + mmec: mmec + x-etsi-ref: 6.2.4 + S1BearerNotification: + required: + - notificationType + - s1Event + - s1UeInfo + type: object + properties: + notificationType: + type: string + description: Shall be set to "S1BearerNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + s1Event: + type: integer + description: The subscribed event that triggered this notification in S1BearerSubscription. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + s1UeInfo: + $ref: '#/components/schemas/S1BearerNotification_s1UeInfo' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.10 + S1BearerSubscription: + required: + - S1BearerSubscriptionCriteria + - callbackReference + - eventType + - subscriptionType + type: object + properties: + S1BearerSubscriptionCriteria: + $ref: '#/components/schemas/S1BearerSubscription_S1BearerSubscriptionCriteria' + _links: + $ref: '#/components/schemas/CaReconfSubscription__links' + callbackReference: + type: string + description: "URI selected by the service consumer, to receive notifications\ + \ on the subscribed RNIS information. This shall be included in the request\ + \ and response." + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + eventType: + minItems: 1 + type: array + description: "Description of the subscribed event. The event is included\ + \ both in the request and in the response. \\nFor the eventType, the following\ + \ values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.\ + \

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE." + items: + $ref: '#/components/schemas/Enum' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Enum + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + subscriptionType: + type: string + description: Shall be set to "S1BearerSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.3.9 + SubscriptionLinkList: + required: + - _links + type: object + properties: + _links: + $ref: '#/components/schemas/SubscriptionLinkList__links' + example: + _links: + self: + href: http://example.com/aeiou + subscription: + - subscriptionType: subscriptionType + href: http://example.com/aeiou + - subscriptionType: subscriptionType + href: http://example.com/aeiou + x-etsi-ref: 6.3.10 + TimeStamp: + required: + - nanoSeconds + - seconds + type: object + properties: + nanoSeconds: + type: integer + description: "The nanoseconds part of the time. Time is defined as Unix-time\ + \ since January 1, 1970, 00:00:00 UTC." + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + seconds: + type: integer + description: "The seconds part of the time. Time is defined as Unixtime\ + \ since January 1, 1970, 00:00:00 UTC." + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + example: + seconds: 3 + nanoSeconds: 9 + x-etsi-ref: 6.5.3 + Trigger: + type: integer + description: "As defined in Ref ETSI TS 136 331 [i.7]

0 = NOT_AVAILABLE

1\ + \ = PERIODICAL_REPORT_STRONGEST_CELLS

2 = PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON\ + \

3 = PERIODICAL_REPORT_CGI

4 = INTRA_PERIODICAL_REPORT_STRONGEST_CELLS\ + \

5 = INTRA_PERIODICAL_REPORT_CGI

10 = EVENT_A1

11 = EVENT_A2

12\ + \ = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15 = EVENT_A6

20 = EVENT_B1\ + \

21 = EVENT_B2

20 = EVENT_B1-NR

21 = EVENT_B2-NR

30 = EVENT_C1\ + \

31 = EVENT_C2

40 = EVENT_W1

41 = EVENT_W2

42 = EVENT_W3

50\ + \ = EVENT_V1

51 = EVENT_V2

60 = EVENT_H1

61 = EVENT_H2" + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 20 + - 21 + - 30 + - 31 + - 40 + - 41 + - 42 + - 50 + - 51 + - 60 + - 61 + TriggerNr: + type: integer + description: "The enumeration Trigger represents specified triggers for a 5G\ + \ UE Measurement Report. Full details can be found in ETSI TS 138 331 [i.13]).\ + \

0 = NOT_AVAILABLE

1 = NR_PERIODICAL

2 = NR_CGI

10 = EVENT_A1\ + \

11 = EVENT_A2

12 = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15\ + \ = EVENT_A6

20 = INTER_RAT_PERIODICAL

21 = INTER_RAT_CGI

30 = EVENT_B1\ + \

31 = EVENT_B2" + enum: + - 0 + - 1 + - 2 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 20 + - 21 + - 30 + - 31 + InlineSubscription: + discriminator: + propertyName: subscription_type + oneOf: + - $ref: '#/components/schemas/CellChangeSubscription' + - $ref: '#/components/schemas/RabEstSubscription' + - $ref: '#/components/schemas/RabModSubscription' + - $ref: '#/components/schemas/RabRelSubscription' + - $ref: '#/components/schemas/MeasRepUeSubscription' + - $ref: '#/components/schemas/NrMeasRepUeSubscription' + - $ref: '#/components/schemas/MeasTaSubscription' + - $ref: '#/components/schemas/CaReconfSubscription' + - $ref: '#/components/schemas/S1BearerSubscription' + InlineNotification: + discriminator: + propertyName: notification_type + oneOf: + - $ref: '#/components/schemas/CellChangeNotification' + - $ref: '#/components/schemas/RabEstNotification' + - $ref: '#/components/schemas/RabModNotification' + - $ref: '#/components/schemas/RabRelNotification' + - $ref: '#/components/schemas/MeasRepUeNotification' + - $ref: '#/components/schemas/NrMeasRepUeNotification' + - $ref: '#/components/schemas/MeasTaNotification' + - $ref: '#/components/schemas/CaReconfNotification' + - $ref: '#/components/schemas/S1BearerNotification' + CaReconfNotification_carrierAggregationMeasInfo: + type: object + properties: + cellIdNei: + $ref: '#/components/schemas/CellId' + cellIdSrv: + $ref: '#/components/schemas/CellId' + rsrpNei: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_136\ + \ 214 [i.5]." + format: uint32 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + rsrpSrv: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_136\ + \ 214 [i.5]." + format: uint32 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + rsrqNei: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214 [i.5]." + format: uint32 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + rsrqSrv: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214 [i.5]." + format: uint32 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + CaReconfNotification_secondaryCellAdd: + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + CaReconfSubscription__links: + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. This shall be only included + in the HTTP responses and in HTTP PUT requests. + CaReconfSubscription_filterCriteriaAssoc: + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the information for a specific + UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + minItems: 0 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + CellChangeNotification_tempUeId: + required: + - mmec + - mtmsi + type: object + properties: + mmec: + type: string + description: "MMEC as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mtmsi: + type: string + description: "M-TMSI as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: The temporary identifier allocated for the specific UE as defined + below. + example: + mtmsi: mtmsi + mmec: mmec + CellChangeSubscription_filterCriteriaAssocHo: + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the information for a specific + UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + minItems: 0 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + hoStatus: + minItems: 0 + type: array + description: "In case hoStatus is not included in the subscription request,\ + \ the default value 3 = COMPLETED shall be used and included in the response:\ + \

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 =\ + \ REJECTED.

5 = CANCELLED." + items: + $ref: '#/components/schemas/Enum' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + ExpiryNotification__links: + required: + - self + type: object + properties: + self: + type: string + description: Self referring URI. This shall be included in the response + from the RNIS. The URI shall be unique within the RNI API as it acts as + an ID for the subscription. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + description: List of hyperlinks related to the resource. + L2Meas_cellInfo: + type: object + properties: + dl_gbr_pdr_cell: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ downlink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_gbr_prb_usage_cell: + type: integer + description: "It indicates the PRB usage for downlink GBR traffic, as defined\ + \ in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_nongbr_pdr_cell: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ downlink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_nongbr_prb_usage_cell: + type: integer + description: "It indicates (in percentage) the PRB usage for downlink non-GBR\ + \ traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423\ + \ [i.12]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_total_prb_usage_cell: + type: integer + description: "It indicates (in percentage) the PRB usage for total downlink\ + \ traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423\ + \ [i.12]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ecgi: + $ref: '#/components/schemas/Ecgi' + number_of_active_ue_dl_gbr_cell: + type: integer + description: "It indicates the number of active UEs with downlink GBR traffic,\ + \ as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + number_of_active_ue_dl_nongbr_cell: + type: integer + description: "It indicates the number of active UEs with downlink non-GBR\ + \ traffic, as defined in ETSI TS\_136\_314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + number_of_active_ue_ul_gbr_cell: + type: integer + description: "It indicates the number of active UEs with uplink GBR traffic,\ + \ as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + number_of_active_ue_ul_nongbr_cell: + type: integer + description: "It indicates the number of active UEs with uplink non-GBR\ + \ traffic, as defined in ETSI TS\_136\_314\_[i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + received_dedicated_preambles_cell: + type: integer + description: "It indicates (in percentage) the received dedicated preamples,\ + \ as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + received_randomly_selected_preambles_high_range_cell: + type: integer + description: "It indicates (in percentage) the received randomly selected\ + \ preambles in the high range, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + received_randomly_selected_preambles_low_range_cell: + type: integer + description: "It indicates (in percentage) the received randomly selected\ + \ preambles in the low range, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_gbr_pdr_cell: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ uplink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_gbr_prb_usage_cell: + type: integer + description: "It indicates (in percentage) the PRB usage for uplink GBR\ + \ traffic, as defined in ETSI TS\_136\_314\_[i.11] and ETSI TS\_136 423\ + \ [i.12]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_nongbr_pdr_cell: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ uplink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_nongbr_prb_usage_cell: + type: integer + description: "It indicates (in percentage) the PRB usage for uplink non-GBR\ + \ traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423\ + \ [i.12]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_total_prb_usage_cell: + type: integer + description: "It indicates (in percentage) the PRB usage for total uplink\ + \ traffic, as defined in ETSI TS\_136\_314\_[i.11] and ETSI TS\_136\_\ + 423 [i.12]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + example: + number_of_active_ue_dl_nongbr_cell: 7 + ul_total_prb_usage_cell: 7 + received_dedicated_preambles_cell: 2 + dl_total_prb_usage_cell: 5 + ul_gbr_prb_usage_cell: 1 + dl_gbr_pdr_cell: 0 + number_of_active_ue_ul_gbr_cell: 9 + ul_nongbr_pdr_cell: 1 + dl_nongbr_pdr_cell: 1 + number_of_active_ue_dl_gbr_cell: 2 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: cellId + ul_gbr_pdr_cell: 1 + ul_nongbr_prb_usage_cell: 6 + received_randomly_selected_preambles_low_range_cell: 7 + number_of_active_ue_ul_nongbr_cell: 3 + received_randomly_selected_preambles_high_range_cell: 4 + dl_nongbr_prb_usage_cell: 5 + dl_gbr_prb_usage_cell: 6 + L2Meas_cellUEInfo: + type: object + properties: + associateId: + $ref: '#/components/schemas/AssociateId' + dl_gbr_data_volume_ue: + type: integer + description: "It indicates the data volume of the downlink GBR traffic of\ + \ a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_gbr_delay_ue: + type: integer + description: "It indicates the packet delay of the downlink GBR traffic\ + \ of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_gbr_pdr_ue: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_gbr_throughput_ue: + type: integer + description: "It indicates the scheduled throughput of the downlink GBR\ + \ traffic of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_nongbr_data_volume_ue: + type: integer + description: "It indicates the data volume of the downlink non-GBR traffic\ + \ of a UE, as defined in ETSI TS\_136\_314\_[i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_nongbr_delay_ue: + type: integer + description: "It indicates the packet delay of the downlink non-GBR traffic\ + \ of a UE, as defined in ETSI TS\_136\_314\_[i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_nongbr_pdr_ue: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_nongbr_throughput_ue: + type: integer + description: "It indicates the scheduled throughput of the downlink nonGBR\ + \ traffic of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ecgi: + $ref: '#/components/schemas/Ecgi' + ul_gbr_data_volume_ue: + type: integer + description: "It indicates the data volume of the uplink GBR traffic of\ + \ a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_gbr_delay_ue: + type: integer + description: "It indicates the packet delay of the uplink GBR traffic of\ + \ a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_gbr_pdr_ue: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_gbr_throughput_ue: + type: integer + description: "It indicates the scheduled throughput of the uplink GBR traffic\ + \ of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_nongbr_data_volume_ue: + type: integer + description: "It indicates the data volume of the uplink non-GBR traffic\ + \ of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_nongbr_delay_ue: + type: integer + description: "It indicates the packet delay of the uplink non-GBR traffic\ + \ of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_nongbr_pdr_ue: + type: integer + description: "It indicates the packet discard rate in percentage of the\ + \ uplink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_nongbr_throughput_ue: + type: integer + description: "It indicates the scheduled throughput of the uplink non-GBR\ + \ traffic of a UE, as defined in ETSI TS 136 314 [i.11]." + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + example: + dl_gbr_delay_ue: 4 + ul_nongbr_data_volume_ue: 2 + dl_nongbr_delay_ue: 6 + ul_gbr_delay_ue: 3 + ul_gbr_throughput_ue: 1 + ul_nongbr_delay_ue: 6 + dl_nongbr_throughput_ue: 9 + ul_gbr_data_volume_ue: 6 + dl_nongbr_data_volume_ue: 9 + ecgi: null + dl_gbr_data_volume_ue: 1 + associateId: + type: 0 + value: value + dl_gbr_throughput_ue: 9 + dl_nongbr_pdr_ue: 8 + ul_nongbr_throughput_ue: 5 + ul_nongbr_pdr_ue: 6 + dl_gbr_pdr_ue: 5 + ul_gbr_pdr_ue: 6 + MeasRepUeNotification_carrierAggregationMeasInfo: + type: object + properties: + cellIdNei: + $ref: '#/components/schemas/CellId' + cellIdSrv: + $ref: '#/components/schemas/CellId' + rsrpNei: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpNeiEx: + type: integer + description: "Extended Reference Signal Received Power, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpSrv: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpSrvEx: + type: integer + description: "Extended Reference Signal Received Power, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqNei: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqNeiEx: + type: integer + description: "Extended Reference Signal Received Quality, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqSrv: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqSrvEx: + type: integer + description: "Extended Reference Signal Received Quality, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinrNei: + type: integer + description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ + , with value mapping defined in ETSI TS\_136\_133\_[i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinrSrv: + type: integer + description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ + , with value mapping defined in ETSI TS\_136\_133\_[i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + MeasRepUeNotification_eutranNeighbourCellMeasInfo: + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + rsrp: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpEx: + type: integer + description: "Extended Reference Signal Received Power, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214 [i.5]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqEx: + type: integer + description: "Extended Reference Signal Received Quality, with value mapping\ + \ defined in ETSI TS 136 133 [i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinr: + type: integer + description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ + , with value mapping defined in ETSI TS\_136\_133\_[i.16]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + MeasRepUeNotification_nrBNCs_nrBNCellInfo: + type: object + properties: + nrBNCellGId: + $ref: '#/components/schemas/NrCellId' + nrBNCellPlmn: + minItems: 1 + type: array + description: Public land mobile network identities + items: + $ref: '#/components/schemas/Plmn' + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Plmn + MeasRepUeNotification_nrBNCs: + required: + - nrBNCellInfo + type: object + properties: + nrBNCellInfo: + minItems: 1 + required: + - nrBNCellGId + - nrBNCellPlmn + type: array + description: Best neighbours of the secondary serving cell(s) info + items: + $ref: '#/components/schemas/MeasRepUeNotification_nrBNCs_nrBNCellInfo' + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Structure (inlined) + nrBNCellRsrp: + type: integer + description: "Reference Signal Received Power measurement according to mapping\ + \ table in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrBNCellRsrq: + type: integer + description: "Reference Signal Received Quality measurement according to\ + \ mapping table in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrBNCellRssi: + type: integer + description: "Reference signal SINR measurement according to mapping table\ + \ in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + description: Measurement quantities concerning the best neighbours of the secondary + serving cells + MeasRepUeNotification_nrSCs_nrSCellInfo: + type: object + properties: + nrSCellGId: + $ref: '#/components/schemas/NrCellId' + nrSCellPlmn: + minItems: 1 + type: array + description: Public land mobile network identities. + items: + $ref: '#/components/schemas/Plmn' + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Plmn + MeasRepUeNotification_nrSCs: + required: + - nrSCellInfo + type: object + properties: + nrSCellInfo: + minItems: 1 + required: + - nrSCellGId + - nrSCellPlmn + type: array + description: Secondary serving cell(s) info. + items: + $ref: '#/components/schemas/MeasRepUeNotification_nrSCs_nrSCellInfo' + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Structure (inlined) + nrSCellRsrp: + type: integer + description: "Reference Signal Received Power measurement according to mapping\ + \ table in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrSCellRsrq: + type: integer + description: "Reference Signal Received Quality measurement according to\ + \ mapping table in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrSCellRssi: + type: integer + description: "Reference signal SINR measurement according to mapping table\ + \ in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + description: Measurement quantities concerning the secondary serving cells. + MeasRepUeNotification_newRadioMeasInfo: + type: object + properties: + nrBNCs: + $ref: '#/components/schemas/MeasRepUeNotification_nrBNCs' + nrCarrierFreq: + type: integer + description: "ARFCN applicable for a downlink, uplink or bi-directional\ + \ (TDD) NR carrier frequency, as defined in ETSI TS\_138.101 [i.15]." + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + nrSCs: + $ref: '#/components/schemas/MeasRepUeNotification_nrSCs' + MeasRepUeNotification_nrNCellInfo: + type: object + properties: + nrNCellGId: + $ref: '#/components/schemas/NrCellId' + nrNCellPlmn: + minItems: 1 + type: array + description: Public land mobile network identities. + items: + $ref: '#/components/schemas/Plmn' + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Plmn + MeasRepUeNotification_newRadioMeasNeiInfo: + type: object + properties: + nrNCellInfo: + minItems: 1 + required: + - nrNCellGId + - nrNCellPlmn + type: array + description: 5G NR neighbour cell info. + items: + $ref: '#/components/schemas/MeasRepUeNotification_nrNCellInfo' + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Structure (inlined) + nrNCellRsrp: + type: integer + description: "Reference Signal Received Power measurement according to mapping\ + \ table in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrNCellRsrq: + type: integer + description: "Reference Signal Received Quality measurement according to\ + \ mapping table in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrNCellRssi: + type: integer + description: "Reference signal SINR measurement according to mapping table\ + \ in ETSI TS 138.133 [i.14]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsIndexResults: + $ref: '#/components/schemas/RsIndexResults' + MeasRepUeSubscription_filterCriteriaAssocTri: + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the information for a specific + UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + minItems: 0 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + trigger: + minItems: 0 + type: array + description: Corresponds to a specific E-UTRAN UE Measurement Report trigger. + items: + $ref: '#/components/schemas/Trigger' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Trigger + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + NrMeasRepUeNotification_eutraNeighCellMeasInfo: + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + rsrp: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS\_138\ + \ 331 [i.13]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 138\ + \ 331 [i.13]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinr: + type: integer + description: "Reference Signal plus Interference Noise Ratio as defined\ + \ in ETSI TS\_138\_331\_[i.13]." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + NrMeasRepUeNotification_nrNeighCellMeasInfo: + type: object + properties: + measQuantityResultsCsiRsCell: + $ref: '#/components/schemas/MeasQuantityResultsNr' + measQuantityResultsSsbCell: + $ref: '#/components/schemas/MeasQuantityResultsNr' + nrcgi: + $ref: '#/components/schemas/NrCellId' + rsIndexResults: + $ref: '#/components/schemas/RsIndexResults' + NrMeasRepUeNotification_nCell: + type: object + properties: + measQuantityResultsCsiRsCell: + $ref: '#/components/schemas/MeasQuantityResultsNr' + measQuantityResultsSsbCell: + $ref: '#/components/schemas/MeasQuantityResultsNr' + rsIndexResults: + $ref: '#/components/schemas/RsIndexResults' + description: Measurement information relating to the best neighbour of this + serving cell. + NrMeasRepUeNotification_sCell: + type: object + properties: + measQuantityResultsCsiRsCell: + $ref: '#/components/schemas/MeasQuantityResultsNr' + measQuantityResultsSsbCell: + $ref: '#/components/schemas/MeasQuantityResultsNr' + rsIndexResults: + $ref: '#/components/schemas/RsIndexResults' + description: Measurement information relating to this serving cell. + NrMeasRepUeNotification_servCellMeasInfo: + type: object + properties: + nCell: + $ref: '#/components/schemas/NrMeasRepUeNotification_nCell' + nrcgi: + $ref: '#/components/schemas/NRcgi' + sCell: + $ref: '#/components/schemas/NrMeasRepUeNotification_sCell' + NrMeasRepUeSubscription_filterCriteriaNrMrs: + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the information for a specific + UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + nrcgi: + minItems: 0 + type: array + description: NR Cell Global Identier. + items: + $ref: '#/components/schemas/NRcgi' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: NRcgi + triggerNr: + minItems: 0 + type: array + description: Corresponds to a specific 5G UE Measurement Report trigger. + items: + $ref: '#/components/schemas/TriggerNr' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: TriggerNr + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + RabEstNotification_erabQosParameters_qosInformation: + required: + - erabGbrDl + - erabGbrUl + - erabMbrDl + - erabMbrUl + type: object + properties: + erabGbrDl: + type: integer + description: "This attribute indicates the guaranteed downlink E-RAB Bit\ + \ Rate as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabGbrUl: + type: integer + description: "This attribute indicates the guaranteed uplink E-RAB Bit Rate\ + \ as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabMbrDl: + type: integer + description: "This attribute indicates the maximum downlink E-RAB Bit Rate\ + \ as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabMbrUl: + type: integer + description: "This attribute indicates the maximum uplink E-RAB Bit Rate\ + \ as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + description: The QoS information for the E-RAB. + example: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + RabEstNotification_erabQosParameters: + required: + - qci + type: object + properties: + qci: + type: integer + description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + qosInformation: + $ref: '#/components/schemas/RabEstNotification_erabQosParameters_qosInformation' + description: QoS parameters for the E-RAB as defined below. + example: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + RabEstNotification_tempUeId: + required: + - mmec + - mtmsi + type: object + properties: + mmec: + type: string + description: "MMEC as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mtmsi: + type: string + description: "M-TMSI as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: 'The temporary identifier allocated for the specific UE as defined + below. ' + RabEstSubscription_filterCriteriaQci: + required: + - qci + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + ecgi: + minItems: 0 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + qci: + type: integer + description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + RabInfo_erabInfo: + type: object + properties: + erabId: + type: integer + description: "The attribute that uniquely identifies a Radio Access bearer\ + \ for specific UE as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabQosParameters: + $ref: '#/components/schemas/RabEstNotification_erabQosParameters' + example: + erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + RabInfo_ueInfo: + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the event for a specific UE + or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + erabInfo: + minItems: 1 + required: + - erabId + type: array + description: Information on E-RAB as defined below. + items: + $ref: '#/components/schemas/RabInfo_erabInfo' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + example: + associateId: + - type: 0 + value: value + - type: 0 + value: value + erabInfo: + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + RabInfo_cellUserInfo: + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + ueInfo: + minItems: 1 + required: + - erabInfo + type: array + description: Information on UEs in the specific cell as defined below. + items: + $ref: '#/components/schemas/RabInfo_ueInfo' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + example: + ueInfo: + - associateId: + - type: 0 + value: value + - type: 0 + value: value + erabInfo: + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - associateId: + - type: 0 + value: value + - type: 0 + value: value + erabInfo: + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + - erabId: 6 + erabQosParameters: + qosInformation: + erabGbrDl: 5 + erabGbrUl: 5 + erabMbrUl: 7 + erabMbrDl: 2 + qci: 1 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: cellId + RabModNotification_erabQosParameters_qosInformation: + required: + - erabGbrDl + - erabGbrUl + - erabMbrDl + - erabMbrUl + type: object + properties: + erabGbrDl: + type: integer + description: "This attribute indicates the guaranteed downlink E-RAB Bit\ + \ Rate as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabGbrUl: + type: integer + description: "This attribute indicates the guaranteed uplink E-RAB Bit Rate\ + \ as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabMbrDl: + type: integer + description: "This attribute indicates the maximum downlink E-RAB Bit Rate\ + \ as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + erabMbrUl: + type: integer + description: "This attribute indicates the maximum uplink E-RAB Bit Rate\ + \ as defined in ETSI TS 123 401 [i.4] for this bearer." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + description: The QoS Information for the E-RAB as defined below. + RabModNotification_erabQosParameters: + required: + - qci + type: object + properties: + qci: + type: integer + description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + qosInformation: + $ref: '#/components/schemas/RabModNotification_erabQosParameters_qosInformation' + description: The QoS parameters for the E-RAB as defined below. + RabModSubscription_filterCriteriaQci: + required: + - erabId + - qci + type: object + properties: + appInstanceId: + type: string + description: Unique identifier for the MEC application instance. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + ecgi: + minItems: 0 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + erabId: + type: integer + description: "The attribute that uniquely identifies a Radio Access bearer\ + \ for specific UE as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + qci: + type: integer + description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + RabRelNotification_erabReleaseInfo: + required: + - erabId + type: object + properties: + erabId: + type: integer + description: "The attribute that uniquely identifies a Radio Access bearer\ + \ for specific UE as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + description: The release information for the E-RAB as defined below. + ResultsPerCsiRsIndexList_resultsPerCsiRsIndex: + type: object + properties: + csiRsIndex: + type: integer + description: "" + format: uint8 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint8 + csiRsResults: + $ref: '#/components/schemas/MeasQuantityResultsNr' + ResultsPerSsbIndexList_resultsPerSsbIndex: + type: object + properties: + ssbIndex: + type: integer + description: "" + format: uint8 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint8 + ssbResults: + $ref: '#/components/schemas/MeasQuantityResultsNr' + S1BearerInfo_enbInfo: + required: + - ipAddress + - tunnelId + type: object + properties: + ipAddress: + type: string + description: eNB transport layer address of this S1 bearer. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + tunnelId: + type: string + description: eNB GTP-U TEID of this S1 bearer. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: S1 bearer information on eNB side as defined below. + example: + tunnelId: tunnelId + ipAddress: ipAddress + S1BearerInfo_sGwInfo: + required: + - ipAddress + - tunnelId + type: object + properties: + ipAddress: + type: string + description: SGW transport layer address of this S1 bearer. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + tunnelId: + type: string + description: SGW GTP-U TEID of this S1 bearer. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: S1 bearer information on GW side as defined below. + example: + tunnelId: tunnelId + ipAddress: ipAddress + S1BearerInfo_s1BearerInfoDetailed: + type: object + properties: + enbInfo: + $ref: '#/components/schemas/S1BearerInfo_enbInfo' + erabId: + type: integer + description: "The attribute that uniquely identifies a S1 bearer for a specific\ + \ UE, as defined in ETSI TS 136 413 [i.3]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + sGwInfo: + $ref: '#/components/schemas/S1BearerInfo_sGwInfo' + example: + erabId: 0 + enbInfo: + tunnelId: tunnelId + ipAddress: ipAddress + sGwInfo: + tunnelId: tunnelId + ipAddress: ipAddress + S1BearerInfo_s1UeInfo: + type: object + properties: + associateId: + minItems: 1 + type: array + description: 1 to N identifiers to associate the information for a specific + UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: AssociateId + ecgi: + minItems: 1 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Ecgi + s1BearerInfoDetailed: + minItems: 1 + required: + - enbInfo + - erabId + - sGwInfo + type: array + description: S1 bearer information as defined below. + items: + $ref: '#/components/schemas/S1BearerInfo_s1BearerInfoDetailed' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + tempUeId: + $ref: '#/components/schemas/CellChangeNotification_tempUeId' + example: + associateId: + - type: 0 + value: value + - type: 0 + value: value + s1BearerInfoDetailed: + - erabId: 0 + enbInfo: + tunnelId: tunnelId + ipAddress: ipAddress + sGwInfo: + tunnelId: tunnelId + ipAddress: ipAddress + - erabId: 0 + enbInfo: + tunnelId: tunnelId + ipAddress: ipAddress + sGwInfo: + tunnelId: tunnelId + ipAddress: ipAddress + ecgi: + - plmn: + mnc: mnc + mcc: mcc + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + cellId: cellId + tempUeId: + mtmsi: mtmsi + mmec: mmec + S1BearerNotification_s1UeInfo: + required: + - ecgi + - s1BearerInfo + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the information for a specific + UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + minItems: 1 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Ecgi + s1BearerInfo: + minItems: 1 + required: + - enbInfo + - erabId + - sGwInfo + type: array + description: S1 bearer information as defined below. + items: + $ref: '#/components/schemas/S1BearerInfo_s1BearerInfoDetailed' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + tempUeId: + $ref: '#/components/schemas/CellChangeNotification_tempUeId' + description: Information on specific UE that matches the criteria in S1BearerSubscription + as defined below. + S1BearerSubscription_S1BearerSubscriptionCriteria: + type: object + properties: + associateId: + minItems: 0 + type: array + description: 0 to N identifiers to associate the events for a specific UE + or a flow. + items: + $ref: '#/components/schemas/AssociateId' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + minItems: 0 + type: array + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + erabId: + minItems: 0 + type: array + description: "The attribute that uniquely identifies a S1 bearer for a specific\ + \ UE, as defined in ETSI TS 136 413 [i.3]." + items: + type: integer + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Integer + description: As defined below. + SubscriptionLinkList__links_subscription: + type: object + properties: + href: + type: string + description: The URI referring to the subscription. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + subscriptionType: + type: string + description: Type of the subscription. The string shall be set according + to the "subscriptionType" attribute of the associated subscription data + type event defined in clause 6.3. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + example: + subscriptionType: subscriptionType + href: http://example.com/aeiou + SubscriptionLinkList__links: + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + subscription: + minItems: 0 + required: + - href + - subscriptionType + type: array + description: A link to a subscription. + items: + $ref: '#/components/schemas/SubscriptionLinkList__links_subscription' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + description: List of hyperlinks related to the resource. + example: + self: + href: http://example.com/aeiou + subscription: + - subscriptionType: subscriptionType + href: http://example.com/aeiou + - subscriptionType: subscriptionType + href: http://example.com/aeiou + responses: + "204": + description: No Content + "400": + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: "Unauthorized : used when the client did not submit credentials." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: "Not Found : used when a client provided a URI that cannot be\ + \ mapped to a valid resource URI." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: "Precondition failed : used when a condition has failed during\ + \ conditional requests, e.g. when using ETags to avoid write conflicts when\ + \ using PUT" + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "414": + description: "URI Too Long : used to indicate that the server is refusing to\ + \ process the request because the request URI is longer than the server is\ + \ willing or able to process." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "415": + description: "Unsupported Media Type : used to indicate that the server or\ + \ the client does not support the content type of the entity body." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: "Unprocessable Entity : used to indicate that the server understands\ + \ the content type of the request entity and that the syntax of the request\ + \ entity is correct but that the server is unable to process the contained\ + \ instructions. This error condition can occur if an JSON request body is\ + \ syntactically correct but semantically incorrect, for example if the target\ + \ area for the request is considered too large. This error condition can also\ + \ occur if the capabilities required by the request are not supported." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + example: + application/problem+json: + type: https://meAppServer.example.com/rni/v2/probs/too-many targets + title: Too many targets + status: "422" + detail: The target area for the request is considered too large + instance: /meAppClient.example.com/77777/msgs/abc + "429": + description: "Too Many Requests : used when a rate limiter has triggered." + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + parameters: + Path.subscrId: + name: subscriptionId + in: path + description: "Subscription Id, specifically the \"Self-referring URI\" returned\ + \ in the subscription request" + required: true + style: simple + explode: false + schema: + type: string + format: uri + x-exportParamName: SubscriptionId + Query.AppInsId: + name: app_ins_id + in: query + description: Application instance identifier + required: false + style: form + explode: true + schema: + type: string + x-exportParamName: AppInsId + x-optionalDataType: String + Query.AppInsIdArr: + name: app_ins_id + in: query + description: Comma separated list of Application instance identifiers + required: true + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: AppInsIdArr + Query.CellId: + name: cell_id + in: query + description: Comma separated list of E-UTRAN Cell Identities + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: CellId + Query.UeIpv4Address: + name: ue_ipv4_address + in: query + description: Comma separated list of IE IPv4 addresses as defined for the type + for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv4Address + Query.UeIpv6Address: + name: ue_ipv6_address + in: query + description: Comma separated list of IE IPv6 addresses as defined for the type + for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: UeIpv6Address + Query.NatedIpAddress: + name: nated_ip_address + in: query + description: Comma separated list of IE NATed IP addresses as defined for the + type for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: NatedIpAddress + Query.GtpTeid: + name: gtp_teid + in: query + description: Comma separated list of GTP TEID addresses as defined for the type + for AssociateId + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: GtpTeid + Query.ErabId: + name: erab_id + in: query + description: E-RAB identifier + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabId + x-optionalDataType: Int32 + Query.ErabIdArr: + name: erab_id + in: query + description: Comma separated list of E-RAB identifiers + required: false + style: form + explode: true + schema: + type: array + items: + type: integer + format: int32 + x-exportParamName: ErabIdArr + Query.Qci: + name: qci + in: query + description: QoS Class Identifier as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: Qci + x-optionalDataType: Int32 + Query.ErabMbrDl: + name: erab_mbr_dl + in: query + description: Maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabMbrDl + x-optionalDataType: Int32 + Query.ErabMbrUl: + name: erab_mbr_ul + in: query + description: Maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabMbrUl + x-optionalDataType: Int32 + Query.ErabGbrDl: + name: erab_gbr_dl + in: query + description: Guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabGbrDl + x-optionalDataType: Int32 + Query.ErabGbrUl: + name: erab_gbr_ul + in: query + description: Guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 + required: false + style: form + explode: true + schema: + type: integer + format: int32 + x-exportParamName: ErabGbrUl + x-optionalDataType: Int32 + Query.TempUeId: + name: temp_ue_id + in: query + description: Comma separated list of temporary identifiers allocated for the + specific UE as defined in ETSI TS 136 413 + required: false + style: form + explode: true + schema: + type: array + items: + type: string + x-exportParamName: TempUeId + Query.DlGbrPrbUsageCell: + name: dl_gbr_prb_usage_cell + in: query + description: PRB usage for downlink GBR traffic in percentage as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrPrbUsageCell + Query.UlGbrPrbUsageCell: + name: ul_gbr_prb_usage_cell + in: query + description: PRB usage for uplink GBR traffic in percentage as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrPrbUsageCell + Query.DlNonGbrPrbUsageCell: + name: dl_nongbr_prb_usage_cell + in: query + description: PRB usage for downlink non-GBR traffic in percentage as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrPrbUsageCell + Query.UlNonGbrPrbUsageCell: + name: ul_nongbr_prb_usage_cell + in: query + description: PRB usage for uplink non-GBR traffic in percentage as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrPrbUsageCell + Query.DlTotalPrbUsageCell: + name: dl_total_prb_usage_cell + in: query + description: PRB usage for total downlink traffic in percentage as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlTotalPrbUsageCell + Query.UlTotalPrbUsageCell: + name: ul_total_prb_usage_cell + in: query + description: PRB usage for total uplink traffic in percentage as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlTotalPrbUsageCell + Query.ReceivedDedicatedPreamblesCell: + name: received_dedicated_preambles_cell + in: query + description: Received dedicated preambles in percentage as defined in ETSI TS + 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: ReceivedDedicatedPreamblesCell + Query.ReceivedRandomPreamblesLowRangeCell: + name: received_randomly_selected_preambles_low_range_cell + in: query + description: Received randomly selected preambles in the low range in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: ReceivedRandomPreamblesLowRangeCell + Query.ReceivedRandomPreamblesHighRangeCell: + name: received_randomly_selected_preambles_high_range_cell + in: query + description: Received rendomly selected preambles in the high range in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: ReceivedRandomPreamblesHighRangeCell + Query.NumberOfActiveUeDlGbrCell: + name: number_of_active_ue_dl_gbr_cell + in: query + description: Number of active UEs with downlink GBR traffic as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeDlGbrCell + Query.NumberOfActiveUeUlGbrCell: + name: number_of_active_ue_ul_gbr_cell + in: query + description: Number of active UEs with uplink GBR traffic as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeUlGbrCell + Query.NumberOfActiveUeDlNonGbrCell: + name: number_of_active_ue_dl_nongbr_cell + in: query + description: Number of active UEs with downlink non-GBR traffic as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeDlNonGbrCell + Query.NumberOfActiveUeUlNonGbrCell: + name: number_of_active_ue_ul_nongbr_cell + in: query + description: Number of active UEs with uplink non-GBR traffic as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: NumberOfActiveUeUlNonGbrCell + Query.DlGbrPdrCell: + name: dl_gbr_pdr_cell + in: query + description: Packet discard rate for downlink GBR traffic in percentage as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrPdrCell + Query.UlGbrPdrCell: + name: ul_gbr_pdr_cell + in: query + description: Packet discard rate for uplink GBR traffic in percentage as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrPdrCell + Query.DlNonGbrPdrCell: + name: dl_nongbr_pdr_cell + in: query + description: Packet discard rate for downlink non-GBR traffic in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrPdrCell + Query.UlNonGbrPdrCell: + name: ul_nongbr_pdr_cell + in: query + description: Packet discard rate for uplink non-GBR traffic in percentage as + defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrPdrCell + Query.DlGbrDelayUe: + name: dl_gbr_delay_ue + in: query + description: Packet delay of downlink GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrDelayUe + Query.UlGbrDelayUe: + name: ul_gbr_delay_ue + in: query + description: Packet delay of uplink GBR traffic of a UE as defined in ETSI TS + 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrDelayUe + Query.DlNonGbrDelayUe: + name: dl_nongbr_delay_ue + in: query + description: Packet delay of downlink non-GBR traffic of a UE as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrDelayUe + Query.UlNonGbrDelayUe: + name: ul_nongbr_delay_ue + in: query + description: Packet delay of uplink non-GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrDelayUe + Query.DlGbrPdrUe: + name: dl_gbr_pdr_ue + in: query + description: Packet discard rate of downlink GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrPdrUe + Query.UlGbrPdrUe: + name: ul_gbr_pdr_ue + in: query + description: Packet discard rate of uplink GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrPdrUe + Query.DlNonGbrPdrUe: + name: dl_nongbr_pdr_ue + in: query + description: Packet discard rate of downlink non-GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrPdrUe + Query.UlNonGbrPdrUe: + name: ul_nongbr_pdr_ue + in: query + description: Packet discard rate of uplink non-GBR traffic of a UE in percentage + as defined in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrPdrUe + Query.DlGbrThroughputUe: + name: dl_gbr_throughput_ue + in: query + description: Scheduled throughput of downlink GBR traffic of a UE as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrThroughputUe + Query.UlGbrThroughputUe: + name: ul_gbr_throughput_ue + in: query + description: Scheduled throughput of uplink GBR traffic of a UE as defined in + ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrThroughputUe + Query.DlNonGbrThroughputUe: + name: dl_nongbr_throughput_ue + in: query + description: Scheduled throughput of downlink non-GBR traffic of a UE as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrThroughputUe + Query.UlNonGbrThroughputUe: + name: ul_nongbr_throughput_ue + in: query + description: Scheduled throughput of uplink non-GBR traffic of a UE as defined + in ETSI TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrThroughputUe + Query.DlGbrDataVolumeUe: + name: dl_gbr_data_volume_ue + in: query + description: Data volume of downlink GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlGbrDataVolumeUe + Query.UlGbrDataVolumeUe: + name: ul_gbr_data_volume_ue + in: query + description: Data volume of uplink GBR traffic of a UE as defined in ETSI TS + 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlGbrDataVolumeUe + Query.DlNonGbrDataVolumeUe: + name: dl_nongbr_data_volume_ue + in: query + description: Data volume of downlink non-GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: DlNonGbrDataVolumeUe + Query.UlNonGbrDataVolumeUe: + name: ul_nongbr_data_volume_ue + in: query + description: Data volume of uplink non-GBR traffic of a UE as defined in ETSI + TS 136 314 + required: false + style: form + explode: true + schema: + type: integer + x-exportParamName: UlNonGbrDataVolumeUe + Query.SubscriptionType: + name: subscription_type + in: query + description: "Filter on a specific subscription type. Permitted values: cell_change,\ + \ rab_est, rab_mod, rab_rel, meas_rep_ue, nr_meas_rep_ue, timing_advance_ue,\ + \ ca_reconf, s1_bearer." + required: false + style: form + explode: true + schema: + type: string + x-exportParamName: SubscriptionType + diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/test/__init__.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/test/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..644506301ce077f2e881fcda3454b6cba362ab5e --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/test/__init__.py @@ -0,0 +1,16 @@ +import logging + +import connexion +from flask_testing import TestCase + +from swagger_server.encoder import JSONEncoder + + +class BaseTestCase(TestCase): + + def create_app(self): + logging.getLogger('connexion.operation').setLevel('ERROR') + app = connexion.App(__name__, specification_dir='../swagger/') + app.app.json_encoder = JSONEncoder + app.add_api('swagger.yaml') + return app.app diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/test/test_rni_controller.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/test/test_rni_controller.py new file mode 100644 index 0000000000000000000000000000000000000000..23077b8893fce65ff2069a3031b90191ce193e20 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/test/test_rni_controller.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +from __future__ import absolute_import + +from flask import json +from six import BytesIO + +from swagger_server.models.inline_subscription import InlineSubscription # noqa: E501 +from swagger_server.models.l2_meas import L2Meas # noqa: E501 +from swagger_server.models.plmn_info import PlmnInfo # noqa: E501 +from swagger_server.models.problem_details import ProblemDetails # noqa: E501 +from swagger_server.models.rab_info import RabInfo # noqa: E501 +from swagger_server.models.s1_bearer_info import S1BearerInfo # noqa: E501 +from swagger_server.models.subscription_link_list import SubscriptionLinkList # noqa: E501 +from swagger_server.test import BaseTestCase + + +class TestRniController(BaseTestCase): + """RniController integration test stubs""" + + def test_layer2_meas_info_get(self): + """Test case for layer2_meas_info_get + + Retrieve information on layer 2 measurements + """ + query_string = [('app_ins_id', 'app_ins_id_example'), + ('cell_id', 'cell_id_example'), + ('ue_ipv4_address', 'ue_ipv4_address_example'), + ('ue_ipv6_address', 'ue_ipv6_address_example'), + ('nated_ip_address', 'nated_ip_address_example'), + ('gtp_teid', 'gtp_teid_example'), + ('dl_gbr_prb_usage_cell', 56), + ('ul_gbr_prb_usage_cell', 56), + ('dl_nongbr_prb_usage_cell', 56), + ('ul_nongbr_prb_usage_cell', 56), + ('dl_total_prb_usage_cell', 56), + ('ul_total_prb_usage_cell', 56), + ('received_dedicated_preambles_cell', 56), + ('received_randomly_selected_preambles_low_range_cell', 56), + ('received_randomly_selected_preambles_high_range_cell', 56), + ('number_of_active_ue_dl_gbr_cell', 56), + ('number_of_active_ue_ul_gbr_cell', 56), + ('number_of_active_ue_dl_nongbr_cell', 56), + ('number_of_active_ue_ul_nongbr_cell', 56), + ('dl_gbr_pdr_cell', 56), + ('ul_gbr_pdr_cell', 56), + ('dl_nongbr_pdr_cell', 56), + ('ul_nongbr_pdr_cell', 56), + ('dl_gbr_delay_ue', 56), + ('ul_gbr_delay_ue', 56), + ('dl_nongbr_delay_ue', 56), + ('ul_nongbr_delay_ue', 56), + ('dl_gbr_pdr_ue', 56), + ('ul_gbr_pdr_ue', 56), + ('dl_nongbr_pdr_ue', 56), + ('ul_nongbr_pdr_ue', 56), + ('dl_gbr_throughput_ue', 56), + ('ul_gbr_throughput_ue', 56), + ('dl_nongbr_throughput_ue', 56), + ('ul_nongbr_throughput_ue', 56), + ('dl_gbr_data_volume_ue', 56), + ('ul_gbr_data_volume_ue', 56), + ('dl_nongbr_data_volume_ue', 56), + ('ul_nongbr_data_volume_ue', 56)] + response = self.client.open( + '/rni/v2/queries/layer2_meas', + method='GET', + query_string=query_string) + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_plmn_info_get(self): + """Test case for plmn_info_get + + Retrieve information on the underlying Mobile Network that the MEC application is associated to + """ + query_string = [('app_ins_id', 'app_ins_id_example')] + response = self.client.open( + '/rni/v2/queries/plmn_info', + method='GET', + query_string=query_string) + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_rab_info_get(self): + """Test case for rab_info_get + + Retrieve information on Radio Access Bearers + """ + query_string = [('app_ins_id', 'app_ins_id_example'), + ('cell_id', 'cell_id_example'), + ('ue_ipv4_address', 'ue_ipv4_address_example'), + ('ue_ipv6_address', 'ue_ipv6_address_example'), + ('nated_ip_address', 'nated_ip_address_example'), + ('gtp_teid', 'gtp_teid_example'), + ('erab_id', 56), + ('qci', 56), + ('erab_mbr_dl', 56), + ('erab_mbr_ul', 56), + ('erab_gbr_dl', 56), + ('erab_gbr_ul', 56)] + response = self.client.open( + '/rni/v2/queries/rab_info', + method='GET', + query_string=query_string) + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_s1_bearer_info_get(self): + """Test case for s1_bearer_info_get + + Retrieve S1-U bearer information related to specific UE(s) + """ + query_string = [('temp_ue_id', 'temp_ue_id_example'), + ('ue_ipv4_address', 'ue_ipv4_address_example'), + ('ue_ipv6_address', 'ue_ipv6_address_example'), + ('nated_ip_address', 'nated_ip_address_example'), + ('gtp_teid', 'gtp_teid_example'), + ('cell_id', 'cell_id_example'), + ('erab_id', 56)] + response = self.client.open( + '/rni/v2/queries/s1_bearer_info', + method='GET', + query_string=query_string) + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_subscription_link_list_subscriptions_get(self): + """Test case for subscription_link_list_subscriptions_get + + Retrieve information on subscriptions for notifications + """ + query_string = [('subscription_type', 'subscription_type_example')] + response = self.client.open( + '/rni/v2/subscriptions', + method='GET', + query_string=query_string) + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_subscriptions_delete(self): + """Test case for subscriptions_delete + + Cancel an existing subscription + """ + response = self.client.open( + '/rni/v2/subscriptions/{subscriptionId}'.format(subscription_id='subscription_id_example'), + method='DELETE') + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_subscriptions_get(self): + """Test case for subscriptions_get + + Retrieve information on current specific subscription + """ + response = self.client.open( + '/rni/v2/subscriptions/{subscriptionId}'.format(subscription_id='subscription_id_example'), + method='GET') + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_subscriptions_post(self): + """Test case for subscriptions_post + + Create a new subscription + """ + body = InlineSubscription() + response = self.client.open( + '/rni/v2/subscriptions', + method='POST', + data=json.dumps(body), + content_type='application/json') + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + def test_subscriptions_put(self): + """Test case for subscriptions_put + + Modify an existing subscription + """ + body = InlineSubscription() + response = self.client.open( + '/rni/v2/subscriptions/{subscriptionId}'.format(subscription_id='subscription_id_example'), + method='PUT', + data=json.dumps(body), + content_type='application/json') + self.assert200(response, + 'Response body is : ' + response.data.decode('utf-8')) + + +if __name__ == '__main__': + import unittest + unittest.main() diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/type_util.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/type_util.py new file mode 100644 index 0000000000000000000000000000000000000000..0563f81fd5345282a33705038dfa77fdcaa15872 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/type_util.py @@ -0,0 +1,32 @@ +# coding: utf-8 + +import sys + +if sys.version_info < (3, 7): + import typing + + def is_generic(klass): + """ Determine whether klass is a generic class """ + return type(klass) == typing.GenericMeta + + def is_dict(klass): + """ Determine whether klass is a Dict """ + return klass.__extra__ == dict + + def is_list(klass): + """ Determine whether klass is a List """ + return klass.__extra__ == list + +else: + + def is_generic(klass): + """ Determine whether klass is a generic class """ + return hasattr(klass, '__origin__') + + def is_dict(klass): + """ Determine whether klass is a Dict """ + return klass.__origin__ == dict + + def is_list(klass): + """ Determine whether klass is a List """ + return klass.__origin__ == list diff --git a/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/util.py b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/util.py new file mode 100644 index 0000000000000000000000000000000000000000..812b2ad42f97ee1790ea2019c90710bc4dada114 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/swagger_server/util.py @@ -0,0 +1,142 @@ +import datetime + +import six +import typing +from swagger_server import type_util + + +def _deserialize(data, klass): + """Deserializes dict, list, str into an object. + + :param data: dict, list or str. + :param klass: class literal, or string of class name. + + :return: object. + """ + if data is None: + return None + + if klass in six.integer_types or klass in (float, str, bool, bytearray): + return _deserialize_primitive(data, klass) + elif klass == object: + return _deserialize_object(data) + elif klass == datetime.date: + return deserialize_date(data) + elif klass == datetime.datetime: + return deserialize_datetime(data) + elif type_util.is_generic(klass): + if type_util.is_list(klass): + return _deserialize_list(data, klass.__args__[0]) + if type_util.is_dict(klass): + return _deserialize_dict(data, klass.__args__[1]) + else: + return deserialize_model(data, klass) + + +def _deserialize_primitive(data, klass): + """Deserializes to primitive type. + + :param data: data to deserialize. + :param klass: class literal. + + :return: int, long, float, str, bool. + :rtype: int | long | float | str | bool + """ + try: + value = klass(data) + except UnicodeEncodeError: + value = six.u(data) + except TypeError: + value = data + return value + + +def _deserialize_object(value): + """Return an original value. + + :return: object. + """ + return value + + +def deserialize_date(string): + """Deserializes string to date. + + :param string: str. + :type string: str + :return: date. + :rtype: date + """ + try: + from dateutil.parser import parse + return parse(string).date() + except ImportError: + return string + + +def deserialize_datetime(string): + """Deserializes string to datetime. + + The string should be in iso8601 datetime format. + + :param string: str. + :type string: str + :return: datetime. + :rtype: datetime + """ + try: + from dateutil.parser import parse + return parse(string) + except ImportError: + return string + + +def deserialize_model(data, klass): + """Deserializes list or dict to model. + + :param data: dict, list. + :type data: dict | list + :param klass: class literal. + :return: model object. + """ + instance = klass() + + if not instance.swagger_types: + return data + + for attr, attr_type in six.iteritems(instance.swagger_types): + if data is not None \ + and instance.attribute_map[attr] in data \ + and isinstance(data, (list, dict)): + value = data[instance.attribute_map[attr]] + setattr(instance, attr, _deserialize(value, attr_type)) + + return instance + + +def _deserialize_list(data, boxed_type): + """Deserializes a list and its elements. + + :param data: list to deserialize. + :type data: list + :param boxed_type: class literal. + + :return: deserialized list. + :rtype: list + """ + return [_deserialize(sub_data, boxed_type) + for sub_data in data] + + +def _deserialize_dict(data, boxed_type): + """Deserializes a dict and its elements. + + :param data: dict to deserialize. + :type data: dict + :param boxed_type: class literal. + + :return: deserialized dict. + :rtype: dict + """ + return {k: _deserialize(v, boxed_type) + for k, v in six.iteritems(data)} diff --git a/examples/notification_server/RNIS/dummy_mec012_server/test-requirements.txt b/examples/notification_server/RNIS/dummy_mec012_server/test-requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..2640639a25a3bffe0f449788303300a364c55cb7 --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/test-requirements.txt @@ -0,0 +1,7 @@ +flask_testing==0.8.0 +coverage>=4.0.3 +nose>=1.3.7 +pluggy>=0.3.1 +py>=1.4.31 +randomize>=0.13 +tox==3.20.1 diff --git a/examples/notification_server/RNIS/dummy_mec012_server/tox.ini b/examples/notification_server/RNIS/dummy_mec012_server/tox.ini new file mode 100644 index 0000000000000000000000000000000000000000..2751b218c1d2385c081c114c9094fc5e388126dc --- /dev/null +++ b/examples/notification_server/RNIS/dummy_mec012_server/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = py38 + +[testenv] +deps=-r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + +commands= + nosetests \ + [] \ No newline at end of file diff --git a/examples/notification_server/Readme.md b/examples/notification_server/Readme.md new file mode 100644 index 0000000000000000000000000000000000000000..814d24a0acfe399c7449c484272ae026e332e9b7 --- /dev/null +++ b/examples/notification_server/Readme.md @@ -0,0 +1,10 @@ +## How to Run a Robot Script to Validate a Web Server's Notifications + + +1. **Prerequisites** + - Ensure that Docker is installed on your computer. You can check this by running the command `docker --version` in your command prompt or terminal. If Docker is not installed, download and install it from the official Docker website. + - Ensure that docker-compose is installed on your computer. You can check this by running the command `docker-compose --version` in your command prompt or terminal. If Docker is not installed, download and install it from the official Docker website. + + +2. **Start the SUT (Web Server which sends notifications)** with `docker-compose up RNIS` +3. **Run the Robot Test** with `docker-compose up robot` \ No newline at end of file diff --git a/examples/notification_server/docker-compose.yml b/examples/notification_server/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..a28a92ed81591f704a846025e86bfd9c56673d15 --- /dev/null +++ b/examples/notification_server/docker-compose.yml @@ -0,0 +1,20 @@ +version: '2' +services: + robot: + build: + context: . + hostname: robot + image: robot:local + volumes: + - ./logs:/home/robot/logs + ports: + - 9090:9090 + environment: + - RNIS_URL=http://rnis:8080 + RNIS: + build: + context: RNIS/dummy_mec012_server + image: rnis:latest + hostname: rnis + ports: + - 8080:8080 \ No newline at end of file diff --git a/examples/notification_server/libraries/Server.py b/examples/notification_server/libraries/Server.py new file mode 100644 index 0000000000000000000000000000000000000000..f8024150b7708ea067232909c15b338dac9ca1c6 --- /dev/null +++ b/examples/notification_server/libraries/Server.py @@ -0,0 +1,107 @@ +#!/usr/bin/python3 + +from http.server import BaseHTTPRequestHandler, HTTPServer +import json + +# Library version +__version__ = '0.0.1' + +class Server ( object ): + + ROBOT_LIBRARY_VERSION = '0.0.1' + + def spawn_web_server (self, host, port, timeout, method, endpoint, resp_body): + + class GET_Server(BaseHTTPRequestHandler): + + def __call__(self, *args, **kwargs): + """Handle a request.""" + super().__init__(*args, **kwargs) + + def __init__(self, endpoint, resp_body): + self.resp_body = resp_body + self.endpoint = endpoint + + def do_GET(self): + self.send_response(200) + self.send_header('Content-Type', 'application/json') + self.end_headers() + if self.path == self.endpoint: + self.wfile.write(json.dumps(self.resp_body).encode(encoding='utf_8')) + else: + self.wfile.write(json.dumps("wrong endpoint").encode(encoding='utf_8')) + + class POST_Server(BaseHTTPRequestHandler): + + def __call__(self, *args, **kwargs): + """Handle a request.""" + super().__init__(*args, **kwargs) + + def __init__(self, endpoint, resp_body): + self.resp_body = resp_body + self.endpoint = endpoint + + def do_POST(self): + self.send_response(200) + self.send_header('Content-Type', 'application/json') + self.end_headers() + if self.path == self.endpoint: + self.wfile.write(json.dumps(self.resp_body).encode(encoding='utf_8')) + else: + self.wfile.write(json.dumps("wrong endpoint").encode(encoding='utf_8')) + + class PUT_Server(BaseHTTPRequestHandler): + + def __call__(self, *args, **kwargs): + """Handle a request.""" + super().__init__(*args, **kwargs) + + def __init__(self, endpoint, resp_body): + self.resp_body = resp_body + self.endpoint = endpoint + + def do_PUT(self): + self.send_response(200) + self.send_header('Content-Type', 'application/json') + self.end_headers() + if self.path == self.endpoint: + self.wfile.write(json.dumps(self.resp_body).encode(encoding='utf_8')) + else: + self.wfile.write(json.dumps("wrong endpoint").encode(encoding='utf_8')) + + class DELETE_Server(BaseHTTPRequestHandler): + + def __call__(self, *args, **kwargs): + """Handle a request.""" + super().__init__(*args, **kwargs) + + def __init__(self, endpoint, resp_body): + self.resp_body = resp_body + self.endpoint = endpoint + + def do_DELETE(self): + self.send_response(200) + self.send_header('Content-Type', 'application/json') + self.end_headers() + if self.path == self.endpoint: + self.wfile.write(json.dumps(self.resp_body).encode(encoding='utf_8')) + else: + self.wfile.write(json.dumps("wrong endpoint").encode(encoding='utf_8')) + + if method == "GET": + self.handler = GET_Server(endpoint, resp_body) + elif method == "POST": + self.handler = POST_Server(endpoint, resp_body) + elif method == "PUT": + self.handler = PUT_Server(endpoint, resp_body) + elif method == "DELETE": + self.handler = DELETE_Server(endpoint, resp_body) + else: + print("Error, unknown endpoint") + exit(1) + + self.app = HTTPServer((host, int(port)), self.handler) + self.app.timeout = int(timeout) + + self.app.handle_request() + self.app.server_close() \ No newline at end of file diff --git a/examples/notification_server/requirements.txt b/examples/notification_server/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..a9a0f2fc13b4ed0133351209764d42101b9d37e2 --- /dev/null +++ b/examples/notification_server/requirements.txt @@ -0,0 +1,9 @@ +robotframework===6.0.2 +#RESTinstance==1.3.0 +#robotframework-dependencylibrary==4.0.0 +#robotframework-jsonlibrary==0.5 +#robotframework-jsonschemalibrary==1.0 +robotframework-requests==0.9.4 +#robotframework-mockserver==0.0.7 +requests>=2.21.0 +Flask \ No newline at end of file diff --git a/examples/notification_server/run_tests.sh b/examples/notification_server/run_tests.sh new file mode 100755 index 0000000000000000000000000000000000000000..1eccd704adfc4d95a24d05660bb186b1ad0c89be --- /dev/null +++ b/examples/notification_server/run_tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh -e + +python -m robot --outputdir ./logs/ \ + --loglevel TRACE \ + ./tests \ No newline at end of file